@import "variables.css";
@import "scheme.css";
@import "dialog.css";

/*------------------------------------------------*/

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 150%;
    margin: 0;
    padding: 0;
    top: 0;
    text-align: left;
    height: 100%;
    color: var(--text);
    background-color: white;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

/*-----------------------*/

.control {
    background-color: var(--extra-light-grey);
    padding: 10px 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.control button {
    margin-right: 20px;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.legend div {
    font-size: 16px;
    width: 110px;
    height: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    font-family: 'Inter', sans-serif;
    background-color: var(--blue);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    height: 40px;
    padding: 0 30px;
    font-weight: normal;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

button:hover {
    filter: brightness(0.7);
}

input[type="text"] {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    height: 40px;
    padding: 0 15px;
    background-color: white;
    border: 1px solid var(--blue);
    border-radius: 50px;
    width: 100%;
}

@media print {
    body {
        font-family: 'Sitka Text', 'Inter', sans-serif;
    }

    .control {
        background-color: transparent;
    }

    .control button, .legend .blocked, .legend .selected{
        display: none;
    }

    .legend div {
        border: 1px solid black;
        height: 1cm;
        border-radius: 5px;
        font-weight: bold;
    }

    .table-number {
        font-weight: bold;
    }
}
