@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --graphite: #333333;
    --chestnut: #852D29;
    --red: #D7271F;
    --red-orange: #E04F1D;
    --orange: #E8761A;
    --orange-yellow: #F09C0F;
    --yellow: #F7C204;
    --white: #FFFFFF;
}


body {
    background-color: var(--yellow);
    color: var(--graphite);
    font-family: 'Montserrat', sans-serif;
    margin-left: 260px !important;

}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.order-status {
    font-weight: 600;
}

/* Action buttons (page-specific) */
.action-btn {
    --size: 36px;
    width: var(--size);
    height: var(--size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform .12s ease, filter .12s ease;
}

.action-btn img {
    width: 14px;
    height: 14px;
    display: block;
    filter: invert(100%);
}

.action-btn.view {
    background: var(--orange);
}

.action-btn.edit {
    background: var(--chestnut);
}

.action-btn.delete {
    background: var(--red);
}

.action-btn:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
}

/* Table tweaks */
.table td,
.table th {
    vertical-align: middle;
}

.table thead th {
    font-weight: 600;
}

/* Add Order button */
.add-order-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    border-radius: .5rem;
    background: var(--chestnut);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.add-order-btn:hover {
    background: var(--red-orange);
    transform: translateY(-1px);
}

/* Confirmation modal (Orders) */
.confirm-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
    z-index: 1050;
}

.confirm-modal.show {
    opacity: 1;
    visibility: visible;
}

.confirm-modal .modal-box {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.confirm-modal .modal-header {
    padding: 1rem 1.25rem;
    background: linear-gradient(90deg, var(--chestnut), var(--red));
    color: #fff;
}

.confirm-modal .modal-body {
    padding: 1.25rem;
    color: var(--graphite);
}

.confirm-modal .modal-actions {
    padding: 0.75rem 1.25rem 1.25rem;
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
}

.confirm-modal .confirm-cancel {
    background: #f1f1f1;
    border: none;
    color: #333;
}

.confirm-modal .confirm-yes {
    background: var(--red);
    color: #fff;
    border: none;
}