/* Identity Pages Styles */
.login-container, .register-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.login-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    border: 2px solid rgba(102, 126, 234, 0.3);
    padding: 3rem;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.5s ease-in-out;
}

.register-card {
    background: linear-gradient(135deg, rgba(80, 200, 120, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(80, 200, 120, 0.2);
    border: 2px solid rgba(80, 200, 120, 0.3);
    padding: 3rem;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header, .register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title, .register-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    animation: shimmer 3s infinite;
}

.login-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-title {
    background: linear-gradient(135deg, #50C878 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.login-subtitle, .register-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.login-card .form-floating input, .register-card .form-floating input {
    border-radius: 12px;
    padding: 1rem 1rem 1rem 3rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.login-card .form-floating input {
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.register-card .form-floating input {
    border: 2px solid rgba(80, 200, 120, 0.3);
}

.login-card .form-floating input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
    background: white;
}

.register-card .form-floating input:focus {
    border-color: #50C878;
    box-shadow: 0 0 0 0.25rem rgba(80, 200, 120, 0.25);
    transform: translateY(-2px);
    background: white;
}

.login-card .form-floating label, .register-card .form-floating label {
    padding-left: 3rem;
}

.field-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

.login-card .field-icon {
    color: #667eea;
}

.register-card .field-icon {
    color: #50C878;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-60%); }
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: glow 2s ease-in-out infinite;
}

.btn-register {
    background: linear-gradient(135deg, #50C878 0%, #667eea 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(80, 200, 120, 0.4);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(102, 126, 234, 0.6); }
}

.btn-login:hover, .btn-register:hover {
    transform: translateY(-3px);
}

.btn-login:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-register:hover {
    box-shadow: 0 6px 20px rgba(80, 200, 120, 0.6);
}

.login-links, .register-links {
    text-align: center;
    margin-top: 2rem;
}

.login-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.register-links a {
    color: #50C878;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.register-links a:hover {
    color: #667eea;
    text-decoration: underline;
}

.checkbox-custom {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-custom input {
    width: 1.2rem;
    height: 1.2rem;
    margin-left: 0.5rem;
    cursor: pointer;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container img {
    width: 80px;
    height: 80px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
