html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    color: #e8eef6;
    background:
        radial-gradient(circle at top, rgba(57, 190, 255, 0.16), transparent 34%),
        linear-gradient(180deg, #15181d 0%, #1d2127 42%, #24272b 100%);
    font-family: "Inter", sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
}

.container,
.container-fluid,
.row,
.col-lg-12 {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1180px;
}

.avatar {
    margin-bottom: 6px;
    margin-right: 8px;
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.avatar-name,
.avatar-name a {
    color: #f4f8ff;
    font-weight: 600;
}

.avatar-name-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.litebans-header {
    display: block;
    margin: 38px 0 26px;
    padding: 28px 24px !important;
    text-align: center;
    color: #ffffff;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 28px !important;
    background:
        linear-gradient(135deg, rgba(57, 190, 255, 0.16), rgba(57, 190, 255, 0.05)),
        rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
}

.litebans-header::before {
    content: "DarkHeaven";
    display: block;
    margin-bottom: 10px;
    color: #8edcff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px 0;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 22, 28, 0.86) !important;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.navbar .container {
    gap: 18px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.navbar-brand::before {
    content: none;
}

.navbar-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 7px;
    border: 1px solid rgba(57, 190, 255, 0.22);
    border-radius: 14px;
    background: rgba(57, 190, 255, 0.1);
    box-shadow: 0 0 16px rgba(57, 190, 255, 0.14);
}

.navbar-brand-mark img {
    display: block;
    width: 100%;
    height: auto;
}

.navbar-brand-text {
    display: inline-block;
}

.navbar-nav .nav-item {
    margin-right: 8px;
}

.navbar-nav .nav-link,
.my-lg-0 a {
    color: #c7d2df !important;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.navbar-nav .nav-link:hover,
.my-lg-0 a:hover,
.navbar-active .nav-link {
    color: #ffffff !important;
}

.navbar-active .nav-link {
    position: relative;
}

.navbar-active .nav-link::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: -2px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #39beff 0%, #7edcff 100%);
}

.my-lg-0 {
    font-weight: 700;
}

.my-lg-0 a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid rgba(57, 190, 255, 0.22);
    border-radius: 999px;
    background: rgba(57, 190, 255, 0.08);
}

.jumbotron,
.modal-header,
.table,
.alert,
.litebans-check-output {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.jumbotron {
    margin-top: 6px;
    padding: 44px 32px;
    text-align: center;
}

.litebans-index-main {
    color: #ffffff;
    font-weight: 800;
}

.litebans-index-sub {
    color: #aebccd;
    font-weight: 400;
}

.litebans-check {
    text-align: left;
}

.litebans-check-form {
    width: 100%;
    margin: 0 0 18px;
    padding: 22px 22px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.litebans-check-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.litebans-check-form .form-group {
    flex: 1 1 280px;
    margin-bottom: 0;
}

.litebans-check-btn {
    margin-left: 0;
}

.litebans-check-output {
    width: 100%;
    margin-left: 0;
    padding: 16px 18px;
}

input.form-control,
select.form-control,
.form-control {
    height: 48px;
    color: #f3f8ff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

input.form-control::placeholder,
textarea.form-control::placeholder {
    color: #97a7ba;
}

input.form-control:focus,
select.form-control:focus,
.form-control:focus {
    color: #ffffff;
    border-color: rgba(57, 190, 255, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(57, 190, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.btn,
button,
input[type="submit"] {
    border-radius: 14px !important;
}

.btn-primary,
.btn-secondary,
button.btn,
input[type="submit"] {
    color: #ffffff !important;
    border: 1px solid rgba(57, 190, 255, 0.42) !important;
    background: linear-gradient(135deg, rgba(57, 190, 255, 0.88), rgba(57, 190, 255, 0.62)) !important;
    box-shadow: 0 12px 24px rgba(57, 190, 255, 0.18);
}

.btn-primary:hover,
.btn-secondary:hover,
button.btn:hover,
input[type="submit"]:hover {
    filter: brightness(1.08);
}

table.table {
    margin: 18px 0 26px;
    overflow: hidden;
    color: #e6edf6;
}

th {
    color: #f8fbff;
    text-align: center;
    border-top: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(57, 190, 255, 0.08);
}

table tr td {
    padding-left: 0;
    padding-right: 0;
    vertical-align: middle !important;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: transparent !important;
}

table tr:hover td {
    background: rgba(255, 255, 255, 0.025) !important;
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

a {
    color: #8edcff;
}

a:hover {
    color: #bcebff;
}

tr.hover {
    cursor: pointer;
}

p {
    margin-top: 2px;
}

.badge,
.badge-pill {
    font-weight: 700;
    border-radius: 999px;
}

.badge-secondary {
    color: #ffffff;
    background: rgba(57, 190, 255, 0.24);
}

.litebans-label-container {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.litebans-label-info {
    margin-left: 0;
    padding: 7px 12px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 999px;
}

.litebans-label-inactive {
    color: #fff;
    background-color: #f7a53a;
}

.litebans-label-expired {
    color: #fff;
    background-color: #6c7887;
}

.litebans-label-active,
.litebans-label-permanent,
.litebans-label-ipban,
.litebans-label-ipmute {
    color: #fff;
    background-color: #e76060;
}

.litebans-label-history {
    display: inline;
    padding: 7px 12px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 999px;
}

.litebans-label-ban {
    background-color: #a63a3a;
}

.litebans-label-mute {
    background-color: #5b6776;
}

.litebans-label-warn {
    background-color: #d69130;
}

.litebans-label-kick {
    background-color: #db735d;
}

.litebans-pager {
    font-size: 30px;
    color: #8edcff;
}

.litebans-pager-number {
    margin-top: 24px;
    text-align: center;
    font-size: 15px;
    color: #c7d2df;
}

.litebans-pager-left {
    float: left;
}

.litebans-pager-right {
    float: right;
}

.litebans-pager-active {
    color: #39beff;
}

.litebans-pager-inactive {
    visibility: hidden;
    pointer-events: none;
    cursor: default;
}

.alert-light,
.alert {
    color: #dce7f3 !important;
}

.close {
    color: #dce7f3 !important;
    text-shadow: none;
    opacity: 0.72;
}

.close:hover {
    opacity: 1;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.noalign-w {
    width: 0;
}

.noalign-h {
    height: 0;
}

@media screen and (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar .container {
        align-items: flex-start;
    }

    .my-lg-0 {
        margin-top: 10px;
    }

    .litebans-header {
        margin-top: 28px;
        padding: 22px 18px !important;
        font-size: 1.7rem;
    }

    .jumbotron {
        padding: 32px 20px;
    }

    .litebans-check-form {
        padding: 18px;
    }
}
