/* ======================================================
   WALLET SIDEBAR - SEA BLUE PROFESSIONAL REDESIGN
====================================================== */

.account-sidebar {
    width: 290px;
    position: relative;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,251,255,0.96) 100%);
    border: 1px solid rgba(14, 165, 233, 0.10);
    border-radius: 26px;
    padding: 24px 20px;
    box-shadow:
        0 20px 45px rgba(2, 132, 199, 0.08),
        0 8px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: all 0.30s ease;
}

.account-sidebar::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -70px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.10), transparent 70%);
    pointer-events: none;
}

.account-sidebar::after {
    content: "";
    position: absolute;
    bottom: -90px;
    left: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06), transparent 72%);
    pointer-events: none;
}

/* ======================================================
   BACK BUTTON
====================================================== */

.wallet-back-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.wallet-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(14, 165, 233, 0.10);
    color: #0369a1;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.wallet-back-btn:hover {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.18);
    color: #0f172a;
    transform: translateX(-3px);
}

.wallet-back-btn i {
    font-size: 12px;
    color: #0284c7;
}

/* ======================================================
   SIDEBAR HEADER
====================================================== */

.wallet-sidebar-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.10), rgba(255,255,255,0.86));
    border: 1px solid rgba(14, 165, 233, 0.10);
    box-shadow: 0 12px 24px rgba(2, 132, 199, 0.06);
}

.wallet-sidebar-header i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.20);
}

.wallet-sidebar-header span {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

/* ======================================================
   MENU
====================================================== */

.account-menu {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ======================================================
   MENU LINKS
====================================================== */

.account-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 0 16px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    color: #334155;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(14, 165, 233, 0.08);
    transition: all 0.26s ease;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}

.account-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14,165,233,0.05), transparent 55%);
    opacity: 0;
    transition: all 0.26s ease;
    pointer-events: none;
}

.account-link i {
    width: 18px;
    text-align: center;
    font-size: 15px;
    color: #0284c7;
    flex-shrink: 0;
    transition: all 0.26s ease;
}

.account-link span {
    flex: 1;
    position: relative;
    z-index: 2;
}

/* Hover */
.account-link:hover {
    transform: translateX(4px);
    border-color: rgba(14, 165, 233, 0.16);
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 14px 24px rgba(2, 132, 199, 0.08);
}

.account-link:hover::after {
    opacity: 1;
}

.account-link:hover i {
    color: #0369a1;
    transform: scale(1.05);
}

/* ======================================================
   ACTIVE LINK
====================================================== */

.account-link.active {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 18px 34px rgba(2, 132, 199, 0.24);
}

.account-link.active i {
    color: #ffffff;
}

.account-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 5px;
    border-radius: 0 8px 8px 0;
    background: rgba(255,255,255,0.92);
}

.account-link.active::after {
    opacity: 0;
}

/* ======================================================
   DISABLED LINKS
====================================================== */

.account-link.disabled {
    opacity: 0.56;
    pointer-events: none;
    background: #f8fafc;
    border-style: dashed;
    border-color: rgba(148, 163, 184, 0.24);
    color: #94a3b8;
    box-shadow: none;
}

.account-link.disabled i {
    color: #94a3b8;
}

/* ======================================================
   OPTIONAL SMALL LABEL LOOK
====================================================== */

.account-link.disabled span::after {
    content: "Soon";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    vertical-align: middle;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 992px) {
    .account-sidebar {
        width: 100%;
        padding: 22px 18px;
        border-radius: 22px;
    }

    .wallet-sidebar-header {
        margin-bottom: 18px;
    }

    .account-menu {
        gap: 10px;
    }

    .account-link {
        min-height: 52px;
    }
}

@media (max-width: 576px) {
    .account-sidebar {
        padding: 18px 14px;
        border-radius: 18px;
    }

    .wallet-back-wrapper {
        margin-bottom: 16px;
    }

    .wallet-back-btn {
        min-height: 42px;
        font-size: 12px;
        border-radius: 12px;
    }

    .wallet-sidebar-header {
        padding: 12px 12px 14px;
        border-radius: 16px;
        gap: 10px;
    }

    .wallet-sidebar-header i {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 14px;
    }

    .wallet-sidebar-header span {
        font-size: 15px;
    }

    .account-link {
        min-height: 50px;
        padding: 0 14px;
        border-radius: 14px;
        font-size: 13px;
        gap: 12px;
    }

    .account-link i {
        font-size: 14px;
    }

    .account-link.disabled span::after {
        font-size: 9px;
        padding: 3px 7px;
        margin-left: 8px;
    }
}