/****************************
Global
****************************/

*,
::before,
::after {
    box-sizing: border-box;
    font-feature-settings: "lnum" 1;
}


body {
    font-family: "Sen", sans-serif;
    margin: 0;
    background-color: #F4F7F9;
}

body.noScroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

input,
button,
select,
textarea,
optgroup {
    background-color: transparent;
    border: none;
    color: inherit;
    display: block;
    font: inherit;
    margin: 0;
    text-align: left;
    width: 100%;
}

input,
select,
textarea {
    border: 1px solid lightgray;
    padding: 10px;
}

button {
    cursor: pointer;
}

textarea {
    resize: none;
}

img,
picture,
video {
    display: block;
    height: auto;
    width: 100%;
}

dialog {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    display: none;
    height: 100%;
    left: 0;
    max-height: none;
    max-width: none;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
}

dialog[open] {
    display: flex;
}

dialog::backdrop {
    animation: backdrop-vanish 0.3s ease;
    background-color: rgba(0, 0, 0, 0);
}

dialog[open]::backdrop {
    background-color: rgba(0, 0, 0, 0.3);
}

@keyframes backdrop-vanish {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 0.3);
    }
}

/****************************
Button
****************************/

.button {
    appearance: none;
    background-color: black;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: block;
    font-weight: 600;
    max-width: 200px;
    padding: 10px 20px;
    text-align: center;
    text-transform: uppercase;
    transition: .3s ease;
    width: 100%;
    font-size: 14px;
}

/****************************
Main
****************************/

main {
    padding: 20px;
}

.card {
    background-color: white;
    box-shadow: 0 0 20px rgb(8 21 66 / 5%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
}

.card.scroll {
    overflow-x: auto;
}

.cardInner {
    min-width: fit-content;
}

.cardTitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

@media (max-width: 800px) {
    .card {
        padding: 20px;
    }
}


/****************************
Table
****************************/

.table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
}

.table,
.table th,
.table td {
    border: 1px solid #E0E0E0;
    white-space: nowrap;
}

.table th {
    font-weight: 600;
}

.table th,
.table td {
    padding: 10px;
    text-align: left;
}