/* AsansorMarket — Account area scoped premium styles */
.am-account-shell {
    --am-acc-navy: #0a1f3d;
    --am-acc-navy-2: #12325c;
    --am-acc-blue: #1e65a8;
    --am-acc-gold: #d4a012;
    --am-acc-line: #e2e8f0;
    --am-acc-soft: #f8fafc;
    color: #0f172a;
    background: transparent;
}

.am-account-shell *,
.am-account-shell *::before,
.am-account-shell *::after {
    box-sizing: border-box;
}

.am-account-shell section {
    background: transparent !important;
}

.am-account-shell .am-acc-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, #071a33 0%, #0f2747 42%, #1a4f86 100%) !important;
    box-shadow: 0 28px 70px rgba(7, 26, 51, 0.28);
    padding: clamp(22px, 3vw, 34px);
    color: #fff !important;
}

.am-account-shell .am-acc-hero::before {
    content: "";
    position: absolute;
    inset: -30% auto auto -10%;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 68%);
    pointer-events: none;
}

.am-account-shell .am-acc-hero::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(212, 160, 18, 0.18), transparent 70%);
    pointer-events: none;
}

.am-account-shell .am-acc-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1024px) {
    .am-account-shell .am-acc-hero-inner {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (min-width: 1400px) {
    .am-account-shell .am-acc-hero-inner {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 28px;
    }

    .am-account-shell .am-acc-hero-copy {
        flex: 1 1 42%;
        min-width: 0;
    }

    .am-account-shell .am-acc-stats {
        flex: 1 1 58%;
        max-width: none;
    }
}

.am-account-shell .am-acc-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #93c5fd !important;
    background: transparent !important;
}

.am-account-shell .am-acc-title {
    margin: 10px 0 0;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff !important;
    background: transparent !important;
}

.am-account-shell .am-acc-subtitle {
    margin: 12px 0 0;
    max-width: 42rem;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82) !important;
    background: transparent !important;
}

.am-account-shell .am-acc-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .am-account-shell .am-acc-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
}

.am-account-shell .am-acc-stat {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(8px);
    padding: 12px 14px;
    min-width: 0;
    min-height: 78px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.am-account-shell .am-acc-stat-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.25;
    text-transform: uppercase;
    color: #bfdbfe !important;
    background: transparent !important;
}

@media (min-width: 768px) {
    .am-account-shell .am-acc-stat-label {
        font-size: 10px;
        letter-spacing: 0.08em;
    }
}

.am-account-shell .am-acc-stat-value {
    margin-top: 6px;
    font-size: clamp(14px, 1.45vw, 20px);
    font-weight: 900;
    line-height: 1.1;
    color: #fff !important;
    background: transparent !important;
    font-variant-numeric: tabular-nums;
}

.am-account-shell .am-acc-money {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2em;
    max-width: 100%;
    white-space: nowrap;
}

.am-account-shell .am-acc-money-amount {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.am-account-shell .am-acc-money-currency {
    flex-shrink: 0;
}

@media (min-width: 768px) and (max-width: 1399px) {
    .am-account-shell .am-acc-stat {
        padding: 11px 12px;
        min-height: 74px;
    }

    .am-account-shell .am-acc-stat-value {
        font-size: clamp(12px, 1.15vw, 17px);
    }

    .am-account-shell .am-acc-stat-label {
        font-size: 8px;
        letter-spacing: 0.04em;
    }
}

.am-account-shell .am-acc-stat-value.is-positive {
    color: #86efac !important;
}

.am-account-shell .am-acc-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 1280px) {
    .am-account-shell .am-acc-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    }
}

.am-account-shell .am-acc-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--am-acc-line);
    background: #fff !important;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.am-account-shell .am-acc-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding: 18px 22px;
    background: linear-gradient(180deg, #fff, #f8fbff) !important;
}

.am-account-shell .am-acc-card-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--am-acc-blue) !important;
    background: transparent !important;
}

.am-account-shell .am-acc-card-title {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 900;
    color: #0f172a !important;
    background: transparent !important;
}

.am-account-shell .am-acc-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--am-acc-blue) !important;
    text-decoration: none;
    background: transparent !important;
}

.am-account-shell .am-acc-link:hover {
    color: #174f84 !important;
}

.am-account-shell .am-acc-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 22px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff !important;
}

.am-account-shell .am-acc-row:last-child {
    border-bottom: 0;
}

@media (min-width: 640px) {
    .am-account-shell .am-acc-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.am-account-shell .am-acc-row-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a !important;
    background: transparent !important;
}

.am-account-shell .am-acc-row-meta {
    margin-top: 4px;
    font-size: 12px;
    color: #64748b !important;
    background: transparent !important;
}

.am-account-shell .am-acc-row-side {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.am-account-shell .am-acc-amount {
    font-size: 14px;
    font-weight: 900;
    color: #0f172a !important;
    background: transparent !important;
}

.am-account-shell .am-acc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #334155 !important;
    background: #fff !important;
    text-decoration: none;
}

.am-account-shell .am-acc-btn:hover {
    background: #f8fafc !important;
}

.am-account-shell .am-acc-btn-primary {
    border-color: transparent;
    background: var(--am-acc-blue) !important;
    color: #fff !important;
}

.am-account-shell .am-acc-empty {
    padding: 36px 22px;
    text-align: center;
    font-size: 14px;
    color: #64748b !important;
    background: #fff !important;
}

.am-account-shell .am-acc-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}

.am-account-shell .am-acc-badge.sky { background: #e0f2fe !important; color: #0369a1 !important; }
.am-account-shell .am-acc-badge.amber { background: #fef3c7 !important; color: #b45309 !important; }
.am-account-shell .am-acc-badge.emerald { background: #d1fae5 !important; color: #047857 !important; }
.am-account-shell .am-acc-badge.rose { background: #ffe4e6 !important; color: #be123c !important; }
.am-account-shell .am-acc-badge.violet { background: #ede9fe !important; color: #6d28d9 !important; }
.am-account-shell .am-acc-badge.blue { background: #dbeafe !important; color: #1d4ed8 !important; }
.am-account-shell .am-acc-badge.slate { background: #e2e8f0 !important; color: #475569 !important; }

.am-account-shell .am-acc-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 22px 22px;
}

.am-account-shell .am-acc-mini {
    border-radius: 16px;
    border: 1px solid #eef2f7;
    background: #f8fafc !important;
    padding: 14px;
}

.am-account-shell .am-acc-mini-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b !important;
    background: transparent !important;
}

.am-account-shell .am-acc-mini-value {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a !important;
    background: transparent !important;
}

.am-account-shell .am-acc-mini-value.danger { color: #e11d48 !important; }
.am-account-shell .am-acc-mini-value.success { color: #059669 !important; }

.am-account-shell .am-acc-amount.debit { color: #e11d48 !important; }
.am-account-shell .am-acc-amount.credit { color: #059669 !important; }

/* Google Translate yellow highlight fix inside account */
.am-account-shell font,
.am-account-shell .goog-text-highlight,
.am-account-shell [style*="background-color: rgb(255, 255, 0)"],
.am-account-shell [style*="background-color: yellow"] {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Account top navigation */
.am-acc-topnav {
    background: linear-gradient(135deg, #071a33 0%, #0f2747 55%, #12325c 100%) !important;
}

.am-acc-topnav .am-acc-nav-link {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    text-decoration: none;
}

.am-acc-topnav .am-acc-nav-link:hover {
    border-color: rgba(147, 197, 253, 0.45);
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

.am-acc-topnav .am-acc-nav-link.is-active {
    border-color: rgba(147, 197, 253, 0.55);
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.am-account-page-wrap {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 48%, #f8fafc 100%) !important;
}
