/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #0d0d0d;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #222222;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #2a2a2a;
}

.btn-primary {
    color: #fff;
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

.btn-primary:hover {
    color: #fff !important;
    background-color: #2a2a2a !important;
    border-color: #2a2a2a !important;
}

.btn-check:focus+.btn-primary,
.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: #2a2a2a;
    border-color: #1a1a1a;
    box-shadow: none;
}

.btn-check:checked+.btn-primary,
.btn-check:active+.btn-primary,
.btn-primary:active,
.btn-primary.active,
.btn-primary.show.dropdown-toggle,
.show>.btn-primary.dropdown-toggle {
    color: #fff !important;
    background-color: #2a2a2a !important;
    border-color: #1a1a1a !important;
}

.bg-menu-theme.menu-vertical .menu-item.active>.menu-link:not(.menu-toggle) {
    background: linear-gradient(72.47deg, #2a2a2a 22.16%, rgb(20 20 20 / 70%) 76.47%);
    box-shadow: 0px 2px 6px 0px rgb(255 255 255 / 8%);
    color: #fff !important;
}

.bg-label-primary {
    background-color: #222222 !important;
    color: #d0d0d0 !important;
}

.bg-menu-theme .menu-text {
    color: #c8c8c8;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link.active:hover,
.nav-pills .nav-link.active:focus {
    background-color: #2a2a2a;
    color: #fff;
}

.dropdown-menu {
    --bs-dropdown-zindex: 1000;
    --bs-dropdown-min-width: 10rem;
    --bs-dropdown-padding-x: 0;
    --bs-dropdown-padding-y: 0.5rem;
    --bs-dropdown-spacer: 0.25rem;
    --bs-dropdown-font-size: 0.9375rem;
    --bs-dropdown-color: #cfcfcf;
    --bs-dropdown-bg: #141414;
    --bs-dropdown-border-color: #2a2a2a;
    --bs-dropdown-border-radius: 0.375rem;
    --bs-dropdown-border-width: 0px;
    --bs-dropdown-inner-border-radius: 0px;
    --bs-dropdown-divider-bg: #2a2a2a;
    --bs-dropdown-divider-margin-y: 0.5rem;
    --bs-dropdown-box-shadow: 0 0.25rem 1rem rgba(15, 20, 34, 0.55);
    --bs-dropdown-link-color: #dcdcdc;
    --bs-dropdown-link-hover-color: #c8c8c8;
    --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.06);
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-link-active-bg: #d0d0d0;
    --bs-dropdown-link-disabled-color: #aab3de;
    --bs-dropdown-item-padding-x: 1rem;
    --bs-dropdown-item-padding-y: 0.42rem;
    --bs-dropdown-header-color: #888888;
    --bs-dropdown-header-padding-x: 1rem;
    --bs-dropdown-header-padding-y: 0.5rem;
    position: absolute;
    z-index: var(--bs-dropdown-zindex);
    display: none;
    min-width: var(--bs-dropdown-min-width);
    padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);
    margin: 0;
    font-size: var(--bs-dropdown-font-size);
    color: var(--bs-dropdown-color);
    text-align: left;
    list-style: none;
    background-color: var(--bs-dropdown-bg);
    background-clip: padding-box;
    border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
    border-radius: var(--bs-dropdown-border-radius);
}

a {
    color: #c8c8c8;
}

.center {
    margin: auto;
    width: auto;
    background: #0f0f0f;
    border-radius: 25px;
    padding: 10px;
}

.text-primary {
    color: #c8c8c8 !important;
}

.card {
    --bs-card-spacer-y: 1.5rem;
    --bs-card-spacer-x: 1.5rem;
    --bs-card-title-spacer-y: 0.875rem;
    --bs-card-border-width: 0;
    --bs-card-border-color: #2a2a2a;
    --bs-card-border-radius: 0.375rem;
    --bs-card-box-shadow: 0 0.25rem 1.25rem rgba(15, 20, 34, 0.4);
    --bs-card-inner-border-radius: 0.375rem;
    --bs-card-cap-padding-y: 1.5rem;
    --bs-card-cap-padding-x: 1.5rem;
    --bs-card-cap-bg: transparent;
    --bs-card-cap-color: ;
    --bs-card-height: ;
    --bs-card-color: ;
    --bs-card-bg: #0d0d0d;
    --bs-card-img-overlay-padding: 1.5rem;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
}

.bg-navbar-theme {
    background-color: rgb(10 10 10 / 95%) !important;
    color: #cfcfcf;
}

.resources {
    width: 200px;
    height: 50px;
    background: #1a1a1a;
    position: relative;
    display: flex;
    place-content: center;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
}

.resources h5 {
    z-index: 1;
}

@keyframes rotBGimg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.resources::after {
    content: '';
    position: absolute;
    background: #1a1a1a;
    ;
    inset: 5px;
    border-radius: 15px;
}

/* .resources:hover:before {
  background-image: linear-gradient(180deg, rgb(81, 255, 0), purple);
  animation: rotBGimg 3.5s linear infinite;
} */
</style><style>.e-card {
    margin: 100px auto;
    background: transparent;
    box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.45);
    position: relative;
    width: auto;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 1040px;
    height: 1400px;
    opacity: 0.6;
    left: 0;
    top: 0;
    margin-left: 20%;
    margin-top: -20%;
    background: linear-gradient(744deg, #2a2a2a, #1a1a1a 60%, #0d0d0d);
}

.icon {
    width: 3em;
    margin-top: -1em;
    padding-bottom: 1em;
}

.infotop {
    text-align: center;
    font-size: 20px;
    position: absolute;
    top: 4.6em;
    left: 0;
    right: 0;
    color: rgb(255, 255, 255);
    font-weight: 600;
}

.name {
    font-size: 14px;
    font-weight: 100;
    position: relative;
    top: 1em;
    text-transform: lowercase;
}

.wave:nth-child(2),
.wave:nth-child(3) {
    top: 210px;
}

.playing .wave {
    border-radius: 40%;
    animation: wave 3000ms infinite linear;
}

.wave {
    border-radius: 40%;
    animation: wave 55s infinite linear;
}

.playing .wave:nth-child(2) {
    animation-duration: 4000ms;
}

.wave:nth-child(2) {
    animation-duration: 50s;
}

.playing .wave:nth-child(3) {
    animation-duration: 5000ms;
}

.wave:nth-child(3) {
    animation-duration: 45s;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 15px;
}
/* This will be incase some one wants to add particles.js into his thing! */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1; 
    top: 0;
    left: 0;
}
/* ===== Black & White Theme ===== */
:root,
[data-theme] {
    --bs-primary-rgb: 0, 0, 0;
    --bs-primary: #000000;
    --bs-primary-hover: #1a1a1a;
}

html, body {
    background-color: #000000;
}

/* Sidebar: rgba(0,0,0,0.3) + blur */
.bg-menu-theme {
    background-color: rgba(0, 0, 0, 0.3) !important;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.bg-menu-theme .menu-text,
.bg-menu-theme .menu-header-text,
.bg-menu-theme .menu-item > .menu-link,
.bg-menu-theme .menu-link div {
    color: #ffffff !important;
}

.bg-menu-theme .menu-item:not(.active) > .menu-link:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Active menu item: white highlight + black text */
.bg-menu-theme.menu-vertical .menu-item.active > .menu-link:not(.menu-toggle) {
    background: #ffffff !important;
    box-shadow: none !important;
}

.bg-menu-theme.menu-vertical .menu-item.active > .menu-link:not(.menu-toggle),
.bg-menu-theme.menu-vertical .menu-item.active > .menu-link:not(.menu-toggle) * {
    color: #000000 !important;
}

/* Sidebar submenu: black bg + white text */
.bg-menu-theme .menu-sub {
    background-color: rgba(0, 0, 0, 0.3) !important;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    padding: 4px;
    box-shadow: none;
}

.bg-menu-theme .menu-sub .menu-link {
    color: #ffffff !important;
}

.bg-menu-theme .menu-sub .menu-link div {
    color: #ffffff !important;
}

.bg-menu-theme .menu-sub .menu-link:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.bg-menu-theme .menu-sub .menu-link:hover div {
    color: #ffffff !important;
}

.bg-menu-theme.menu-vertical .menu-sub .menu-item.active > .menu-link:not(.menu-toggle) {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.bg-menu-theme.menu-vertical .menu-sub .menu-item.active > .menu-link:not(.menu-toggle) * {
    color: #000000 !important;
}

/* Dropdown popups (user menu, notifications, tools): white bg + black text */
.dropdown-menu {
    --bs-dropdown-color: #000000 !important;
    --bs-dropdown-bg: #ffffff !important;
    --bs-dropdown-border-color: #e5e5e5 !important;
    --bs-dropdown-divider-bg: #e5e5e5 !important;
    --bs-dropdown-link-color: #000000 !important;
    --bs-dropdown-link-hover-color: #000000 !important;
    --bs-dropdown-link-hover-bg: #f0f0f0 !important;
    --bs-dropdown-link-active-color: #ffffff !important;
    --bs-dropdown-link-active-bg: #111111 !important;
    --bs-dropdown-link-disabled-color: #999999 !important;
    --bs-dropdown-header-color: #555555 !important;
    --bs-dropdown-box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.2) !important;
    background-color: #ffffff !important;
    color: #000000;
}

.dropdown-menu .dropdown-item {
    color: #000000 !important;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    color: #000000 !important;
    background-color: #f0f0f0 !important;
}

.dropdown-menu .dropdown-item:active {
    color: #ffffff !important;
    background-color: #111111 !important;
}

.dropdown-menu h5,
.dropdown-menu h6,
.dropdown-menu .text-body {
    color: #000000 !important;
}

.dropdown-menu .text-muted,
.dropdown-menu small,
.dropdown-menu .dropdown-shortcuts-item a,
.dropdown-menu .dropdown-shortcuts-item small {
    color: #6c757d !important;
}

.dropdown-menu .dropdown-shortcuts-icon {
    color: #000000 !important;
    background-color: #f0f0f0 !important;
}

.dropdown-menu .dropdown-divider {
    border-color: #e5e5e5 !important;
}

/* Resource stat ring: white spinning ring on black card */
.resources {
    background: #ffffff;
}

.resources::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: conic-gradient(from 0deg, #ffffff, #777777 90deg, #ffffff 180deg, #777777 270deg, #ffffff 360deg);
    animation: rotBGimg 7s linear infinite;
    z-index: 0;
}

.resources::after {
    background: #0d0d0d;
    z-index: 1;
}

.resources h5 {
    z-index: 2;
}

/* ===== Glass: transparent 40% + blur on dashboard center ===== */
.card,
.center {
    background-color: rgba(0, 0, 0, 0.4) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.resources {
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.resources::before {
    background: transparent;
    animation: none;
}

.resources::after {
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* ===== Form inputs: frosted glass ===== */
.form-control,
.form-select,
textarea.form-control {
    background-color: rgba(0, 0, 0, 0.3) !important;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-color: #2a2a2a !important;
    color: #ffffff !important;
}

.form-control::placeholder,
.form-select::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #555555 !important;
    box-shadow: 0 0 0 0.1875rem rgba(255, 255, 255, 0.1) !important;
}

.form-control:disabled,
.form-select:disabled {
    background-color: rgba(0, 0, 0, 0.2) !important;
    opacity: 0.5;
}

.input-group-text {
    background-color: rgba(0, 0, 0, 0.3) !important;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-color: #2a2a2a !important;
    color: #ffffff !important;
}

/* ===== Music player button - bottom right ===== */
.music-player-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.music-player-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: scale(1.08);
}

.music-player-btn.playing {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.08);
}
