html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body.saidas-body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    margin: 0;
}

    body.saidas-body header {
        flex: 0 0 auto;
    }

        body.saidas-body header nav {
            margin-bottom: 0 !important;
        }

#saidas-columns {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    box-sizing: border-box;
    font-family: Segoe UI, Arial, sans-serif;
}

    #saidas-columns,
    #saidas-columns * {
        box-sizing: border-box;
    }

.saidas-col-group {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #ddd;
}

.saidas-col-group-stacked > .saidas-col {
    flex: 0 0 50%;
}

    .saidas-col-group:last-child {
        border-right: none;
    }

.saidas-col {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 4px;
}

    .saidas-col-group > .saidas-col:not(:last-child) {
        border-bottom: 1px solid #ddd;
    }

    .saidas-col > h2 {
        margin: 0 0 4px 0;
        padding: 4px;
        font-size: 1rem;
        flex: 0 0 auto;
    }

.saidas-col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
}

.saidas-col-worst {
    font-size: 0.78rem;
    font-weight: 400;
    color: #888;
    white-space: nowrap;
}

.saidas-lista {

    overflow-y: auto;
    min-height: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .saidas-lista > li {
        margin-bottom: 6px;
    }

.saidas-item {
    border: 2px solid #333;
    border-radius: 4px;
    padding: 8px;
    background-color: #f9a82517;
    display: flex;
    align-items: stretch;
    gap: 10px;
    font-size: 0.9rem;
}

.saidas-item-senha {
    flex: 0 0 auto;
    width: auto;
    min-width: 2.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    padding: 0 4px;
}

.saidas-item-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.saidas-item-prato {
    font-size: 1rem;
    font-weight: 600;
}

.saidas-item-obs {
    font-size: 0.85rem;
    font-style: italic;
    color: #555;
}

.saidas-item-mesa-vol {
    font-size: 0.85rem;
    color: #555;
}

.saidas-item-status-col {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 6px;
}

.saidas-item-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
}

.saidas-item-status-form {
    margin: 0;
}

.saidas-status-btn {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #999;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}

.saidas-item-minutes {
    font-size: 0.75rem;
    color: #888;
}

    .saidas-status-btn:hover {
        background-color: #f0f0f0;
    }

    .saidas-item[data-status="Completo"] {
        border-color: #43a047;
        background-color: #e8f5e9;
    }

    .saidas-item[data-status="ParaEntrega"] {
        border-color: #f9a825;
        background-color: #fff8e1;
    }

    .saidas-item[data-status="EmPreparacao"] {
        border-color: #e53935;
        background-color: white;
    }

    .saidas-item[data-status="Completo"] .saidas-item-status {
        color: #43a047;
    }

    .saidas-item[data-status="ParaEntrega"] .saidas-status-btn {
        border-color: #f9a825;
        color: #8a6100;
    }

    .saidas-item[data-status="EmPreparacao"] .saidas-status-btn {
        border-color: #e53935;
        color: #b71c1c;
    }

    .saidas-item-minutes--alert {
        color: #d32f2f;
        font-weight: 600;
    }


.saidas-empty {
    color: #777;
    font-style: italic;
    padding: 12px 0;
    text-align: center;
}
