@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght,MONO@0,300..800,1;1,300..800,1&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html, body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Google Sans Code', sans-serif;
    font-size: 14px;
}

body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

.tableContainer {
    height: calc(100dvh - 130px);
    overflow: auto;
    border: 1px solid #eee;
    margin-top: 1rem;

    table {
        border-collapse: collapse;
        width: 100%;
    }

    thead {
        background-color: #f3f3f3;
        border-bottom: 1px solid #eee;
        position: sticky;
        top: -0.1px;
    }

    tbody tr:hover {
        background-color: #f9f9f9;
    }

    th, td {
        padding: 0.5rem;
        border: 1px solid #ccc;
        white-space: nowrap;
        font-weight: normal;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

.tal {
    text-align: left
}

.tac {
    text-align: center
}

.tar {
    text-align: right
}

.taj {
    text-align: justify
}

input {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 14px;
    min-height: 36px;
    padding: 0.5rem 1.25rem;
    border-radius: 0.65rem;
    border: 1px solid #ccc;
    transition: background 200ms ease-in-out;
}

a {
    text-decoration: none;
    color: inherit
}

button, .button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 14px;
    min-height: 36px;
    padding: 0.5rem 1.25rem;
    border-radius: 0.65rem;
    border: 1px solid transparent;
    transition: background 200ms ease-in-out;

    &.active {
        background-color: #333;
        color: #fff;
    }

    &:hover {
        cursor: pointer;
        border-color: #aaa;
        transition: background 200ms ease-in-out;
    }
}

    input:focus-within, button:focus-within, .button:focus-within {
        outline: 2px solid #ccc;
        box-shadow: 0 0 4px 4px rgba(0,0,0,0.1);
    }
