:root {
    --main-color: #ffa500;
    --main-color-hover: #ef9e08;
    --secoundary-color: #eeeeee;
    
    --background-color: #202029;

    --text-color-main: #ffa500;
    --text-color-secoundary: #ffffff;

    --buttons-color: #ffa500;
    --buttons-hover-color: #ef9e08;
    --buttons-unselected-color: #ffffff;
    --buttons-text-color: #ffffff;

    --table-label-color: #ffa50010;
    --table-label-text: #ffa500;
    --table-value-text: #ffffff;
    --bar-bg: #e6e6e6;
    --radius-pill: 999px;
    --radius-card: 24px;
    --radius-input: 999px;
    --icon-btn: 3rem;
    --error-color: #ff5c5c;
    --success-color: #80f57a;
}

* {
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/material-icons.woff2) format('woff2');
}

@font-face {
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/7cH1v4okm5zmbvwkAx_sfcEuiD8jvvKsNNC_nps.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/7cH1v4okm5zmbvwkAx_sfcEuiD8jvvKsPdC_nps.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/7cH1v4okm5zmbvwkAx_sfcEuiD8jvvKsNtC_nps.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/7cH1v4okm5zmbvwkAx_sfcEuiD8jvvKsN9C_nps.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Exo 2';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/7cH1v4okm5zmbvwkAx_sfcEuiD8jvvKsOdC_.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
  

html {
    padding: 1rem;
    font-family: 'Exo 2', sans-serif;
    background-color: var(--background-color);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

.header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--bar-bg);
    border-radius: var(--radius-pill);
    min-height: 3.5rem;
    padding: 0.4rem 0.6rem;
    /* Symmetric side columns keep the title centered across the whole bar even when
       a side button is hidden (display:none) or absent. */
    display: grid;
    grid-template-columns: var(--icon-btn) 1fr var(--icon-btn);
    gap: 0.5rem;
    max-width: 1440px;
    margin: 0 auto;
    align-items: center;
}

.header__title {
    min-width: 0;
    text-align: center;
    color: var(--main-color);
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
}

.header__logo {
    color: var(--main-color);
    height: 2.6rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.header__logo svg { height: 2.6rem; width: auto; }

.icon-btn {
    flex: 0 0 auto;
    width: var(--icon-btn);
    height: var(--icon-btn);
    border: none;
    border-radius: 50%;
    background: var(--buttons-color);
    color: var(--buttons-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s;
    padding: 0;
}

.icon-btn:hover { background: var(--buttons-hover-color); }
.icon-btn svg { width: 1.6rem; height: 1.6rem; }
.icon-btn--placeholder { visibility: hidden; }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; pointer-events: none; }

.subtitle-bar {
    width: 100%;
    max-width: 1440px;
    margin: 0.6rem auto 0;
    background: var(--bar-bg);
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-color-secoundary);
}

.main {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    margin-top: 4rem;
    margin-bottom: 4rem;
    color: var(--text-color-secoundary);
}

.main--index {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.hidden {
    display: none;
}

@media (min-width: 480px) {
    .title--index {
        display: block;
    }
}

.buttons__wrapper {
    position: fixed;
    right: 1rem;
    bottom: 2.5rem;
    z-index: 10;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 0.1rem 1rem;
    color: var(--text-color-main);
    background-color: var(--background-color);
    width: 100%;
}