/* ============================================
   AUTH PAGES — Login, Get Started, Forgot Password
   ============================================ */

/* Body */
.auth-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f5f7fa;
    font-family: 'DM Sans', sans-serif;
}

/* ========== NAVBAR ========== */
.auth-navbar {
    background: #fff;
    border-bottom: 1px solid #e8ecf0;
    padding: 12px 0;
    flex-shrink: 0;
}

.auth-navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-logo img {
    height: 28px;
    width: auto;
}

.auth-social-icons {
    display: flex;
    gap: 10px;
}

.auth-social-icons .social-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: #F7932E;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.auth-social-icons .social-icon img {
    width: 13px;
    height: 13px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    margin-top: 0;
}

.auth-social-icons .social-icon:hover {
    background: #e07d1a;
    transform: translateY(-2px);
}

/* ========== MAIN AREA ========== */
.auth-main {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

/* Left — Image */
.auth-image-col {
    position: relative;
    overflow: hidden;
}

.auth-image {
    width: 100%;
    height: calc(100vh - 53px - 60px);
    object-fit: cover;
    display: block;
}

/* Get Started page — taller form, image adjusts */
.auth-image-started {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: calc(100vh - 53px - 60px);
}

/* Right — Form */
.auth-form-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 40px 30px;
    background: #f5f7fa;
}

.auth-form-card {
    width: 100%;
    max-width: 490px;
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 12px;
    padding: 28px 36px;
}

.auth-title {
     font-size: 24px;
    font-weight: 700;
    color: #0f1c2e;
    margin-bottom: 4px;
    line-height: 1.2;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: #7e90a6;
    margin-bottom: 18px;
}

/* ========== FORM FIELDS ========== */
.auth-field {
    margin-bottom: 14px;
}

.auth-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f1c2e;
    margin-bottom: 6px;
}

.auth-field input,
.auth-field select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d5dbe3;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: 'DM Sans', sans-serif;
    color: #0f1c2e;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.auth-field input::placeholder {
    color: #aab4c2;
}

.auth-field input:focus,
.auth-field select:focus {
    border-color: #319AD5;
    box-shadow: 0 0 0 3px rgba(49, 154, 213, 0.1);
}

.auth-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237e90a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* Name row — 2 columns */
.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ========== CHECKBOX ROW (with Forgot Password) ========== */
.auth-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.auth-checkbox-row .auth-checkbox {
    margin-bottom: 0;
}

.auth-forgot-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #319AD5;
    white-space: nowrap;
}

.auth-forgot-link:hover {
    text-decoration: underline;
    color: #2780b3;
}

/* ========== CHECKBOX ========== */
.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}

.auth-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #F7932E;
    flex-shrink: 0;
    cursor: pointer;
}

.auth-checkbox label {
    font-size: 0.8rem;
    color: #7e90a6;
    cursor: pointer;
    line-height: 1.5;
}

.auth-checkbox label a {
    color: #319AD5;
    font-weight: 600;
}

.auth-checkbox label a:hover {
    text-decoration: underline;
}

/* ========== SUBMIT BUTTON ========== */
.auth-btn {
    width: 100%;
    padding: 13px;
    background: #F7932E;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 18px;
}

.auth-btn:hover {
    background: #e07d1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 147, 46, 0.3);
}

/* ========== FOOTER TEXT ========== */
.auth-footer-text {
    text-align: center;
    font-size: 0.84rem;
    color: #7e90a6;
    margin: 0;
}

.auth-footer-text a {
    color: #319AD5;
    font-weight: 700;
    text-decoration: none;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}

/* ========== PAGE FOOTER ========== */
.auth-footer {
    background: #0c1829;
    padding: 20px 0;
    text-align: center;
    flex-shrink: 0;
}

.auth-footer p {
    color: #7e90a6;
    font-size: 0.82rem;
    margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .auth-grid {
        grid-template-columns: 1fr;
    }

    .auth-image-col {
        display: none;
    }

    .auth-form-col {
        padding: 24px 20px;
    }
}

@media (max-width: 575.98px) {
    .auth-form-card {
        padding: 20px 16px;
    }

    .auth-field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-field {
        margin-bottom: 12px;
    }

    .auth-title {
        font-size: 1.4rem;
    }
}
