/* ================================
   AUTHENTICATION PAGES STYLES
   ================================ */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    /* background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05)); */
}

.auth-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ============ LEFT SIDE - BRANDING ============ */
.auth-left {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 50px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    left: -200px;
}

.auth-left::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
}

.brand-content {
    position: relative;
    z-index: 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.brand-name {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin: 0;
}

.brand-slogan {
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
    line-height: 1.5;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0 0 5px 0;
}

.feature-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.trust-badges {
    display: flex;
    gap: 30px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
}

.badge-item i {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* ============ RIGHT SIDE - FORM ============ */
.auth-right {
    padding: 60px 50px;
    display: flex;
    align-items: center;
}

.auth-form-wrapper {
    width: 100%;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    margin: 0;
}

/* Alert */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: #ef4444;
    margin-bottom: 25px;
    font-size: 14px;
    transition: opacity 0.3s;
}

.alert i {
    font-size: 18px;
}

/* Form */
.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 10px;
}

.form-label i {
    color: var(--primary-color);
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 15px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--dark-bg);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--primary-color);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: var(--darker-bg);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.3s;
    position: relative;
}

.custom-checkbox input:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
}

.custom-checkbox input:checked ~ .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

.label-text {
    font-size: 14px;
    color: var(--text-gray);
}

.forgot-link {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    padding: 0 15px;
    font-size: 13px;
    color: var(--text-gray);
}

/* Social Login */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-social {
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--darker-bg);
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-social:hover {
    background: var(--dark-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-google i {
    color: #EA4335;
}

.btn-facebook i {
    color: #1877F2;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 25px;
}

.auth-footer p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.signup-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.signup-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: none;
    }
    
    .auth-right {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .auth-wrapper {
        padding: 20px 15px;
    }
    
    .auth-right {
        padding: 30px 20px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .social-login {
        grid-template-columns: 1fr;
    }
}



/* ================================
   AUTHENTICATION PAGES STYLES - COMPACT VERSION
   ================================ */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05)); */
}

.auth-container {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ============ LEFT SIDE - BRANDING ============ */
.auth-left {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px 35px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    left: -150px;
}

.brand-content {
    position: relative;
    z-index: 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.brand-name {
    font-size: 30px;
    font-weight: 800;
    color: white;
    margin: 0;
}

.brand-slogan {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.5;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.feature-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0 0 3px 0;
}

.feature-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.trust-badges {
    display: flex;
    gap: 20px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 12px;
}

.badge-item i {
    font-size: 16px;
}

/* ============ RIGHT SIDE - FORM ============ */
.auth-right {
    padding: 35px 40px;
    display: flex;
    align-items: center;
}

.auth-form-wrapper {
    width: 100%;
}

.auth-header {
    margin-bottom: 20px;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

/* Alert */
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #ef4444;
    margin-bottom: 15px;
    font-size: 12px;
    transition: opacity 0.3s;
}

.alert i {
    font-size: 16px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* Form */
.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.form-label i {
    color: var(--primary-color);
    font-size: 13px;
}

.required {
    color: #ef4444;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 13px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--dark-bg);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-hint {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    font-style: italic;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--primary-color);
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    margin-bottom: 15px;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: var(--darker-bg);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    transition: all 0.3s;
    position: relative;
    flex-shrink: 0;
}

.custom-checkbox input:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
}

.custom-checkbox input:checked ~ .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
}

.label-text {
    font-size: 12px;
    color: var(--text-gray);
}

.label-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.label-text a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 15px 0;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    padding: 0 12px;
    font-size: 11px;
    color: var(--text-gray);
}

/* Social Login */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-social {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--darker-bg);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-social:hover {
    background: var(--dark-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-google i {
    color: #EA4335;
}

.btn-facebook i {
    color: #1877F2;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 15px;
}

.auth-footer p {
    font-size: 12px;
    color: var(--text-gray);
    margin: 0;
}

.signup-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.signup-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: none;
    }
    
    .auth-right {
        padding: 30px 25px;
    }
}

@media (max-width: 576px) {
    .auth-wrapper {
        padding: 15px;
    }
    
    .auth-right {
        padding: 25px 20px;
    }
    
    .auth-title {
        font-size: 20px;
    }
    
    .social-login {
        grid-template-columns: 1fr;
    }
}
