﻿@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: #0c0c0c;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 20px;
    height: 100%;
}

.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;
}

.d-none {
    display: none;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

i {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 28px !important;
    background-color: transparent;
    border: none;
    color: inherit;
    user-select: none;
}

h1 {
    font-size: 24px;
    margin: 0px 0px 16px 8px;
}

.container {
    background-color: #1c1c1c;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, .2);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    min-width: 250px;
}

    .container.full-width {
        width: calc(100% - 40px);
    }

button {
    margin-top: 8px;
    background-color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    color: black;
    font-weight: 600;
    cursor: pointer;
}

    button:hover {
        opacity: 0.9;
    }

    button:active {
        opacity: 0.8;
    }

h3 {
    font-size: 16px;
}

table {
    color: black;
}

input {
    display: none;
}

label {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    padding: 8px 12px;
    color: white;
    color-scheme: dark;
    border-radius: 8px;
    cursor: pointer;
}

thead {
    background-color: white;
    color: black;
}

tbody {
    background-color: transparent;
    color: white;
}

th {
    text-align: start;
    padding: 8px 8px;
    background-color: white;
    color: black;
    font-weight: bold;
}

td {
    padding: 4px 8px;
    backdrop-filter: contrast(85%);
}

tr:nth-child(2n+1) > td {
    backdrop-filter: contrast(95%);
}

td:first-child,
th:first-child{
    padding-left: 16px;

}


td:last-child,
th:last-child{
    padding-right: 16px;
}

table {
    border: none;
    border-collapse: collapse;
}

    table * {
        border: none;
        border-collapse: collapse;
    }

.table-wrapper {
    width: 100%;
    overflow: auto;
    border-radius: 8px;
}

#cancel{
    display: none;
}