:root {

    --account-primary: #111111;
    --account-secondary: #6b7280;
    --account-bg: #f8f9fb;
    --account-border: #ececec;
    --account-white: #ffffff;
    --account-success: #22c55e;
    --account-radius: 26px;

}

/*==============================
                            Wrapper
                            ==============================*/

.wrap-sidebar-account {
    width: 100%;
    position: sticky;
    top: 110px;
}

/*==============================
                            Sidebar
                            ==============================*/

.sidebar-account {

    background: #fff;

    border: 1px solid var(--account-border);

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, .05);

}

/*==============================
                            Header
                            ==============================*/

.account-header {

    position: relative;

    padding: 32px;

    background:
        linear-gradient(135deg,
            #111111 0%,
            #2d2d2d 100%);

    overflow: hidden;

}

.account-header::before {

    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .05);

    right: -80px;

    top: -80px;

}

.account-header::after {

    content: "";

    position: absolute;

    width: 130px;

    height: 130px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .04);

    left: -35px;

    bottom: -45px;

}

/*==============================
                            Avatar
                            ==============================*/

.account-avatar {

    position: relative;

    z-index: 2;

    text-align: center;
    padding: 20px 0;

}

.account-avatar .image {

    width: 110px;

    height: 110px;

    margin: auto;

    border-radius: 50%;

    padding: 5px;

    background: #fff;

    position: relative;

}

.account-avatar .image::before {

    content: "";

    position: absolute;

    inset: -4px;

    border-radius: 50%;

    border: 2px solid rgba(255, 255, 255, .25);

}

.account-avatar img {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    display: block;

}

/*==============================
                            Online Badge
                            ==============================*/

.account-status {

    position: absolute;

    right: 8px;

    bottom: 8px;

    width: 18px;

    height: 18px;

    background: #22c55e;

    border-radius: 50%;

    border: 3px solid #fff;

}

/*==============================
                            Name
                            ==============================*/

.account-avatar h5 {

    margin-top: 18px;

    margin-bottom: 6px;

    color: #fff;

    font-size: 24px;

    font-weight: 700;

}

.account-avatar p {

    margin: 0;

    color: rgba(255, 255, 255, .80);

    font-size: 15px;

}

/*==============================
                            Member Badge
                            ==============================*/

.member-badge {

    margin-top: 18px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: rgba(255, 255, 255, .12);

    color: #fff;

    padding: 8px 18px;

    border-radius: 100px;

    font-size: 13px;

    font-weight: 600;

    backdrop-filter: blur(10px);

}

.member-badge i {

    color: #FFD54F;

}

/*==============================
                            Body
                            ==============================*/

.account-body {

    padding: 20px;

}

/*==============================
                            Section Title
                            ==============================*/

.account-menu-title {

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: #9ca3af;

    font-weight: 700;

    margin: 5px 10px 15px;

}

/*==================================================
                        MENU
                        PART 1B
                        ==================================================*/

/*==============================
                        Menu
                        ==============================*/

.my-account-nav {

    list-style: none;

    margin: 0;

    padding: 0;

}

/*==============================
                        Item
                        ==============================*/

.my-account-nav li {

    margin-bottom: 8px;

    position: relative;

}

/*==============================
                        Link
                        ==============================*/

.my-account-nav-item {

    position: relative;

    display: flex;

    align-items: center;

    gap: 16px;

    height: 62px;

    padding: 0 18px;

    border-radius: 18px;

    color: #374151;

    font-size: 16px;

    font-weight: 600;

    text-decoration: none;

    transition: .35s;

    overflow: hidden;

}

/*==============================
                        Hover
                        ==============================*/

.my-account-nav-item:hover {

    background: #f8f9fb;

    color: #111;

    transform: translateX(5px);

}

/*==============================
                        Ripple Background
                        ==============================*/

.my-account-nav-item::before {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(90deg,
            rgba(17, 17, 17, .04),
            transparent);

    opacity: 0;

    transition: .35s;

}

.my-account-nav-item:hover::before {

    opacity: 1;

}

/*==============================
                        Active
                        ==============================*/

.my-account-nav-item.active {

    background: #111;

    color: #fff;

    box-shadow:

        0 12px 30px rgba(17, 17, 17, .18);

}

/*==============================
                        Active Left Border
                        ==============================*/

.my-account-nav-item.active::after {

    content: "";

    position: absolute;

    left: 0;

    top: 12px;

    width: 5px;

    height: 38px;

    border-radius: 0 10px 10px 0;

    background: #22c55e;

}

/*==============================
                        Icons
                        ==============================*/

.my-account-nav-item svg {

    width: 22px;

    height: 22px;

    flex: none;

    transition: .3s;

}

.my-account-nav-item svg path {

    transition: .3s;

}

/* Hover */

.my-account-nav-item:hover svg {

    transform: scale(1.08);

}

/* Active */

.my-account-nav-item.active svg path {

    stroke: #fff !important;

    fill: none !important;

}

/* Wallet SVG */

.my-account-nav-item.active svg rect,

.my-account-nav-item.active svg circle,

.my-account-nav-item.active svg polygon,

.my-account-nav-item.active svg g {

    stroke: #fff !important;

    fill: none !important;

}

/*==============================
                        Menu Text
                        ==============================*/

.my-account-nav-item span {

    flex: 1;

}

/*==============================
                        Right Arrow
                        ==============================*/

.nav-arrow {

    margin-left: auto;

    opacity: .35;

    transition: .3s;

}

.my-account-nav-item:hover .nav-arrow {

    opacity: 1;

    transform: translateX(5px);

}

.my-account-nav-item.active .nav-arrow {

    color: #fff;

    opacity: 1;

}

/*==============================
                        Badge
                        ==============================*/

.menu-badge {

    margin-left: auto;

    min-width: 26px;

    height: 26px;

    border-radius: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ef4444;

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    padding: 0 8px;

}

.my-account-nav-item.active .menu-badge {

    background: #22c55e;

}

/*==============================
                        Divider
                        ==============================*/

.sidebar-divider {

    height: 1px;

    background: #ececec;

    margin: 22px 0;

}

/*==============================
                        Help Card
                        ==============================*/

.account-help {

    background: #111;

    color: #fff;

    padding: 22px;

    border-radius: 20px;

    margin-top: 25px;

    position: relative;

    overflow: hidden;

}

.account-help::before {

    content: "";

    position: absolute;

    width: 160px;

    height: 160px;

    right: -70px;

    top: -70px;

    background: rgba(255, 255, 255, .05);

    border-radius: 50%;

}

.account-help h6 {

    color: #fff;

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 8px;

    position: relative;

    z-index: 2;

}

.account-help p {

    color: rgba(255, 255, 255, .75);

    font-size: 14px;

    line-height: 24px;

    margin-bottom: 18px;

    position: relative;

    z-index: 2;

}

.account-help a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #fff;

    color: #111;

    padding: 10px 18px;

    border-radius: 12px;

    font-weight: 600;

    text-decoration: none;

    transition: .3s;

    position: relative;

    z-index: 2;

}

.account-help a:hover {

    transform: translateY(-2px);

}

/*==============================
                        Logout
                        ==============================*/

.logout-item {

    color: #dc2626 !important;

}

.logout-item:hover {

    background: #fef2f2;

    color: #dc2626 !important;

}

.logout-item.active {

    background: #dc2626 !important;

}

.logout-item.active svg path {

    stroke: #fff !important;

}

/*==============================
                        Scrollbar
                        ==============================*/

.sidebar-account::-webkit-scrollbar {

    width: 6px;

}

.sidebar-account::-webkit-scrollbar-thumb {

    background: #d4d4d4;

    border-radius: 20px;

}

/*==============================
            Member Since
            ==============================*/

.account-body strong {

    color: #111;

    font-size: 15px;

    font-weight: 700;

}

/*==============================
            Logout Hover
            ==============================*/

.logout-item:hover {

    transform: translateX(5px);

}

/*==============================
            Badge Animation
            ==============================*/

.menu-badge {

    animation: pulseBadge 2s infinite;

}

@keyframes pulseBadge {

    0% {

        transform: scale(1);

    }

    50% {

        transform: scale(1.08);

    }

    100% {

        transform: scale(1);

    }

}

/*==============================
            Help Card Icon
            ==============================*/

.account-help i {

    font-size: 18px;

}

@media screen and (max-width:991px) {
    .wrap-sidebar-account {
        display: none;
    }
}

.flat-spacing{
    padding-bottom: 40px;
}

.btn-sidebar-account {
    position: fixed;
    top: 200px;
    left: 0;
    z-index: 999;
    display: none; /* hidden by default — shown via media query below */
}

.btn-sidebar-account button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 0 12px 12px 0;
    background: linear-gradient(135deg, #111111 0%, #2d2d2d 100%);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 3px 0 18px rgba(0,0,0,.18);
    transition: .3s;
    padding: 0;
}

.btn-sidebar-account button:hover {
    background: linear-gradient(135deg, #222 0%, #444 100%);
    box-shadow: 3px 0 24px rgba(0,0,0,.28);
    transform: translateX(3px);
}

/* Show only below 992px — same breakpoint where desktop sticky sidebar hides */
@media (max-width: 991px) {
    .btn-sidebar-account {
        display: block;
    }
}

.t1-offcanvas-account {
    width: 320px;
    border-right: 0;
    padding: 0;
    background: #f8f9fb;
}

/* ── Header ───────────────────────────────────────────── */

.t1-oc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #111111 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.t1-oc-header::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    right: -60px;
    top: -60px;
    pointer-events: none;
}

.t1-oc-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.t1-oc-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: .25s;
    position: relative;
    z-index: 2;
    padding: 0;
    line-height: 1;
}

.t1-oc-close:hover {
    background: rgba(255,255,255,.22);
    transform: rotate(90deg);
}

/* ── Scrollable Body ──────────────────────────────────── */

.t1-oc-body {
    padding: 0 !important;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.t1-oc-body::-webkit-scrollbar {
    width: 4px;
}

.t1-oc-body::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 20px;
}

/* ── Avatar Block ─────────────────────────────────────── */

.t1-oc-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px 24px;
    background: linear-gradient(135deg, #111111 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.t1-oc-avatar-wrap::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    left: -50px;
    bottom: -60px;
    pointer-events: none;
}

.t1-oc-avatar-img {
    position: relative;
    z-index: 2;
    width: 90px;
    height: 90px;
    margin: 0 auto 14px;
    border-radius: 50%;
    padding: 4px;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}

.t1-oc-avatar-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

/* Online dot */
.t1-oc-online-dot {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 15px;
    height: 15px;
    background: #22c55e;
    border-radius: 50%;
    border: 3px solid #fff;
}

.t1-oc-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    position: relative;
    z-index: 2;
}

.t1-oc-email {
    font-size: 13px;
    color: rgba(255,255,255,.75);
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Premium badge */
.t1-oc-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 100px;
    position: relative;
    z-index: 2;
}

.t1-oc-badge i {
    color: #FFD54F;
    font-size: 14px;
}

/* ── Section Title ────────────────────────────────────── */

.t1-oc-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #9ca3af;
    padding: 20px 24px 10px;
}

/* ── Navigation List ──────────────────────────────────── */

.t1-oc-nav {
    list-style: none;
    margin: 0;
    padding: 0 12px;
}

.t1-oc-nav li {
    margin-bottom: 4px;
}

.t1-oc-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 56px;
    padding: 0 16px;
    border-radius: 16px;
    color: #374151;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
    overflow: hidden;
}

.t1-oc-nav-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17,17,17,.05), transparent);
    opacity: 0;
    transition: .3s;
    border-radius: 16px;
}

.t1-oc-nav-item:hover {
    background: #fff;
    color: #111;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.t1-oc-nav-item:hover::before {
    opacity: 1;
}

/* Icon */
.t1-oc-nav-item > i:first-child {
    font-size: 20px;
    flex: none;
    transition: .25s;
}

.t1-oc-nav-item:hover > i:first-child {
    transform: scale(1.1);
}

/* Label */
.t1-oc-nav-item span {
    flex: 1;
}

/* Arrow */
.t1-oc-arrow {
    margin-left: auto;
    font-size: 18px;
    opacity: .35;
    transition: .3s;
}

.t1-oc-nav-item:hover .t1-oc-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Active state */
.t1-oc-nav-item.active {
    background: #111;
    color: #fff;
    box-shadow: 0 10px 28px rgba(17,17,17,.18);
}

.t1-oc-nav-item.active::after {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 36px;
    border-radius: 0 8px 8px 0;
    background: #22c55e;
}

.t1-oc-nav-item.active .t1-oc-arrow {
    opacity: 1;
    color: #fff;
}

.t1-oc-nav-item.active > i:first-child {
    color: #fff;
}

/* Notification badge count */
.t1-oc-badge-count {
    margin-left: auto;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    animation: t1PulseBadge 2s infinite;
}

.t1-oc-nav-item.active .t1-oc-badge-count {
    background: #22c55e;
}

@keyframes t1PulseBadge {
    0%   { transform: scale(1);    }
    50%  { transform: scale(1.1);  }
    100% { transform: scale(1);    }
}

/* Divider */
.t1-oc-divider {
    height: 1px;
    background: #ececec;
    margin: 14px 4px;
}

/* Logout item */
.t1-oc-logout {
    color: #dc2626 !important;
}

.t1-oc-logout:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    box-shadow: none !important;
}

.t1-oc-logout > i:first-child {
    color: #dc2626;
}

/* ── Help Card ────────────────────────────────────────── */

.t1-oc-help {
    margin: 20px 12px 0;
    background: #111;
    color: #fff;
    padding: 22px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.t1-oc-help::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -55px;
    top: -55px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    pointer-events: none;
}

.t1-oc-help h6 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.t1-oc-help p {
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 22px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.t1-oc-help a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #111;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .25s;
    position: relative;
    z-index: 2;
}

.t1-oc-help a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

/* ── Member Since ─────────────────────────────────────── */

.t1-oc-member-since {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 22px 24px 28px;
    text-align: center;
}

.t1-oc-member-since small {
    font-size: 12px;
    color: #9ca3af;
    display: block;
}

.t1-oc-member-since strong {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}