[data-bs-theme=light] {
  color-scheme: dark;
  
  
  --bs-server-background: #fff;
  --bs-server-link: #222;
  --bs-server--title: #222;
  --bs-banner-bg: #f8fafc;
  --bs-body-bg: #fbfbfb;
  --bs-banner-color: #222;
  --bs-body-font-size: 0.85rem !important;
  --vip-bg-rgb: 255, 255, 255 ;
  
}
[data-bs-theme=dark] {
  color-scheme: dark;
  
  --bs-success-bg-subtle: #05261f;
  --bs-server-background: #2f353a;
  --bs-warning-bg-subtle: #311f04;
  --bs-danger-bg-subtle: #2e0f0c;
  --bs-server-link: #eee;
  --bs-server-title: #eee;
  --bs-banner-bg: #212529;
  --bs-banner-color: #ededed;
  --bs-body-font-size: 0.85rem !important;
  --vip-bg-rgb: 0, 0, 0 ;
  
  
}
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 900px;
    margin: auto;
    background: #111;
    color: #fff;
    padding: 16px 20px;
    border-radius: 10px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.cookie-text a {
    color: #ffc107;
    text-decoration: none;
}

.cookie-actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: #2e4a62 !important;
}

.layout-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    min-height: 100vh;
}
.navbar-wide {
    max-width: 1500px;
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}
body {
    
    /*font-size: 0.9rem !important;*/
    background-color: var(--bs-body-bg);
}

/* SIDE ADS */
.side-ad {
    position: fixed;
    top: 60px; /* po navbar + admin menu */
    width: 428px;
    height: 1000px;
    z-index: 900;
}
@media (max-width: 1200px) {
    .side-ad {
        display: none;
    }
}

/* LEFT */
.side-ad.left {
    left: calc(50% - 1050px / 2 - 428px - 20px);
}
.side-ad.left hover{
    left: 0px;
}
/* RIGHT */
.side-ad.right {
    left: calc(50% + 1050px / 2 + 20px);
}


.bg_left {
    position: fixed;
    top: 72px;
    left: calc(49% - 952px);
    height: 1000px;
    max-height: 1000px;
    z-index: 888;
    transition: .5s ease;
}
.bg_right {
    position: fixed;
    top: 72px;
    right: calc(49% - 952px);
    height: 1000px;
    max-height: 1000px;
    z-index: 888;
    transition: .5s ease;
}
@media (max-width:1900px)
{
    .bg_left:hover { left: 0; height: 100vh; }
    .bg_right:hover { right: 0; height: 100vh; }
}

.bleft {
    top: -1px;
    right: 50%;
    margin-right: 525px;
    display: block;
    padding: 0;
}

.bright {
    top: -1px;
    left: 50%;
    margin-left: 525px;
    display: block;
    padding: 0;
}

.btn-sm, .btn-group-sm > .btn {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.75rem !important;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}

/* CENTER AREA */
.center-area {
    width: 1050px;
    max-width: 100%;
}

/* TOP BANNERS */
.top-ads {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

/* ACCOUNT LAYOUT */
.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
}

/* SIDEBAR */
.account-sidebar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

/* CONTENT */
.account-content {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}
.main-navbar {
    z-index: 1030; /* virš side ads */
}
.mx-nav {
    margin-right: 100px !important;
    margin-left: auto !important;
}

.main-navbar{
    height: 75px;
}

.admin-menu {
    top: 72px; /* navbar aukštis */
    z-index: 1020;
}

.admin-menu-inner {
    padding: 8px 0;
}

/* Mobile: horizontal scroll */
@media (max-width: 768px) {
    .admin-menu-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
}



@media (min-width: 1200px) {
    .container {
        width: 1050px !important;
    }
}
@media (min-width: 1200px) {
    .container {
        width: 1170px !important;
    }
}
@media (min-width: 992px) {
    .container {
        width: 970px !important;
    }
}
.server-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

/

.server-banner img,
.no-banner {
    
    border-radius: 4px;
}


.btn-outline-primary{
    background-color: #f8fafc;
    
    font-weight: 300 !important;
}
.server-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 🔥 SVARBIAUSIA */
    gap: 15px;

    background: var(--bs-server-background);
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(18 32 61 / 56%);
transition: all .25s ease;
}

.server-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.4);
}

/* LEFT */
.server-main {
    flex: 1;
}


.server-row.compact {
    padding: 4px !important;
    font-size: 13px;
}

.server-row.compact .server-actions {
    min-width: auto;
}


/* MOBILE */
@media (max-width: 768px) {

    .server-row {
        flex-direction: row;
    }

    .server-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .server-banner img,
    .no-banner {
        width: 100%;
        height: auto;
        max-height: 80px;
    }

    

    .server-votes {
        width: 100%;
        padding: 6px 0;
        background: #f8f9fa;
        border-radius: 4px;
        border: 1px solid gold;
    }


}
.server-link {
    text-decoration: none;     /* ❌ no underline */
    color: var(--bs-server-link);            /* Bootstrap dark */
    font-weight: 700;
}


.server-link:hover {
    text-decoration: none;     /* ❌ underline neatsiranda */
    color: #2e4a62;            /* Bootstrap primary */
}

.server-link {
    transition: color 0.15s ease-in-out;
}



.inf {
    color: #006B0C;
    font-weight: 900;
}

.freya {
    background-color: #00aeff;
    font-weight: 600;
}

.goddess {
    background-color: #ff005a;
    font-weight: 600;
}

.c3 {
    background-color: #fd7e14;
    font-weight: 600;
}

.c4 {
    background-color: #ff005a;
    font-weight: 600;
}

.other {
    background-color: #404040;
    font-weight: 600;
}

.epilogue {
    background-color: #00A89A;
    font-weight: 600;
}

.ertheia {
    background-color: #466a9b;
    font-weight: 600;
}

.gracia {
    background-color: #00A89A;
    font-weight: 600;
}

.graciaf {
    background-color: #008f65;
    font-weight: 600;
}

.kamael {
    background-color: #466a9b;
    font-weight: 600;
}

.hellbound {
    background-color: #c90000;
    font-weight: 600;
}

.interlude {
    background-color: #2f7bbf;
    font-weight: 600;
}

.highfive {
    background-color: #9bca3e;
    font-weight: 600;
}


.banner-row {
    overflow-x: auto;
}

.banner-slot {
    width: 178px;
    height: 78px;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    color: #eee;
    justify-content: center;
    text-decoration: none;
    background: #f8f9fa;
}

.banner-slot img {
    width: 178px;
    height: 78px;
    object-fit: cover;
}

.banner-slot.empty {
    font-size: 12px;
    color: #666;
}

.banner-slot.empty:hover {
    background: #e9ecef;
}
.banner-preview-slot {
    position: relative;
}

.banner-h{
    width:178px;
    height:78px; 
    color: var(--bs-banner-color); 
    background-color:  var(--bs-banner-bg);
}

.slot-box {
    width: 120px;
    height: 60px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #6c757d;
    background: #f8f9fa;
}

/* SELECTED SLOT */
.banner-preview-slot.active .slot-box {
    border: 3px solid #0d6efd;
    background: #e7f1ff;
    color: #0d6efd;
    font-weight: 600;
}

/* HERE BADGE */
.slot-label {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #0d6efd;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.side-ad-placeholder {
    width: 428px;
    height: 1000px;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
}
.banner-bg{
    color: var(--bs-banner-color);
    
    background: var(--bs-banner-bg);
}

.side-ad-placeholder:hover {
    background: var(--bs-banner-bg);
    color: #eee;
}


.server-card {
    display: grid;
    grid-template-columns: 50px 160px 1fr 140px;
    gap: 15px;
    align-items: center;

    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;

    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

/* RANK */
.server-rank {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #2e4a62;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* BANNER */
.server-thumb img {
    width: 160px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

/* INFO */
.server-title-vip {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #736401;
        text-decoration: none;
}
.server-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
        text-decoration: none;
}

.server-title a {
    text-decoration: none;
    color: var(--bs-server-title);
}

.server-desc {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 6px;
}

.server-desc-vip {
    font-size: 13px;
    color: #052c3d;
    margin: 4px 0 6px;
    font-weight: 600;
}

.server-rates-vip span {
    background: #988400;
    color: #fff;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 4px;
    margin-right: 4px;
}

.server-rank-vip {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #736401;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}


.server-row-vipp {
      background:
        linear-gradient(
            rgba(255,255,255,0.42),
            rgba(255,255,255,0.72)
        ),
        url('/uploads/vpbg.png');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(79,124,255,.15);
    border-radius: 14px;
    padding: 18px;
    color: #fff;
    position: relative;
    border: 1px solid rgba(255,215,0,.15);
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    gap: 15px;
}
.server-row-vip {
    background:
        linear-gradient(
            rgba(var(--vip-bg-rgb), 0.2),
            rgba(var(--vip-bg-rgb), 0.5)
        ),
        url('/uploads/vpbg.png');
    background-size: cover;
    background-position: center;
    
    border: 3px solid rgb(170 149 15 / 70%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 🔥 SVARBIAUSIA */
    gap: 15px;

    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(79,124,255,.18);
transition: all .25s ease;
}
.server-row-vip:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.4);
}

.server-link-vip {
    text-decoration: none;     
    color: gold;            
    font-weight: 700;
}

.server-rates span {
    background: #2E4A62;
    color: #fff;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 4px;
    margin-right: 4px;
}

/* ACTIONS */
.server-actions {
    text-align: right;
    display: flex;
    gap: 2px;
    align-content: flex-end;
    flex-wrap: wrap;
    flex-direction: column;
}

.server-votes {
    font-size: 15px;
    color: #475569;
}
.vote-countdown {
    display: inline-block;
    letter-spacing: 1px;
}

.footer-dark {
    background-color: #2e4a62;
    border-top: 1px solid #222;
    
}

.footer-dark .text-muted {
    color: #fff !important;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.chronicle-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
}

.chronicle-badge {
    background: #2e4a62;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 13px;
    white-space: nowrap;
    text-decoration: none;
    transition: all .2s ease;
}

.chronicle-badge:hover {
    background: #2f7bbf;
    color: #fff;
}

.chronicle-badge.active {
    background: #2f7bbf;
    color: #fff;
}

.bg-secondar{
    background: #245682;
}




.badge-xp{
    background-color: #237CC0;
    color: #ffffff;
}

.freya {
    background-color: #00aeff;
    font-weight: 600;
}

.goddess {
    background-color: #ff005a;
    font-weight: 600;
}

.c3 {
    background-color: #fd7e14;
    font-weight: 600;
}

.c4 {
    background-color: #ff005a;
    font-weight: 600;
}

.other {
    background-color: #404040;
    font-weight: 600;
}

.epilogue {
    background-color: #00A89A;
    font-weight: 600;
}

.ertheia {
    background-color: #466a9b;
    font-weight: 600;
}

.gracia {
    background-color: #00A89A;
    font-weight: 600;
}

.graciaf {
    background-color: #008f65;
    font-weight: 600;
}

.kamael {
    background-color: #466a9b;
    font-weight: 600;
}

.hellbound {
    background-color: #c90000;
    font-weight: 600;
}

.interlude {
    background-color: #EF5400 !important;
    font-weight: 600;
    color: #fff !important;
}

.highfive {
    background-color: #6D3DFF;
    font-weight: 600;
}
.btn-xp {
    color: #ffffff !important;
    background-color: #2e4a62 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    
}

.bg-users {
    background-color: #2e4a62 !important;
    color: #fff !important;
}
.btn-vote {
    background-color: #237CC0 !important;
    color: #fff !important;
}
.btn-play{
    background-color: #9bca3e !important;
    color: #fff !important;
}
.text-server {
  border: 1px solid #EF5400;
  color: #fff;
  font-size: 18px; 
}


.ad-cardv {
    background: #F6E3CC;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 24px;
    color: #888;
    font-weight: 600;
    transition: all .25s ease;
}
.ad-card {
    background: #D6EBFD;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 24px;
    color: #888;
    font-weight: 600;
    transition: all .25s ease;
}
.ad-cardv:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
.ad-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.4);
}

.list-group-item-action {
    font-weight: 500;
    color: rgba(4, 12, 118, 1.0);
}
.ad-icon {
    font-size: 38px;
    opacity: .9;
}

/* VIP */
.vip-card {
    border-color: rgba(255,193,7,.4);
}
.vip-card .btn {
    font-weight: 600;
}

/* Header */
.header-card {
    border-color: rgba(13,110,253,.4);
}

/* Side */
.side-card {
    border-color: rgba(255,255,255,.15);
}

.min-80{
    min-height: 80px;
}

/*///////////// */

.server-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    transition: all .25s ease;
}

.server-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* ===========================
   VIP SERVERS
   =========================== */

.server-vip {
    position: relative;
    border: 1px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #facc15, #4f7cff) border-box;
    box-shadow: 0 10px 30px rgba(79,124,255,.15);
}

.server-vip::before {
    content: "VIP";
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 4px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #facc15, #4f7cff);
    color: #111827;
}

.server-vip:hover {
    box-shadow: 0 18px 45px rgba(79,124,255,.25);
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #20629b !important;
}

.banner-preview-slot.disabled {
    opacity: 0.95;
    pointer-events: none;
}

.banner-preview-slot.disabled .slot-box {
    cursor: not-allowed;
}