#nprogress{pointer-events:none}#nprogress .bar{background:#d22;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2.2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #d22,0 0 5px #d22;opacity:1;-webkit-transform:rotate(3deg) translate(0,-4px);-ms-transform:rotate(3deg) translate(0,-4px);transform:rotate(3deg) translate(0,-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:26px;height:26px;box-sizing:border-box;border:3px solid transparent;border-top-color:#d22;border-left-color:#d22;border-radius:50%;-webkit-animation:nprogress-spinner 400ms linear infinite;animation:nprogress-spinner 400ms linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}
body, html {
    font-weight: 400;
    line-height: 1.45;
    font-family: "Montserrat", Helvetica, Arial, serif;
}
body {
    background-color: #0d0e15;
    color: #cbd5e1;
}
.las-submit-btn >a{
    position: absolute;
    bottom: -8px;
    background: #7239ea;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 90%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(114, 57, 234, 0.4);
}
.nav-las-desp{
    font-size: 90%;
    font-weight: 400;
}
.menu-icon>i{
        font-size: 1.35rem !important;
}
.las-fix-nav .dropdown-menu {
    animation: menu-sub-dropdown-animation-fade-in .3s ease 1, menu-sub-dropdown-animation-move-up .3s ease 1;
}
.las-char-btn .row.active, .lasperpen-character {
    animation: menu-sub-dropdown-animation-fade-in 1s ease 1, menu-sub-dropdown-animation-move-up 1s ease 1;
}
/* ================= GAMING PURPLE ICON THEME ================= */
.aside-menu .menu-item .menu-link .menu-icon i,
.menu-column .menu-item .menu-link .menu-icon i,
.las-fix-nav .menu-item .menu-link i {
    color: #8b5cf6 !important;
    transition: all 0.25s ease !important;
}
.aside-menu .menu-item .menu-link:hover .menu-icon i,
.menu-column .menu-item .menu-link:hover .menu-icon i,
.las-fix-nav .menu-item .menu-link:hover i {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.9) !important;
    transform: scale(1.1);
}
.aside-menu .menu-item .menu-link.active .menu-icon i,
.menu-column .menu-item .menu-link.active .menu-icon i {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(139, 92, 246, 1) !important;
}
.aside-menu .menu-sub .menu-item .menu-bullet .bullet-dot {
    background-color: #8b5cf6 !important;
}
.aside-menu .menu-sub .menu-item .menu-link.active .bullet-dot {
    background-color: #ffd700 !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.8) !important;
}
.aside-menu .menu-arrow:after {
    border-color: #8b5cf6 !important;
}
.las-ava-class {
    background-color: #c3c3c3;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
}
.las-ava-class {
    white-space: nowrap;
    position: relative;
    color: #fff;
    display: inline-flex;
    font-size: 1rem;
    vertical-align: middle;
    font-weight: 600;
}
.btn.btn-:not(.active){
    opacity: .6;
}
.char-name-href{
    pointer-events: none;
    cursor: default;
}
.las-char-btn >*:not(.active),.char-show:not(.active){display:none!important}
html body.swal2-height-auto {
    height: 100% !important;
}
.aside-light .menu-state-title-primary .menu-item .menu-link.active .menu-title,.aside-light .menu-state-icon-primary .menu-item .menu-link.active .menu-icon i {
    color: #fff;
}
.aside-light .aside-menu .menu.menu-column>.menu-item>.menu-link.active{
    background: #7239ea;
    box-shadow: 0 4px 12px rgba(114, 57, 234, 0.4);
    border-radius: 4px;
    margin: 0 15px;
    padding: 10px 15px 10px 15px;
}
.menu-active-bg .menu-item .menu-link.active{
    margin: 0 15px;
    border-radius: 6px;
    padding-left: 20px !important;
    background: linear-gradient(135deg, #7239ea 0%, #581c87 100%) !important;
    box-shadow: 0 4px 14px rgba(114, 57, 234, 0.45) !important;
}
.menu-active-bg .menu-item .menu-link.active span,
.menu-active-bg .menu-item .menu-link.active .menu-title{
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
.menu-active-bg .menu-item .menu-link.active .bullet{
    background-color: #ffd700 !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.8) !important;
}
.lasperpen-content .page-title{
    font-size: 1.714rem;
    margin-bottom: 1.5rem !important;
}
[data-kt-menu]>.menu-item:first-child {
    margin-top: 0.5rem!important;
}
.aside.aside-light {
    box-shadow: 0 0 15px 0 rgba(34, 41, 47, 0.05);
}
.char-img img{
    width: 19px;
    height: 19px;
    border-radius: 4px;
    margin: 0 4px;
}
.lasperpen-rank-list,.lasperpen-table-header{
    display: table;
    table-layout: fixed;
    border-collapse: collapse;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.las-list-rankChar .lasperpen-rank-list {
	counter-increment: lasperpen;
}
.lasperpen-rank-list+.lasperpen-rank-list{
    border-top: 1px dashed #e4e6ef;
}
.lasperpen-table-header{
    background: #f3f2f7;
    text-transform: uppercase;
    border-radius: 4px;
}
.lasperpen-listCell,.lasperpen-table-header>* {
    display: table-cell;
    vertical-align: middle;
    padding-top: 1rem;
    padding-bottom: 1rem;
	font-weight: 500;
}
.lasperpen-table-header>* {
    padding: 10px 0;
    font-weight: bold;
    color: #6e6b7b;
}
.lasperpen-listCell img {
    max-width: 37px;
    max-height: 37px;
}
.las-list-rankChar{
    padding: 0;
    margin: 0;
}
.cell-info{
    width: 50%;
}
.cell-num {
    width: 50px;
    font-weight: 700;
    text-align: left;
}
.lasperpen-rank-list .cell-num:before {
    content: counter(lasperpen);
    font-size: .85rem;
    color: #ea5455;
    background-color: rgba(234, 84, 85, 0.12);
    padding: .5em .85em;
    border-radius: .475rem;
}
.las-filter .avatar {
    white-space: nowrap;
    position: relative;
    color: #fff;
    display: inline-flex;
    font-size: 1rem;
    vertical-align: middle;
    font-weight: 600;
	cursor: pointer;
}
.las-filter .avatar:hover img, .las-filter .avatar.active img {
    outline: 2px solid #7239ea;
    box-shadow: 0 4px 12px rgba(114, 57, 234, 0.4) !important;
}
.char-name-href a{
    color: #7239ea;
}

@keyframes slideDown {
    from {
        transform: translateY(-30%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-30%);
        opacity: 0;
    }
}
.slideUp,.r-hide {
    animation: slideUp 0.2s ease;
}
.slideDown,.r-show{
    animation: slideDown 0.2s ease;
}
.footer {
    background: #0f1018;
}
.char-btn-config {
    margin-top: 1rem;
    text-align: center;
}
.char-btn-config .menu-item {
    display: inline-block;
    padding: 0;
    margin-right: 1rem;
}
.char-btn-config .menu-bullet {
    display: none!important;
}
.char-btn-config .menu-link {
    margin: .25rem .125rem;
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid #7239ea;
    padding: .875rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.char-btn-config .menu-link:hover{
	color: #fff;
    border-color: #5e2cc9;
    background-color: #5e2cc9;
	box-shadow: 0 4px 15px rgba(114, 57, 234, 0.4) !important;
}
.char-btn-config .menu-title:before {
    font-family: 'Font Awesome 5 Pro';
    font-weight: 400;
    content: "\f467";
    margin-right: .6rem;
	font-size: 20px;
}
.card-body .text-warning {
    font-weight: 500;
}

@media only screen and (max-width: 600px) {
  .toolbar,.menu-state-icon-primary.menu-column .menu-item:not(:first-child),.cell-map,.cell-level,.cell-pk,.cell-spg {
    display:none
  }
  .cell-num {
    width: 32px;
}
.cell-info {
    width: 70%;
}
.char-btn-config .menu-item ,.char-btn-config .menu-link{
    margin-right: 0;
    width: 100%;
}
.content{
    padding-top: 79px;
}
.lasperpen-character>.card-body>.d-flex{
    justify-content: center;
    gap: 10px;
}
.las-char-btn [data-name] span{
    margin-bottom: 8px;
}
.card.lasperpen-character>.card-body {
    padding: 20px;
}
}
/* ITEM TOOLTIP */
#profileData .lascharview {
	display:block!important;
}
.item-box {
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    width: 100%;
    white-space: nowrap;
    min-width: 200px;
    padding-bottom: 10px;
    font-size: 12px;
	padding-bottom:25%;
}
.item-name {
    padding: 4px 8px;
}
.item-serial {
    color: #ffffff !important;
    padding-top: 10px;
}
.item-info {
    color: #ffffff !important;
}
.item-info-section {
    padding-top: 10px;
}
.item-class-req {
    color: #b4b4b4 !important;
}
.item-opt-jog {
    color: #ff99cc !important;
    padding-top: 10px;
}
.item-opt-harmony {
    color: #ffcc00 !important;
    padding-top: 10px;
}
.item-opt-skill {
    color: #9aadd5 !important;
}
.item-opt-luck {
    color: #9aadd5 !important;
}
.item-opt-life {
    color: #9aadd5 !important;
}
.item-opt-exc {
    color: #4d668d !important;
    padding-top: 10px;
}
.item-opt-anc {
    color: #9aadd5 !important;
    padding-top: 10px;
}
.item-opt-socket {
    color: #4d668d !important;
    padding-top: 10px;
}
.item-expiration {
    color: #ff544f !important;
    padding-top: 10px;
}


.mu-doll-container {
    position: relative !important;
    width: 550px !important;
    height: 474px !important;
    margin: 0 auto !important;
    user-select: none;
}
.mu-inv-slot {
    position: absolute !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
    border-radius: 4px;
    z-index: 10;
}
.mu-inv-slot:hover {
    box-shadow: 0 0 12px rgba(114, 57, 234, 0.7);
    background-color: rgba(114, 57, 234, 0.15) !important;
    outline: 1px solid rgba(114, 57, 234, 0.8);
    z-index: 50;
}
.mu-slot-empty {
    background: transparent !important;
    cursor: default;
}
.mu-slot-empty:hover {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.05) !important;
    outline: 1px dashed rgba(255, 255, 255, 0.3);
}

.profile_item0 { position: absolute !important; left: 61px !important; top: 287px !important; width: 85px !important; height: 156px !important; }
.profile_item1 { position: absolute !important; left: 452px !important; top: 287px !important; width: 87px !important; height: 157px !important; }
.profile_item2 { position: absolute !important; left: 119px !important; top: 53px !important; width: 93px !important; height: 92px !important; }
.profile_item3 { position: absolute !important; left: 99px !important; top: 154px !important; width: 101px !important; height: 119px !important; }
.profile_item4 { position: absolute !important; left: 160px !important; top: 353px !important; width: 73px !important; height: 91px !important; }
.profile_item5 { position: absolute !important; left: 385px !important; top: 181px !important; width: 102px !important; height: 94px !important; }
.profile_item6 { position: absolute !important; left: 368px !important; top: 355px !important; width: 72px !important; height: 91px !important; }
.profile_item7 { position: absolute !important; left: 383px !important; top: 32px !important; width: 155px !important; height: 129px !important; }
.profile_item8 { position: absolute !important; left: 26px !important; top: 68px !important; width: 69px !important; height: 65px !important; }
.profile_item9 { position: absolute !important; left: 336px !important; top: 91px !important; width: 37px !important; height: 36px !important; }
.profile_item10 { position: absolute !important; left: 177px !important; top: 298px !important; width: 35px !important; height: 35px !important; }
.profile_item11 { position: absolute !important; left: 384px !important; top: 298px !important; width: 35px !important; height: 36px !important; }
  .menu-item .menu-link.active .menu-arrow:after
  {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 9' fill='%23FFF'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.93537 4.57889C6.03839 4.77912 6.0191 5.0363 5.87137 5.21403L2.87153 8.82282C2.68598 9.04603 2.36951 9.06026 2.16468 8.8546C1.95985 8.64893 1.94422 8.30126 2.12977 8.07804L4.80594 4.85863L2.15586 1.93583C1.96104 1.72096 1.96165 1.37314 2.15722 1.15895C2.35279 0.944757 2.66927 0.945311 2.86409 1.16018L5.85194 4.45551C5.8859 4.49296 5.91371 4.53459 5.93537 4.57889Z'/%3e%3c/svg%3e")
  }
/**nologin*/
.not-login .las-noLog{
    display: flex;
    flex-basis: 100%;
    min-height: 100vh;
    width: 100%;
}
.not-login .las-noLog{
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}
.las-noLog-inner{
    max-width: 400px;
	width: 100%;
    position: relative;
	padding-top: 5% !important;
}
.las-noLog-inner:before,
.las-noLog-inner:after {
    display: none !important;
    content: none !important;
}
.not-login .brand-logo {
	margin: 1rem 0 2rem 0;
    display: flex;
    justify-content: center;
}
.las-noLog-inner .form-label {
    font-size: 96%;
	font-weight: 400 !important;
}
.prefix{
    display: inline-block;
    padding: 1px 5px;
    border: 1px solid transparent;
    line-height: 1.26;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    width: 130px;
	text-transform: inherit;
background: #7239ea;
    border-color: #7239ea;
}
.prefix.lthongbao{
	background: #DC143C;
    border-color: #DC143C;
}
.prefix.lhuongdan{
	background: #47BE7D;
    border-color: #47BE7D;
}
.las-eventlist>ul{
    padding: 0;
    list-style: none;
}
.las-timer{
	margin-left:auto
}
.top-list{
    padding: 4px 0;
    font-size: 15px;
}
.top-list+.top-list{
    border-top: 1px dashed #ccc;
}
.las-timer{
    color: #198754;
}
.lasperpen-news > .card-header{
    padding: 4px 16px;
    margin: 0!important;
}
.lasperpen-news .las-newdate{display:none}
.lasperpen-news .las-title-nhome {
    font-size: 16px;
}
.lasperpen-news .lasp {
    padding-left: 24px;
}
.lasperpen-news .lasp:before {
    top: 10px;
    height: 15px;
    width: 15px;
	line-height: 15px;
	font-size: 80%;
}
.lasperpen-news{
    width: 350px;
}
.lasperpen-news .lasp:after{
border: 0.3em solid transparent;
    left: 15px;
    margin-top: -3px;
	    border-left-color: #1e9bc8;
	}
.lasperpen-news .lasv-title {
    font-size: 14px!important;
    font-weight: 400!important;
}
.lasperpen-news .prefix{
    font-size: 12px;
}
.notification-new {
    position: absolute;
    display: inline-block;
    color: #fff;
    background: #e03030;
    top: 0;
    right: 22px;
    font-size: 12px;
    padding: 0 5px;
    text-align: center;
    border-radius: 50%;
}
.las-news-body >p{
    margin-bottom: 0;
}


/* custom - chỉnh sửa lại màu sắc các nút*/
.bg-primary {
    background-color: #7239ea !important;
}
.btn.btn-primary {
    color: #ffffff;
    border-color: #7239ea;
    background-color: #7239ea;
}
#flip div:first-child div {
    background: #7239ea;
}
/* custom - chỉnh sửa lại màu sắc menu*/
.aside-dark .menu .menu-item .menu-link .menu-title {
    color: #d7d7d7;
}
.text-muted {
    color: #6a6a6a !important;
}
/* Custom bảng trong tin tức */
tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 1px;
}
/* Custom bảng trong trang downloads */
.table>:not(caption)>*>* {
    padding: 20px 20px;
}
/* Ẩn nội dung của tin tức ngoài trang news - chỉ hiển thị trong bài viết */
.archive .las-news-body {
    display: none;
}

/* Custom table trong nội dung bài viết */
.las-news-body table tr:first-child {
    color: #fff;
    background-color: #7239ea;
}

/* chiều cao giữa các dòng của nội dung tin tức */
.las-news-body >p {
    margin-bottom: 0;
    padding-top: 15px;
}

/* ========================================================
   MU HA LONG - ULTIMATE DARK GAMING THEME SYSTEM
   Main Tone: #7239ea (Solid) | Accent: #47BE7D | Alert: #DC143C
   ======================================================== */

body, html {
    background-color: #0d0e15 !important;
    color: #cbd5e1;
}
.wrap, .wrapper, .content, .post, .lasperpen-content {
    background-color: #0d0e15 !important;
}

/* ========================================================
   1. SIDEBAR & ICONS - CRYSTAL CLEAR & VIBRANT
   ======================================================== */
.aside.aside-dark {
    background-color: #12131e !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.aside-dark .aside-logo {
    background-color: #12131e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.aside-dark .aside-logo .brand-logo img {
    border-radius: 8px;
}
.aside-dark .menu .menu-item .menu-link {
    color: #94a3b8 !important;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 2px 10px;
}
.aside-dark .menu .menu-item .menu-link:hover {
    color: #ffffff !important;
    background-color: rgba(114, 57, 234, 0.15) !important;
}
/* Top-level standalone menu link active */
.aside-dark .aside-menu .menu.menu-column > .menu-item:not(.menu-accordion) > .menu-link.active {
    background: #7239ea !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(114, 57, 234, 0.45) !important;
}
.aside-dark .aside-menu .menu.menu-column > .menu-item:not(.menu-accordion) > .menu-link.active .menu-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Accordion Parent Header when active or expanded - Clean Dark Inset with Purple Border */
.aside-dark .menu-accordion > .menu-link.active,
.aside-dark .menu-accordion.show > .menu-link {
    background: rgba(114, 57, 234, 0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(114, 57, 234, 0.3) !important;
    box-shadow: none !important;
    border-radius: 8px !important;
}
.aside-dark .menu-accordion > .menu-link.active .menu-title,
.aside-dark .menu-accordion.show > .menu-link .menu-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}
.aside-dark .menu-accordion > .menu-link.active .menu-icon i,
.aside-dark .menu-accordion.show > .menu-link .menu-icon i {
    color: #c4b5fd !important;
}

/* Submenu Accordion Container */
.aside-dark .menu-sub.menu-sub-accordion {
    padding: 4px 0 6px 8px !important;
    margin: 4px 10px 8px 14px !important;
    border-left: 2px solid rgba(114, 57, 234, 0.35) !important;
    background: rgba(18, 19, 32, 0.45) !important;
    border-radius: 0 0 8px 8px !important;
}

/* Sidebar Items - Dark Gaming Theme identical to AdminCP */
.aside-dark .menu .menu-item .menu-link {
    font-family: 'Montserrat', sans-serif !important;
    color: #9ca3af !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    letter-spacing: 0.15px !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    margin: 3px 8px !important;
    transition: all 0.2s ease !important;
}
.aside-dark .menu .menu-item .menu-link .menu-title {
    font-family: 'Montserrat', sans-serif !important;
    color: #9ca3af !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    transition: color 0.2s ease !important;
}
.aside-dark .menu .menu-item .menu-link .menu-icon i,
.aside-dark .menu .menu-item .menu-link .menu-icon .svg-icon,
.aside .menu-icon i {
    color: #8b5cf6 !important;
    font-size: 1.25rem !important;
    margin-right: 8px;
    transition: all 0.2s ease !important;
    opacity: 1 !important;
}

/* Hover: Same as AdminCP */
.aside-dark .menu .menu-item .menu-link:hover {
    background: rgba(114, 57, 234, 0.15) !important;
    color: #ffffff !important;
}
.aside-dark .menu .menu-item .menu-link:hover .menu-title {
    color: #ffffff !important;
}
.aside-dark .menu .menu-item .menu-link:hover .menu-icon i {
    color: #ffd700 !important;
    transform: scale(1.15) !important;
}

/* Submenu Child Items */
.aside-dark .menu-sub .menu-item .menu-link {
    font-family: 'Montserrat', sans-serif !important;
    background: transparent !important;
    color: #9ca3af !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 2px 4px !important;
    padding: 7px 12px !important;
    border-radius: 6px !important;
}
.aside-dark .menu-sub .menu-item .menu-link .menu-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.aside-dark .menu-sub .menu-item .menu-link:hover {
    background: rgba(114, 57, 234, 0.15) !important;
    color: #ffffff !important;
}
.aside-dark .menu-sub .menu-item .menu-link:hover .menu-title {
    color: #ffffff !important;
}
.aside-dark .menu-sub .menu-item .menu-link:hover .menu-bullet .bullet {
    background-color: #ffd700 !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.8) !important;
}

/* Active Menu Item: Same as AdminCP */
.aside-dark .menu .menu-item .menu-link.active,
.aside-dark .menu-sub .menu-item .menu-link.active {
    background: linear-gradient(135deg, rgba(114, 57, 234, 0.3), rgba(114, 57, 234, 0.1)) !important;
    color: #ffffff !important;
    border-left: 3px solid #7239ea !important;
    box-shadow: 0 2px 10px rgba(114, 57, 234, 0.2) !important;
    border-radius: 8px !important;
}
.aside-dark .menu .menu-item .menu-link.active .menu-title,
.aside-dark .menu-sub .menu-item .menu-link.active .menu-title {
    color: #ffffff !important;
    font-weight: 700 !important;
}
.aside-dark .menu .menu-item .menu-link.active .menu-icon i {
    color: #ffd700 !important;
}
.aside-dark .menu-sub .menu-item .menu-link.active .menu-bullet .bullet {
    background-color: #ffd700 !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.8) !important;
}

/* ========================================================
   2. HEADER & BREADCRUMBS (NO LIGHT BOXES)
   ======================================================== */
.header.las-nav-top {
    background-color: #12131e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.header-breadcrumb-trail .breadcrumb-item-link {
    color: #94a3b8 !important;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.15s ease;
    text-decoration: none;
}
.header-breadcrumb-trail .breadcrumb-item-link:hover {
    color: #7239ea !important;
}
.header-breadcrumb-trail .breadcrumb-item-active {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
}
.nav-shortcut-tile {
    background: #1a1b2a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s;
    text-decoration: none;
}
.nav-shortcut-tile:hover {
    background: #212235;
    border-color: #7239ea;
    transform: translateY(-2px);
}
.user-nav-pill:hover {
    border-color: #7239ea !important;
    background: #202135 !important;
}

/* ========================================================
   3. ERADICATE ALL LIGHT / WHITE BOXES ACROSS SITE
   ======================================================== */
/* Overwrite Bootstrap bg-light in modules (unstick, clearpk, resetstats...) */
.bg-light,
.bg-light-primary,
.bg-light-success,
.bg-light-warning,
.bg-light-danger,
.bg-light-info,
.symbol-label.bg-light {
    background-color: #1a1b2a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
.bg-light .text-muted,
.bg-light span.text-muted {
    color: #94a3b8 !important;
}
.bg-light .text-primary,
.bg-light .fw-bolder {
    color: #ffffff !important;
}
.bg-light .text-success {
    color: #47BE7D !important;
}

/* Rankings Table Header - Pure Dark */
.lasperpen-table-header {
    background: #1a1b2a !important;
    border-bottom: 2px solid #7239ea !important;
    border-radius: 8px 8px 0 0 !important;
}
.lasperpen-table-header > * {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.lasperpen-rank-list {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: transparent !important;
    transition: background-color 0.2s ease !important;
}
.lasperpen-rank-list:hover {
    background-color: rgba(114, 57, 234, 0.08) !important;
}
.lasperpen-listCell {
    color: #cbd5e1 !important;
}
.lasperpen-listCell.cell-info a {
    color: #ffffff !important;
    font-weight: 700 !important;
}
.lasperpen-listCell.cell-info a:hover {
    color: #7239ea !important;
}
.lasperpen-listCell.cell-map {
    color: #94a3b8 !important;
}

/* Rankings Subpage Tabs (Top Reset, Top PK, Top Guild...) */
.rankings_menu .btn-light-primary,
.nav-pills .btn-light-primary,
.btn.btn-light-primary,
.btn-light {
    background-color: #1a1b2a !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}
.rankings_menu .btn-light-primary:hover,
.nav-pills .btn-light-primary:hover,
.btn.btn-light-primary:hover,
.btn-light:hover {
    background-color: rgba(114, 57, 234, 0.2) !important;
    border-color: #7239ea !important;
    color: #ffffff !important;
}
.rankings_menu .btn-light-primary.active,
.nav-pills .btn-light-primary.active,
.btn.btn-light-primary.active {
    background-color: #7239ea !important;
    border-color: #7239ea !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(114, 57, 234, 0.4) !important;
}

/* Class Filter in Rankings */
.las-filter .btn.btn-primary {
    background-color: #7239ea !important;
    border-color: #7239ea !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}
.las-filter .avatar {
    background: #1a1b2a !important;
    border: 2px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 50% !important;
    padding: 2px !important;
    transition: all 0.2s ease !important;
}
.las-filter .avatar:hover,
.las-filter .avatar.active {
    border-color: #7239ea !important;
    outline: none !important;
    box-shadow: 0 0 12px rgba(114, 57, 234, 0.6) !important;
}

/* ========================================================
   4. FORM CONTROLS & INPUTS (DARK)
   ======================================================== */
.form-control,
.form-select,
.input-group-text,
input.form-control,
select.form-select {
    background-color: #1a1b2a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}
.form-control:focus,
.form-select:focus {
    border-color: #7239ea !important;
    box-shadow: 0 0 0 2px rgba(114, 57, 234, 0.3) !important;
    background-color: #1c1d2e !important;
    color: #ffffff !important;
}
.form-control::placeholder {
    color: #64748b !important;
}
.form-control:disabled,
.form-control[readonly] {
    background-color: #151624 !important;
    color: #94a3b8 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.input-group-text {
    background-color: #141522 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #a78bfa !important;
}

/* ========================================================
   5. SWEETALERT2 DARK GAMING MODAL
   ======================================================== */
.swal2-container.swal2-backdrop-show {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(4px) !important;
}
.swal2-popup {
    background: #161725 !important;
    border: 1px solid rgba(114, 57, 234, 0.4) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(114, 57, 234, 0.25) !important;
    border-radius: 14px !important;
    color: #f1f5f9 !important;
    padding: 24px !important;
}
.swal2-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
}
.swal2-html-container {
    color: #cbd5e1 !important;
    font-size: 0.95rem !important;
}
.swal2-html-container strong {
    color: #c084fc !important;
}
.swal2-timer-progress-bar {
    background: #7239ea !important;
}
.swal2-icon.swal2-success {
    border-color: #47BE7D !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(71, 190, 125, 0.3) !important;
}
.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #47BE7D !important;
}
.swal2-loader {
    border-color: #7239ea transparent #7239ea transparent !important;
}

/* Hide drawer buttons & scrolltop */
.explore-btn-toggle,
#kt_explore_toggle,
[data-kt-drawer-name="explore"] {
    display: none !important;
}
.scrolltop, [data-kt-scrolltop=on] .scrolltop {
    background-color: #7239ea !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(114, 57, 234, 0.4) !important;
}

/* ========================================================
   6. HERO CHARACTER PROFILE & STATS CHIPS
   ======================================================== */
.account-hero-card {
    background-color: #161724 !important;
    border: 1px solid rgba(114, 57, 234, 0.3) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35) !important;
}
.hero-avatar-wrapper {
    width: 105px;
    height: 105px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hero-avatar-ring {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    padding: 3px;
    background: #12131e;
    border: 3px solid #7239ea;
    box-shadow: 0 0 20px rgba(114, 57, 234, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-avatar-ring.ring-online {
    border-color: #47BE7D;
    box-shadow: 0 0 20px rgba(71, 190, 125, 0.45);
}
.hero-avatar-ring.ring-offline {
    border-color: #7239ea;
}
.hero-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.hero-status-pulse,
.hero-status-top-pulse {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #161724;
    z-index: 10;
}
.pulse-online {
    background-color: #10b981;
    box-shadow: 0 0 12px #10b981;
    animation: heroPulseOnline 2s infinite ease-in-out;
}
.pulse-offline {
    background-color: #ef4444;
    opacity: 0.85;
}
@keyframes heroPulseOnline {
    0%, 100% { transform: scale(1); box-shadow: 0 0 8px #10b981; }
    50% { transform: scale(1.15); box-shadow: 0 0 16px #10b981; }
}

/* Class & Season Tags */
.hero-class-tag {
    background-color: rgba(114, 57, 234, 0.2);
    color: #c4b5fd;
    border: 1px solid rgba(114, 57, 234, 0.4);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
}
.hero-season-tag {
    background-color: #7239ea;
    color: #ffffff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

/* Online/Offline Status Pill */
.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
}
.hero-status-pill.badge-online {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.hero-status-pill.badge-offline {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}
.badge-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.badge-status-dot.online {
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}
.badge-status-dot.offline {
    background: #ef4444;
}

/* Hero Stats Grid */
.hero-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #1a1b2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.2s ease;
}
.hero-stat-chip:hover {
    border-color: #7239ea;
    background: #1d1e30;
    transform: translateY(-1px);
}
.hero-stat-chip .chip-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-stat-chip .chip-data {
    display: flex;
    flex-direction: column;
}
.hero-stat-chip .chip-label {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 3px;
}
.hero-stat-chip .chip-val {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
}

/* Currency Badge Pill */
.currency-badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #1a1b2a;
    border: 1px solid rgba(114, 57, 234, 0.25);
    border-radius: 8px;
}
.currency-badge-pill.currency-gold-glow {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(114, 57, 234, 0.15));
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
}

/* Jewel Vault Pills */
.jewel-pill-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}
.jewel-pill-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero Jewel Vault 3-Column Display (No Border, Diamond Icons) */
.hero-jewels-block {
    display: inline-flex;
    align-items: center;
    background: transparent !important;
    border: none !important;
    border-left: 2px solid rgba(114, 57, 234, 0.45) !important;
}
.hero-jewels-block .fas.fa-gem {
    font-size: 13px !important;
    filter: drop-shadow(0 0 5px currentColor);
}

/* Character Selector Buttons */
.char-selector-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1b2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3px 12px 3px 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.char-thumb-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.15);
}
.char-thumb-circle {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.char-thumb-status {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #1a1b2a;
}
.char-thumb-status.thumb-online {
    background-color: #10b981;
    box-shadow: 0 0 5px #10b981;
}
.char-thumb-status.thumb-offline {
    background-color: #ef4444;
}
.char-selector-btn .char-name-href {
    color: #cbd5e1;
    font-size: 12.5px;
    font-weight: 600;
}
.char-selector-btn:hover {
    border-color: #7239ea;
    background: #202135;
}
.char-selector-btn.active {
    background: rgba(114, 57, 234, 0.25);
    border-color: #7239ea;
    box-shadow: 0 0 14px rgba(114, 57, 234, 0.55);
}
.char-selector-btn.active .char-thumb-wrap {
    border-color: #ffd700;
}
.char-selector-btn.active .char-name-href {
    color: #ffffff;
    font-weight: 700;
}

/* ========================================================
   7. ACCOUNT PROFILE & SECURITY CARDS
   ======================================================== */
.account-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(114, 57, 234, 0.15);
    color: #a78bfa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}
.account-info-list .info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.account-info-list .info-label {
    font-size: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
}
.account-info-list .info-val {
    text-align: right;
}
.account-action-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #1a1b2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.2s ease;
}
.account-action-item:hover {
    border-color: #7239ea;
    background: #1d1e32;
    transform: translateY(-2px);
}
.account-action-item .action-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    margin-right: 14px;
}
.account-action-item .action-item-body {
    flex-grow: 1;
    min-width: 0;
}
.account-action-item .action-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: block;
}
.account-action-item .action-desc {
    color: #94a3b8;
    font-size: 12px;
    display: block;
}
.account-action-item .action-btn {
    background-color: #7239ea;
    color: #ffffff;
    border: none;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.2s;
}
.account-action-item .action-btn:hover {
    background-color: #5e2cc9;
    color: #ffffff;
}
.security-safe-box {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    background: rgba(71, 190, 125, 0.08);
    border: 1px solid rgba(71, 190, 125, 0.3);
    border-radius: 10px;
    gap: 16px;
}
.security-safe-box .safe-icon {
    color: #47BE7D;
    font-size: 32px;
    flex-shrink: 0;
}
.security-safe-box .safe-title {
    color: #47BE7D;
    font-weight: 700;
    font-size: 14px;
}
.security-safe-box .safe-desc {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}
.account-history-table thead th {
    background-color: #1a1b2a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #7239ea !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
}
.account-history-table tbody td {
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: 13px !important;
}

/* ========================================================
   8. GLOBAL CARD & TEXT CONTRAST OVERRIDES
   ======================================================== */
.card {
    background-color: #161724 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    border-radius: 10px !important;
    color: #cbd5e1;
}
.card-header {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.card-title, .card-title span, .card-header .card-title {
    color: #ffffff !important;
}
.card-body {
    color: #cbd5e1;
}
.text-dark {
    color: #ffffff !important;
}
.text-gray-900, .text-gray-800 {
    color: #f1f5f9 !important;
}
.text-gray-700, .text-gray-600 {
    color: #cbd5e1 !important;
}
.text-gray-500, .text-gray-400 {
    color: #94a3b8 !important;
}
.text-muted {
    color: #94a3b8 !important;
}

/* ========================================================
   9. TOOLBAR, NOTICES & FOOTER
   ======================================================== */
.toolbar,
.toolbar-fixed .toolbar {
    background-color: #12131e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.toolbar h1,
.toolbar .page-title h1,
.toolbar .note-toolbar,
.toolbar .note-toolbar div {
    color: #f1f5f9 !important;
}
.toolbar .border-gray-200 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.toolbar .breadcrumb .breadcrumb-item {
    color: #cbd5e1 !important;
}
.footer {
    background-color: #12131e !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #94a3b8 !important;
}
.footer a,
.lascopy {
    color: #94a3b8 !important;
    text-decoration: none !important;
}
.footer a:hover {
    color: #7239ea !important;
}

/* ========================================================
   10. TABLES, BORDERS & DATA LISTS
   ======================================================== */
.table {
    --bs-table-bg: transparent !important;
    --bs-table-accent-bg: transparent !important;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02) !important;
    --bs-table-hover-bg: rgba(114, 57, 234, 0.08) !important;
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}
.table > :not(caption) > * > * {
    background-color: transparent !important;
    color: inherit !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, 0.02) !important;
}
.table-hover > tbody > tr:hover > * {
    background-color: rgba(114, 57, 234, 0.08) !important;
}

/* ========================================================
   11. BUTTONS, PILLS & BADGES (SOLID THEME: #7239ea / #47BE7D / #DC143C)
   ======================================================== */
.btn-primary {
    background-color: #7239ea !important;
    border-color: #7239ea !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(114, 57, 234, 0.35) !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #5e2cc9 !important;
    border-color: #5e2cc9 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(114, 57, 234, 0.5) !important;
}
.btn-outline-primary {
    color: #7239ea !important;
    border-color: #7239ea !important;
    background-color: transparent !important;
}
.btn-outline-primary:hover {
    background-color: #7239ea !important;
    color: #ffffff !important;
}
.btn-success {
    background-color: #47BE7D !important;
    border-color: #47BE7D !important;
    color: #ffffff !important;
}
.btn-success:hover {
    background-color: #3ca36b !important;
    border-color: #3ca36b !important;
    color: #ffffff !important;
}
.btn-danger {
    background-color: #DC143C !important;
    border-color: #DC143C !important;
    color: #ffffff !important;
}
.btn-danger:hover {
    background-color: #b51031 !important;
    border-color: #b51031 !important;
    color: #ffffff !important;
}

.badge-light-primary {
    background-color: rgba(114, 57, 234, 0.2) !important;
    color: #c4b5fd !important;
}
.badge-light-success {
    background-color: rgba(71, 190, 125, 0.2) !important;
    color: #47BE7D !important;
}
.badge-light-danger {
    background-color: rgba(220, 20, 60, 0.2) !important;
    color: #DC143C !important;
}
.badge-light-warning {
    background-color: rgba(251, 191, 36, 0.2) !important;
    color: #fbbf24 !important;
}
.badge-light-info {
    background-color: rgba(56, 189, 248, 0.2) !important;
    color: #38bdf8 !important;
}

/* ========================================================
   12. DROPDOWNS, POPOVERS & MODALS
   ======================================================== */
.dropdown-menu,
.menu-sub-dropdown {
    background-color: #161724 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    border-radius: 8px !important;
}
.dropdown-item {
    color: #cbd5e1 !important;
    transition: all 0.15s ease;
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(114, 57, 234, 0.2) !important;
    color: #ffffff !important;
}
.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.06) !important;
}
.modal-content {
    background-color: #161724 !important;
    border: 1px solid rgba(114, 57, 234, 0.4) !important;
    color: #f1f5f9 !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7) !important;
}
.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.modal-title {
    color: #ffffff !important;
}
.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ========================================================
   13. GAMING SCROLLBAR & SELECTION
   ======================================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0e15;
}
::-webkit-scrollbar-thumb {
    background: #2a2b40;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7239ea;
}
::selection {
    background: #7239ea;
    color: #ffffff;
}

/* ========================================================
   14. COMPREHENSIVE DARK GAMING THEME FOR ALL USERCP & CHARACTER MODULES
   ======================================================== */
.card,
.card.card-xxl-stretch,
.card.mb-3,
.card.mb-5,
.card.mb-7 {
    background-color: #161724 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
    color: #cbd5e1 !important;
}

.card-header {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

.card-title,
.card-label {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.card-footer {
    background-color: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Replaces all outdated light backgrounds in character management */
.bg-light {
    background-color: #1a1b2a !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 8px !important;
    color: #cbd5e1 !important;
}

.bg-light .text-muted {
    color: #94a3b8 !important;
}

/* Form inputs & controls */
.form-control,
.form-select {
    background-color: #141522 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

.form-control:focus,
.form-select:focus {
    background-color: #141522 !important;
    border-color: #7239ea !important;
    box-shadow: 0 0 0 2px rgba(114, 57, 234, 0.3) !important;
    color: #ffffff !important;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #0f101a !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: #64748b !important;
}

.input-group-text {
    background-color: #1a1b2a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
    border-radius: 8px !important;
}

/* Dark Data Tables */
.table {
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 0;
}

.table th {
    background-color: #1a1b2a !important;
    color: #c4b5fd !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    padding: 12px 14px;
}

.table td {
    background-color: #161724 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: #cbd5e1 !important;
    vertical-align: middle;
    padding: 12px 14px;
}

.table tr:hover td {
    background-color: #1c1d2e !important;
}

/* Badges harmonization */
.badge-light-primary {
    background-color: rgba(114, 57, 234, 0.18) !important;
    color: #c4b5fd !important;
    border: 1px solid rgba(114, 57, 234, 0.35) !important;
}

.badge-light-success {
    background-color: rgba(71, 190, 125, 0.18) !important;
    color: #47BE7D !important;
    border: 1px solid rgba(71, 190, 125, 0.35) !important;
}

.badge-light-danger {
    background-color: rgba(220, 20, 60, 0.18) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(220, 20, 60, 0.35) !important;
}

.badge-light-warning {
    background-color: rgba(251, 191, 36, 0.18) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
}

.badge-light-info {
    background-color: rgba(56, 189, 248, 0.18) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

/* Solid Buttons (No gradients) */
.btn-primary {
    background-color: #7239ea !important;
    border-color: #7239ea !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #5e27d6 !important;
    border-color: #5e27d6 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(114, 57, 234, 0.45);
}

.btn-success {
    background-color: #47BE7D !important;
    border-color: #47BE7D !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 700;
}

.btn-success:hover {
    background-color: #39a66c !important;
    border-color: #39a66c !important;
    transform: translateY(-1px);
}

.btn-danger {
    background-color: #DC143C !important;
    border-color: #DC143C !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 700;
}

.btn-danger:hover {
    background-color: #b91032 !important;
    border-color: #b91032 !important;
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-color: rgba(114, 57, 234, 0.5) !important;
    color: #c4b5fd !important;
    border-radius: 8px !important;
}

.btn-outline-primary:hover {
    background-color: #7239ea !important;
    border-color: #7239ea !important;
    color: #ffffff !important;
}

/* Progress bars */
.progress {
    background-color: #1a1b2a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 6px !important;
}

.progress-bar {
    background-color: #7239ea !important;
}

/* Gaming Alert Boxes */
.alert {
    border-radius: 10px !important;
}

.alert-danger {
    background-color: rgba(220, 20, 60, 0.12) !important;
    border: 1px solid rgba(220, 20, 60, 0.35) !important;
    color: #fca5a5 !important;
}

.alert-success {
    background-color: rgba(71, 190, 125, 0.12) !important;
    border: 1px solid rgba(71, 190, 125, 0.35) !important;
    color: #86efac !important;
}

.alert-warning {
    background-color: rgba(251, 191, 36, 0.12) !important;
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
    color: #fbbf24 !important;
}

.alert-info {
    background-color: rgba(114, 57, 234, 0.12) !important;
    border: 1px solid rgba(114, 57, 234, 0.35) !important;
    color: #c4b5fd !important;
}

/* ========================================================
   15. STRICT ELIMINATION OF LIGHT LEAKS (NO MORE WHITE ON DARK)
   ======================================================== */
.list-group,
.list-group-flush {
    background-color: transparent !important;
}

.list-group-item {
    background-color: #1a1b2a !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: #cbd5e1 !important;
}

.text-dark {
    color: #f1f5f9 !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > *,
.table-striped > tbody > tr:nth-of-type(even) > * {
    background-color: #161724 !important;
    color: #cbd5e1 !important;
}

.table-hover > tbody > tr:hover > * {
    background-color: #1f2133 !important;
    color: #ffffff !important;
}

.dataTables_wrapper,
.dataTable {
    color: #cbd5e1 !important;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    background-color: #141522 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 4px 8px;
}

.page-item .page-link {
    background-color: #1a1b2a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}

.page-item.active .page-link {
    background-color: #7239ea !important;
    border-color: #7239ea !important;
    color: #ffffff !important;
}

