body {
    font-family: Arial, sans-serif;
    margin: 0px;
}

dialog {
    border-width: 1px;
    border-color: gray;
    border-radius: 10px;
    box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.5);
}

form > img {
    display: none;
}

label {
    font-weight: bold;
}

button {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    cursor: default
}

button:hover {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

button[type="submit"] {
    color: white;
    border: none;
    padding: 8px;
    width: 100%;
    border-radius: 6px;
    margin-top: 8px;
}

button[value="confirm"] {
    background-color: #5bb883;
}

button[value="cancel"] {
    margin-top: 25px;
    background-color: crimson;
}

.review-coords {
    color: black;
    visibility: hidden;
}

input[type="text"],
input[type="password"] {
    padding: 4px;
    border-radius: 4px;
    margin-top: 5px;
}

.header {
    background-color: #f1f1f1;
    padding: 6px 10px;
    box-shadow: #2e2e2e63 1px 1px 2px;
    overflow: hidden;
}

.header a {
    float: left;
    color: #263d44;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    user-select: none;
    cursor: pointer;
}

.activated {
    background-color: gainsboro;
}

.header a:hover {
    background-color: #ddd;
}

.header a.logo {
    font-size: 22px;
    background-image: url('../img/users-colored.svg');
    background-size: contain;
    background-repeat: no-repeat;
    padding-left: 44px;
    background-size: 26px;
    background-position: 10px 50%;
}

.header #logout {
    background-image: url('../img/log-out.svg');
    background-size: contain;
    background-repeat: no-repeat;
    padding-left: 36px;
    background-size: 22px;
    background-position: 8px 50%;
}

.header-right {
    float: right;
}

.icon-button {
    margin-top: 2px;
}

/**
 * Manu
 */
#open-menu {
    background-image: url('../img/menu.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 24px;
    min-height: 20px;
    min-width: 20px;
}

#menu-container {
    position: absolute;
    background-color: #f1f1f1;
    width: auto;
    padding-right: 8px;
    border-radius: 0px 0px 6px 6px;
    box-shadow: #2e2e2e63 1px 1px 2px;
}

#menu-container li {
    list-style: none;
    padding: 8px;
    margin: 8px;
    border-radius: 6px;
}

#menu-container li:hover {
    background: #e6e6e6;
    cursor: pointer;
}

.header-menu {
    padding-left: 10px;
}

.menu-item {
    text-decoration: none;
    color: black;
}


/**
 * Main view
 */
#main-container {
    display: flex;
    margin: 6px;
}

#empty-container {
    width: 100%;
    align-content: center;
    text-align: center;
}

#empty-container img {
    width: 300px;
    margin-top: 80px;
}

#empty-message {
    font-size: 20px;
    margin-top: 20px;
    color: #263d44;
}

#entrada-action,
#salida-action {
    background-color: #5bb883;
    width: auto;
}

.hide-container {
    display: none;
}

.loader {
    width: 40px;
    margin-top: 20px;
    border-radius: 50%;
    aspect-ratio: 1;
    border: 6px solid #263d44;
    border-right-color: #5bb883;
    animation: l2 1s infinite linear;
    visibility: hidden;
}

@keyframes l2 {
    to {
        transform: rotate(1turn)
    }
}

@media (max-width: 1250px) {
    dialog {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 0px;
        margin: 0px;
    }
    form > img {
        display: block;
        width: 80%;
    }

    #menu-container {
        width: 100%;
    }
}