* {
    box-sizing: border-box;
}

:root {
    --gold: #f5c542;
    --gold-light: #ffe58a;
    --gold-border: #dba915;
    --gold-dark: #6d4d00;
    --black: #092E22;
    --card: #0d3a2a;
    --white: #f4f4f4;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: #092E22;
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
}

body {
    overflow-x: hidden;
}

.app-shell {
    min-height: 100vh;
    display: flex;
    background:
        radial-gradient(circle at 80% 5%, rgba(216, 164, 15, .09), transparent 28%),
        #092E22;
}

/* SIDEBAR */
.sidebar {
    width: 280px;
    flex: 0 0 280px;
    min-height: 100vh;
    padding: 20px 14px;
    border-right: 1px solid rgba(218, 169, 21, .7);
    background:
        linear-gradient(180deg, rgba(9, 46, 34, .96), rgba(4, 20, 15, .99));
    box-shadow: 0 0 24px rgba(222, 174, 23, .08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 10px 20px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold-light);
    font-size: 24px;
    box-shadow: 0 0 14px rgba(245, 197, 66, .2);
}

.brand-name {
    font-family: Georgia, serif;
    font-size: 25px;
    color: #fff;
}

.brand-name span {
    color: var(--gold);
}

.brand-subtitle {
    margin-top: 1px;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 5px;
    text-align: center;
}

.brand-tagline {
    margin-top: 5px;
    font-size: 8px;
    color: #ddd;
    letter-spacing: 2px;
}

.menu {
    display: grid;
    gap: 6px;
}

.menu-item {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 15px;
    color: #eee;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 15px;
    transition: .25s ease;
}

.menu-item i:first-child {
    width: 23px;
    color: var(--gold);
    text-align: center;
    font-size: 18px;
}

.menu-item .arrow {
    margin-left: auto;
    width: auto;
    color: #ddd;
    font-size: 11px;
}

.menu-item:hover,
.menu-item.active {
    color: #fff;
    border-color: var(--gold-border);
    background: linear-gradient(135deg, rgba(245, 197, 66, .18), rgba(9, 46, 34, .35));
    box-shadow:
        inset 0 0 16px rgba(245, 197, 66, .08),
        0 0 12px rgba(245, 197, 66, .14);
}

/* MAIN */
.main {
    flex: 1;
    min-width: 0;
}

.top-header {
    position: relative;
    min-height: 155px;
    overflow: hidden;
    border-bottom: 1px solid rgba(216, 169, 23, .35);
    background: #092E22;
}

.header-art {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 46, 34, .60), rgba(9, 46, 34, .50)),
        url("../img/header_crypto_bg.png") center / cover no-repeat;
    opacity: .82;
}

.header-brand {
    position: absolute;
    left: 30px;
    bottom: 24px;
    z-index: 2;
}

.header-brand strong {
    font-family: Georgia, serif;
    font-size: 30px;
}

.header-brand strong span {
    color: var(--gold);
}

.header-brand small {
    display: block;
    margin-top: 5px;
    color: var(--gold-light);
    letter-spacing: 3px;
    font-size: 10px;
}

.user-menu {
    position: absolute;
    right: 25px;
    top: 30px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    padding: 10px 14px;
    background: rgba(7, 7, 7, .88);
    box-shadow: 0 0 12px rgba(245, 197, 66, .12);
}

.user-avatar {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #111;
    background: var(--gold-light);
}

/* DASHBOARD */
.dashboard {
    position: relative;
    margin: -1px 20px 20px;
    padding: 28px 22px 24px;
    overflow: hidden;
    border: 1px solid var(--gold-border);
    border-radius: 15px;
    background:
        radial-gradient(circle at 88% 85%, rgba(203, 153, 12, .07), transparent 22%),
        linear-gradient(135deg, rgba(11, 42, 32, .98), rgba(4, 20, 15, .99));
    box-shadow:
        inset 0 0 30px rgba(245, 197, 66, .025),
        0 0 16px rgba(245, 197, 66, .06);
}

.welcome {
    position: relative;
    z-index: 4;
    margin-bottom: 16px;
}

.welcome h2 {
    margin: 0 0 8px;
    font-size: 25px;
    font-weight: 500;
}

.welcome h2 span {
    color: var(--gold);
}

.status {
    display: inline-flex;
    padding: 5px 11px;
    border: 1px solid var(--gold-border);
    border-radius: 15px;
    color: var(--gold-light);
    background: rgba(245, 197, 66, .05);
    box-shadow: 0 0 9px rgba(245, 197, 66, .14);
    font-size: 13px;
    font-weight: 700;
}

/* GRIDS */
.top-grid {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(500px, 1.55fr);
    gap: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 6px;
}

/* CARD */
.card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gold-border);
    border-radius: 13px;
    background:
        linear-gradient(135deg, rgba(13, 58, 42, .96), rgba(6, 28, 21, .98));
    box-shadow:
        inset 0 0 20px rgba(245, 197, 66, .025),
        0 0 9px rgba(245, 197, 66, .1);
    transition: .25s ease;
}

.card:hover {
    border-color: var(--gold-light);
    box-shadow:
        inset 0 0 24px rgba(245, 197, 66, .05),
        0 0 15px rgba(245, 197, 66, .2);
}

.card-inner {
    position: relative;
    z-index: 3;
    padding: 22px;
}

.account-card {
    min-height: 258px;
}

.account-bg,
.stat-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .35;
    pointer-events: none;
}

.account-bg {
    background-image: url("../img/account_crypto_bg.png");
    background-position: right center;
    background-size: auto 100%;
}

.stat-bg {
    background-image: url("../img/small_card_pattern.png");
    background-position: right center;
    background-size: cover;
}

.account-card .card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card {
    min-height: 119px;
}

.row-card {
    min-height: 119px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.bottom-card {
    min-height: 210px;
}

.bottom-card .card-inner {
    height: 100%;
}

.icon-box {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold-border);
    border-radius: 11px;
    color: var(--gold-light);
    font-size: 25px;
    background:
        linear-gradient(145deg, rgba(245, 197, 66, .15), rgba(6, 28, 21, .65));
    box-shadow:
        inset 0 0 12px rgba(245, 197, 66, .08),
        0 0 9px rgba(245, 197, 66, .13);
    text-shadow: 0 0 9px rgba(245, 197, 66, .55);
}

.icon-box.big {
    width: 65px;
    height: 65px;
    flex-basis: 65px;
    margin-bottom: 20px;
}

.title {
    margin-top: 15px;
    color: #e9e9e9;
    font-size: 16px;
}

.row-card .title {
    margin-top: 0;
    margin-bottom: 7px;
}

.amount {
    margin-top: 7px;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
}

.amount.gold {
    color: var(--gold);
    text-shadow: 0 0 9px rgba(245, 197, 66, .22);
}

.amount small {
    font-size: 16px;
    font-weight: 500;
}

.corner-arrow {
    position: absolute;
    right: 20px;
    bottom: 18px;
    color: var(--gold);
    font-size: 18px;
}

/* REFERRAL */
.referral-section {
    position: relative;
    z-index: 4;
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid rgba(216, 169, 23, .45);
}

.referral-section label {
    display: block;
    margin-bottom: 9px;
    font-size: 16px;
    color: #eee;
}

.referral-box {
    display: flex;
    max-width: 760px;
    border: 1px solid var(--gold-border);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(6, 28, 21, .7);
}

.referral-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 14px;
    color: var(--gold);
    background: transparent;
    font-size: 16px;
}

.referral-box button {
    width: 58px;
    border: 0;
    border-left: 1px solid var(--gold-border);
    color: var(--gold-light);
    background: rgba(245, 197, 66, .08);
    font-size: 19px;
    cursor: pointer;
}

/* DECORATIVE ART */
.ethereum-art {
    position: absolute;
    right: 4px;
    top: 57%;
    width: 105px;
    height: 150px;
    background: url("../img/ethereum_decor.png") center / contain no-repeat;
    opacity: .65;
    pointer-events: none;
}

.footer-bitcoin-art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 360px;
    height: 185px;
    background: url("../img/footer_crypto_bg.png") right bottom / cover no-repeat;
    opacity: .75;
    pointer-events: none;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .sidebar {
        width: 230px;
        flex-basis: 230px;
    }

    .top-grid {
        grid-template-columns: 1fr;
    }

    .bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .sidebar {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard {
        margin: 0 10px 15px;
    }

    .bottom-grid {
        grid-template-columns: 1fr;
    }

    .top-header {
        min-height: 125px;
    }
}

@media (max-width: 560px) {
    .dashboard {
        padding: 20px 14px;
    }

    .welcome h2 {
        font-size: 21px;
    }

    .row-card {
        min-height: 105px;
    }

    .amount {
        font-size: 22px;
    }

    .referral-box input {
        font-size: 12px;
    }

    .header-brand {
        left: 18px;
    }

    .header-brand strong {
        font-size: 23px;
    }

    .user-menu {
        right: 12px;
        top: 15px;
        font-size: 12px;
    }
}


/* =========================================================
   CLEAN ARTWORK MODE
   All labels, wallet icons and amounts are HTML elements.
   Background image assets contain decorative crypto artwork only.
========================================================= */

.account-bg {
    left: 38%;
    background-size: auto 100%;
    background-position: right center;
    opacity: .72;
}

.stat-bg {
    left: 42%;
    background-size: cover;
    background-position: right center;
    opacity: .52;
}

.account-card .card-inner,
.stat-card .card-inner,
.bottom-card .card-inner {
    position: relative;
    z-index: 5;
}

/* Keep the decorative artwork behind the real UI icon/text. */
.icon-box,
.title,
.amount,
.corner-arrow {
    position: relative;
    z-index: 6;
}



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

.menu-group {
    width: 100%;
}


/* =========================================
   SUBMENU
========================================= */

.submenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;

    padding-left: 20px;

    transition:
        max-height 0.35s ease,
        opacity 0.25s ease;
}


/* =========================================
   OPEN SUBMENU
========================================= */

.menu-group.open .submenu {
    max-height: 300px;
    opacity: 1;
}


/* =========================================
   SUBMENU ITEM
========================================= */

.submenu-item {
    min-height: 42px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 15px;

    color: #cfcfcf;

    text-decoration: none;

    font-size: 13px;

    border-left: 1px solid rgba(245, 197, 66, 0.35);

    transition: all 0.25s ease;
}


/* Small submenu icon */

.submenu-item i {
    width: 18px;

    color: #d9aa24;

    font-size: 8px;

    text-align: center;
}


/* Hover */

.submenu-item:hover {
    color: #ffffff;

    padding-left: 20px;

    background: rgba(245, 197, 66, 0.06);

    border-left-color: #f5c542;
}


/* =========================================
   ARROW
========================================= */

.menu-toggle .arrow {
    margin-left: auto;

    transition: transform 0.3s ease;
}


/* Rotate arrow when open */

.menu-group.open .menu-toggle .arrow {
    transform: rotate(180deg);

    color: #f5c542;
}


/* =========================================
   ACTIVE OPEN MENU
========================================= */

.menu-group.open > .menu-toggle {
    color: #ffffff;

    border-color: rgba(245, 197, 66, 0.55);

    background:
        linear-gradient(
            135deg,
            rgba(245, 197, 66, 0.16),
            rgba(9, 46, 34, 0.4)
        );

    box-shadow:
        inset 0 0 16px rgba(245, 197, 66, 0.06),
        0 0 12px rgba(245, 197, 66, 0.10);
}
/*  new mwnu  */

/* =========================================
   INNER MENU
   Does NOT affect existing menu-item design
========================================= */

.menu .inner-menu {
    display: none;

    width: 100%;

    padding: 5px 0 5px 48px;

    margin: 0;

    background: transparent;

    box-sizing: border-box;
}


/* OPEN */

.menu .inner-menu.show {
    display: block;
}


/* INNER LINKS */

.menu .inner-menu a {
    display: block;

    width: 100%;

    padding: 9px 12px;

    margin: 0;

    color: #cfcfcf;

    background: transparent;

    border: 0;

    border-left: 1px solid rgba(245, 197, 66, 0.35);

    border-radius: 0;

    text-decoration: none;

    font-size: 13px;

    line-height: 1.3;

    box-sizing: border-box;

    transition: all 0.2s ease;
}


/* HOVER */

.menu .inner-menu a:hover {

    color: #f5c542;

    background: rgba(245, 197, 66, 0.06);

    border-left-color: #f5c542;

    padding-left: 17px;
}






/* ARROW */

.menu .menu-toggle .arrow {

    margin-left: auto;

    transition: transform 0.25s ease;
}


/* ROTATE ARROW */

.menu .menu-toggle.active-arrow .arrow {

    transform: rotate(180deg);

    color: #f5c542;
}


/* =====================================================
   MOBILE ANDROID STYLE BOTTOM MENU
   ===================================================== */

.mobile-bottom-menu-wrapper {
    display: none;
}


/* =====================================================
   MOBILE ONLY
   ===================================================== */

@media (max-width: 767px) {

    /* Hide desktop left menu */
    .sidebar,
    .left-sidebar,
    aside {
      
    }


    /* Bottom Navigation */

    .mobile-bottom-menu-wrapper {

        display: block;

        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;

        z-index: 999999;

        padding: 8px 7px
                 calc(8px + env(safe-area-inset-bottom));

        background:
            linear-gradient(
                180deg,
                rgba(8, 38, 28, 0.96),
                rgba(4, 20, 15, 0.99)
            );

        border-top:
            1px solid rgba(245, 197, 66, 0.45);

        box-shadow:
            0 -5px 25px rgba(0, 0, 0, 0.75),
            0 -1px 15px rgba(245, 197, 66, 0.08);

        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }


    /* UL */

    .mobile-bottom-menu {

        display: grid;

        grid-template-columns:
            repeat(5, 1fr);

        align-items: center;

        width: 100%;

        margin: 0;

        padding: 0;

        list-style: none;

        gap: 3px;
    }


    /* LI */

    .mobile-bottom-menu li {

        display: flex;

        align-items: center;

        justify-content: center;

        margin: 0;

        padding: 0;

        min-width: 0;
    }


    /* LINK */

    .mobile-bottom-menu li a {

        width: 100%;

        min-height: 55px;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 4px;

        padding: 5px 2px;

        text-decoration: none;

        color: #bcbcbc;

        border-radius: 10px;

        transition:
            all .25s ease;
    }


    /* ICON */

    .mobile-bottom-menu li a i {

        font-size: 20px;

        line-height: 1;

        color: #d9aa2c;

        transition:
            all .25s ease;
    }


    /* TEXT */

    .mobile-bottom-menu li a span {

        font-size: 10px;

        line-height: 1;

        color: #cfcfcf;

        white-space: nowrap;
    }


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

    .mobile-bottom-menu li a.active {

        background:
            linear-gradient(
                180deg,
                rgba(245, 197, 66, 0.15),
                rgba(245, 197, 66, 0.03)
            );

        color: #ffffff;
    }


    .mobile-bottom-menu li a.active i {

        color: #f5c542;

        text-shadow:
            0 0 10px rgba(245, 197, 66, .65);

        transform: translateY(-2px);
    }


    .mobile-bottom-menu li a.active span {

        color: #f5c542;

        font-weight: 600;
    }


    /* =================================================
       CENTER HOME BUTTON
       ================================================= */

    .mobile-bottom-menu .mobile-home a {

        width: 62px;

        height: 62px;

        min-height: 62px;

        margin:
            -25px auto 0;

        border-radius: 50%;

        border:
            1px solid #dcae24;

        background:
            radial-gradient(
                circle,
                #163f2e 0%,
                #0d3327 60%,
                #04160f 100%
            );

        box-shadow:

            0 0 0 5px #092E22,

            0 0 18px
            rgba(245, 197, 66, .25),

            inset 0 0 15px
            rgba(245, 197, 66, .08);
    }


    .mobile-bottom-menu .mobile-home a i {

        font-size: 25px;

        color: #f5c542;
    }


    .mobile-bottom-menu .mobile-home a span {

        font-size: 9px;

        color: #f5c542;
    }


    /* =================================================
       TAP EFFECT
       ================================================= */

    .mobile-bottom-menu li a:active {

        transform: scale(.92);
    }


    /* =================================================
        CONTENT SPACE
       Prevent bottom menu from covering content
       ================================================= */

    body {

        padding-bottom:
            calc(
                78px +
                env(safe-area-inset-bottom)
            );
    }

}


/* =========================================
   MOBILE MORE OPTIONS
========================================= */

.mobile-more-options {
    width: 100%;
    margin-top: 18px;
    margin-bottom: 90px;
}


/* Main Card */

.mobile-options-card {
    position: relative;

    width: 100%;

    padding: 18px;

    border-radius: 18px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(13, 58, 42, .98),
            rgba(4, 22, 16, .98)
        );

    border: 1px solid rgba(245, 197, 66, .30);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .55),
        inset 0 0 25px rgba(245, 197, 66, .025);
}


/* Golden glow */

.mobile-options-card::before {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -80px;
    top: -80px;

    border-radius: 50%;

    background: rgba(245, 197, 66, .10);

    filter: blur(35px);

    pointer-events: none;
}


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

.mobile-options-header {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 18px;

    padding-bottom: 14px;

    border-bottom:
        1px solid rgba(245, 197, 66, .14);
}


.mobile-options-title {
    color: #ffffff;

    font-size: 17px;

    font-weight: 600;
}


.mobile-options-subtitle {
    margin-top: 4px;

    color: #858585;

    font-size: 11px;
}


/* Header icon */

.mobile-options-header-icon {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #f5c542;

    background:
        rgba(245, 197, 66, .08);

    border:
        1px solid rgba(245, 197, 66, .20);

    font-size: 16px;
}


/* =========================================
   GRID
========================================= */

.mobile-options-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;
}


/* =========================================
   ITEM
========================================= */

.mobile-option-item {
    min-width: 0;
}


.mobile-option-link {

    position: relative;

    min-height: 82px;

    padding: 10px 4px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    text-align: center;

    text-decoration: none;

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .045),
            rgba(255, 255, 255, .015)
        );

    border:
        1px solid rgba(255, 255, 255, .07);

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}


/* Icon */

.mobile-option-icon {

    width: 35px;
    height: 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #f5c542;

    background:
        rgba(245, 197, 66, .08);

    border:
        1px solid rgba(245, 197, 66, .18);

    font-size: 14px;
}


/* Text */

.mobile-option-link span {

    display: block;

    max-width: 100%;

    color: #cfcfcf;

    font-size: 9px;

    line-height: 1.2;

}


/* Hover / Touch */

.mobile-option-link:active {

    transform: scale(.94);

    border-color:
        rgba(245, 197, 66, .45);

    background:
        rgba(245, 197, 66, .08);
}


.mobile-option-link:active .mobile-option-icon {

    color: #ffe38a;

    box-shadow:
        0 0 12px rgba(245, 197, 66, .20);
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .mobile-options-card {
        padding: 14px;
    }

    .mobile-options-grid {
        gap: 7px;
    }

    .mobile-option-link {
        min-height: 76px;
    }

    .mobile-option-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .mobile-option-link span {
        font-size: 8px;
    }

}



.mobile-more-options {
    display: none !important;
}



@media (max-width: 767px) {

    .mobile-more-options {
        display: block !important;
        width: 100%;
        margin-top: 18px;
        margin-bottom: 90px;
    }

}
 



<!--  new code   --?>


/* =========================================================
   SKY WORLD GLOBAL
   INVESTMENT HISTORY
   BLACK + GOLD DESIGN
========================================================= */

.investment-history-page {
    background: transparent;
    color: #fff;
    padding-bottom: 40px;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.investment-history-header {
    min-height: 90px;

    padding: 20px 24px;

    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background:
        linear-gradient(
            135deg,
            rgba(16, 51, 38, 0.98),
            rgba(6, 26, 19, 0.98)
        );

    border: 1px solid rgba(218, 170, 25, 0.45);

    border-radius: 18px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.45),
        inset 0 0 25px rgba(218, 170, 25, 0.025);
}


.history-title-area {
    display: flex;
    align-items: center;
    gap: 15px;
}


.history-title-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: #ffc107;

    font-size: 21px;

    background:
        linear-gradient(
            145deg,
            #252116,
            #11100c
        );

    border: 1px solid rgba(255, 193, 7, 0.45);

    box-shadow:
        0 0 18px rgba(255, 193, 7, 0.08);
}


.history-title-area .title {
    margin: 0;

    color: #fff;

    font-size: 22px;

    font-weight: 700;
}


.history-title-area p {
    margin: 4px 0 0;

    color: #888;

    font-size: 13px;
}


/* BACK BUTTON */

.investment-history-header .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;

    color: #ffc107 !important;

    background: rgba(255, 193, 7, 0.04);

    border: 1px solid rgba(255, 193, 7, 0.35);

    border-radius: 10px;

    text-decoration: none;

    transition: all .25s ease;
}


.investment-history-header .back-btn:hover {
    background: #ffc107;

    color: #111 !important;

    box-shadow:
        0 0 18px rgba(255, 193, 7, .25);
}


/* =========================================================
   MAIN CARD
========================================================= */

.investment-log-card {
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(16, 51, 38, 0.98),
            rgba(6, 26, 19, 0.98)
        ) !important;

    border: 1px solid rgba(255, 193, 7, 0.35) !important;

    border-radius: 18px !important;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(255, 193, 7, 0.015);
}


/* =========================================================
   CARD HEADER
========================================================= */

.investment-log-header {
    min-height: 90px;

    padding: 20px 24px !important;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-bottom:
        1px solid rgba(255, 193, 7, 0.15) !important;

    background:
        linear-gradient(
            90deg,
            rgba(255, 193, 7, 0.035),
            transparent
        );
}


.log-heading {
    display: flex;

    align-items: center;

    gap: 13px;

    flex-shrink: 0;
}


.log-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffc107;

    border-radius: 12px;

    background: #211d12;

    border: 1px solid rgba(255, 193, 7, 0.30);
}


.log-heading h5 {
    margin: 0;

    color: #fff;

    font-size: 18px;

    font-weight: 700;
}


.log-heading span {
    display: block;

    margin-top: 3px;

    color: #777;

    font-size: 12px;
}


/* =========================================================
   SEARCH
========================================================= */

.investment-search {
    display: flex;

    align-items: center;

    gap: 9px;

    margin: 0;
}


.search-input {
    height: 40px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 0 12px;

    min-width: 190px;

    background: #11110f;

    border: 1px solid rgba(255, 193, 7, 0.22);

    border-radius: 8px;

    transition: .2s;
}


.search-input:focus-within {
    border-color: #ffc107;

    box-shadow:
        0 0 12px rgba(255, 193, 7, .08);
}


.search-input i {
    color: #a78317;

    font-size: 13px;
}


.search-input input {
    width: 100%;

    height: 100%;

    padding: 0;

    border: none !important;

    outline: none !important;

    background: transparent !important;

    color: #ddd !important;

    font-size: 12px;
}


.search-input input::placeholder {
    color: #666;
}


.search-input input[type="date"] {
    color-scheme: dark;
}


.history-search-btn {
    height: 40px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding: 0 17px;

    border: none;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #ffd75a,
            #dca900
        );

    color: #111;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: .25s;
}


.history-search-btn:hover {
    transform: translateY(-1px);

    box-shadow:
        0 5px 18px rgba(255, 193, 7, .22);
}


/* =========================================================
   TABLE
========================================================= */

.investment-log-body {
    padding: 0 !important;
}


.investment-table-wrapper {
    width: 100%;

    overflow-x: auto;
}


.investment-table {
    width: 100%;

    min-width: 1100px;

    margin: 0 !important;

    border-collapse: separate;

    border-spacing: 0;
}


/* TABLE HEAD */

.investment-table thead th {
    padding: 17px 16px;

    background: #15140f !important;

    color: #b99b46 !important;

    border-bottom:
        1px solid rgba(255, 193, 7, 0.20) !important;

    border-top: none !important;

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .5px;

    white-space: nowrap;
}


/* TABLE BODY */

.investment-table tbody tr {
    background: transparent;

    transition:
        background .25s ease,
        transform .25s ease;
}


.investment-table tbody tr:hover {
    background:
        rgba(255, 193, 7, 0.035);
}


.investment-table tbody td {
    padding: 16px;

    vertical-align: middle;

    color: #ddd !important;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.055) !important;

    font-size: 12px;
}


.investment-table tbody tr:last-child td {
    border-bottom: none !important;
}


/* =========================================================
   TRANSACTION ID
========================================================= */

.trx-box {
    display: flex;

    align-items: center;

    gap: 8px;
}


.trx-icon {
    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 7px;

    color: #ffc107;

    background: #211d12;

    font-size: 11px;
}


.trx-id {
    color: #e8bd35;

    font-weight: 600;

    white-space: nowrap;
}


/* =========================================================
   USER
========================================================= */

.user-info {
    display: flex;

    align-items: center;

    gap: 8px;

    white-space: nowrap;
}


.user-small-icon {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffc107;

    background: #211d12;


    border: 1px solid rgba(255, 193, 7, .18);
}


.user-info span {
    color: #ddd;
}


/* =========================================================
   GATEWAY
========================================================= */

.gateway-badge {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 7px 10px;

    border-radius: 7px;

    color: #aaa;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, .07);

    white-space: nowrap;

    font-size: 11px;
}


.gateway-badge i {
    color: #ffc107;
}


.balance-gateway {
    color: #e6bc3d;

    background:
        rgba(255, 193, 7, .055);

    border-color:
        rgba(255, 193, 7, .18);
}


/* =========================================================
   AMOUNT
========================================================= */

.amount-value {
    color: #ffd54f;

    font-size: 14px;

    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   CURRENCY
========================================================= */

.currency-badge {
    display: inline-block;

    padding: 5px 9px;

    border-radius: 6px;

    color: #c6a63e;

    background: #19170f;

    border: 1px solid rgba(255, 193, 7, .15);

    font-size: 11px;

    font-weight: 600;
}


/* =========================================================
   CHARGE
========================================================= */

.charge-value {
    color: #999;

    white-space: nowrap;
}


/* =========================================================
   PAYMENT DATE
========================================================= */

.payment-date {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #aaa;

    white-space: nowrap;
}


.payment-date i {
    color: #b88e17;
}


/* =========================================================
   COUNTDOWN
========================================================= */

.countdown-box {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 10px;

    border-radius: 7px;

    color: #ffc107;

    background:
        rgba(255, 193, 7, .055);

    border:
        1px solid rgba(255, 193, 7, .15);

    font-size: 11px;

    font-weight: 600;

    white-space: nowrap;
}


.countdown-box i {
    font-size: 12px;
}


.countdown-complete {
    color: #72d572 !important;

    border-color:
        rgba(114, 213, 114, .18) !important;

    background:
        rgba(114, 213, 114, .04) !important;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.no-investment {
    padding: 70px 20px !important;
}


.empty-investment {
    text-align: center;

    padding: 30px;
}


.empty-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffc107;

    background: #211d12;

    border:
        1px solid rgba(255, 193, 7, .25);

    font-size: 25px;
}


.empty-investment h5 {
    margin-bottom: 5px;

    color: #ddd;
}


.empty-investment p {
    margin: 0;

    color: #666;

    font-size: 13px;
}


/* =========================================================
   PAGINATION
========================================================= */

.investment-pagination {
    padding: 20px 24px;

    border-top:
        1px solid rgba(255, 255, 255, .05);
}


.investment-pagination .pagination {
    margin: 0;

    gap: 5px;
}


.investment-pagination .page-link {
    min-width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0 10px;

    border-radius: 7px !important;

    background: #171611 !important;

    border:
        1px solid rgba(255, 193, 7, .15) !important;

    color: #aaa !important;
}


.investment-pagination .page-item.active .page-link {
    background: #ffc107 !important;

    color: #111 !important;

    border-color: #ffc107 !important;
}


.investment-pagination .page-link:hover {
    color: #ffc107 !important;

    border-color:
        rgba(255, 193, 7, .45) !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .investment-log-header {
        flex-direction: column;

        align-items: stretch;
    }

    .investment-search {
        width: 100%;
    }

    .search-input {
        flex: 1;

        min-width: 0;
    }

    .history-search-btn {
        flex-shrink: 0;
    }
}


@media (max-width: 767px) {

    .investment-history-page {
        padding: 12px;
    }


    .investment-history-header {
        padding: 15px;

        min-height: auto;

        border-radius: 14px;

        align-items: flex-start;
    }


    .history-title-icon {
        width: 42px;
        height: 42px;

        font-size: 17px;
    }


    .history-title-area .title {
        font-size: 17px;
    }


    .history-title-area p {
        font-size: 10px;
    }


    .investment-history-header .back-btn {
        padding: 8px 11px;

        font-size: 11px;
    }


    .investment-log-card {
        border-radius: 14px !important;
    }


    .investment-log-header {
        padding: 15px !important;
    }


    .log-heading h5 {
        font-size: 16px;
    }


    .investment-search {
        display: grid;

        grid-template-columns: 1fr;

        gap: 8px;
    }


    .search-input {
        width: 100%;

        height: 42px;
    }


    .history-search-btn {
        width: 100%;

        height: 42px;
    }


    /*
       MOBILE TABLE
       Converts each row into a card
    */

    .investment-table {
        min-width: 100% !important;

        border-collapse: separate;

        border-spacing: 0 10px;

        padding: 10px;
    }


    .investment-table thead {
        display: none;
    }


    .investment-table tbody {
        display: block;
    }


    .investment-table tbody tr {
        display: block;

        margin-bottom: 12px;

        padding: 8px 12px;

        background:
            linear-gradient(
                145deg,
                #1b1a16,
                #11110f
            );

        border:
            1px solid rgba(255, 193, 7, .17);

        border-radius: 12px;

        box-shadow:
            0 7px 20px rgba(0, 0, 0, .22);
    }


    .investment-table tbody td {
        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 15px;

        padding: 10px 3px;

        border-bottom:
            1px solid rgba(255, 255, 255, .045) !important;

        text-align: right;

        min-height: 42px;
    }


    .investment-table tbody td:last-child {
        border-bottom: none !important;
    }


    .investment-table tbody td::before {
        content: attr(data-caption);

        color: #88773f;

        font-size: 10px;

        font-weight: 600;

        text-transform: uppercase;

        letter-spacing: .4px;

        text-align: left;

        flex-shrink: 0;
    }


    .trx-box,
    .user-info,
    .payment-date {
        justify-content: flex-end;
    }


    .gateway-badge {
        max-width: 65%;

        white-space: normal;

        text-align: right;
    }


    .investment-pagination {
        padding: 15px;
    }


    .investment-pagination .pagination {
        justify-content: center;

        flex-wrap: wrap;
    }


    .no-investment {
        display: block !important;

        padding: 40px 10px !important;
    }


    .no-investment::before {
        display: none !important;
    }

}


@media (max-width: 420px) {

    .history-title-area {
        gap: 9px;
    }


    .history-title-area .title {
        font-size: 15px;
    }


    .investment-history-header .back-btn {
        font-size: 10px;

        padding: 7px 9px;
    }


    .investment-table tbody td {
        font-size: 11px;
    }

}


