@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

* {
    font-family: "Overpass", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

body {
    background-color: #ffffff;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 20px;
    height: 100%;
}

h2 {
    margin-bottom: 16px;
    margin-left: 8px;
    font-size: 24px;
}

.container {
    background-color: #fefefe;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, .3);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    min-width: 250px;
}

label {
    font-weight: 600;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

input {
    background-color: transparent;
    border: 2px solid rgba(0, 0, 0, .5);
    padding: 8px 12px;
    color: black;
    color-scheme: dark;
    border-radius: 8px;
}

button {
    margin-top: 8px;
    background-color: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    color: black;
    border: 2px solid black;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    opacity: 0.9;
}

button:active {
    opacity: 0.8;
}

.container.full-width {
    width: calc(100% - 40px);
}

h3 {
    font-size: 16px;
}

ul {
    list-style: none;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

li::before {
    content: "->";
    margin-right: 8px;
    margin-left: 12px;
}

.d-none {
    display: none !important;
}

.result-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    padding: 12px;
}

.red {
    color: red;
}

.green {
    color: green;
}

h1 {
    font-size: 18px;
    margin-top: 8px;
}

h1::before {
    content: "->";
    margin-right: 8px;
    margin-left: 12px;
}

.invalid {
    border: 2px solid red;
}

#home {
    color: inherit;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
}

.result{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

h3:has(i){
    display: flex;
    align-items: center;
    gap: 8px;
}

#title-extension{
    text-align: end;
}

table th{
    text-align: start;
}

table tr > td:last-child{
    color: dodgerblue;
    font-weight: bold;
}

h3:not(#title-result) {
    color: dodgerblue;
    margin: 4px 0px;
}

tbody:before {
    line-height: 12px;
    content: ".";
    color: transparent;
    display: block;
}

u{
    font-size: 16px;
}

table td:first-child{
    min-width: 200px;
}

.multi-select{
    display: flex;
    justify-content: stretch;
    gap: 4px;
}

.input-wrapper:has(.multi-select){
    gap: 0px;
}

.multi-select > button{
    background-color: transparent;
    color: black;
    border: 2px solid rgba(0, 0, 0, .2);
}

.multi-select > button.active{
    border: 2px solid black;
}

.loader {
    width: 120px;
    height: 120px;
    border: 10px solid white;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loading-view{
    background-color: rgba(0, 0, 0, .8);
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.d-none {
    display: none;
}