/*ROOT CSS*/
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


:root {
    --c0: #ebf0fa;
    --c1: #d6e0f5;
    --c2: #c2d1f0;
    --c3: #adc2eb;
    --c4: #99b3e6;
    --c5: #99b3e6;
    --c6: #7094db;
    --c7: #5c85d6;
    --c8: #4775d1;
    --c9: #142952;
    --c10: #0a1429;
}



/*Default CSS*/

html, body {
    margin: 0;
    padding: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--c1);
    color: black;
    overflow: hidden;
}
* {
    box-sizing: border-box;
    font-family: "Rubik", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 10pt;
    background-color: transparent;
    color: #000000;
}

table {
    border: none;
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
}
table tr td { padding: 5px; }

::-webkit-scrollbar {
    width: 3px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--c3);
    height: 20px;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

.view-hidden {
    visibility: hidden;
    opacity: 0;
}

.main {
    position: fixed;
    top: 0; left: 0;
    display: block;
    width: 100%; height: 100%;
    overflow: hidden;
    transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 0;
}

.page-block {
    position: fixed;
    top: 0; left: 0;
    display: block;
    width: 100%; height: 100%;
    background: var(--c10);
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
    overflow: hidden;
    z-index: 100;
}
.page-loader {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 150px; height: 150px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    overflow: hidden;
    z-index: 101;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.page-loader > img {
    width: 100%; height: 100%;
    animation: rotate 2s linear infinite;
}

/* ALERT */
.alert {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 0; height: 0;
    border-radius: 10px;
    background-color: var(--c1);
    visibility: hidden;
    opacity: 0;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
    overflow: hidden;
    z-index: 101;
}
.alert.show {
    opacity: 1;
    visibility: visible;
    box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.2);
}
.alert > div.alert-body {
    position: absolute;
    top: 0; left: 0;
    display: grid;
    grid-auto-flow: row;
    grid-template-rows: 30px 1fr 40px;
    overflow: hidden;
    width: 100%; height: 100%;
    z-index: 0;
}
.alert > div.alert-body > div:first-child {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 30px 1fr;
    width: 100%; height: 100%;
    background-color: var(--c10);
    overflow: hidden;
}
.alert > div.alert-body > div:first-child > div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.alert > div.alert-body > div:first-child > div:first-child {
    padding: 5px;
    justify-content: center;
}
.alert > div.alert-body > div:first-child > div:first-child > img {
    width: 100%; height: 100%;
}
.alert > div.alert-body > div:first-child > div:last-child {
    padding-left: 5px; padding-right: 5px;
    font-weight: 500;
    color: white;
}
.alert > div.alert-body > div:nth-child(2) {
    display: block;
    width: 100%; height: 100%;
    padding: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}
.alert > div.alert-body > div:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid var(--c3);
}
.alert > div.alert-body > div:last-child > button {
    margin-right: 5px;
    border: 0;
    outline: none;
    height: 30px; min-width: 70px;
    background: var(--c10);
    opacity: 0.8;
    color: white;
    font-weight: 400;
    user-select: none;
    font-size: 10pt;
    border-radius: 7px;
}
.alert > div.alert-body > div:last-child > button:hover {
    opacity: 0.9;
    cursor: pointer;
}
.alert > div.alert-body > div:last-child > button:active {
    opacity: 1;
}
.alert > div.alert-body > div:last-child > button.disabled {
    opacity: 0.1;
    cursor: no-drop;
}
.alert > div.alert-loader {
    position: absolute;
    top: 30px; left: 0;
    width: 100%; height: calc(100% - 70px);
    display: block;
    visibility: hidden;
    opacity: 0;
    background: var(--c1);
    transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
    overflow: hidden;
    z-index: 1;
}
.alert > div.alert-loader.show {
    visibility: visible;
    opacity: 1;
}
.alert > div.alert-loader > div {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    background: transparent;
}
.alert > div.alert-loader > div > img {
    width: 100%; height: 100%;
    animation: rotate 2s linear infinite;
}