@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
    --background-color: #ffffff;
    --background-color-2: #2596be;
    --btn-color: #000000;
    --text-color: #80162d;
    --anchors-selected-color: #666666;
    --green-color: #176B4D;
    --gold-color: #D4AF37;
    --text-font-1: 'Outfit', sans-serif;
}

.dashboard {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0;
}

.dashboard-header {
    width: 100%;
    display: flex;
    text-transform: uppercase;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: var(--green-color);
    color: var(--background-color);
    border-radius: 0.5rem 0.5rem 0rem 0rem;
}

.dashboard-header-period, .dashboard-header-period div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dashboard-display {
    width: 100%;
    height: 100%;
    min-width: 18rem;
    min-height: 20rem;
    user-select: none;
    max-width: 100rem;
    max-height: max-content;
    font-family: var(--text-font-1);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
}

.dashboard-period, .dashboard-period div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
}

.dashboard-period {
    position: absolute;
    background: var(--green-color);
    width: 100%;
    height: 100%;
    z-index: 10;
    font-family: var(--text-font-1);
    text-transform: uppercase;
    left: -200%;
}

.dashboard-period.opened {
    left: 0;
}

.dashboard-period div {
    align-items: start;
}

.dashboard-period input {
    width: 12.5rem;
    height: 3rem;
    padding: 0 0.8rem;
    background: #fff;
    color: #222;
    border: 2px solid transparent;
    border-radius: 0.4rem;
    outline: none;
    cursor: pointer;
    font-family: var(--text-font-1);
    font-size: 0.95rem;
    font-weight: 500;
    box-sizing: border-box;
    transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.dashboard-period input:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.dashboard-period input:focus {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.dashboard-display-header {
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    gap: 2rem;
    background: var(--gold-color);
    padding: 0.5rem;
    color: var(--background-color);
}

.dashboard-display-header div {
    width: max-content;
    display: flex;
    cursor: pointer;
    flex-direction: column;
}

.dashboard-display-header div h3 {
    width: 100%;
}

.dashboard-content {
    display: flex;
    justify-content: space-between;
    background: var(--text-color);
    color: var(--background-color);
    overflow-x: auto;
    padding: 0.5rem;
    gap: 2rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.dashboard-content div {
    width: max-content;
}

.dashboard-bottom {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 0;
    padding: 0.5rem;
    color: var(--background-color);
    background: rgb(20, 20, 132);
    border-radius: 0rem 0rem 0.5rem 0.5rem;
}

.dashboard-display-commands {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-top: 0.5rem;
}

.dashboard-display-commands div {
    cursor: pointer;
}

.dashboard-ranking {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.dashboard-ranking-header {
    display: flex;
    align-items: center;
    justify-content: start;
}

.dashboard-ranking-header h3 {
    margin: 0;
    font-size: 1rem;
}   

.dashboard-ranking {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
}

.ranking-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ranking-step i {
    width: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.ranking-step h3 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1;
}

.dashboard-performance {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dashboard-header-component.filtered {
    color: black;
}

.dashboard-painel, .dashboard-painel-display, .dashboard-painel-display-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.dashboard-painel {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--background-color-2);
    z-index: 5;
    left: -200%;
    gap: 0.5rem;
    padding: 2rem;
}

.dashboard-painel.opened {
    left: 0;
}

.dashboard-painel-display {
    width: 100%;
    height: 100%;
    min-width: 15rem;
    user-select: none;
    min-height: 20rem;
    max-width: 100rem;
    max-height: 20rem;
    background: var(--text-color);
    border-radius: 0.5rem;
    font-family: var(--text-font-1);
    color: var(--background-color);
    padding: 0;
    position: relative;
}

.dashboard-painel-display-header {
    width: 100%;
    height: 20%;
    user-select: none;
    background: var(--gold-color);
    display: flex;
    justify-content: center;
    text-align: center;
    border-radius: 0.5rem 0.5rem 0rem 0rem;
}

.dashboard-painel-display-charts {
    width: 100%;
    height: 80%;
    padding: 0.5rem;
    display: flex;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    justify-content: start;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    user-select: none;
}

.dashboard-painel-display-header, .dashboard-display-header, .dashboard-content, .dashboard-bottom {
    min-height: max-content;
}