body {
    --border: solid #64a8db 2px;
    --text-color: #d6d6d6;

    --container-bg: #3f698a;
    --button-bg: #548ebb;

    --slider-bg: #548ebb;
    --slider-main: #b4d8f3;
    --slider-active: #62a3d4;

    --off-icon-bg: #5188b3;
    --queue-selector-bg: #64a8db;

    color: var(--text-color);
}

button {
    color: var(--text-color);
}

main {
    margin-top: 4rem;
    margin-bottom: 5rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    gap: 2rem;
}

.main-elements {
    justify-content: center;
    align-items: center;
    flex-direction: column;

    gap: 1rem;
}

.status-conainer {
    flex-direction: column;
}

.status-element {
    flex-direction: row;

    width: min-content;
}

.status {
    padding: 0.5rem;

    height: 1rem;
    width: 1rem;

    border: var(--border);
}

.row-container {
    flex-direction: row;
    gap: 0.5rem;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    max-height: 100rem;
    transition: opacity .3s ease, transform .3s ease, max-height .3s ease;
}
  
.disp {
    opacity: 0;
    /* transform: translateY(-1rem); */
    max-height: 0;
    /* position: absolute; */
    padding: 0;
    margin: 0;
} 

.row-element {
    height: 1rem;
    padding: 0.5rem;

    border: var(--border);
}

.row-container,
.status-conainer,
.status-element,
.main-elements,
.container,
main {
    display: flex;
}

.off {
    background-color: var(--off-icon-bg);
}

.buttnos-div {
    display: flex;
    gap: 0.5rem;
}

.queue-selector {
    width: 7rem;

    background-color: var(--button-bg);
    color: var(--text-color);

    padding: 0.1rem 1rem;

    border: none;
    border-radius: 0.5rem;

    text-align: center;
}

.container {
    width: 80%;

    padding: 2.5rem 1rem;

    background-color: var(--container-bg);
    border-radius: 1rem;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 2rem;
}

.outage-summary {
    transform: translateY(-2.5rem);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
}

.outage-title {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.outage-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;

    flex-direction: column;
}

.outage-chip {
    padding: 0.5rem 0.9rem;
    border-radius: 0.75rem;
    background-color: var(--button-bg);
    color: var(--text-color);
    min-width: 6.5rem;
}

.outage-empty {
    color: #cfd8df;
    opacity: 0.8;
}

* {
    transition: 0.2s;
}

.btn-container {
    position: fixed;

    text-align: center;
    align-items: center;

    right: 30px;
    bottom: 30px;
    height: 50px;

    padding-left: 1rem;
    padding-right: 3rem;

    display: flex;
    flex-direction: row;

    background-color: var(--off-icon-bg);

    border-radius: 0.5rem;

    transition: none;
    transform-origin: left center;
}

.btn-container.finished {
    animation: show-modal-div-finished 1s ease forwards;
}

.show-btn,
.scroll-top-btn {
    position: fixed;

    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;

    bottom: 30px;

    width: 50px;
    height: 50px;

    font-size: larger;
    font-weight: 700;

    z-index: 9999;

    background-color: var(--off-icon-bg);
}

.show-btn {
    right: 25px;

    border-radius: 0 0.5rem 0.5rem 0;
}

.show-btn.finished {
    border-radius: 0.5rem;
    height: 50px;
}

.scroll-top-btn {
    left: 25px;
    border-radius: 0.5rem;
}

/* .show-modal-btn-text.hide {
    transform-origin: left center;
    animation: show-modal-btn-text-hide 3s ease forwards;
} */



.info-container {
    display: flex;
    flex-direction: column;

    gap: 1rem;

    min-height: 85vh;

    width: 80%;

    padding: 2.5rem 1rem;

    top: 0;

    margin-top: 2rem;

    border-radius: 0.5rem;

    background-color: var(--container-bg);
    border: var(--border);
}

.info-head {
    margin-bottom: 1.5rem;
}

.info-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-footer {
    margin-top: 1.5rem;
}


.switch {
    position: relative;
    display: inline-block;
    width: 10rem;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--slider-bg);
    transition: 0.3s;
    border-radius: 34px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--slider-main);
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--slider-active);
}

input:checked + .slider::before {
    transform: translateX(8.2rem);
}

.hide {
    opacity: 0;
    overflow: hidden;
    transform: translateY(0.5rem);
    z-index: -1;
}

.show {
    overflow: auto;
    opacity: 1;
    transform: translateY(1rem);
}

.card {
    padding: 0.5rem;
    background-color: var(--off-icon-bg);
    border: var(--border);
    border-radius: 0.5rem;
}

@keyframes show-modal-div-finished {
    0% {
        opacity: 1;
        transform: translateX(0) scaleX(1);
    }
    90% {
        opacity: 1;
        transform: translateX(88%) scaleX(0.001);
    }
    100% {
        opacity: 0;
        transform: translateX(88%) scaleX(0);
    }
}
