/* ===== Font ===== */
@font-face {
    font-family: "InterVariable";
    src: url("/static/fonts/inter-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

/* ===== Base ===== */
html {
    scroll-behavior: smooth;
}
body {
    background-color: rgb(21, 20, 25);
    color: rgb(255, 255, 255);
    font-family: Inter, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1;
}
@supports (font-variation-settings: normal) {
    body {
        font-family: InterVariable, sans-serif;
    }
}

/* ===== Bootstrap overrides ===== */
.bg-light {
    background-color: rgb(21, 20, 25) !important;
}
.navbar-light .navbar-nav .nav-link {
    color: rgb(200, 200, 200) !important;
    padding-top: 18px;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: rgb(255, 255, 255) !important;
}
.navbar-light .navbar-brand {
    color: rgb(255, 255, 255) !important;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.85)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.accordion-button:not(.collapsed) {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ===== Buttons ===== */
.btn-custom {
    background-color: rgb(228, 193, 3);
    color: rgb(21, 20, 25);
    font-size: 0.9rem;
}
.btn-custom:hover {
    background-color: rgb(68, 63, 33) !important;
    color: rgb(228, 193, 3) !important;
}
.btn-login {
    background-color: rgb(21, 20, 25);
    color: rgb(228, 193, 3);
    font-size: 0.9rem;
}
.btn-login:hover {
    background-color: rgb(255, 226, 65) !important;
    color: rgb(21, 20, 25) !important;
}

/* ===== Typography ===== */
.color-faq {
    color: rgb(228, 193, 3);
}
.thin {
    font-variation-settings: "wght" 100;
}
.thin-italic {
    font-variation-settings: "wght" 100;
    font-style: italic;
}
.text-gray {
    color: rgb(200, 200, 200);
}
.italic {
    font-style: italic;
}
.larger-thin-text {
    font-size: 2.25rem;
    font-variation-settings: "wght" 100;
}
.smaller-text {
    font-size: 1.0rem;
    margin: 0;
    padding: 0.5rem 1rem;
    display: inline;
}

/* ===== Layout helpers ===== */
.bg-custom-dark {
    background-color: rgb(44, 44, 48);
}
.first-section-image {
    width: 65%;
}
.navbar-nav .nav-item {
    margin-left: 20px;
}
.navbar-brand img {
    height: auto;
    max-height: 28px;
    width: auto;
}
.vertical-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-heading {
    color: rgb(249, 249, 249);
}
.link-color {
    color: rgb(200, 200, 200);
}
.link-color:hover {
    color: rgb(255, 255, 255);
}
.custom-margin-right {
    margin-right: 10rem;
}

/* ===== Images ===== */
.smaller-image70 {
    width: 70%;
}
.smaller-image60 {
    width: 60%;
}
.smaller-image50 {
    width: 50%;
}
.img-larger {
    width: 110% !important;
    max-width: none;
}
.columns-closer {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
}

/* ===== List group ===== */
.list-group-item {
    background-color: rgb(21, 20, 25);
    border: 1px solid rgb(44, 44, 48) !important;
    color: rgb(255, 255, 255);
    margin: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.list-check {
    color: rgb(228, 193, 3);
    font-weight: bold;
    margin-right: 0.25rem;
}

/* ===== Sections ===== */
section {
    margin-bottom: 8rem;
    padding-top: 80px;
    margin-top: -80px;
}
.section-spacing {
    margin-bottom: 3rem;
}
.row-spacing {
    margin-bottom: 2rem;
}
.image-spacing {
    margin: 0 1rem;
}

/* ===== Background image ===== */
.bg-image {
    background: url("/static/images/image_1009.webp") no-repeat center top;
    background-size: cover;
    padding: 150px 0 100px 0;
    background-position: center -70px;
}

/* ===== Footer ===== */
.footer-icons {
    color: #ffffff;
}
.footer-line {
    border-top: 1px solid rgb(44, 43, 53);
    width: 100%;
    margin: 0 auto 1rem;
}

/* ===== Form ===== */
.asterisk {
    color: rgb(228, 193, 3);
}
#contact-form {
    scroll-margin-top: 100px;
}

/* ===== Links in content ===== */
.text-with-links-content a {
    color: inherit;
    text-decoration: underline;
}
.text-with-links-content a:hover {
    color: rgb(228, 193, 3);
}

/* ===== Top section spacing ===== */
#top {
    padding-top: 80px;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    #top { padding-top: 120px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    #top { padding-top: 100px; }
}
@media (min-width: 600px) and (max-width: 767.98px) {
    #top { padding-top: 80px; }
}
@media (max-width: 599.98px) {
    #top { padding-top: 70px; }
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .column-spacing {
        margin-bottom: 3rem !important;
    }
    section {
        margin-bottom: 2rem;
        padding-top: 40px;
        margin-top: -40px;
    }
    .section-spacing {
        margin-bottom: 0.5rem;
    }
}

/* ===== Docs layout ===== */
.docs-layout {
    display: flex;
    min-height: calc(100vh - 200px);
}
.docs-sidebar {
    width: 280px;
    flex-shrink: 0;
    padding: 2rem 1.5rem;
    border-right: 1px solid rgb(44, 44, 48);
}
.docs-sidebar h6 {
    color: rgb(200, 200, 200);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.docs-sidebar .nav-link {
    color: rgb(200, 200, 200);
    padding: 0.4rem 0;
    font-size: 0.95rem;
    display: block;
    text-decoration: none;
}
.docs-sidebar .nav-link:hover {
    color: rgb(255, 255, 255);
}
.docs-sidebar .nav-link.active {
    color: rgb(228, 193, 3);
}
.docs-content {
    flex: 1;
    padding: 2.5rem 3rem;
    max-width: 800px;
}
.docs-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.docs-content h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: rgb(228, 193, 3);
}
.docs-content h3 {
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.docs-content p, .docs-content li {
    color: rgb(200, 200, 200);
    line-height: 1.7;
}
.docs-content ul, .docs-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.docs-content li {
    margin-bottom: 0.4rem;
}
.docs-content code {
    background-color: rgb(44, 44, 48);
    color: rgb(228, 193, 3);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}
.docs-content pre {
    background-color: rgb(30, 29, 34);
    border: 1px solid rgb(44, 44, 48);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    position: relative;
}
.docs-content pre code {
    background: none;
    padding: 0;
    color: rgb(200, 200, 200);
}
.docs-content blockquote {
    border-left: 3px solid rgb(228, 193, 3);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background-color: rgba(228, 193, 3, 0.05);
    border-radius: 0 6px 6px 0;
}
.docs-content blockquote p {
    margin-bottom: 0;
}
.docs-content strong {
    color: rgb(255, 255, 255);
}
.docs-content a {
    color: rgb(228, 193, 3);
    text-decoration: none;
}
.docs-content a:hover {
    text-decoration: underline;
}
.docs-content hr {
    border-color: rgb(44, 44, 48);
    margin: 3rem 0;
}
.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgb(44, 44, 48);
    border: 1px solid rgb(60, 60, 64);
    border-radius: 4px;
    color: rgb(200, 200, 200);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s;
}
.docs-content pre:hover .copy-btn {
    opacity: 1;
}
.copy-btn:hover {
    background: rgb(60, 60, 64);
    color: rgb(255, 255, 255);
}

@media (max-width: 991.98px) {
    .docs-layout {
        flex-direction: column;
    }
    .docs-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgb(44, 44, 48);
        padding: 1.5rem;
    }
    .docs-content {
        padding: 1.5rem;
    }
}
