/* ============================================
   Auth Page Styles
   ============================================ */

.auth-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f5f5f5;
}

.auth-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    min-height: 600px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Image Section (Left)
   ============================================ */
.auth-image-section {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.auth-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ============================================
   Form Section (Right)
   ============================================ */
.auth-form-section {
    flex: 0 0 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: rgba(234, 234, 234, 0.95);
}

.auth-card {
    width: 100%;
    max-width: 380px;
}

/* ============================================
   Auth Tabs
   ============================================ */
.auth-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 15px;
}

.auth-tab {
    margin: 0;
}

.auth-tab a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 17px;
}

.auth-tab a:hover {
    color: rgb(47, 47, 47);
}

.auth-tab--active a {
    color: rgb(47, 47, 47);
    font-weight: 600;
}

.auth-tab--active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ac10ea;
}

/* ============================================
   Form Styles
   ============================================ */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row--two-cols .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgb(47, 47, 47);
}

.form-hint {
    font-weight: 400;
    font-size: 12px;
    color: #9ca3af;
}

.form-input {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: #ac10ea;
    box-shadow: 0 0 0 3px rgba(172, 16, 234, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* ============================================
   Checkboxes
   ============================================ */
.form-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #ac10ea;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgb(47, 47, 47);
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-label a {
    color: #ac10ea;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* ============================================
   Form Options (Remember + Forgot)
   ============================================ */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-password {
    margin: 0;
}

.forgot-password a {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #ac10ea;
}

/* ============================================
   Submit Button
   ============================================ */
.auth-submit-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 24px;
    background-color: #ac10ea;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.auth-submit-btn:hover {
    background-color: #8a0dc2;
}

.auth-submit-btn:active {
    transform: scale(0.98);
}

/* ============================================
   Switch Link
   ============================================ */
.auth-switch {
    text-align: center;
    margin-top: 10px;
}

.auth-switch a {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: #ac10ea;
}

/* ============================================
   Error Message
   ============================================ */
.form-error {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #dc2626;
    background-color: #fef2f2;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #fecaca;
    margin: 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .auth-form-section {
        flex: 0 0 400px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        min-height: auto;
    }

    .auth-image-section {
        height: 200px;
        flex: none;
    }

    .auth-form-section {
        flex: none;
        padding: 30px 20px;
    }

    .auth-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .auth-page {
        padding: 10px;
    }

    .auth-container {
        border-radius: 8px;
    }

    .auth-image-section {
        height: 150px;
    }

    .auth-tabs {
        gap: 20px;
    }

    .auth-tab a {
        font-size: 16px;
    }

    .form-row--two-cols {
        flex-direction: column;
        gap: 20px;
    }

    .form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
