@font-face {
    font-family: 'Fredoka';
    src: url('../Fonts/Fredoka-VariableFont_wdth,wght.ttf'); /* IE9 Compat Modes */
}

@font-face {
    font-family: 'Fredoka One';
    src: url('../Fonts/FredokaOne-Regular.ttf'); /* IE9 Compat Modes */
}

* {
    font-family: Fredoka;
}

:root {
    --ThemeBackgroundColor: #232227;
    --ThemeButtonColor: #7E1CC6;
    --ThemeButtonColorLight: #EDE0F7;
    --CardSize: 150px;
}

html, body {
    margin: 0px;
    padding: 0px;
    position: relative;
    overflow: scroll;
}

body {
    overflow: auto;
}

    body::-webkit-scrollbar {
        height: 0px;
        width: 0px;
    }

.Coverer {
    cursor: pointer;
    position: absolute;
    top: 0px;
    height: 100vh;
    width: 100vw;
    background-color: black;
    opacity: 0.5;
    z-index: 50;
}

.PopupContainer {
    width: 50%;
    z-index: 100;
    position: absolute;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #F5F5F5;
    box-shadow: 0px 0px 20px black;
    color: #333;
    font-weight: 500;
}

.PopupContentContainer {
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
}

.PopupContentContainer input, .PopupContentContainer select {
    box-sizing: border-box;
}

.CloseButton {
    background-color: indianred;
    width: 40px;
    color: white;
    margin: 10px;
    float: right;
    border: none;
    border-radius: 5px;
    font-family: Fredoka;
}


.MainContainer {
    height: 100vh;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .MainContainer::-webkit-scrollbar {
        height: 0px;
        width: 0px;
    }

.SearchContainer {
    height: 32px;
    margin: 10px;
    direction: rtl;
    display: flex;
    align-items: center;
}

    .SearchContainer > .DateContainer {
        padding: 5px;
        width: auto;
        direction: ltr;
    }

.DateContainer > input {
    background-color: var(--ThemeButtonColor);
    color: white;
    text-align: center;
    border-radius: 5px;
    border: none;
    padding: 8px;
    font-family: Fredoka;
}

.SearchContainer > input {
    flex: 1;
    display: inline-block;
    height: 100%;
    text-align: center;
    border-radius: 3px;
    border: 1px solid lightgrey;
    box-shadow: 0px 0px 5px -2px grey;
    direction: ltr;
}

.SearchContainer > button {
    width: 180px;
    height: 35px;
    background-color: var(--ThemeButtonColor);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


.ComboContainer {
    padding: 10px;
}

.Combo {
    height: 30px;
    width: 150px;
    cursor: pointer;
    border-radius: 5px;
    padding: 3px;
    outline: none;
    display: inline-block;
    border: 1px solid #A5A5A5;
}



/*Parents overflow must be hidden and -webkit-scrollbar{height : 0px; width : 0px;}*/
/*Then you can specify the height and withd of the div scrollbar and color of thum*/
.ListsTableContainer::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

.ListsTableContainer::-webkit-scrollbar-thumb {
    background-color: lightgray;
    border-radius: 5px;
}

.ListsTableContainer {
    flex: 1;
    padding: 10px;
    overflow: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #2D2C33;
}

.ListsTable {
    width: 100%;
    border-collapse: collapse;
}

.ListsTable > thead > tr > th,
.ListsTable > tbody > tr > td,
.ListsTable > tr > th,
.ListsTable > tr > td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    color: white;
}

.ListsTable > thead > tr > th,
.ListsTable > tr.TableHeader > th,
.ListsTable > tr > th {
    background-color: rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.05em;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 10;
}

.ListsTable > tbody > tr,
.ListsTable > tr {
    transition: all 0.2s ease;
    cursor: pointer;
}

.ListsTable > tbody > tr:hover,
.ListsTable > tr:hover {
    background-color: rgba(126, 28, 198, 0.15); /* ThemeButtonColor transparent */
    transform: translateY(-2px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}









#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
