/*  ---------------------------------------------------
    OTSERV.top - warstwa na BLK Design System
    Style komponentów aplikacji (lista, search, banery)
    oraz zgodność ze starymi klasami szablonu "main".
---------------------------------------------------------  */

:root {
    /* paleta zgodna z blk-design-system.css */
    --ots-bg: #171941;
    --ots-card: #1f2251;
    --ots-card-soft: #252a5e;
    --ots-head: #14163a;
    --ots-border: rgba(255, 255, 255, .1);
    --ots-text: #ffffff;
    --ots-muted: rgba(255, 255, 255, .75);
    --ots-primary: #1d8cf8;
    --ots-primary-dark: #3358f4;
    --ots-info: #1d8cf8;
    /* Jedyny czerwony akcent w szablonie - logo (kolor ze starego "main") */
    --ots-logo: #e53637;
    /* BLK ma pastelową miętę (#00f2c3) - na białym tekście odznaki
       "Online" niemal nieczytelna. Nasycona zieleń w parze z --ots-danger. */
    --ots-success: #0ba360;
    /* BLK ma pastelowy róż (#fd5d93) i jasny łosoś (#ff8d72) - dla statusów
       serwera potrzebne są wyraźne czerwień i pomarańcz. */
    --ots-danger: #ec250d;
    --ots-warning: #e8890c;
}

/* UWAGA: tylko background-color - skrót "background" wyzerowałby
   kolor tła z BLK i zgubił obrazek .index-page (kropki). */
body {
    background-color: var(--ots-bg);
    color: rgba(255, 255, 255, .92);
    font-weight: 400;
}

/* Dekoracyjne obrazki BLK (.path) są pozycjonowane absolutnie i renderują
   się w naturalnym rozmiarze. Odkąd sekcje mają overflow-x: clip zamiast
   hidden, wystawały poniżej stopki i wydłużały stronę o setki pikseli.
   Ograniczamy je do wysokości sekcji, w której siedzą. */
.path {
    max-height: 100%;
    max-width: 60%;
    width: auto;
    height: auto;
    pointer-events: none;
}

a {
    color: var(--ots-info);
}

a:hover {
    color: var(--ots-primary);
}

/* ------------------------------------------------
    Preloader
------------------------------------------------ */
#preloder {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: var(--ots-bg);
}

.loader {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, .15);
    border-top-color: var(--ots-primary);
    border-radius: 50%;
    animation: ots-spin .9s linear infinite;
}

@keyframes ots-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ------------------------------------------------
    Navbar / footer
------------------------------------------------ */
/* Navbar przewija się razem ze stroną (bez fixed-top),
   więc nie potrzebuje rezerwacji miejsca u góry. */
.navbar {
    position: relative;
    /* BLK dokłada navbarowi własny padding 15px, przez co jego kontener
       był wcięty względem slidera i listy - zerujemy w poziomie. */
    padding-left: 0;
    padding-right: 0;
}

/* Logotyp 1:1 jak w szablonie "main":
   Mulish, 26px, waga normalna, ".top" na czerwono. */
.navbar .navbar-brand,
.footer .footer__logo {
    font-family: "Mulish", sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
}

.navbar .navbar-brand span,
.footer .footer__logo a span {
    color: var(--ots-logo);
    font-weight: 400;
}

.navbar .navbar-nav .nav-item .nav-link.btn {
    padding: 7px 18px;
}

/* ------------------------------------------------
    Rozwijane menu w navbarze
    BLK daje jasne tło z bardzo jasnym tekstem - nieczytelne
    na ciemnym motywie. Ciemnimy i zwiększamy kontrast.
------------------------------------------------ */
/* Strzałka (caret) przy pozycji rozwijalnej - zbędna */
.navbar .dropdown-toggle::after {
    display: none;
}

.navbar .dropdown-menu {
    background: linear-gradient(to bottom, #222a42 0%, #1d253b 100%);
    border: 1px solid #344675;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, .5);
    padding: 6px 0;
}

/* Trójkącik-wskaźnik menu - dopasowany do ciemnego tła */
.navbar .dropdown-menu:before {
    color: #344675;
}

.navbar .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, .85);
    padding: 9px 18px;
    font-size: .8rem;
}

.navbar .dropdown-menu .dropdown-item i {
    color: var(--ots-primary);
    margin-right: 8px;
    opacity: 1;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background-color: rgba(29, 140, 248, .18);
    color: #ffffff;
}

.navbar .dropdown-menu .dropdown-divider {
    border-color: #344675;
}

.footer .footer__logo a {
    color: #fff;
    text-decoration: none;
    /* BLK ustawia w stopce wagę 300 - nadpisujemy na 400 jak w "main" */
    font-weight: 400;
}

.footer .copyright {
    font-size: 12px;
    color: var(--ots-muted);
    margin-top: 15px;
}

/* ------------------------------------------------
    Animowane kwadraty w tle - głębszy granat jak
    kwadraty w sekcji Register w demie BLK.
------------------------------------------------ */
.index-page .squares {
    background: var(--ots-primary-dark);
    background: linear-gradient(0deg, #2b3a94 0%, var(--ots-primary-dark) 100%);
}

/* Kwadraty mają własny kontener, poza .page-header - dzięki temu nie tnie
   ich overflow nagłówka i mogą swobodnie nachodzić na kolejne sekcje.
   overflow-x: clip (a nie hidden!) przycina tylko w poziomie, żeby nie
   robić poziomego paska - przy "hidden" druga oś też zostałaby przycięta. */
.wrapper {
    position: relative;
}

.header-squares {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    z-index: 0;
    pointer-events: none;
    overflow-x: clip;
    overflow-y: visible;
}

/* Treść nagłówka nad kwadratami */
.page-header > .container {
    position: relative;
    z-index: 1;
}

/* BLK daje górnym kwadratom ujemny "top" (-21% / -12%) zakładając navbar
   fixed i nagłówek od y=0. U nas kontener zaczyna się pod navbarem, więc
   ujemne wartości chowałyby je za menu - przesuwamy do środka. */
.index-page .squares.square1 {
    top: 4%;
}

.index-page .squares.square2 {
    top: 2%;
}

/* ------------------------------------------------
    Page header / hero z banerami
------------------------------------------------ */
/* Kompaktowy nagłówek podstron - min-height w vh zostawiał ogromną
   pustą przestrzeń nad i pod tytułem. */
.page-header.page-header-mini {
    min-height: 0;
    max-height: none;
    height: auto;
    padding: 70px 0 50px;
    display: block;
    text-align: center;
}

/* ------------------------------------------------
    Intro (nagłówek strony) - etykieta, tytuł,
    opis, przyciski i pasek statystyk
------------------------------------------------ */
/* BLK pozycjonuje ".page-header .content-center" absolutnie i zwęża
   ".brand" do 47% - nagłówek nie miał przez to własnej wysokości, a treść
   nachodziła na sekcję z listą. Wracamy do normalnego przepływu. */
.page-header .page-intro__inner.content-center,
.page-header .page-intro__inner.content-center.brand {
    position: static;
    transform: none;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Etykieta nad tytułem - pigułka w kolorze akcentu */
.page-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    padding: 8px 20px;
    border: 1px solid rgba(29, 140, 248, .35);
    border-radius: 999px;
    background: rgba(29, 140, 248, .12);
    color: #9dc6ff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.page-intro__eyebrow i {
    font-size: 13px;
    color: var(--ots-primary);
}

/* Tytuł z delikatnym przejściem bieli w błękit. Rozbudowany selektor bije
   BLK-owe ".page-header .title" niezależnie od kolejności arkuszy. */
.page-header .page-intro__inner.content-center .page-intro__title {
    margin: 0 0 20px;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    background-image: linear-gradient(100deg, #ffffff 25%, #a9cdff 62%, var(--ots-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* BLK (".index-page ... .brand h3") daje capitalize i wagę 600 - opis ma
   zostać zwykłym zdaniem, więc selektor musi być od tamtego mocniejszy. */
.page-header .page-intro__inner.content-center.brand .page-intro__subtitle {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--ots-muted);
    text-transform: none;
}

.page-intro__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

.page-intro__actions .btn {
    margin: 0;
}

/* Statystyki oddzielone cienką linią - stąd bierze się "oddech"
   między opisem a listą serwerów. */
.page-intro__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 60px;
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.page-intro__stat__value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
}

.page-intro__stat__label {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--ots-muted);
}

/* Pulsująca kropka "na żywo" przy liczbie serwerów online */
.page-intro__stat__dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ots-success);
    box-shadow: 0 0 0 0 rgba(11, 163, 96, .7);
    animation: ots-pulse 2s infinite;
}

@keyframes ots-pulse {
    70% {
        box-shadow: 0 0 0 9px rgba(11, 163, 96, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(11, 163, 96, 0);
    }
}

@media (max-width: 767px) {
    .page-header.page-header-mini {
        padding: 45px 0 40px;
    }

    .page-header .page-intro__inner.content-center .page-intro__title {
        font-size: 2.3rem;
    }

    .page-header .page-intro__inner.content-center.brand .page-intro__subtitle {
        font-size: .95rem;
    }

    .page-intro__eyebrow {
        margin-bottom: 20px;
    }

    .page-intro__stats {
        gap: 22px 34px;
        margin-top: 32px;
        padding-top: 26px;
    }

    .page-intro__stat__value {
        font-size: 1.5rem;
    }
}

/* Wysokość pod treść slidera - bez min-height, które zostawiało
   pod karuzelą sporo pustego miejsca. */
.page-header.hero-header {
    min-height: 0;
    max-height: none;
    height: auto;
    padding: 35px 0 45px;
    display: block;
}

.hero-carousel {
    width: 100%;
}

.hero-carousel .hero__item {
    position: relative;
    height: 380px;
    border-radius: .2857rem;
    background-size: cover;
    background-position: center center;
    background-color: var(--ots-card);
    overflow: hidden;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .4);
}

.hero-carousel .hero__item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 30, 47, .95) 0%, rgba(30, 30, 47, .75) 45%, rgba(30, 30, 47, .15) 100%);
}

/* Romb wchodzi na slajd ~47px, więc tyle musi minąć lewy padding. */
.hero-carousel .hero__item__text {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 45px 40px 45px 80px;
}

/* --- Etykieta / tytuł / opis / przycisk - układ jak w "main" --- */
.hero-carousel .hero__item__text .label {
    display: inline-block;
    font-size: 13px;
    color: var(--ots-primary);
    background: #ffffff;
    padding: 5px 14px 3px;
    border-radius: 2px;
}

.hero-carousel .hero__item__text h2 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    line-height: 52px;
    margin-top: 35px;
    margin-bottom: 8px;
}

.hero-carousel .hero__item__text p {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 55px;
}

.hero-carousel .hero__btn {
    display: inline-flex;
    align-items: stretch;
    text-decoration: none;
}

.hero-carousel .hero__btn span {
    font-size: 13px;
    color: #ffffff;
    background: var(--ots-primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 20px;
    border-radius: 4px 0 0 4px;
}

.hero-carousel .hero__btn i {
    font-size: 18px;
    display: flex;
    align-items: center;
    background: var(--ots-primary);
    padding: 0 12px;
    color: #ffffff;
    border-radius: 0 4px 4px 0;
}

.hero-carousel .hero__btn:hover span,
.hero-carousel .hero__btn:hover i {
    background: var(--ots-primary-dark);
}

/* --- Animacja tekstu przy zmianie slajdu (wjazd z góry + fade),
       kaskadowo jak w starym szablonie --- */
.hero-carousel .hero__item__text .label,
.hero-carousel .hero__item__text h2,
.hero-carousel .hero__item__text p,
.hero-carousel .hero__btn {
    position: relative;
    top: -100px;
    opacity: 0;
}

.hero-carousel .hero__item__text .label {
    transition: all .2s;
}

.hero-carousel .hero__item__text h2 {
    transition: all .4s;
}

.hero-carousel .hero__item__text p {
    transition: all .6s;
}

.hero-carousel .hero__btn {
    transition: all .8s;
}

.hero-carousel .carousel-item.active .hero__item__text .label,
.hero-carousel .carousel-item.active .hero__item__text h2,
.hero-carousel .carousel-item.active .hero__item__text p,
.hero-carousel .carousel-item.active .hero__btn {
    top: 0;
    opacity: 1;
}

/* --- Strzałki jako romby (jak w szablonie "main") --- */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 66px;
    height: 66px;
    top: 50%;
    bottom: auto;
    margin-top: -33px;
    /* Romb wyśrodkowany na krawędzi slajdu - połowa na obrazku,
       połowa na tle strony (jak w szablonie "main"). */
    left: -33px;
    right: auto;
    background: var(--ots-bg);
    transform: rotate(45deg);
    opacity: 1;
    z-index: 5;
    color: #ffffff;
}

.hero-carousel .carousel-control-next {
    left: auto;
    right: -33px;
}

/* Kwadraty mają już własny kontener, więc nagłówek nie musi nic ciąć
   w pionie. Zostaje clip w poziomie - romby wystają poza slajd i bez
   tego skrajny mógłby wywołać poziomy pasek. */
.page-header {
    overflow-x: clip;
    overflow-y: visible;
}

/* Jaśniejszy kwadrat w środku rombu */
.hero-carousel .carousel-control-prev:after,
.hero-carousel .carousel-control-next:after {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 54px;
    width: 54px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .1);
    z-index: -1;
    transition: background .2s ease;
}

.hero-carousel .carousel-control-prev:hover:after,
.hero-carousel .carousel-control-next:hover:after {
    background: rgba(255, 255, 255, .2);
}

/* Ikona odkręcona z powrotem do poziomu */
.hero-carousel .carousel-control-prev i,
.hero-carousel .carousel-control-next i {
    transform: rotate(-45deg);
    font-size: 22px;
    display: block;
    z-index: 1;
}

/* BLK ma ".page-header .carousel .carousel-indicators { bottom: 60px }",
   więc potrzebny selektor o co najmniej takiej samej specyficzności. */
.page-header .hero-carousel .carousel-indicators {
    bottom: 12px;
    margin-bottom: 0;
    z-index: 4;
}

.hero-carousel .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .4);
    border: 0;
}

.hero-carousel .carousel-indicators li.active {
    background-color: var(--ots-primary);
}

@media (max-width: 767px) {
    /* Wysokość rośnie z treścią, żeby przycisk nie wypadał poza slajd
       przy dłuższym opisie reklamy. */
    .hero-carousel .hero__item {
        height: auto;
        min-height: 320px;
    }

    /* Dłuższe opisy skracamy do 3 linii. */
    .hero-carousel .hero__item__text p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Na wąskich ekranach romby zjadłyby całą szerokość tekstu -
       chowamy je, zostają kropki i przeciąganie palcem. */
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }

    .hero-carousel .hero__item__text {
        padding: 25px 20px 30px;
    }

    .hero-carousel .hero__item__text h2 {
        font-size: 26px;
        line-height: 34px;
        margin-top: 18px;
    }

    .hero-carousel .hero__item__text p {
        font-size: 14px;
        margin-bottom: 28px;
    }
}

/* ------------------------------------------------
    Statystyki - dekoracje tła i układ kart
------------------------------------------------ */
/* overflow-x: clip (nie hidden!) - miękka poświata okręgu wychodzi poza
   sekcję i przy "hidden" była ścinana na jej krawędzi, dając widoczny
   skok koloru dokładnie na granicy z page-header. Clip w poziomie
   chroni przed poziomym paskiem, w pionie tło może swobodnie przechodzić. */
.section-statistics {
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
}

/* Wielki, ledwo widoczny okrąg - jak w sekcjach demo BLK */
.stats-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, 0) 70%);
}

.stats-circle--1 {
    width: 1100px;
    height: 1100px;
    top: -320px;
    left: -380px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.stats-circle--2 {
    width: 780px;
    height: 780px;
    bottom: -260px;
    right: -240px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
}

/* Pływające kwadraty - ta sama animacja co na stronie głównej */
.stats-squares {
    position: absolute;
    border-radius: 20%;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(0deg, #2b3a94 0%, var(--ots-primary-dark) 100%);
}

.stats-squares--1 {
    width: 220px;
    height: 220px;
    top: 8%;
    right: 6%;
    opacity: .12;
    animation: move-left-right 7s infinite;
}

.stats-squares--2 {
    width: 120px;
    height: 120px;
    top: 46%;
    left: 3%;
    opacity: .16;
    animation: move-left-right 5s infinite;
}

.stats-squares--3 {
    width: 90px;
    height: 90px;
    bottom: 10%;
    right: 18%;
    opacity: .2;
    animation: move-left-right 9s infinite;
}

/* Treść nad dekoracjami */
.section-statistics > .container {
    position: relative;
    z-index: 1;
}

.card-stat .card-body {
    display: flex;
    flex-direction: column;
}

.stats-chart {
    max-width: 300px;
    width: 100%;
    margin: 0 auto 25px;
}

/* Kolorowy znacznik segmentu wykresu w wierszu legendy */
.stats-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 9px;
    vertical-align: middle;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
}

/* Karta pełnej szerokości: wykres obok legendy, nie pod nią */
@media (min-width: 768px) {
    .card-stat--wide .card-body {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .card-stat--wide .stats-chart {
        flex: 0 0 300px;
        margin: 0;
    }

    .card-stat--wide .stats-legend {
        flex: 1 1 auto;
    }
}

/* Legenda ma stałą maksymalną wysokość - pasek pojawia się wtedy, gdy
   treść faktycznie nie mieści się w karcie. Próg liczony w wierszach
   zawodził: 14 pozycji nie przekraczało limitu, a już się nie mieściło. */
.stats-legend {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Karty w jednym wierszu tej samej wysokości */
.card-stat {
    height: calc(100% - 30px);
}

.table-statistics {
    margin-bottom: 0;
}

.table-statistics td {
    padding: 9px 12px;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.table-statistics tr:first-child td {
    border-top: 0;
}

.table-statistics td:last-child {
    text-align: right;
    font-weight: 600;
    color: #fff;
}

.table-statistics tr:hover td {
    background-color: rgba(255, 255, 255, .04);
}

@media (max-width: 991px) {
    .stats-circle,
    .stats-squares {
        display: none;
    }
}

/* ------------------------------------------------
    Sekcje / karty
------------------------------------------------ */
.section-servers,
.section-auth,
.section-faq,
.section-account,
.section-error {
    position: relative;
    padding: 50px 0 70px;
}

.card-servers,
.card-content,
.card-account-nav {
    background-color: var(--ots-card);
    border-radius: .2857rem;
    box-shadow: 0 1px 20px 0 rgba(0, 0, 0, .1);
    margin-bottom: 30px;
}

.card-servers .card-header,
.card-content .card-header,
.card-account-nav .card-header {
    padding: 20px 20px 0;
    border-bottom: 1px solid var(--ots-border);
    padding-bottom: 15px;
}

.card-servers .card-body,
.card-content .card-body,
.card-account-nav .card-body {
    padding: 20px;
}

.section-title,
.card-title.section-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-transform: none;
}

.section-title small {
    color: var(--ots-muted);
    font-size: 13px;
    font-weight: 400;
}

.section-title h4,
.section-title h5 {
    color: #fff;
    margin: 0;
}

.empty-results {
    padding: 50px 15px;
}

.empty-results p {
    color: var(--ots-muted);
}

/* ------------------------------------------------
    Customowy scrollbar (jak w szablonie "main")
------------------------------------------------ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--ots-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ots-primary-dark);
}

::-webkit-scrollbar-track {
    background-color: #07061e;
    border-radius: 10px;
}

::-webkit-scrollbar-corner {
    background-color: #07061e;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--ots-primary) #07061e;
}

/* ------------------------------------------------
    Lista serwerów
------------------------------------------------ */
/* Jedna szerokość dla całej strony głównej - navbar, slider, lista
   i stopka mają się kończyć na tej samej linii. */
.navbar > .container,
.page-header > .container,
.section-servers > .container,
.footer > .container {
    max-width: 1720px;
    width: calc(100% - 30px);
}

/* UWAGA: nie ustawiamy tu overflow-x: auto. Gdy jedna oś przestaje być
   "visible", przeglądarka wylicza drugą jako "auto" - powstaje kontener
   przewijania i sticky w THEAD przykleja się do niego zamiast do okna.
   Tabela i tak mieści się w kontenerze na ekranach >= 992px. */
.list-table-container {
    max-width: 100%;
    overflow: visible;
}

/* Poniżej 992px tabela nie ma szans się zmieścić - tam wracamy do
   poziomego przewijania (kosztem sticky, które i tak ma tam mały sens). */
@media (max-width: 991.98px) {
    .list-table-container {
        overflow-x: auto;
    }
}

/* Szerokości kolumn listy - w CSS zamiast inline, żeby dało się je
   zwężać na węższych ekranach i uniknąć poziomego scrollbara. */
#list .col-country { width: 50px; min-width: 44px; }
#list .col-www     { width: 55px; min-width: 44px; }
#list .col-host    { width: 180px; min-width: 130px; }
#list .col-name    { width: auto; min-width: 160px; }
#list .col-online  { width: 100px; min-width: 82px; }
#list .col-uptime  { width: 70px; min-width: 56px; }
#list .col-score   { width: 70px; min-width: 52px; }
#list .col-rating  { width: 80px; min-width: 70px; }
/* Gwiazdki zajmują niemal całą szerokość swojej kolumny, więc EXP
   dostaje dodatkowy odstęp od lewej, żeby się do nich nie przyklejał. */
#list .col-exp     { width: 84px; min-width: 66px; padding-left: 20px; }
#list .col-type    { width: 60px; min-width: 46px; }
#list .col-client  { width: 60px; min-width: 50px; }

/* Na węższych ekranach zagęszczamy komórki zamiast pokazywać
   poziomy scrollbar. */
@media (max-width: 1199.98px) {
    .list-table thead th,
    .list-table tbody td {
        padding-left: 4px;
        padding-right: 4px;
    }

    .list-table tbody td {
        font-size: 12px;
    }

    .list-table thead th {
        font-size: 10px;
    }

    #list .col-host { width: 140px; }
    #list .col-name { min-width: 130px; }
    #list .col-exp { padding-left: 12px; min-width: 58px; }
}

.list-table {
    width: 100%;
    margin: 0;
    color: var(--ots-text);
    border-collapse: separate;
    border-spacing: 0;
}

.list-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background-color: var(--ots-head);
    border: 0;
    border-bottom: 1px solid var(--ots-border);
    padding: 12px 8px;
    font-size: 11px;
    letter-spacing: .4px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ots-muted);
    white-space: nowrap;
}

.list-table thead th.active,
.list-table thead th.active a {
    color: var(--ots-primary);
}

.list-table thead th a {
    color: inherit;
    text-decoration: none;
}

.list-table thead th a:hover {
    color: #fff;
}

.list-table tbody td {
    padding: 9px 8px;
    border-top: 1px solid rgba(255, 255, 255, .05);
    font-size: 13px;
    vertical-align: middle;
    color: rgba(255, 255, 255, .8);
}

.list-table thead th .material-icons,
.list-table thead th .v-icon {
    vertical-align: middle;
    font-size: 16px;
}

.list-table tbody tr {
    cursor: pointer;
    transition: background-color .2s ease;
}

.list-table tbody tr:hover {
    background-color: rgba(255, 255, 255, .05);
}

.list-table tbody tr.in-active {
    opacity: .45;
}

.list-table tbody tr.highlight {
    background-color: rgba(29, 140, 248, .12);
    box-shadow: inset 3px 0 0 0 var(--ots-primary);
}

.list-table tbody tr.highlight:hover {
    background-color: rgba(29, 140, 248, .2);
}

.list-table a {
    color: var(--ots-text);
    text-decoration: none;
}

.list-table a:hover {
    color: var(--ots-primary);
}

.list-table td.host span {
    cursor: copy;
    border-bottom: 1px dashed rgba(255, 255, 255, .25);
}

.list-table td.host span:hover {
    color: var(--ots-info);
    border-bottom-color: var(--ots-info);
}

.list-table .fi {
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
}

/* Wyróżniony wiersz ma 3px paska po lewej - bez dodatkowego odstępu
   flaga niemal go dotyka. */
.list-table thead th:first-child,
.list-table tbody td:first-child {
    padding-left: 14px;
}

/* Kolumna WWW: link wypełnia całą komórkę, żeby hover/klik łapał się na
   całym TD, a nie tylko na 16px ikonce (inaczej tooltip wiersza wygrywał). */
.list-table tbody td.col-www {
    position: relative;
    padding: 9px 8px;
}

/* inset: 0 zamiast height: 100% - w komórce tabeli procentowa wysokość
   nie ma się do czego odnieść, a wiersz bywa wyższy niż sama ikonka. */
.list-table td.col-www .server-page {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 16px;
}

/* Brak strony - komórka ma się zachowywać jak reszta wiersza (klik = serwer). */
.list-table td.col-www .server-page.empty {
    pointer-events: none;
}

/* web.svg jest już biały (fill="white") - invert robił z niego czarny. */
.list-table img.website {
    width: 16px;
    height: 16px;
    opacity: .7;
    vertical-align: top;
    pointer-events: none;
}

.list-table td.col-www:hover img.website {
    opacity: 1;
}

/* Gwiazdki (rating) */
.stars {
    width: 66px;
    white-space: nowrap;
}

.star {
    position: relative;
    display: inline-block;
    width: 11px;
    height: 12px;
    margin-right: 1px;
}

.star:before,
.star.active:after {
    position: absolute;
    top: 0;
    left: 0;
    content: "\2605";
    font-size: 12px;
    line-height: 12px;
}

.star:before {
    color: rgba(255, 255, 255, .18);
}

.star.active:after {
    color: #ffd600;
    text-shadow: 0 0 6px rgba(255, 214, 0, .55);
}

.star.active.half:after {
    width: 5px;
    overflow: hidden;
}

/* ------------------------------------------------
    Paginacja
------------------------------------------------ */
/* Nagłówek listy: przycisk wyszukiwania i górna paginacja w jednej linii */
.list__header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 15px;
}

.list__header__actions .product__pagination {
    margin: 0;
}

/* Dolna paginacja oddzielona linią, jak nagłówek karty */
.v-datatable__actions {
    display: flex;
    justify-content: flex-end;
    padding: 18px 0 0;
    margin-top: 5px;
    border-top: 1px solid var(--ots-border);
}

@media (max-width: 767px) {
    .list__header__actions {
        justify-content: flex-start;
        margin-top: 15px;
    }
}

.product__pagination {
    margin: 0;
    flex-wrap: wrap;
}

.product__pagination .page-link {
    cursor: pointer;
}

.product__pagination .page-item.active .page-link,
.product__pagination .page-link.current-page {
    background: var(--ots-primary);
    border-color: var(--ots-primary);
    color: #fff;
}

/* ------------------------------------------------
    Baner reklamowy (sidebar)
------------------------------------------------ */
.product__sidebar__view {
    display: block;
    text-decoration: none;
}

/* Karta reklamy dopasowuje się do wysokości sąsiada (Trending Now).
   Wiersz Bootstrapa jest flexem, więc kolumny są już równej wysokości -
   wystarczy rozciągnąć karty i pozwolić banerowi wypełnić resztę.
   Obraz skaluje się sam dzięki background-size: cover. */
.section-servers .row > [class*="col-"] > .card-servers {
    height: calc(100% - 30px);
}

.product__sidebar .card-body {
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.product__sidebar .product__sidebar__view {
    flex: 1 1 auto;
    display: flex;
    min-height: 0;
}

.product__sidebar__view__item {
    position: relative;
    flex: 1 1 auto;
    min-height: 170px;
    border-radius: .2857rem;
    background-size: cover;
    background-position: center center;
    background-color: var(--ots-card-soft);
    overflow: hidden;
}

.product__sidebar__view__item:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(30, 30, 47, .95) 0%, rgba(30, 30, 47, 0) 60%);
}

.product__sidebar__view__item .on,
.product__sidebar__view__item .off {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.product__sidebar__view__item .view {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    border-radius: 20px;
    padding: 3px 10px;
}

/* Baner na pełną szerokość (brak Trending Now) - niższy, żeby obraz
   nie rozciągał się na pół ekranu. */
.product__sidebar--wide .product__sidebar__view__item {
    min-height: 260px;
    max-height: 340px;
}

.product__sidebar__view__item h5 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
}

/* ------------------------------------------------
    Wyszukiwarka (modal)
------------------------------------------------ */
.search-model {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(20, 20, 33, .97);
    overflow-y: auto;
}

.search-model__inner {
    min-height: 100%;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
}

.search-model .title {
    margin-bottom: 35px;
}

.search-close-switch {
    position: absolute;
    top: 25px;
    right: 35px;
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    transition: background .2s ease;
}

.search-close-switch:hover {
    background: var(--ots-primary);
}

.search-model label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--ots-muted);
    margin-bottom: 5px;
}

/* Wiersze formularza stykały się (0px), przez co etykieta kolejnego
   wiersza wchodziła pod pole poprzedniego. */
.search-model-form .row {
    margin-bottom: 22px;
}

.search-model-form .row:last-child {
    margin-bottom: 0;
}

.search-model-form .form-group {
    margin-bottom: 0;
}

.search-model label {
    margin-bottom: 7px;
}

/* ------------------------------------------------
    Formularze / nice-select w ciemnym motywie
------------------------------------------------ */
.form-control,
textarea.form-control,
select.form-control {
    background-color: transparent;
    border-color: rgba(255, 255, 255, .2);
    color: #fff;
}

.form-control:focus {
    background-color: transparent;
    border-color: var(--ots-primary);
    color: #fff;
}

select.form-control option {
    background-color: var(--ots-card);
    color: #fff;
}

/* Ikona i pole mają tworzyć jedną ramkę. BLK zostawia boksowi z ikoną
   własny kolor (#2b3553) i białe krawędzie na styku - stąd widoczna
   różnica. Ujednolicamy kolor i kasujemy krawędź między nimi. */
.input-group .input-group-text {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--ots-muted);
}

.input-group .input-group-prepend .input-group-text {
    border-right: 0;
}

.input-group .input-group-append .input-group-text {
    border-left: 0;
}

.input-group .input-group-prepend ~ .form-control {
    border-left: 0;
    padding-left: 6px;
}

.input-group .form-control {
    border-color: rgba(255, 255, 255, .2);
}

/* Podświetlenie całej grupy, a nie samego pola.
   .input-group-focus dokłada JS z BLK. */
.input-group.input-group-focus .input-group-text,
.input-group.input-group-focus .form-control,
.input-group .form-control:focus {
    border-color: var(--ots-primary);
}

.input-group.input-group-focus .input-group-text {
    color: var(--ots-primary);
}

/* Autofill przeglądarki maluje pola na jasno (żółto/biało).
   Nie da się tego wyłączyć wprost, więc:
   - tekst wymuszamy na biały (-webkit-text-fill-color),
   - tło "zamrażamy" absurdalnie długim transition, dzięki czemu
     kolor autofillu nigdy nie zdąży się pojawić, a pole zostaje
     przezroczyste (działa na dowolnym tle - modal, karta, formularz). */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
    -webkit-background-clip: text;
    background-clip: text;
    transition: background-color 100000s ease-in-out 0s;
}

/* Firefox */
input:autofill,
textarea:autofill,
select:autofill {
    background-color: transparent;
    color: #ffffff;
    filter: none;
}

.nice-select {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .4285rem;
    color: #fff;
    height: auto;
    line-height: 1.4;
    padding: 10px 30px 10px 18px;
    width: 100%;
    font-size: .75rem;
}

.nice-select:after {
    border-bottom-color: var(--ots-muted);
    border-right-color: var(--ots-muted);
}

.nice-select.open,
.nice-select:hover {
    border-color: var(--ots-primary);
}

.nice-select .list {
    background-color: var(--ots-card);
    border-radius: .4285rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .5);
    color: #fff;
    max-height: 360px;
    overflow-y: auto;
    width: 100%;
}

.nice-select .option {
    color: #fff;
    line-height: 34px;
    min-height: 34px;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
    background-color: rgba(29, 140, 248, .2);
}

/* Wyszukiwarka wewnątrz rozwijanej listy - przyklejona do góry,
   żeby była widoczna przy przewijaniu długiej listy. */
.nice-select .nice-select-search-wrap {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 8px;
    background: var(--ots-card);
    border-bottom: 1px solid var(--ots-border);
    list-style: none;
    min-height: 0;
    line-height: normal;
}

.nice-select .nice-select-search-wrap:hover {
    background: var(--ots-card);
}

.nice-select .nice-select-search {
    width: 100%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: .2857rem;
    color: #fff;
    font-size: 13px;
    padding: 7px 12px;
    outline: none;
}

.nice-select .nice-select-search:focus {
    border-color: var(--ots-primary);
    background: rgba(255, 255, 255, .1);
}

.nice-select .nice-select-search::placeholder {
    color: var(--ots-muted);
}

.nice-select .nice-select-empty {
    padding: 12px;
    color: var(--ots-muted);
    font-size: 13px;
    text-align: center;
    list-style: none;
    cursor: default;
}

/* ------------------------------------------------
    Contact - szerszy układ, większa typografia, efekty
------------------------------------------------ */
.section-contact {
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
}

.section-contact > .container {
    position: relative;
    z-index: 1;
    max-width: 1320px;
}

.contact__intro .lead {
    font-size: 1.05rem;
    color: var(--ots-muted);
    margin-bottom: 32px;
}

.contact__points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact__points li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
    font-size: .95rem;
    color: var(--ots-muted);
    line-height: 1.6;
}

.contact__points b {
    color: #fff;
    display: block;
}

.contact__points__icon {
    flex: 0 0 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(29, 140, 248, .12);
    border: 1px solid rgba(29, 140, 248, .3);
    color: var(--ots-primary);
    font-size: 18px;
    transition: transform .25s ease, background .25s ease;
}

.contact__points li:hover .contact__points__icon {
    transform: translateY(-3px);
    background: rgba(29, 140, 248, .22);
}

/* Karta z delikatną poświatą, mocniejszą gdy formularz jest aktywny */
.card-contact {
    transition: box-shadow .35s ease, transform .35s ease;
}

.card-contact:focus-within {
    box-shadow: 0 18px 45px rgba(0, 0, 0, .45), 0 0 0 1px rgba(29, 140, 248, .35);
    transform: translateY(-2px);
}

/* Większe napisy w formularzach */
.contact__form label,
.form label {
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.contact__form label small,
.form label small {
    color: var(--ots-muted);
    font-size: 12px;
    font-weight: 400;
}

.card-contact .form-control {
    font-size: 15px;
    padding: 12px 16px;
    height: auto;
}

.card-contact .input-group-text {
    font-size: 16px;
}

.card-contact textarea.form-control {
    line-height: 1.6;
}

/* Podświetlenie aktywnego pola */
.card-contact .form-control:focus {
    border-color: var(--ots-primary);
    box-shadow: 0 0 0 3px rgba(29, 140, 248, .18);
}

.card-contact .card-header .title {
    font-size: 1.5rem;
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.captcha-group .captcha,
.contact__form img.captcha,
.card-register img.captcha {
    border-radius: .2857rem;
}

.captcha-group .form-control {
    flex: 1 1 180px;
    margin: 0;
}

.forget_pass {
    font-size: 13px;
}

/* ------------------------------------------------
    Konto
------------------------------------------------ */
.card-account-nav .nav-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--ots-muted);
    padding: 15px 12px 6px;
}

.card-account-nav .nav-link {
    color: var(--ots-muted);
    padding: 9px 12px;
    border-radius: .2857rem;
    font-size: 13px;
}

.card-account-nav .nav-link i {
    margin-right: 8px;
}

.card-account-nav .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, .05);
}

.card-account-nav .nav-link.active {
    color: #fff;
    background-color: rgba(29, 140, 248, .18);
    box-shadow: inset 3px 0 0 0 var(--ots-primary);
}

.divider {
    height: 1px;
    background: var(--ots-border);
    margin: 12px 0;
}

/* ------------------------------------------------
    FAQ - hero z wyszukiwarką
------------------------------------------------ */
.section-faq-hero {
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    padding: 70px 0 50px;
}

.section-faq-hero > .container {
    position: relative;
    z-index: 1;
}

.faq__hero__text {
    border-left: 3px solid var(--ots-primary);
    padding-left: 25px;
}

.faq__eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ots-primary);
    background: rgba(29, 140, 248, .12);
    border: 1px solid rgba(29, 140, 248, .3);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 20px;
}

.faq__title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 18px;
}

.section-faq-hero .lead {
    font-size: 1.05rem;
    color: var(--ots-muted);
    margin-bottom: 28px;
    max-width: 520px;
}

.faq__hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.faq__search .input-group {
    box-shadow: 0 12px 35px rgba(0, 0, 0, .35);
    border-radius: .4285rem;
}

.faq__search .form-control {
    font-size: 15px;
    padding: 14px 16px;
    height: auto;
}

.faq__search .input-group-text {
    font-size: 18px;
}

.faq__search__count {
    margin-top: 10px;
    font-size: 13px;
    color: var(--ots-muted);
    min-height: 18px;
    text-align: right;
}

.section-faq {
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    padding: 10px 0 80px;
}

.section-faq > .container {
    position: relative;
    z-index: 1;
}

/* Brak wyników wyszukiwania */
.faq__empty {
    text-align: center;
    padding: 55px 20px;
}

.faq__empty i {
    font-size: 40px;
    color: var(--ots-primary);
    margin-bottom: 18px;
    display: block;
}

.faq__empty h4 {
    color: #fff;
    margin-bottom: 8px;
}

.faq__empty p {
    color: var(--ots-muted);
    margin-bottom: 22px;
}

@media (max-width: 991px) {
    .faq__title {
        font-size: 2.2rem;
    }

    .section-faq-hero {
        padding: 45px 0 30px;
    }

    .faq__search {
        margin-top: 35px;
    }

    .faq__search__count {
        text-align: left;
    }
}

/* ------------------------------------------------
    FAQ / akordeon
------------------------------------------------ */
.accordion .accordion-item {
    border-bottom: 1px solid var(--ots-border);
}

.accordion button {
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    padding: 18px 45px 18px 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
}

.accordion button:hover,
.accordion button:focus {
    color: var(--ots-primary);
}

.accordion button .icon {
    display: inline-block;
    position: absolute;
    top: 22px;
    right: 5px;
    width: 22px;
    height: 22px;
    border: 1px solid var(--ots-border);
    border-radius: 50%;
}

.accordion button .icon::before {
    display: block;
    position: absolute;
    content: "";
    top: 9px;
    left: 5px;
    width: 10px;
    height: 2px;
    background: currentColor;
}

.accordion button .icon::after {
    display: block;
    position: absolute;
    content: "";
    top: 5px;
    left: 9px;
    width: 2px;
    height: 10px;
    background: currentColor;
    transition: transform .2s ease;
}

.accordion button[aria-expanded="true"] {
    color: var(--ots-primary);
}

.accordion button[aria-expanded="true"] .icon::after {
    width: 0;
}

.accordion button[aria-expanded="true"] + .accordion-content {
    opacity: 1;
    max-height: 60em;
    transition: all 300ms linear;
}

.accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
}

.accordion .accordion-content p {
    color: var(--ots-muted);
    padding-bottom: 18px;
    font-size: 14px;
}

/* ------------------------------------------------
    Odznaki statusów - mocniejsze kolory niż pastele BLK
------------------------------------------------ */
.badge-success {
    background-color: var(--ots-success);
    color: #ffffff;
}

.badge-success[href]:hover,
.badge-success[href]:focus {
    background-color: #09854f;
}

.badge-danger {
    background-color: var(--ots-danger);
}

.badge-danger[href]:hover,
.badge-danger[href]:focus {
    background-color: #c31f0b;
}

.badge-warning {
    background-color: var(--ots-warning);
}

.badge-warning[href]:hover,
.badge-warning[href]:focus {
    background-color: #c47308;
}

/* ------------------------------------------------
    Szczegóły serwera (/show)
------------------------------------------------ */
.section-server-head {
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    padding: 55px 0 35px;
}

.section-server-head > .container {
    position: relative;
    z-index: 1;
}

.server__title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.2;
}

.server__title .fi {
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .2);
    vertical-align: middle;
    margin-right: 10px;
}

.server__title small {
    font-size: 1rem;
    font-weight: 400;
}

/* Odznaki w jednej linii, zawijane dopiero przy braku miejsca */
.server__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

/* inline-flex + stała wysokość, żeby odznaka z ikoną nie była wyższa */
.server__badges .badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    font-size: 11px;
    padding: 0 12px;
    margin: 0;
    line-height: 1;
    text-transform: none;
    letter-spacing: .3px;
}

.server__badges .badge-neutral {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.server__badges .server__badges__host {
    cursor: copy;
}

.server__badges .server__badges__host:hover {
    background: rgba(29, 140, 248, .25);
}

.server__badges a.badge {
    color: #fff;
    text-decoration: none;
    gap: 8px;
    transition: background-color .2s ease;
}

.server__badges a.badge img {
    width: 13px;
    height: 13px;
    opacity: .8;
    transition: opacity .2s ease;
}

/* Ikona jest biała, a BLK na hover daje ".badge-neutral[href]" prawie białe
   tło (#e6e6e6) - ikona znikała. Selektor musi przebić tamtą regułę
   specyficznością, stąd dodatkowe [href]. */
.server__badges a.badge[href]:hover,
.server__badges a.badge[href]:focus {
    background-color: rgba(29, 140, 248, .35);
    color: #fff;
}

.server__badges a.badge[href]:hover img {
    opacity: 1;
}

.server__rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.server__rating .stars {
    width: auto;
}

.server__rating .star {
    width: 16px;
    height: 18px;
    margin-right: 3px;
}

.server__rating .star:before,
.server__rating .star.active:after {
    font-size: 18px;
    line-height: 18px;
}

.server__rating .star.active.half:after {
    width: 8px;
}

.server__rating__text {
    color: var(--ots-muted);
    font-size: 13px;
}

.server__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.section-server-details {
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    padding: 10px 0 70px;
}

/* Tło pod opisem: dwa miękkie kształty BLK + rozświetlenie.
   Kontener przycina tylko w poziomie, więc kształty nie wydłużają strony. */
.server__description {
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    padding: 30px 0;
}

/* Full-bleed: warstwa wychodzi z kontenera na pełną szerokość okna. */
/* Warstwa jest rozciągnięta poza wiersz i domknięta overflow: hidden -
   tak samo robi BLK w swoich sekcjach. Bez tego kształty wychodzące
   poza dół wydłużały stronę o kilkadziesiąt pikseli. */
.server__description__bg {
    position: absolute;
    top: -70px;
    bottom: -70px;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.server__description__bg .path {
    opacity: .05;
    max-width: none;
    max-height: none;
    z-index: 0;
    right: -8%;
    top: -45%;
    width: 55%;
}

.server__description__bg .path.path1 {
    right: auto;
    left: -6%;
    top: auto;
    bottom: -45%;
    width: 38%;
}

.server__description__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 180%;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(29, 140, 248, .1) 0%, rgba(29, 140, 248, 0) 62%);
}

.server__description > .col-12 {
    position: relative;
    z-index: 1;
}

/* Lista parametrów w kartach */
.server__info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.server__info li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: 13px;
}

.server__info li:last-child {
    border-bottom: 0;
}

.server__info li span {
    color: var(--ots-muted);
}

.server__info li b {
    color: #fff;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.card-server-info {
    height: calc(100% - 30px);
}

/* Wykres graczy online - jak "Performance" w demie BLK */
.card-chart .card-header .line-primary {
    background: var(--ots-primary);
    border: 0;
    height: 2px;
    width: 45px;
    margin: 0 0 15px;
}

.card-chart .card-category {
    color: var(--ots-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 4px;
}

.card-chart .card-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
}

.card-chart .chart-area {
    position: relative;
    height: 300px;
    width: 100%;
}

.section-server-details .description {
    color: rgba(255, 255, 255, .8);
    line-height: 1.7;
}

.section-server-details .description img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .server__title {
        font-size: 1.7rem;
    }

    .server__actions {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

/* ------------------------------------------------
    Zgodność ze starymi klasami szablonu "main"
------------------------------------------------ */
.spad {
    padding-top: 50px;
    padding-bottom: 50px;
}

section.error-page,
section.account,
section.statistics,
section.faq,
section.anime-details,
section.login,
section.product {
    padding: 50px 0 70px;
    color: var(--ots-text);
}

.error-page h1,
.error-page h3,
.error-page p {
    color: #fff;
}

.site-btn,
.cta-btn,
.primary-btn,
.watch-btn,
.follow-btn {
    display: inline-block;
    border: 0;
    cursor: pointer;
    padding: 11px 23px;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.35;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    border-radius: .2857rem;
    background-image: linear-gradient(to bottom left, #1d8cf8, #3358f4, #1d8cf8);
    background-size: 210% 210%;
    background-position: top right;
    transition: all .15s ease;
}

.site-btn:hover,
.cta-btn:hover,
.primary-btn:hover,
.watch-btn:hover,
.follow-btn:hover {
    color: #fff;
    text-decoration: none;
    background-position: bottom left;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px rgba(29, 140, 248, .4);
}

.input__item {
    position: relative;
    margin-bottom: 18px;
}

.input__item input,
.input__item textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .4285rem;
    color: #fff;
    padding: 10px 40px 10px 18px;
    font-size: .75rem;
}

.input__item input:focus,
.input__item textarea:focus {
    border-color: var(--ots-primary);
    outline: none;
}

.input__item span {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ots-muted);
}

.contact__form textarea,
.form textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .4285rem;
    color: #fff;
    padding: 12px 18px;
    font-size: .75rem;
}

.take-info,
.take-ownership {
    background-color: rgba(29, 140, 248, .12);
    border: 1px solid rgba(29, 140, 248, .35);
    border-radius: .2857rem;
    padding: 18px 20px;
    margin-bottom: 25px;
}

.take-info h4 {
    color: var(--ots-info);
    margin-top: 0;
}

/* Szczegóły serwera (show.php) */
.anime__details__content,
.anime__details__widget,
.anime__details__sidebar,
.anime__details__review,
.anime__details__form,
.panel,
.list-container {
    background-color: var(--ots-card);
    border-radius: .2857rem;
    padding: 25px;
    margin-bottom: 30px;
}

.anime__details__pic {
    border-radius: .2857rem;
    background-size: cover;
    background-position: center;
    min-height: 320px;
}

.anime__details__title h3,
.anime__details__title span,
.panel__title {
    color: #fff;
}

.anime__details__title span {
    color: var(--ots-muted);
    font-size: 13px;
}

.anime__details__widget span {
    color: var(--ots-muted);
}

.anime__review__item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--ots-border);
}

.anime__review__item__pic img {
    border-radius: 50%;
    max-width: 55px;
}

.anime__review__item__text h6 {
    color: #fff;
}

.anime__review__item__text p {
    color: var(--ots-muted);
    margin: 0;
}

.list-header,
.table__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ots-border);
}

.list-header {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .4px;
    color: var(--ots-muted);
}

.table__cell {
    flex: 1;
}

/* Statystyki */
.table-statistics,
.table.table-dark {
    color: var(--ots-text);
    background-color: transparent;
}

.table-statistics td,
.table.table-dark td,
.table.table-dark th {
    border-color: var(--ots-border);
}

.table.table-dark.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, .05);
    color: #fff;
}

.chart-container {
    position: relative;
    margin-bottom: 30px;
}

/* ------------------------------------------------
    Panel konta - nagłówek podstrony i kafle statystyk
    (widoki account_* przeniesione ze starego szablonu "main")
------------------------------------------------ */
.row.fluid.header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 0;
}

.row.fluid.header .label > span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--ots-muted);
}

.row.fluid.header .label h2 {
    margin: 2px 0 0;
    font-size: 1.6rem;
    color: var(--ots-text);
}

/* Kontrolkę zawija nice-select, więc szerokość ustawiamy na wrapperze. */
.server-switch .nice-select {
    min-width: 190px;
}

.overview-section-title {
    margin: 0 0 18px;
    font-size: 1.05rem;
    color: var(--ots-text);
}

.overview-empty {
    color: var(--ots-muted);
    margin: 0;
}

.overview-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.overview-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.overview-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
    display: flex;
    flex-direction: column;
    background-color: var(--ots-card-soft);
    border: 1px solid var(--ots-border);
    border-radius: .4285rem;
    padding: 18px 20px;
    min-width: 0;
}

.stat-card__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--ots-muted);
}

.stat-card__title {
    font-size: 13px;
    color: var(--ots-text);
    margin-top: 2px;
}

.stat-card__value {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--ots-text);
    margin-top: 4px;
}

.stat-card__value--muted {
    color: var(--ots-muted);
    cursor: help;
}

/* Sparkline dostaje stałą wysokość - canvas bez niej kolapsuje do 0px
   i wykres jest niewidoczny. */
.stat-card__chart {
    position: relative;
    height: 90px;
    margin: 10px -8px -6px;
}

.stat-card--compact .stat-card__value {
    font-size: 1.6rem;
}

.stat-card--ring {
    align-items: center;
    text-align: center;
}

.stat-card__ring {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 14px 0 10px;
}

.stat-card__ring-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.stat-card__ring-value b {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ots-text);
}

.stat-card__ring-value small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--ots-muted);
}

.stat-card__ring--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--ots-border);
    border-radius: 50%;
    color: var(--ots-muted);
    font-size: 12px;
}

.stat-card__foot {
    font-size: 12px;
    color: var(--ots-muted);
}

.stat-card__foot b {
    color: var(--ots-text);
    font-weight: 600;
}

/* ------------------------------------------------
    Panel konta - lista serwerów
------------------------------------------------ */
.server-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.server-list__head,
.server-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px 120px 80px;
    align-items: center;
    gap: 15px;
}

.server-list__head {
    padding: 0 16px 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--ots-muted);
}

.server-row {
    background-color: var(--ots-card-soft);
    border: 1px solid var(--ots-border);
    border-radius: .4285rem;
    padding: 14px 16px;
    transition: border-color .2s ease, background-color .2s ease;
}

.server-row:hover {
    background-color: rgba(255, 255, 255, .05);
    border-color: rgba(29, 140, 248, .4);
}

.server-row__name {
    color: var(--ots-text);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s ease;
}

/* Podświetlenie nazwy jedzie z hoverem całego wiersza, nie samego linku -
   inaczej kafel reaguje, a nazwa dopiero po trafieniu w tekst. */
.server-row:hover .server-row__name,
.server-row__name:focus {
    color: var(--ots-primary);
}

.server-row__date {
    font-size: 12px;
    color: var(--ots-muted);
}

/* Widoczna tylko na wąskich ekranach, gdzie znika nagłówek kolumn. */
.server-row__date-label {
    display: none;
}

.server-list__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.server-row__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--ots-muted);
    font-size: 13px;
    transition: color .2s ease, background-color .2s ease;
}

.server-row__action:hover,
.server-row__action:focus {
    color: var(--ots-primary);
    background-color: rgba(29, 140, 248, .15);
}

.server-row__action--danger:hover,
.server-row__action--danger:focus {
    color: var(--ots-danger);
    background-color: rgba(236, 37, 13, .15);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.status-badge--online {
    color: #4be3a8;
    background-color: rgba(11, 163, 96, .2);
}

.status-badge--offline {
    color: #ff8f80;
    background-color: rgba(236, 37, 13, .2);
}

.status-badge--archive {
    color: #ffb85c;
    background-color: rgba(232, 137, 12, .2);
}

.status-badge--soon {
    color: #7cbcff;
    background-color: rgba(29, 140, 248, .2);
}

/* Neutralna odmiana - etykiety, które nie niosą statusu (np. typ reklamy). */
.status-badge--type {
    color: rgba(255, 255, 255, .8);
    background-color: rgba(255, 255, 255, .1);
}

/* ------------------------------------------------
    Panel konta - kontenery, tabele, formularze
------------------------------------------------ */
/* Kontener podstron konta siedzi już wewnątrz .card-content, a miał to samo
   tło co karta - był więc niewidoczny i tylko dokładał 25px paddingu. */
.list-container {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

/* Wydzielona sekcja wewnątrz podstrony konta (tabele, komunikaty). */
.account-panel,
.list-container .panel {
    background-color: var(--ots-card-soft);
    border: 1px solid var(--ots-border);
    border-radius: .4285rem;
    padding: 20px;
    margin-bottom: 25px;
}

.account-panel > :last-child,
.list-container .panel > :last-child {
    margin-bottom: 0;
}

/* Callout: stan konta, przykłady reklam, ostrzeżenia płatnicze.
   BLK trzyma .info w 360px i centruje (max-width + margin: auto) - to układ
   pod kafelki na landingu, tu callout ma iść przez całą szerokość. */
.info {
    max-width: none;
    background-color: rgba(29, 140, 248, .1);
    border: 1px solid rgba(29, 140, 248, .3);
    border-radius: .4285rem;
    padding: 18px 20px;
    margin: 0 0 25px;
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    line-height: 1.6;
}

/* BLK rezerwuje w pierwszym .info miejsce na grafikę hero:
     @media (min-width: 768px)    .info:first-of-type { padding-top: 60% }
     @media (max-width: 991.98px) .info:first-of-type { padding-top: 10% !important }
   To procent szerokości kontenera, więc callout dostawał kilkaset pikseli
   pustki nad tekstem. Wyższa specyficzność + !important, żeby przebić oba. */
.info:first-of-type {
    padding-top: 18px !important;
}

/* Na niebieskim tle pełne --ots-danger jest zbyt ciemne - ten sam jaśniejszy
   czerwony co w pigułkach statusów. */
.info .color-red {
    color: #ff8f80;
}

.info h4 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    color: var(--ots-text);
}

.info a {
    color: var(--ots-primary);
    font-weight: 600;
}

.info img {
    max-width: 100%;
    height: auto;
    border-radius: .2857rem;
}

/* .list-table jest projektowana pod pełnoekranową listę serwerów - w panelu
   konta nie chcemy przyklejonego nagłówka ani kursora "pointer" na wierszach. */
.account-panel .list-table thead th,
.list-container .panel .list-table thead th {
    position: static;
    background-color: transparent;
}

.account-panel .list-table tbody tr,
.list-container .panel .list-table tbody tr {
    cursor: default;
}

.account-panel .list-table tbody tr:hover,
.list-container .panel .list-table tbody tr:hover {
    background-color: rgba(255, 255, 255, .03);
}

.account-panel .list-table td,
.list-container .panel .list-table td {
    white-space: nowrap;
}

.text--right {
    text-align: right;
}

.text--center {
    text-align: center;
}

.panel__title,
.form-section-title {
    margin: 0 0 16px;
    font-size: 1.05rem;
    color: var(--ots-text);
}

.form-section-title {
    margin-top: 30px;
}

/* Wiersz-link (wybór typu reklamy, metody płatności) - ten sam kafel co
   .server-row, ale z inną siatką kolumn. */
.server-row--link {
    grid-template-columns: minmax(0, 1fr) auto 20px;
}

.server-row--link > .tim-icons,
.payment-method > .tim-icons {
    color: var(--ots-muted);
    font-size: 13px;
    transition: color .2s ease, transform .2s ease;
}

.server-row--link:hover > .tim-icons,
.payment-method:hover > .tim-icons {
    color: var(--ots-primary);
    transform: translateX(3px);
}

.server-row__price {
    text-align: right;
    font-size: 13px;
    color: var(--ots-muted);
}

.server-row__price b {
    color: var(--ots-text);
    font-weight: 600;
}

.server-row__price small {
    display: block;
    font-size: 11px;
}

/* Wygasłe reklamy - przygaszone, ale wciąż czytelne (stary szablon dawał
   opacity .3, przy którym tekstu praktycznie nie było widać). */
.in-active {
    opacity: .55;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--ots-card-soft);
    border: 1px solid var(--ots-border);
    border-radius: .4285rem;
    padding: 18px 20px;
    transition: border-color .2s ease, background-color .2s ease;
}

.payment-method:hover {
    background-color: rgba(255, 255, 255, .05);
    border-color: rgba(29, 140, 248, .4);
}

.payment-method__body {
    flex: 1;
    min-width: 0;
}

.payment-method__body strong {
    display: block;
    color: var(--ots-text);
    font-weight: 600;
}

.payment-method__body small {
    color: var(--ots-muted);
    font-size: 12px;
}

.advertisment-cost {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 20px;
    margin-top: 25px;
    background-color: rgba(29, 140, 248, .1);
    border: 1px solid rgba(29, 140, 248, .3);
    border-radius: .4285rem;
    color: var(--ots-muted);
    font-size: 13px;
}

.advertisment-cost strong {
    font-size: 1.15rem;
    color: var(--ots-text);
}

.payment-result {
    text-align: center;
}

.payment-result h4 {
    margin: 0 0 10px;
    color: var(--ots-text);
}

.payment-result p,
.payment-result li {
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    line-height: 1.7;
}

.payment-result ul {
    display: inline-block;
    text-align: left;
    margin: 0 0 15px;
    padding-left: 18px;
}

.payment-result a {
    color: var(--ots-primary);
    font-weight: 600;
}

.payment-result__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 20px;
    margin-bottom: 15px;
}

.payment-result--success .payment-result__icon {
    color: #4be3a8;
    background-color: rgba(11, 163, 96, .18);
}

.payment-result--failed .payment-result__icon {
    color: #ff8f80;
    background-color: rgba(236, 37, 13, .18);
}

/* Bootstrapowe .row ma -15px marginesu, przez co pola wychodziły poza
   padding panelu. Zwężamy rynny do 8px i odzyskujemy równy margines. */
.account-panel .form > .row {
    margin-left: -8px;
    margin-right: -8px;
}

.account-panel .form > .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

/* Odstępy pól - stary szablon opierał je na <br><br>. */
.form .input,
.form .form-group {
    margin-bottom: 18px;
}

.form .input > label,
.form .form-group > label {
    margin-bottom: 6px;
}

.form-control.warning,
.form-control.warning:focus {
    border-color: var(--ots-danger);
}

/* Checkboxy: etykieta obok pola, nie pod nim. */
.form .input > input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
    accent-color: var(--ots-primary);
}

.form .input > input[type="checkbox"] + label {
    display: inline;
    margin-bottom: 0;
    cursor: pointer;
    vertical-align: middle;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 25px;
}

/* Stare klasy przycisków ze szablonu "main" - w BLK nie istnieją, więc
   renderowały się jako szary prostokąt. */
.site-btn,
.btn.primary {
    display: inline-block;
    border: 0;
    border-radius: 30px;
    padding: 11px 24px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #fff;
    background-image: linear-gradient(to bottom left, #1d8cf8, #3358f4, #1d8cf8);
    background-size: 210% 210%;
    background-position: top right;
    transition: background-position .2s ease, box-shadow .2s ease;
    cursor: pointer;
}

.site-btn:hover,
.site-btn:focus,
.btn.primary:hover,
.btn.primary:focus {
    color: #fff;
    background-position: bottom left;
    box-shadow: 0 4px 20px rgba(29, 140, 248, .35);
}

@media (max-width: 767px) {
    .overview-grid--2,
    .overview-grid--3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .server-list__head {
        display: none;
    }

    .account-panel,
    .list-container .panel {
        padding: 15px;
    }

    /* Tabele płatności nie zmieszczą się w kolumnie na telefonie. */
    .account-panel .list-table,
    .list-container .panel .list-table {
        display: block;
        overflow-x: auto;
    }

    .server-row {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 8px;
    }

    .server-row__name {
        white-space: normal;
    }

    .server-row__date-label {
        display: inline;
    }
}

/* Kolory statusów używane w widokach account_* i na listach serwerów. */
.color-red {
    color: var(--ots-danger);
}

.color-green {
    color: var(--ots-success);
}

.color-orange {
    color: var(--ots-warning);
}

.color-yellow {
    color: #ffc107;
}

/* Bannery reklamowe w panelu konta */
.banner,
.preview {
    border-radius: .2857rem;
    overflow: hidden;
}

.price {
    color: var(--ots-primary);
    font-weight: 600;
}

.soon,
.ep,
.comment,
.view {
    font-size: 12px;
}

/* ------------------------------------------------
    Alerty / powiadomienia
------------------------------------------------ */
/* BLK daje alertom jasne pastele (róż #fd77a4, mięta #29f4cd) i wypełnia je
   tekstem w niemal tym samym odcieniu co tło - komunikaty były nieczytelne.
   Bierzemy ciemną bazę karty + półprzezroczysty tint w kolorze statusu,
   biały tekst i wyraźną krawędź z lewej. Baza jest nieprzezroczysta, więc
   alert wygląda tak samo w karcie, na stronie i w powiadomieniu. */
.alert,
.alert.alert-simple {
    color: var(--ots-text);
    background-color: var(--ots-card-soft);
    border: 1px solid var(--ots-border);
    border-left: 3px solid var(--ots-muted);
    border-radius: .2857rem;
}

.alert .alert-link,
.alert a {
    color: var(--ots-text);
    font-weight: 600;
    text-decoration: underline;
}

.alert .start-icon {
    margin-right: 8px;
}

.alert .close {
    color: var(--ots-text);
    opacity: .6;
    text-shadow: none;
}

.alert .close:hover,
.alert .close:focus {
    color: var(--ots-text);
    opacity: 1;
}

/* Selektory podwójne (.alert.alert-*), bo BLK ma własne .alert.alert-success
   o wyższej specyficzności. */
.alert.alert-danger {
    background-image: linear-gradient(0deg, rgba(236, 37, 13, .28), rgba(236, 37, 13, .28));
    border-color: rgba(236, 37, 13, .45);
    border-left-color: var(--ots-danger);
}

.alert.alert-warning {
    background-image: linear-gradient(0deg, rgba(232, 137, 12, .28), rgba(232, 137, 12, .28));
    border-color: rgba(232, 137, 12, .45);
    border-left-color: var(--ots-warning);
}

.alert.alert-success {
    background-color: var(--ots-card-soft);
    background-image: linear-gradient(0deg, rgba(11, 163, 96, .28), rgba(11, 163, 96, .28));
    border-color: rgba(11, 163, 96, .45);
    border-left-color: var(--ots-success);
}

.alert.alert-primary,
.alert.alert-info {
    background-image: linear-gradient(0deg, rgba(29, 140, 248, .28), rgba(29, 140, 248, .28));
    border-color: rgba(29, 140, 248, .45);
    border-left-color: var(--ots-primary);
}

.alert.alert-dark,
.alert.alert-default,
.alert.alert-secondary {
    background-image: none;
    border-color: var(--ots-border);
    border-left-color: var(--ots-muted);
}

#toast-container > div {
    opacity: 1;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .5);
}

.opentip-container .opentip {
    font-size: 12px;
}

/* ------------------------------------------------
    Debug bar
------------------------------------------------ */
.debug-bar {
    z-index: 100000;
}

/* ------------------------------------------------
    Drobiazgi responsywne
------------------------------------------------ */
@media (max-width: 991px) {
    .section-servers,
    .section-auth,
    .section-faq,
    .section-account,
    .section-error {
        padding: 30px 0 50px;
    }

    .v-datatable__actions {
        justify-content: center;
    }

    .search-close-switch {
        top: 15px;
        right: 15px;
    }
}

/* ------------------------------------------------
    Kontrast i głębia (2026-08-05)
    BLK domyślnie używa cienkich fontów (Poppins 300/100)
    i płaskich, półprzezroczystych kart - na ciemnym tle
    wygląda to "rozmyto" i spłowiale. Podnosimy wagę fontów,
    kontrast tekstu i głębię kart.
----------------------------------------------- */
p,
li,
td,
th,
a,
label,
.form-control,
.description,
.card-description,
.footer-big p,
.card .footer .stats {
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.title,
.card-title,
.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6 {
    font-weight: 600;
    color: #fff;
}

.card .card-header .card-title {
    font-weight: 700;
    color: #fff;
}

.card .card-body .card-title {
    font-weight: 600;
    color: #fff;
}

.card p {
    color: rgba(255, 255, 255, .92);
}

a,
.list-table a {
    font-weight: 500;
}

.description,
.card-description,
.category,
.card-category,
.footer-big p,
.card .footer .stats {
    color: rgba(255, 255, 255, .75);
}

.card label {
    color: rgba(255, 255, 255, .78);
}

/* Karty - wyraźniejsza krawędź i większy cień = głębia */
.card,
.card-servers,
.card-content,
.card-account-nav {
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .5), 0 2px 10px rgba(0, 0, 0, .35);
}

.card.card-plain {
    border: 0;
    box-shadow: none;
}

.card .card-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0));
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding-bottom: 15px;
}

/* Lista serwerów - jaśniejsze separatory i hover */
.list-table tbody td {
    border-top: 1px solid rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .92);
}

.list-table tbody tr:hover {
    background-color: rgba(255, 255, 255, .08);
}

.list-table thead th {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

.table-statistics tr:hover td {
    background-color: rgba(255, 255, 255, .08);
}
