:root {
    --bol-bg: #0b1220;
    --bol-bg-soft: #111a2e;
    --bol-primary: #4f8cff;
    --bol-primary-dark: #3267d6;
    --bol-accent: #22d3ee;
    --bol-text: #0f172a;
    --bol-muted: #64748b;
    --bol-border: rgba(148, 163, 184, .25);
    --bol-radius: 24px;
    --bol-shadow: 0 24px 80px rgba(15, 23, 42, .14);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--bol-text);
    background: #eef3f8;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

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

.bol-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.bol-main {
    flex: 1 0 auto;
}

.protected-main {
    position: relative;
    min-height: 700px;
    overflow: hidden;
}

.protected-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 6% 12%, rgba(79, 140, 255, .16), transparent 30%),
        radial-gradient(circle at 90% 8%, rgba(34, 211, 238, .10), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #eef3f8 42%, #ffffff 100%);
    pointer-events: none;
}

.protected-content {
    position: relative;
    width: min(100%, 1500px);
    min-height: 700px;
    padding: 36px 28px 56px;
}

.bol-navbar {
    background: rgba(11, 18, 32, .90);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 18px 60px rgba(15, 23, 42, .22);
}

.protected-navbar-container,
.protected-footer-container {
    width: min(100%, 1500px);
    padding-left: 28px;
    padding-right: 28px;
}

.bol-brand {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -.04em;
}

.bol-brand:hover,
.bol-brand:focus {
    color: #ffffff;
}

.bol-brand-text {
    margin-left: 10px;
}

.bol-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(34, 211, 238, .95), transparent 34%),
        linear-gradient(135deg, #4f8cff, #7c3aed);
    box-shadow: 0 14px 40px rgba(79, 140, 255, .35);
}

.bol-logo-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .18);
}

.protected-nav .nav-link,
.protected-user-link {
    color: rgba(255, 255, 255, .72) !important;
    font-weight: 600;
    padding-left: .9rem !important;
    padding-right: .9rem !important;
}

.protected-nav .nav-link:hover,
.protected-nav .nav-link:focus,
.protected-user-link:hover,
.protected-user-link:focus {
    color: #ffffff !important;
}

.protected-auth-actions {
    align-items: center;
    flex-direction: row;
}

.protected-logout-form {
    margin: 0 0 0 10px;
}

.bol-btn {
    border-radius: 999px;
    font-weight: 700;
    padding: .75rem 1.15rem;
}

.bol-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--bol-primary), #7c3aed);
    border: 0;
    box-shadow: 0 16px 40px rgba(79, 140, 255, .35);
}

.bol-btn-primary:hover,
.bol-btn-primary:focus {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 20px 48px rgba(79, 140, 255, .42);
}

.bol-btn-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .06);
}

.bol-btn-ghost:hover,
.bol-btn-ghost:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, .11);
}

.protected-content h1,
.protected-content h2,
.protected-content h3 {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -.035em;
}

.protected-content .table {
    overflow: hidden;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 22px;
    box-shadow: 0 16px 50px rgba(15, 23, 42, .08);
}

.protected-content .table thead th {
    color: #334155;
    background: #f8fafc;
    border-bottom: 1px solid rgba(148, 163, 184, .25);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.protected-content .table td,
.protected-content .table th {
    border-top-color: rgba(148, 163, 184, .18);
    vertical-align: middle;
}

.protected-content .btn-primary {
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #4f8cff);
    box-shadow: 0 12px 30px rgba(79, 140, 255, .26);
}

.protected-content .btn-primary:hover,
.protected-content .btn-primary:focus {
    background: linear-gradient(135deg, #1d4ed8, #3267d6);
}

.protected-content .btn-secondary,
.protected-content .btn-default {
    border-color: rgba(148, 163, 184, .36);
    border-radius: 999px;
    color: #334155;
    background: #ffffff;
}

.protected-content .card,
.protected-content .e-control,
.protected-content .e-grid {
    border-radius: 22px;
}

.protected-sdk-section {
    padding: 42px 0 24px;
}

.protected-section-kicker {
    color: var(--bol-primary);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.protected-display {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.protected-sdk-grid {
    margin-left: -12px;
    margin-right: -12px;
}

.protected-sdk-grid > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
}

.protected-sdk-card {
    border: 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 50px rgba(15, 23, 42, .08);
}

.protected-sdk-card h4 {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -.025em;
}

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

.protected-sdk-card .sdk-install {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.protected-sdk-card .btn {
    margin-top: auto !important;
}

.bol-footer {
    flex-shrink: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(79, 140, 255, .22), transparent 34%),
        linear-gradient(180deg, #0b1220, #060914);
    color: rgba(255, 255, 255, .74);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.bol-footer h5,
.bol-footer h6 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -.03em;
}

.bol-footer a {
    color: rgba(255, 255, 255, .72);
}

.bol-footer a:hover,
.bol-footer a:focus {
    color: #ffffff;
}

.bol-footer-small {
    color: rgba(255, 255, 255, .45);
    font-size: .925rem;
}

.protected-footer-links {
    display: grid;
    gap: .5rem;
}

.protected-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

@media (max-width: 991.98px) {
    .protected-navbar .navbar-collapse {
        padding-top: 1rem;
    }

    .protected-nav .nav-link,
    .protected-user-link {
        padding-left: 0 !important;
    }

    .protected-auth-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: .75rem;
        margin-top: 1rem;
    }

    .protected-logout-form {
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
    .protected-navbar-container,
    .protected-footer-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .protected-content {
        padding: 28px 16px 44px;
    }

    .protected-footer-bottom {
        flex-direction: column;
    }
}
