@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Exo+2:wght@300;400;500;700&display=swap');

:root {
    --bold-bg: #03070e;
    --bold-panel: rgba(7, 15, 24, 0.82);
    --bold-panel-strong: rgba(10, 24, 36, 0.94);
    --bold-line: rgba(116, 203, 255, 0.26);
    --bold-line-hot: rgba(231, 183, 79, 0.68);
    --bold-gold: #d4ad56;
    --bold-gold-bright: #ffd879;
    --bold-cyan: #74cbff;
    --bold-text: #d9e7f5;
    --bold-muted: #8092a7;
}

body {
    color: var(--bold-text);
    background:
        linear-gradient(180deg, rgba(3, 7, 14, 0.04), rgba(3, 7, 14, 0.72)),
        url("../img/auth-bg.328aba1ce99e.jpg") center / cover fixed,
        var(--bold-bg) !important;
    font-family: "Exo 2", Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 58% 34%, rgba(255, 172, 190, 0.18), transparent 19rem),
        linear-gradient(115deg, rgba(212, 93, 74, 0.11), transparent 30%, rgba(212, 173, 86, 0.07) 63%, transparent),
        linear-gradient(90deg, rgba(116, 203, 255, 0.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(116, 203, 255, 0.035) 1px, transparent 1px);
    background-size: cover, cover, 84px 84px, 84px 84px;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.16) 3px 4px);
    mix-blend-mode: multiply;
}

h1,
h2,
h3,
.navbar-brand,
.card-title,
.panel-title,
.bold-login-brand h1 {
    font-family: "Orbitron", sans-serif;
    letter-spacing: 0;
}

a {
    color: var(--bold-cyan);
}

.bold-auth-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(116, 203, 255, 0.35));
}

.navbar.text-bg-primary,
.navbar.bg-primary,
.navbar-dark.bg-primary {
    background:
        linear-gradient(180deg, rgba(28, 42, 48, 0.95), rgba(10, 17, 22, 0.88)) !important;
    border-bottom: 1px solid rgba(110, 236, 246, 0.5);
    box-shadow: 0 12px 42px rgba(0, 0, 0, 0.32);
}

.navbar-brand {
    color: #fff !important;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
}

#sidebar,
.sidebar,
.side-menu {
    background:
        linear-gradient(90deg, rgba(160, 178, 187, 0.14), rgba(22, 32, 38, 0.94) 38%, rgba(11, 15, 19, 0.86)) !important;
    border-right: 1px solid rgba(205, 225, 226, 0.14);
    box-shadow: 12px 0 54px rgba(0, 0, 0, 0.34);
}

.card,
.panel,
.modal-content,
.dropdown-menu {
    color: var(--bold-text);
    background: linear-gradient(180deg, var(--bold-panel-strong), rgba(6, 11, 16, 0.78));
    border: 1px solid var(--bold-line);
    border-radius: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 18px 58px rgba(0, 0, 0, 0.27);
    backdrop-filter: blur(14px) saturate(112%);
}

.card,
.panel {
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.card-header,
.panel-heading,
.modal-header {
    color: rgba(228, 246, 248, 0.94);
    background: linear-gradient(180deg, rgba(28, 42, 48, 0.9), rgba(10, 17, 22, 0.72));
    border-bottom: 1px solid rgba(110, 236, 246, 0.58);
    font-family: "Orbitron", sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.table {
    --bs-table-bg: rgba(7, 15, 24, 0.58);
    --bs-table-color: var(--bold-text);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.035);
    --bs-table-hover-bg: rgba(110, 236, 246, 0.08);
    color: var(--bold-text);
}

.table th {
    color: #fff;
    background: rgba(10, 17, 22, 0.82);
    border-bottom-color: rgba(110, 236, 246, 0.34);
    font-family: "Orbitron", sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.table td,
.table th,
.list-group-item {
    border-color: rgba(180, 211, 214, 0.08);
}

.form-control,
.form-select,
input,
select,
textarea {
    color: var(--bold-text) !important;
    background-color: rgba(3, 7, 14, 0.64) !important;
    border-color: rgba(128, 213, 224, 0.24) !important;
    border-radius: 0 !important;
}

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--bold-cyan) !important;
    box-shadow: 0 0 0 0.18rem rgba(116, 203, 255, 0.18) !important;
}

.btn,
button {
    border-radius: 0 !important;
}

.btn-primary,
.btn-success {
    color: var(--bold-gold-bright) !important;
    background: linear-gradient(180deg, rgba(212, 173, 86, 0.18), rgba(10, 17, 22, 0.72)) !important;
    border-color: var(--bold-line-hot) !important;
    font-family: "Orbitron", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn-secondary,
.btn-info {
    color: var(--bold-cyan) !important;
    background: linear-gradient(180deg, rgba(116, 203, 255, 0.13), rgba(10, 17, 22, 0.7)) !important;
    border-color: rgba(116, 203, 255, 0.45) !important;
}

.alert {
    border-radius: 0;
    border-color: rgba(128, 213, 224, 0.22);
}

.bold-public-auth .container {
    min-height: 100vh;
    display: grid;
    align-items: center;
    margin-top: 0 !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.bold-public-auth .card-login {
    background: linear-gradient(180deg, rgba(18, 31, 37, 0.82), rgba(7, 13, 18, 0.66)) !important;
    border-color: rgba(128, 213, 224, 0.3) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 26px 80px rgba(0, 0, 0, 0.42);
}

.bold-login-brand {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    margin-bottom: 1.4rem;
}

.bold-login-brand img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(116, 203, 255, 0.26));
}

.bold-login-brand p {
    margin: 0;
    color: var(--bold-gold);
    font-family: "Orbitron", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.45;
    text-transform: uppercase;
}

.bold-login-brand h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 0.98;
    text-shadow: 0 0 34px rgba(116, 203, 255, 0.24), 0 0 70px rgba(212, 173, 86, 0.18);
}

.bold-sso-link {
    display: inline-block;
    padding: 0.25rem;
    border: 1px solid rgba(116, 203, 255, 0.34);
    background: rgba(3, 7, 14, 0.42);
}

.bold-sso-link img {
    max-width: 100%;
}

#lang-select {
    width: min(100%, 18rem) !important;
}

.bold-public-auth .card-login p {
    color: var(--bold-muted);
    font-size: 0.86rem;
}

@media (max-width: 640px) {
    .bold-public-auth .container {
        padding-inline: 0.8rem;
    }

    .bold-login-brand img {
        width: 88px;
        height: 88px;
    }
}
