body {
    font-family: Arial, sans-serif;

    background-color: #f4f4f4;

    margin: 40px;
}

h1 {
    color: black;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 220px;
    background: #cfcfcf;
    color: rgb(95, 95, 95);
    padding: 20px;
    flex-shrink: 0;
}

.sidebar h2 {
    color: rgb(65, 63, 63);
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar a {
    color: rgb(95, 95, 95);
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
}

.sidebar a:hover {
    background: rgba(44, 44, 44, 0.938);
}

.content {
    flex: 1;
    padding: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

table {
    border-collapse: collapse;
    background: white;
}

th,
td {
    border: 1px solid #ccc;
    padding: 10px 15px;
}

th {
    background: #eee;
}

#toast-container {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: left;

}

.toast {
    padding: 12px 16px;
    border-radius: 6px;
    color: white;
    font-size: 14px;;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    animation: toast-show .2s ease;
}

.toast-success {
    background: #198754;
}

.toast-error {
    background: #dc3545;
}

.toast-warning {
    background: #fd7e14;
}

@keyframes toast-show {

    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.split-layout {
    display: flex;
    gap: 20px;
}

.left-panel {
    width:30%;
}

.right-panel {
    flex: 1;

}

.modal-backdrop {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.4);

    display: flex;

    justify-content: center;
    align-items: center;

    z-index: 10000;
}

.modal-window {
    background: white;

    padding: 20px;

    border-radius: 8px;

    min-width: 500px;
}

.blue-button {
    color: #0142cf;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-size: 10px;
}

.green-button {
    color: #0c9b08;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-size: 10px;
}

.yellow-button {
    color: #644501;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-size: 10px;
}

.red-button {
    color: #cc0000;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-size: 10px;
}

.tabulated{
    margin-left: 20px;
}
.doubletabulated{
    margin-left: 40px;
}

.button-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.button-row button {
    width: auto;
}

.meal-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.meal-left {
    width: 30%;
}

.meal-right {
    width: 70%;
}