/*
* 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%, #666cff 74%);
}
.card-two {
    background-image: linear-gradient(315deg, #666cff 0%, #b2b5fc 74%);
}
.card-three {
    background-image: linear-gradient(315deg, #b2b5fc 0%, #666cff 74%);
}

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

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

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

.menu-link::before {
    background: #ffffff !important;
}

.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;
    }
}
