:root {
    --account-primary: #6A4CFF;
    --account-primary-dark: #5538e8;
    --account-primary-light: #F3F0FF;
    --account-bg: #F5F6FA;
    --account-card: #ffffff;
    --account-text: #1f2937;
    --account-muted: #6b7280;
    --account-border: #e5e7eb;
    --account-success: #22c55e;
    --account-warning: #f97316;
    --account-info: #3b82f6;
    --account-sidebar-width: 260px;
    --account-header-height: 72px;
}

.account-shell {
    min-height: 100vh;
    background: var(--account-bg);
    color: var(--account-text);
    font-family: "Hind Siliguri", "Inter", sans-serif;
}

.account-layout {
    display: flex;
    min-height: 100vh;
}

.account-sidebar {
    width: var(--account-sidebar-width);
    background: #fff;
    border-right: 1px solid var(--account-border);
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 120;
    transition: transform 0.3s ease;
}

.account-sidebar.open {
    display: flex;
    transform: translateX(0);
}

.account-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--account-border);
}

.account-sidebar-brand-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.account-sidebar-brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    text-decoration: none;
}

.account-sidebar-brand-logo {
    max-height: 42px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.account-sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--account-border);
    border-radius: 10px;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.account-sidebar-close:hover {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

.account-sidebar-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--account-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.account-sidebar-brand-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--account-text);
}

.account-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0.75rem;
}

/* Admin-style scrollbar: hidden by default, thin on hover */
.account-nav,
.account-content {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.account-nav:hover,
.account-content:hover {
    scrollbar-color: rgba(0, 0, 0, 0.35) transparent;
}

.account-nav::-webkit-scrollbar,
.account-content::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

.account-nav::-webkit-scrollbar-track,
.account-content::-webkit-scrollbar-track {
    background: transparent;
}

.account-nav::-webkit-scrollbar-thumb,
.account-content::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

.account-nav:hover::-webkit-scrollbar-thumb,
.account-content:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.35);
}

.account-nav::-webkit-scrollbar-thumb:hover,
.account-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.45);
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
}

.account-nav-link:hover {
    background: var(--account-primary-light);
    color: var(--account-primary);
}

.account-nav-link.active {
    background: var(--account-primary-light);
    color: var(--account-primary);
    font-weight: 600;
}

.account-nav-link i {
    width: 20px;
    text-align: center;
}

.account-nav-badge {
    margin-left: auto;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

.account-sidebar-footer {
    padding: 0.75rem;
    border-top: 1px solid var(--account-border);
}

.account-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: #ef4444;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
}

.account-logout-btn:hover {
    background: #fef2f2;
}

.account-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.account-topbar {
    background: #fff;
    border-bottom: 1px solid var(--account-border);
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
    z-index: 100;
}

.account-topbar-center {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 0;
}

.account-search-wrap {
    position: relative;
    flex: 1;
    max-width: 520px;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--account-border);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.account-search-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.72rem 1.15rem;
    outline: none;
    font-size: 0.92rem;
    min-width: 0;
}

.account-search-btn {
    background: var(--account-primary);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    margin: 4px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-icon-badge-red {
    background: #ef4444;
}

.account-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--account-border);
    background: #fff;
    color: #374151;
}

.account-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    flex-shrink: 0;
}

.account-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--account-border);
    background: #fff;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-search-suggestions {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--account-border);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    max-height: 280px;
    overflow-y: auto;
    z-index: 120;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}

.account-search-suggestions::-webkit-scrollbar {
    width: 4px;
}

.account-search-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

.account-search-suggestions::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 999px;
}

.account-search-suggestions::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.account-search-suggestion-item {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    color: #111827;
    cursor: pointer;
}

.account-search-suggestion-item:hover,
.account-search-suggestion-item.active {
    background: #f5f3ff;
    color: var(--account-primary);
}

.account-notifications {
    position: relative;
}

.account-notification-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: min(360px, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid var(--account-border);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    z-index: 130;
}

.account-notifications.open .account-notification-dropdown {
    display: block;
}

.account-notification-header {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--account-border);
    font-weight: 600;
    color: #111827;
}

.account-notification-list {
    max-height: 360px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

.account-notification-list::-webkit-scrollbar {
    width: 5px;
}

.account-notification-list::-webkit-scrollbar-track {
    background: transparent;
}

.account-notification-list::-webkit-scrollbar-thumb {
    background-color: #e5e7eb;
    border-radius: 9999px;
}

.account-notification-list::-webkit-scrollbar-thumb:hover {
    background-color: #d1d5db;
}

.account-notification-empty {
    padding: 1.25rem 1rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.88rem;
    margin: 0;
}

.account-notification-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid #f3f4f6;
}

.account-notification-item.is-unread {
    background: #faf5ff;
}

.account-notification-link {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.account-notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ede9fe;
    color: var(--account-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-notification-item.is-read .account-notification-icon {
    background: #f3f4f6;
    color: #6b7280;
}

.account-notification-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.account-notification-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: #6b7280;
}

.account-notification-status {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.account-notification-item.is-unread .account-notification-status {
    color: #7c3aed;
}

.account-notification-title {
    font-weight: 600;
    font-size: 0.88rem;
    color: #111827;
}

.account-notification-message {
    font-size: 0.82rem;
    color: #4b5563;
    line-height: 1.35;
}

.account-notification-mark-read {
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    flex-shrink: 0;
}

.account-notification-mark-read:not(:disabled):hover {
    color: var(--account-primary);
}

.account-notification-footer {
    padding: 0.65rem 1rem;
    border-top: 1px solid var(--account-border);
    text-align: right;
}

.account-notification-mark-all {
    border: none;
    background: transparent;
    color: var(--account-primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.account-notification-mark-all:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.account-notification-bell-active {
    color: #ef4444 !important;
    animation: account-bell-shake 0.5s ease-in-out 2;
}

@keyframes account-bell-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(12deg); }
    75% { transform: rotate(-12deg); }
}

.account-lang-switcher {
    position: relative;
}

.account-lang-switcher-btn {
    width: auto;
    min-width: 42px;
    padding: 0 0.65rem;
    gap: 0.35rem;
    cursor: pointer;
}

.account-lang-switcher-code {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.account-lang-switcher-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    min-width: 150px;
    background: #fff;
    border: 1px solid var(--account-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    padding: 0.35rem;
    z-index: 200;
}

.account-lang-switcher.open .account-lang-switcher-menu {
    display: block;
}

.account-lang-switcher-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    color: #374151;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
}

.account-lang-switcher-item:hover {
    background: #f3f4f6;
    color: var(--account-primary);
}

.account-lang-switcher-item.active {
    background: rgba(106, 76, 255, 0.1);
    color: var(--account-primary);
    font-weight: 600;
}

.account-lang-switcher-item i {
    width: 1rem;
    text-align: center;
    font-size: 0.85rem;
}

.account-icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--account-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.account-user-chip {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.account-user-menu {
    position: relative;
}

.account-user-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0.5rem 0.25rem 0.25rem;
    border: 1px solid var(--account-border);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    color: inherit;
}

.account-user-menu-toggle:hover,
.account-user-menu.open .account-user-menu-toggle {
    border-color: #c4b5fd;
    background: #faf5ff;
}

.account-user-menu-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.account-user-menu-chevron {
    font-size: 0.7rem;
    color: var(--account-muted);
    transition: transform 0.2s ease;
}

.account-user-menu.open .account-user-menu-chevron {
    transform: rotate(180deg);
}

.account-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--account-border);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    z-index: 200;
}

.account-user-menu.open .account-user-dropdown {
    display: block;
}

.account-user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--account-border);
    background: #fafafa;
}

.account-user-dropdown-header img {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
}

.account-user-dropdown-name {
    font-weight: 600;
    font-size: 0.92rem;
}

.account-user-dropdown-role {
    font-size: 0.75rem;
    color: var(--account-muted);
}

.account-user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    color: #374151;
    font-size: 0.92rem;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.account-user-dropdown-item:hover {
    background: #f9fafb;
}

.account-user-dropdown-item i {
    width: 18px;
    text-align: center;
    color: #6b7280;
}

.account-user-dropdown-logout {
    border-top: 1px solid var(--account-border);
}

.account-user-dropdown-logout-btn {
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    text-decoration: none;
    border: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.account-user-dropdown-logout-btn:hover {
    background: #fef2f2;
}

.account-user-dropdown-logout-btn i {
    color: #ef4444;
}

.account-profile-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-profile-details {
    margin-top: 0;
}

.account-profile-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.account-profile-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.account-profile-detail-label {
    font-size: 0.78rem;
    color: var(--account-muted);
}

.account-profile-detail-value {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2937;
}

.account-welcome-panel-full {
    grid-column: 1 / -1;
}

.account-user-chip img {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
}

.account-user-chip-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.account-user-chip-role {
    font-size: 0.75rem;
    color: var(--account-muted);
}

.account-content {
    padding: 1rem;
    padding-bottom: 5.5rem;
}

.account-mobile-greeting {
    display: block;
    margin-bottom: 1rem;
}

.account-mobile-greeting h1 {
    font-size: 1.35rem;
    font-weight: 700;
}

.account-mobile-greeting p {
    color: var(--account-muted);
    font-size: 0.9rem;
}

.account-profile-card {
    background: linear-gradient(135deg, #6A4CFF 0%, #7C3AED 55%, #8B5CF6 100%);
    border-radius: 22px;
    color: #fff;
    padding: 1.5rem 1.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    align-items: center;
    box-shadow: 0 18px 45px rgba(106, 76, 255, 0.22);
    min-height: 180px;
}

.account-guest-profile-card {
    min-height: 220px;
}

.account-profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.account-profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    object-fit: cover;
}

.account-profile-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    font-size: 2rem;
}

.account-profile-info h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.account-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    margin: 0.35rem 0;
}

.account-profile-meta {
    font-size: 0.85rem;
    opacity: 0.92;
    line-height: 1.6;
}

.account-reward-chip {
    margin-left: auto;
    text-align: right;
}

.account-reward-chip strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.2;
}

.account-reward-chip span,
.account-reward-chip a {
    font-size: 0.85rem;
    opacity: 0.95;
}

.account-welcome-panel {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-radius: 22px;
    padding: 1.5rem;
    border: 1px solid #ddd6fe;
    box-shadow: 0 8px 24px rgba(106, 76, 255, 0.08);
}

.account-welcome-panel-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.account-welcome-panel h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.account-welcome-gift {
    line-height: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.account-welcome-gift svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 20px rgba(79, 70, 229, 0.25));
}

.account-reward-label {
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 0.15rem;
}

.account-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
    color: #4b5563;
    margin-bottom: 0.35rem;
}

.account-auth-panel {
    background: #fff;
    border: 1px solid var(--account-border);
}

.account-auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    background: #f9fafb;
    padding: 0.35rem;
    border-radius: 14px;
}

.account-auth-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
}

.account-auth-tab.active {
    background: #fff;
    color: var(--account-primary);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.account-auth-pane {
    display: none;
}

.account-auth-pane.active {
    display: block;
}

.account-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: #6b7280;
}

.account-stats-locked .account-stat-card {
    opacity: 0.72;
}

.account-empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #9ca3af;
}

.account-empty-state i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #c4b5fd;
}

.account-empty-state p {
    font-size: 0.92rem;
}

.account-section-empty {
    min-height: 220px;
}

.account-dashboard-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.account-reward-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.account-reward-summary strong {
    font-size: 1.35rem;
    color: var(--account-primary);
}

.account-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--account-primary);
    color: var(--account-primary);
    font-weight: 600;
    font-size: 0.85rem;
    background: #fff;
}

.account-progress-wrap {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.account-progress-bar {
    height: 10px;
    background: #ddd6fe;
    border-radius: 999px;
    overflow: hidden;
    margin: 0.75rem 0;
}

.account-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6A4CFF, #8B5CF6);
    border-radius: 999px;
}

.account-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 1rem 0;
}

.account-stats-group {
    display: contents;
}

.account-stat-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--account-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

a.account-stat-card:hover {
    text-decoration: none;
    color: inherit;
}

.account-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.account-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.account-stat-icon.purple { background: #ede9fe; color: #6A4CFF; }
.account-stat-icon.green { background: #dcfce7; color: #16a34a; }
.account-stat-icon.orange { background: #ffedd5; color: #ea580c; }
.account-stat-icon.blue { background: #dbeafe; color: #2563eb; }

.account-stat-value {
    font-size: 1.35rem;
    font-weight: 700;
}

.account-stat-label {
    color: var(--account-muted);
    font-size: 0.85rem;
}

.account-stat-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 0.65rem;
    font-size: 0.8rem;
    color: var(--account-primary);
    font-weight: 600;
}

.account-section-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.25rem;
    border: 1px solid var(--account-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    margin-bottom: 1rem;
}

.account-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.account-section-head h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.account-section-head a {
    color: var(--account-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.account-order-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.account-order-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.account-order-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    background: #f3f4f6;
}

.account-order-info {
    flex: 1;
    min-width: 0;
}

.account-order-name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-order-meta {
    font-size: 0.78rem;
    color: var(--account-muted);
    margin-top: 0.15rem;
}

.account-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 0.35rem;
}

.account-status-badge.delivered,
.account-status-badge.completed {
    background: #dcfce7;
    color: #15803d;
}

.account-status-badge.processing {
    background: #ffedd5;
    color: #c2410c;
}

.account-status-badge.pending {
    background: #fef3c7;
    color: #b45309;
}

.account-order-price {
    font-weight: 700;
    white-space: nowrap;
}

.account-quick-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.account-quick-item {
    text-align: center;
}

.account-quick-icon {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1.1rem;
}

.account-quick-label {
    font-size: 0.75rem;
    color: #374151;
    font-weight: 500;
}

.account-activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.account-activity-item:last-child {
    border-bottom: none;
}

.account-activity-points {
    color: var(--account-success);
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.account-promo-banner {
    background: linear-gradient(135deg, #6A4CFF 0%, #7C3AED 100%);
    border-radius: 22px;
    color: #fff;
    padding: 1.75rem 1.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    overflow: hidden;
    position: relative;
    margin-top: 1rem;
}

.account-promo-banner h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.account-promo-banner p {
    opacity: 0.92;
    font-size: 0.9rem;
}

.account-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    background: #fff;
    color: var(--account-primary);
    font-weight: 700;
    margin-top: 0.85rem;
}

.account-promo-art {
    font-size: 3rem;
    opacity: 0.35;
}

.account-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 110;
}

.account-mobile-menu {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}

.account-mobile-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    width: 100%;
    max-width: 72px;
    font-size: 11px;
    color: #4b5563;
    text-decoration: none;
    padding: 6px 2px;
    border-radius: 12px;
    transition: color 0.2s ease, background-color 0.2s ease;
    text-align: center;
    line-height: 1.2;
}

.account-mobile-menu a:hover,
.account-mobile-menu a:focus,
.account-mobile-menu a:active {
    text-decoration: none;
    color: var(--account-primary);
}

.account-mobile-menu a.active {
    color: var(--account-primary);
    font-weight: 600;
}

.account-mobile-menu i {
    font-size: 20px;
    margin-bottom: 5px;
    color: inherit;
}

.account-mobile-home-btn {
    position: relative;
    margin-top: -22px;
    padding: 0 0 4px !important;
    max-width: none;
    width: auto;
    color: #64748b !important;
    background: transparent !important;
    justify-self: center;
}

.account-mobile-home-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, #8b72ff 0%, var(--account-primary) 48%, var(--account-primary-dark) 100%);
    color: #fff;
    box-shadow:
        0 8px 22px rgba(106, 76, 255, 0.38),
        0 2px 6px rgba(106, 76, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    border: 3px solid #fff;
    margin-bottom: 4px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.account-mobile-home-btn__icon i {
    font-size: 22px !important;
    margin-bottom: 0 !important;
    color: #fff !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.account-mobile-home-btn__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #64748b;
    transition: color 0.2s ease;
}

.account-mobile-home-btn:hover .account-mobile-home-btn__icon,
.account-mobile-home-btn:focus .account-mobile-home-btn__icon {
    transform: translateY(-2px) scale(1.04);
    box-shadow:
        0 12px 28px rgba(106, 76, 255, 0.42),
        0 4px 10px rgba(106, 76, 255, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.account-mobile-home-btn.active .account-mobile-home-btn__icon {
    background: linear-gradient(145deg, #9d88ff 0%, var(--account-primary) 45%, #4a2fd4 100%);
    box-shadow:
        0 10px 26px rgba(106, 76, 255, 0.48),
        0 0 0 4px rgba(106, 76, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.account-mobile-home-btn.active .account-mobile-home-btn__label {
    color: var(--account-primary);
    font-weight: 700;
}

.account-guest-card {
    width: 100%;
}

.account-guest-hero {
    display: none;
}

.account-auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--account-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.account-auth-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.account-field {
    margin-bottom: 1rem;
}

.account-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.account-field-row .account-field {
    margin-bottom: 0;
}

.account-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #374151;
}

.account-field input {
    width: 100%;
    border: 1px solid var(--account-border);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    outline: none;
    font-size: 0.95rem;
}

.account-field input:focus,
.account-field input:focus-visible {
    border-color: var(--account-border);
    box-shadow: none;
    outline: none;
}

.account-submit-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: var(--account-primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.account-submit-btn:hover {
    background: var(--account-primary-dark);
}

.account-error {
    color: #dc2626;
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

.account-reward-mobile-banner {
    background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
    border-radius: 20px;
    padding: 1.25rem;
    margin: 1rem 0;
    border: 1px solid #ddd6fe;
}

.account-desktop-only { display: none; }
.account-mobile-only { display: block; }

@media (min-width: 768px) {
    .account-shell {
        height: 100vh;
        overflow: hidden;
    }

    .account-layout {
        height: 100vh;
        overflow: hidden;
    }

    .account-sidebar {
        display: flex;
    }

    .account-sidebar-brand,
    .account-topbar {
        min-height: var(--account-header-height);
        height: var(--account-header-height);
        padding-top: 0;
        padding-bottom: 0;
        box-sizing: border-box;
    }

    .account-main {
        margin-left: var(--account-sidebar-width);
        width: calc(100% - var(--account-sidebar-width));
        height: 100vh;
        overflow: hidden;
    }

    .account-topbar-center {
        display: flex;
    }

    .account-menu-toggle {
        display: none;
    }

    .account-sidebar-close {
        display: none;
    }

    .account-user-chip {
        display: flex;
    }

    .account-user-menu-toggle {
        padding: 0.35rem 0.85rem 0.35rem 0.35rem;
    }

    .account-user-menu-avatar {
        width: 42px;
        height: 42px;
    }

    .account-content {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        padding-bottom: 1.5rem;
    }

    .account-mobile-greeting,
    .account-mobile-bottom-nav,
    .account-mobile-only {
        display: none;
    }

    .account-desktop-only {
        display: block;
    }

    .account-stats-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .account-stats-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
        height: 100%;
    }
    .account-stats-group .account-stat-card,
    .account-quick-access-top {
        height: 100%;
        margin-bottom: 0;
    }

    .account-quick-access-top {
        display: flex;
        flex-direction: column;
        border-radius: 18px;
    }

    .account-quick-access-top .account-section-head {
        margin-bottom: 0.75rem;
    }

    .account-quick-access-top .account-quick-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        flex: 1;
        align-content: center;
    }

    .account-dashboard-middle {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .account-topbar {
        position: sticky;
        top: 0;
        background: #fff;
    }

    .account-mobile-greeting {
        display: none;
    }

    .account-sidebar {
        display: flex;
        transform: translateX(-100%);
    }

    .account-sidebar.open {
        transform: translateX(0);
        box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.45);
    }

    .account-profile-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-reward-chip {
        margin-left: 0;
        text-align: left;
        width: 100%;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .account-profile-detail-grid {
        grid-template-columns: 1fr;
    }

    .account-quick-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .account-quick-icon {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .account-quick-label {
        font-size: 0.68rem;
    }

    .account-field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .account-field-row .account-field {
        margin-bottom: 1rem;
    }

    .account-notifications {
        position: static;
    }

    .account-notification-dropdown {
        position: fixed;
        top: calc(var(--account-header-height, 64px) + 0.5rem);
        left: 0.75rem;
        right: 0.75rem;
        width: auto;
        max-width: none;
    }
}

.account-session-alert,
.account-forgot-alert {
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.account-session-alert.error,
.account-forgot-alert.error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.account-forgot-alert.success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* Toastr (match admin panel styling) */
#toast-container > div {
    opacity: 1 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

#toast-container .toast-progress {
    display: none !important;
}

#toast-container .toast-close-button,
#toast-container .toast-close-button:hover,
#toast-container .toast-close-button:focus,
#toast-container > div:hover .toast-close-button {
    color: #fff !important;
    opacity: 0.8 !important;
    text-decoration: none !important;
}

.toast-success {
    background-color: #28a745 !important;
}

.toast-error {
    background-color: #dc3545 !important;
}

.toast-warning {
    background-color: #ffc107 !important;
}

.toast-info {
    background-color: #17a2b8 !important;
}
