
body {
    font-family: 'Inter', serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    text-rendering: optimizeLegibility;
    max-width: 1200px;
    min-width: 320px;
    font-size: 12px;

    color: var(--color-text);
    background-color: var(--color-background);
}

button, input, textarea {
    transition:
        background-color 0.1s linear,
        border-color 0.1s linear, color 0.1s linear,
        box-shadow 0.1s linear, transform 0.1s ease;
}



h1, h2, h3, h4, h5, h6 {
    color: var(--color-theme);
    margin-bottom: 0;
    margin-top: 0.8em;

    &:first-child {
        margin-top: 0;
    }
}

h1, h2, h3, h4, h5, h6, b, strong, th {
    font-weight: 600;
}

blockquote {
    border-left: 4px solid #0096bfab;
    margin: 1.5em 0em;
    padding: 0.5em 1em;
    font-style: italic;
}

blockquote > footer {
    margin-top: 10px;
    font-style: normal;
}

blockquote cite {
    font-style: normal;
}

address {
    font-style: normal;
}

button,
input[type='submit'],
input[type='button'],
input[type='checkbox'] {
    cursor: pointer;
}

input:not([type='checkbox']):not([type='radio']),
select {
    display: block;
}

select {
    cursor: pointer;
}

input, select, button, textarea, .field-like {
    color: var(--color-text);
    font-family: inherit;
    font-size: 14px;
    padding: 0 12px;
    height: 36px;
    border: 1px solid #edeef3;
    box-sizing: border-box;
    border-radius: 4px;
    outline: none;
    display: inline-flex;
    align-items: center;
}

textarea {
    padding: 12px;
}

input,
select {
    height: 36px;
}

input:not([type='checkbox']):not([type='radio']),
select,
button,
textarea {
    appearance: none;
}

textarea {
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

button,
input[type='submit'],
input[type='button'] {
    padding-right: 30px;
    padding-left: 30px;
}

button:not(:has(> .text)):hover,
input[type='submit']:hover,
input[type='button']:hover {
    background: #dddddd;
}

input[data-numeric]{
    text-align: right;
}

/* input:focus,
select:focus,
button:focus,
textarea:focus {
    box-shadow: 0 0 0 2px #0096bfab;
} */

input[type='checkbox']:active,
input[type='radio']:active,
input[type='submit']:active,
input[type='button']:active,
button:active {
    transform: translateY(2px);
}

input:disabled,
select:disabled,
button:disabled,
textarea:disabled {
    cursor: not-allowed;
    opacity: .5;
    pointer-events: none;
    user-select: none;
}

::placeholder {
    color: #949494;
}

a {
    text-decoration: none;
    color: var(--color-theme);
}

a:hover {
    text-decoration: underline;
}

code, kbd {
    background: #efefef;
    color: var(--color-text);
    padding: 5px;
    border-radius: 6px;
}

pre > code {
    padding: 10px;
    display: block;
    overflow-x: auto;
}

img {
    max-width: 100%;
}

hr {
    border: none;
    border-top: 1px solid #dbdbdb;
}

table {
    border-collapse: collapse;
    width: 100%;
}

td,
th {
    padding: 6px;
    text-align: left;
    height: 32px;
}

thead {
    color: var(--color-theme);
    font-size: 9px;
    text-transform: uppercase;
}

thead > tr {
    border-bottom: 1px solid #666;
}

tr {
    border-bottom: 1px solid #6663;
}

body {
    max-width: 100vw;
}

form {
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    gap: 24px;
    flex-direction: column;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;

    & > footer {
        display: flex;
        gap: 16px;
        padding-top: 24px;
        display: flex;
        border-top: 1px solid #F3F4F7;

        & > button:last-child{
            background: var(--color-theme);
            color: #fff;
            margin-left: auto;
        }

        & > button:first-of-type:not(:only-child) {
            background-color: transparent;
            color: #000;
        }
    }
}

main {

    & > form {
        padding: 24px;
        box-sizing: border-box;
        display: flex;
        gap: 24px;
        flex-direction: column;
        width: 100%;
        max-width: 768px;
        margin: 0 auto;
    }
}

button {

    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0;
    height: 40px;
    padding: 0 12px;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;

    & .icon {
        width: 24px;
        height: 24px;
    }

    &:has(> .text) {

        padding-left: 8px;

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: transparent;
            z-index: 1;
            transition: background-color 0.2s ease-in-out;
        }

        &:hover::before {
            background-color: #fff3;
        }

    }

    &:has(> .icon):not(:has(> .text)) {
        padding: 0;
        background: transparent;
        height: 32px;
        width: 32px;
        justify-content: center;
    }

    & > .text {
        position: relative;
        z-index: 3;

        & > .icon {
            font-size: 14px;
            vertical-align: middle;
            display: inline;
        }
    }

    & > .icon {
        width: 24px;
        height: 24px;
        display: inline-block;
    }
}

@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v241/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2');
}

.icon {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

label {
    display: block;
    font-family: inherit;
    max-width: 100%;
}

label:not(:first-of-type) {
    margin-top: 18px;
}

form label {
    color: #252D3F;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 12px;
}

form > button {
    align-self: start;
}

textarea {
    margin: 0;
    min-height: 100px;
}

table [type=checkbox] {
    width: 18px;
    height: 18px;
    margin: 0 0 0 4px;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
}


.loading, [data-loading] {
    font-family: "Flow Circular", system-ui;
    font-weight: 400;
    font-style: normal;
    opacity: .8;
    pointer-events: none;
    filter: grayscale(1);
    animation: blinker 1.6s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: .2;
    }
}

.loading.icon,
.loading .icon,
[data-loading].icon,
[data-loading] .icon {
    background-color: #ddd;
    color: transparent;
}


/* This Site Layout Specific */

body::before {
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url(/assets/bg1.png) no-repeat center center;
    background-size: cover;
    content: '';
    position: fixed;
    top: 72px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 72px);
    z-index: -1;
}

body > header {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 16px;
    padding: 0 12px;
    background: var(--color-background);
    position: sticky;
    top: 0;
    z-index: 100;

    & > .logo {
        height: 52px;
    }

    & > h1 {
        font-size: 32px;
        font-weight: 600;
        font-style: italic;
        margin: 0;
        color: white;
        font-family: "Squada One", sans-serif;
    }
}

body > main {

    padding: 16px;

    & > section {
        padding-bottom: 24px;

        & > h3 {
            font-size: 18px;
        }
    }

    & > article.card {
        background: rgba(10, 22, 0, 0.8);
        border-radius: 12px;
        padding: 16px;
        gap: 0 16px;

        & > p {
            margin-bottom: 0;
        }

        &.front-icon {
            display: grid;
            grid-template-columns: auto 1fr;

            & > .icon:first-child {
                font-size: 42px;
                grid-column: 1;
                grid-row: 1 / -1;
                align-self: center;
                color: var(--color-theme);
                opacity: 0.4;
            }
        }

        &.lines-3 {
            grid-template-rows: auto auto auto;

            & > h3 {
                font-weight: normal;
                font-size: 12px;
                margin: 0;
            }

            & > h3 + time {
                font-size: 18px;
                display: block;
                margin-top: 6px;
                font-weight: 600;
            }
        }
    }

    & .tabs {
        display: flex;
        overflow-x: auto;
        align-items: center;
        margin-top: 16px;
        padding: 0;
        margin-bottom: 16px;
        justify-content: center;
        border-bottom: 1px solid #6663;

        & > label {
            height: 48px;
            justify-content: center;
            flex: 1;
            padding: 0 20px;
            border-top: 2px solid transparent;
            border-bottom: 2px solid transparent;
            display: flex;
            align-items: center;
            margin: 0;
            cursor: pointer;
            font-size: 13px;

            &:has( > input:checked){
                border-bottom-color: var(--color-theme);
                color: var(--color-theme);
                font-weight: 600;
            }

            & > input {
                display: none;
            }
        }

    }

}

