/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

@font-face {
    font-family: "nexaScript"; /* Name your font family */
    src: url("../fonts/nexascript_regular.ttf"); /* Locate the .ttf file within your directory*/
}

.light-style .menu .app-brand.demo {
    height: 64px;
}

.dark-style .menu .app-brand.demo {
    height: 64px;
}

.app-brand-logo.demo svg {
    width: 250px;
    height: 80px;
}

.app-brand-logosmall svg {
    width: 50px;
    height: 30px;
}

.app-brand-small svg {
    width: 130px;
    height: 90px;
}

.app-brand-userlogin svg {
    width: 200px;
    height: 120px;
}
.app-brand-text.demo {
    font-size: 1.5rem;
    letter-spacing: 0.15px;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
    display: block !important;
}

.demo-inline-spacing > * {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
    margin-top: 1.25rem !important;
    margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir="rtl"] .rtl-only {
    display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
    #dropdown-variation-demo .btn-group .text-truncate {
        width: 300px;
        position: relative;
    }
    #dropdown-variation-demo .btn-group .text-truncate::after {
        position: absolute;
        top: 45%;
        right: 0.65rem;
    }
}
/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1.25rem;
}
.layout-demo-placeholder img {
    width: 900px;
}
.layout-demo-info {
    text-align: center;
    margin-top: 1.25rem;
}
.card-one {
    padding: 15px;
    margin-bottom: 15px;
    border: none !important;
    background-image: linear-gradient(315deg, #b2b5fc 0%, #050638 74%);
}
.card-two {
    background-image: linear-gradient(315deg, #050638 0%, #b2b5fc 74%);
}
.card-three {
    background-image: linear-gradient(315deg, #b2b5fc 0%, #050638 74%);
}

.wrapper {
    text-align: center;
    padding: 10px;
}

.content-wrapper {
    background-color: rgb(214, 216, 247);
}
.menu-inner {
    background-color: rgb(5, 6, 56);
}
.layout-page {
    background-color: rgb(5, 6, 56);
}
.app-brand {
    background-color: rgb(5, 6, 56);
}
.menu-link {
    color: #000000 !important;
}

menu-toggle::after {
    color: #ffffff !important;
}

#layout-menu .menu-sub > .menu-item > .menu-link::before {
    content: ">>" !important;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 14px !important;
    height: 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-family: Arial, sans-serif;
    font-size: 10px !important;
    font-weight: 700;
    line-height: 12px;
}

.ri-menu-fill:before {
    color: white !important;
}

/* Image cropper modal fix */
.imagecrop .modal-dialog {
    max-width: 760px;
}

.imagecrop .modal-body {
    padding: 1.25rem;
}

.imagecrop .img-container img {
    display: block;
    max-width: 100%;
    max-height: 60vh;
    margin: 0 auto;
    object-fit: contain;
}

.imagecrop .preview {
    width: 160px;
    height: 160px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    margin-top: 1rem;
}

/* Awards cards */
.award-card {
    border-radius: 18px;
    background: linear-gradient(140deg, #07a3b2 0%, #7ce08a 100%);
    box-shadow: 0 16px 38px rgba(8, 126, 132, 0.25);
    overflow: hidden;
    position: relative;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.award-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(8, 126, 132, 0.35);
}

.award-card__media {
    display: flex;
    justify-content: center;
    padding: 20px 20px 10px;
}

.award-coin {
    width: 130px;
    height: 130px;
    border-radius: 26px;
    background: radial-gradient(
        circle at 30% 30%,
        #ffd27f,
        #f1b24a 35%,
        #b98922 100%
    );
    display: grid;
    place-items: center;
    color: #f6f8ff;
    font-size: 56px;
    box-shadow:
        inset 0 0 0 6px rgba(255, 255, 255, 0.15),
        0 14px 24px rgba(185, 137, 34, 0.35);
}

.award-card__body {
    padding: 10px 18px 18px;
}

/* User home refresh */
.user-home .dashboard-hero {
    background: linear-gradient(135deg, #0f172a, #666cff);
    border-radius: 18px;
    border: none;
}

.user-home .avatar-xl {
    width: 88px;
    height: 88px;
}

.user-home .avatar-xl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-home .pill-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 12px 14px;
}

.user-home .stat-card,
.user-home .roi-card,
.user-home .referral-card {
    border-radius: 16px;
    border: 1px solid #eef0ff;
}

.user-home .income-card {
    background: linear-gradient(135deg, #f6f8ff 0%, #eef3ff 55%, #e7fbff 100%);
    box-shadow: 0 18px 45px rgba(74, 85, 164, 0.15);
}

.user-home .icon-pill {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(102, 108, 255, 0.25);
}

.user-home .gauge-wrapper {
    max-width: 520px;
    margin: 0 auto;
}

.user-home .progress-thin {
    height: 8px;
    border-radius: 12px;
}

.user-home .roi-card .progress {
    background: #f1f3ff;
}

.user-home .roi-card .progress-bar {
    background: linear-gradient(90deg, #666cff, #4ed8f5);
}

.user-home .referral-card {
    background: #f9fbff;
}

.user-home .referral-card .btn {
    white-space: nowrap;
}

.user-home .badge.bg-primary-subtle {
    background: rgba(102, 108, 255, 0.15) !important;
}

@media (max-width: 767px) {
    .user-home .dashboard-hero {
        text-align: center;
    }

    .user-home .dashboard-hero .text-md-end {
        text-align: center !important;
    }

    .user-home .dashboard-hero .pill-card {
        text-align: left;
    }
}

/* Member wallet shortcut below the sidebar brand. */
#layout-menu .sidebar-wallet { display:flex; align-items:center; gap:18px; margin:4px 14px 12px; padding:14px 22px; min-height:70px; border-radius:9px; background:rgba(255,255,255,.085); color:#fff; flex-shrink:0; text-decoration:none; }
#layout-menu .sidebar-wallet:hover { background:rgba(255,255,255,.15); }
#layout-menu .sidebar-wallet:focus-visible { outline:2px solid #fff; outline-offset:2px; }
#layout-menu .sidebar-wallet-icon { flex-shrink:0; }
#layout-menu .sidebar-wallet-copy { display:flex; flex-direction:column; gap:4px; min-width:0; }
#layout-menu .sidebar-wallet-copy strong { color:#fff; font-size:13px; line-height:1.4; font-weight:700; overflow-wrap:anywhere; }
#layout-menu .sidebar-wallet-copy > span { color:#c3bfff; font-size:13px; line-height:1.4; }
@media(min-width:1200px) {
    .layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .sidebar-wallet { justify-content:center; margin:4px 8px 12px; padding:12px 0; }
    .layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .sidebar-wallet-icon { width:32px; height:32px; }
    .layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .sidebar-wallet-copy { display:none; }
}

/* Keep the member wallet and its surrounding sidebar on the same dark surface. */
#layout-menu.member-sidebar { background:#050638 !important; }
#layout-menu.member-sidebar .menu-inner-shadow { display:none !important; }
#layout-menu.member-sidebar .sidebar-wallet { gap:12px; margin:8px 14px 18px; padding:16px; min-height:78px; border:1px solid #303358; border-radius:12px; background:#171a46; box-shadow:none; }
#layout-menu.member-sidebar .sidebar-wallet:hover { background:#222650; border-color:#4c527e; }
#layout-menu.member-sidebar .sidebar-wallet-icon { width:36px; height:36px; color:#99c8db; }
#layout-menu.member-sidebar .sidebar-wallet-copy { gap:5px; }
#layout-menu.member-sidebar .sidebar-wallet-copy > span { color:#aeb6ce; font-size:11px; font-weight:500; letter-spacing:.3px; }
#layout-menu.member-sidebar .sidebar-wallet-copy strong { color:#f5f7ff; font-size:18px; font-weight:600; line-height:1.25; font-variant-numeric:tabular-nums; }
@media(min-width:1200px) {
    .layout-menu-collapsed:not(.layout-menu-hover) #layout-menu.member-sidebar .sidebar-wallet { padding:12px 0; margin:8px 8px 18px; border-color:transparent; background:transparent; }
    .layout-menu-collapsed:not(.layout-menu-hover) #layout-menu.member-sidebar .sidebar-wallet-icon { width:30px; height:30px; }
}
