/*
* 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*/
}

@font-face {
    font-family: "neon"; /* Name your font family */
    src: url("../fonts/Neon_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;
}

.log0-super6 {
    font-family: "neon";
    margin: 10px;
    font-size: 56px;
}

/* button.vertical-shake {
    animation: vertical-shaking 0.35s infinite;
  } */

button.vertical-shake {
    animation: skew-x-shake 1.3s infinite;
}

@keyframes vertical-shaking {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(5px);
    }
    50% {
        transform: translateY(-5px);
    }
    75% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes skew-x-shake {
    0% {
        transform: skewX(-15deg);
    }
    5% {
        transform: skewX(15deg);
    }
    10% {
        transform: skewX(-15deg);
    }
    15% {
        transform: skewX(15deg);
    }
    20% {
        transform: skewX(0deg);
    }
    100% {
        transform: skewX(0deg);
    }
}

/* Modern sidebar styling */
#layout-menu {
    --sidebar-primary: #0f172a;
    --sidebar-secondary: #111827;
    --sidebar-accent: #22d3ee;
    --sidebar-accent-2: #a855f7;
    width: 280px;
    background: radial-gradient(
            circle at 15% 20%,
            rgba(34, 211, 238, 0.14),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 5%,
            rgba(168, 85, 247, 0.16),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            var(--sidebar-primary) 0%,
            #0d1528 45%,
            var(--sidebar-secondary) 100%
        );
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-inner.sidebar-modern {
    padding: 1.1rem 1.25rem 1.4rem;
    gap: 0.5rem;
}
.menu-inner.sidebar-modern .menu-item {
    margin: 0.1rem 0;
}
.sidebar-hero-card {
    background: linear-gradient(
            135deg,
            rgba(34, 211, 238, 0.12) 0%,
            rgba(168, 85, 247, 0.12) 100%
        ),
        linear-gradient(160deg, #0f1b34 0%, #0c1326 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.28);
    margin-left: 0.45rem;
    margin-right: 0.45rem;
}
.sidebar-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 80% 10%,
        rgba(34, 211, 238, 0.16),
        transparent 45%
    );
    pointer-events: none;
}
.sidebar-hero-icon {
    width: 46px;
    height: 46px;
    background: rgba(34, 211, 238, 0.14);
    color: #7dd3fc;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.sidebar-logo-circle {
    width: 50px;
    height: 50px;
    background: rgba(168, 85, 247, 0.2);
    color: #c4b5fd;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.sidebar-quick-actions .btn {
    border-color: rgba(255, 255, 255, 0.24);
}
.sidebar-quick-actions .btn.btn-outline-light {
    color: #9dbafc;
}
.sidebar-section-title .menu-header-text {
    color: #648ee2;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}
.menu-inner.sidebar-modern .menu-item .menu-link {
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
    color: #e8ecff;
    position: relative;
    margin-left: 0.45rem;
    margin-right: 0.45rem;
}
.menu-inner.sidebar-modern .menu-item .menu-link div,
.menu-inner.sidebar-modern .menu-item .menu-link span {
    color: inherit;
}
.menu-inner.sidebar-modern .menu-item .menu-link .menu-icon {
    color: #9dd7ff;
}
.menu-inner.sidebar-modern .menu-item .menu-link:hover {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.25);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.menu-inner.sidebar-modern .menu-item.active .menu-link,
.menu-inner.sidebar-modern .menu-item.current .menu-link {
    background: linear-gradient(
        90deg,
        rgba(34, 211, 238, 0.18) 0%,
        rgba(168, 85, 247, 0.2) 100%
    );
    border-color: rgba(34, 211, 238, 0.4);
    color: #f7fbff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    margin-left: 0.45rem;
    margin-right: 0.45rem;
}
.menu-inner.sidebar-modern .menu-item.active .menu-link .menu-icon,
.menu-inner.sidebar-modern .menu-item.current .menu-link .menu-icon {
    color: #22d3ee;
}
.menu-inner.sidebar-modern .menu-item.active .menu-link::before,
.menu-inner.sidebar-modern .menu-item.current .menu-link::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #22d3ee 0%, #a855f7 100%);
}
.menu-inner.sidebar-modern .menu-header {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}
.menu-badge {
    font-size: 0.625rem;
    letter-spacing: 0.05em;
}
@media (max-width: 1199px) {
    .sidebar-hero-card {
        padding: 0.85rem;
    }
    .sidebar-quick-actions .btn {
        width: 100%;
    }
    #layout-menu {
        width: 260px;
    }
}

/* News dashboard styling */
.news-hero-card {
    background: radial-gradient(
                circle at 20% 20%,
                rgba(99, 132, 255, 0.35),
                rgba(99, 132, 255, 0)
            )
            no-repeat,
        linear-gradient(135deg, #1f2a4d 0%, #14203d 60%, #0f162e 100%);
    color: #f4f6ff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
}
.news-hero-card .card-body {
    position: relative;
    z-index: 1;
}
.news-hero-card::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.08),
        transparent 60%
    );
    top: -80px;
    right: -80px;
}
.news-hero-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.16);
    color: #e6ecff;
}
.news-mini-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}
.news-mini-card .avatar {
    background: rgba(99, 132, 255, 0.12);
    color: #3248e5;
}
.news-filters .input-group-text {
    background: transparent;
    border-right: 0;
}
.news-filters .form-control {
    border-left: 0;
}
.status-filter .btn {
    border-color: var(--bs-border-color);
}
.status-filter .btn.active {
    background: #14203d;
    color: #f4f6ff;
    border-color: #14203d;
}
.news-table-card .card-header {
    border-bottom: none;
}
.news-table-card .card-datatable {
    border-top: 1px solid var(--bs-border-color);
}
.news-view-meta {
    background: #f5f7fb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}
@media (max-width: 991px) {
    .news-hero-card {
        text-align: left;
    }
    .news-filters .input-group {
        width: 100%;
    }
    .status-filter .btn {
        width: 100%;
    }
}

.phone-frame {
    width: 360px;
    /* Typical mobile width */
    height: 700px;
    /* Typical mobile height */
    background-color: #333;
    /* Phone body color */
    border-radius: 40px;
    /* Rounded corners of the phone */
    padding: 15px;
    /* Space for bezels */
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    /* Shadow for depth */
    position: relative;
    /* For positioning internal elements */
    margin: auto;
    /* Center the frame */
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #fff;
    /* Screen background color */
    border-radius: 25px;
    /* Rounded corners of the screen */
    overflow: hidden;
    /* Hide content overflowing the screen */
}

/* Optional: Add a notch or speaker */
.phone-frame::before {
    content: "";
    display: block;
    width: 120px;
    height: 25px;
    background-color: #222;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* Optional: Add a home button */
.phone-frame::after {
    content: "⚫"; /* Home button icon - you can use: ⚪ ⬜ ⚫ ◯ ● ▢ ▣ */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    background-color: #222;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 24px;
    color: #666;
}
/* Override mobile mockup styling for better right-column fit */
.phone-frame {
    width: 320px;
    max-width: 100%;
    height: 640px;
    background-color: #1f2533;
    border-radius: 32px;
    padding: 14px 12px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.phone-frame::before {
    content: "";
    display: block;
    width: 96px;
    height: 16px;
    background-color: #111827;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.phone-frame::after {
    content: "";
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #2f3b52;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.08);
}
