/* Account OTP auth v2 — Flipkart-inspired + GRSAV brand */
.account-auth-wrap {
    max-width: 920px;
    margin: 0 auto;
    padding: 20px 12px 40px;
}

.account-auth-card {
    background: #fff;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 24px rgba(15, 23, 42, .1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 520px;
}

.account-auth-aside {
    background: linear-gradient(165deg, #1e3a8a 0%, #2563eb 45%, #f59e0b 120%);
    color: #fff;
    padding: 40px 32px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.account-auth-aside::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.account-auth-aside .auth-logo {
    width: 72px;
    height: 72px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    padding: 10px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.account-auth-aside .auth-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.account-auth-aside h4 {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.account-auth-aside > p {
    font-size: 14px;
    opacity: .92;
    line-height: 1.55;
    margin: 0 0 24px;
    position: relative;
    z-index: 1;
}

.auth-aside-perks {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    position: relative;
    z-index: 1;
}

.auth-aside-perks li {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: .95;
}

.auth-aside-perks i {
    color: #fde68a;
    font-size: 16px;
    flex-shrink: 0;
}

.account-auth-main {
    padding: 44px 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fafafa;
}

.account-auth-main-inner {
    background: #fff;
    border-radius: 8px;
    padding: 28px 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.account-auth-main .form-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 6px;
}

.account-auth-main .form-control {
    border: none;
    border-bottom: 2px solid #e5e7eb;
    border-radius: 0;
    padding: 12px 0;
    font-size: 16px;
    background: transparent;
    box-shadow: none;
}

.account-auth-main .form-control:focus {
    border-bottom-color: #2563eb;
    box-shadow: none;
    background: transparent;
}

.auth-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.auth-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: all .25s;
}

.auth-step-dot.active {
    background: linear-gradient(90deg, #2563eb, #f59e0b);
    width: 32px;
    border-radius: 4px;
}

.auth-email-display {
    background: #eff6ff;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.auth-email-display button {
    border: none;
    background: none;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.otp-input {
    letter-spacing: 14px;
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    padding: 16px;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: #f9fafb !important;
}

.otp-input:focus {
    border-color: #2563eb !important;
    background: #fff !important;
}

.btn-auth-primary {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    border: none;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 15px;
    border-radius: 4px;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, .4);
    transition: transform .15s, box-shadow .15s;
}

.btn-auth-primary:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, .45);
}

.btn-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: none;
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
    padding: 0;
    margin-bottom: 16px;
    cursor: pointer;
}

.auth-terms {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 16px;
    line-height: 1.5;
}

.auth-terms a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.auth-back-shop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    color: #6b7280;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.auth-back-shop:hover {
    color: #2563eb;
}

.auth-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 11px;
    color: #9ca3af;
}

.auth-secure-note i {
    color: #10b981;
}

.account-dash-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.account-dash-tile {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    text-decoration: none;
    color: #111;
    transition: transform .15s, box-shadow .15s;
}

.account-dash-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(249, 168, 37, .2);
    color: #111;
}

.account-dash-tile i {
    font-size: 2rem;
    color: #F9A825;
    display: block;
    margin-bottom: 8px;
}

.account-dash-tile.tile-orders { border-top: 4px solid #10b981; }
.account-dash-tile.tile-wish { border-top: 4px solid #ec4899; }
.account-dash-tile.tile-cart { border-top: 4px solid #3b82f6; }
.account-dash-tile.tile-shop { border-top: 4px solid #F9A825; }

.account-profile-card {
    background: linear-gradient(135deg, #fff8e1, #fff);
    border: 2px solid #ffe082;
    border-radius: 18px;
    padding: 24px;
    text-align: center;
}

.account-shell.account-guest-full .account-sidebar {
    display: none;
}

.account-shell.account-guest-full .account-main {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.account-shell.account-guest-full .account-page-title {
    display: none;
}

.account-shell.account-guest-full .account-drawer-toggle {
    display: none;
}

@media (max-width: 767.98px) {
    .account-auth-wrap {
        padding: 12px 10px 28px;
    }

    .account-auth-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .account-auth-aside {
        padding: 28px 22px 22px;
        text-align: center;
        align-items: center;
    }

    .account-auth-aside .auth-logo {
        margin: 0 auto 16px;
        width: 64px;
        height: 64px;
    }

    .account-auth-aside h4 {
        font-size: 1.2rem;
    }

    .auth-aside-perks {
        display: none;
    }

    .account-auth-main {
        padding: 20px 16px 24px;
    }

    .account-auth-main-inner {
        padding: 22px 18px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .account-auth-wrap {
        max-width: 640px;
    }

    .account-auth-card {
        grid-template-columns: 1fr;
    }

    .account-auth-aside {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
        padding: 24px 28px;
    }

    .account-auth-aside .auth-logo {
        margin-bottom: 0;
    }

    .account-auth-aside h4,
    .account-auth-aside > p {
        flex: 1;
        min-width: 200px;
        text-align: left;
        margin-bottom: 0;
    }

    .auth-aside-perks {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px 20px;
        margin-top: 8px;
    }

    .auth-aside-perks li {
        margin-bottom: 0;
    }
}
