/* Authentication Pages Styles */

.auth-page {
    background: #0A0A0A;
    min-height: 100vh;
}

.auth-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.auth-card {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    margin-bottom: 40px;
}

.auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.auth-header h2 {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.auth-header p {
    color: #B0B0B0;
    font-size: 16px;
    margin: 0;
}

.auth-form {
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    color: white;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.form-group label i {
    color: #667eea;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-select option {
    background: #1A1A1A;
    color: white;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #B0B0B0;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: white;
}

/* Password Validator Styles */
.password-validator {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
}

.validator-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: #B0B0B0;
    font-size: 13px;
    transition: all 0.3s ease;
}

.validator-item i {
    font-size: 8px;
    transition: all 0.3s ease;
}

.validator-item.valid {
    color: #06d6a0;
}

.validator-item.valid i {
    color: #06d6a0;
}

.validator-item.invalid {
    color: #E63946;
}

.validator-item.invalid i {
    color: #E63946;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-label {
    color: #B0B0B0;
    font-size: 14px;
    cursor: pointer;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #764ba2;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 32px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    position: relative;
    background: rgba(26, 26, 26, 0.95);
    padding: 0 16px;
    color: #B0B0B0;
    font-size: 14px;
}

.social-login {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.btn-social {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #667eea;
    transform: translateY(-2px);
}

.auth-footer {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
    color: #B0B0B0;
    margin: 0;
    font-size: 14px;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #764ba2;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 32px 24px;
    }
    
    .auth-header h2 {
        font-size: 28px;
    }
    
    .auth-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
}

/* Text danger for required fields */
.text-danger {
    color: #E63946 !important;
}

/* Form validation states */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #E63946;
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #06d6a0;
}

.invalid-feedback {
    color: #E63946;
    font-size: 13px;
    margin-top: 6px;
}

.valid-feedback {
    color: #06d6a0;
    font-size: 13px;
    margin-top: 6px;
}

/* Submit button disabled state */
.btn-primary-gradient:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}