body {
    font-family: Arial;
    margin: 40px;
    background: #dfe3e8;
  background-color: #E2E1DD;

   
}

:root {
    --wp--preset--font-family--marcellus: "Marcellus", serif;
}


h2 {

font-family: var(--wp--preset--font-family--marcellus);
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

input, select, textarea, button {
    width:100%;
    padding:10px;
    margin:8px 0;
    box-sizing:border-box;
    font-size:16px;
    height:42px;
}

table {
    width:100%;
    border-collapse:collapse;
    background:white;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
    table-layout:auto;
}




textarea {
    height:100px;
}


label {
    display:block;
    margin-top:15px;
}


button {
    cursor:pointer;
}

.flatpickr-calendar {
    z-index: 9999 !important;
}

form {
    max-width:500px;
    margin:40px auto;
}

.today-reservation td {
    background-color: #fff3cd !important;
}

.today-reservation td:first-child {
    border-left: 5px solid orange;
}


th, td {
    padding: 3px 6px;
    line-height: 1.2;
    vertical-align: middle;
}

table form {
    margin: 0;
    padding: 0;
}

table button {
    width: auto;
    height: auto;
    padding: 4px 8px;
    margin: 1px;
    font-size: 13px;
    line-height: 1.2;
}

/* Admin pages */

.admin-container {
    width: calc(100% - 40px);
    max-width: none;
    margin: 40px auto;
    padding: 20px;
}


.admin-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}


.admin-header h1 {
    margin:0;
}


.back-button {
    text-decoration:none;
    background:#333;
    color:white;
    padding:8px 15px;
    border-radius:5px;
}





th {
    background:#333;
    color:white;
    padding:12px;
}


td {
    padding:10px;
}


tr:hover td {
    background:#f7f7f7;
}


/* Status badges */

.status-completed,
.status-no_show,
.status-cancelled {

    display:inline-block;
    padding:5px 10px;
    border-radius:20px;
    font-size:14px;
    font-weight:bold;

}


.status-completed {
    background:#d4edda;
    color:#155724;
}


.status-no_show {
    background:#f8d7da;
    color:#721c24;
}


.status-cancelled {
    background:#e2e3e5;
    color:#383d41;
}
table tr:nth-child(even) td {
    background-color: #f7f7f7;
}

table tr:nth-child(odd) td {
    background-color: white;
}
table tr:hover td {
    background-color: #eef6ff;
}














button:disabled {
    background:#ccc;
    color:#666;
    cursor:not-allowed;
}


body {
    font-family: Arial;
    margin:40px;
}



button {
    padding:8px 12px;
    cursor:pointer;
}

.accept {
    background:#4CAF50;
    color:white;
    border:0;
}

.cancel {
    background:#d9534f;
    color:white;
    border:0;
}

.admin-link {
    display:inline-block;
    padding:10px 16px;
    margin:5px;
    background:#333;
    color:white;
    text-decoration:none;
    border-radius:6px;
    font-size:14px;
}

.admin-link:hover {
    background:#555;
}






/* Phone */
th:nth-child(2),
td:nth-child(2) {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}



/* Date */
th:nth-child(4),
td:nth-child(4) {
    width:110px;
    text-align:center;
}

/* Time */
th:nth-child(5),
td:nth-child(5) {
    width:80px;
    text-align:center;
}

/* Guests icon */
th:nth-child(6),
td:nth-child(6) {
    width:60px;
    text-align:center;
}

/* Actions column */
th:last-child,
td:last-child {
    width:90px;
    text-align:center;
}

/* Action buttons */
table button {
    width:70px;
    padding:4px 5px;
    font-size:12px;
}





th, td {
    padding:6px 8px;
    vertical-align:middle;
}
th {
    background:#333;
    color:white;
}
table button {
    width:auto;
    height:32px;
    padding:5px 10px;
    margin:2px;
}

.notes-cell {
    max-width:220px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.email-cell {
    min-width:0;
    overflow-wrap:break-word;
}
table form button {
    display:block;
    width:100%;
    margin:3px 0;
}




table {
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
}



/* Email */
th:nth-child(3),
td:nth-child(3) {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.details-row {
    display:none;
}

.details-row td {
    background:#f1f1f1;
    padding:15px;
    font-size:14px;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
}

.reservation-row {
    cursor:pointer;
}

.reservation-title {
    font-family: "Marcellus", serif;
    font-size: clamp(1.5rem, 1.5rem + ((1vw - 0.2rem) * 2.5), 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.admin-section-title {
    font-family: "Marcellus", serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.pending-row td {
    animation: pendingFlash 1.6s ease-in-out infinite;
}

@keyframes pendingFlash {
    0% {
        background-color: #ffffff;
    }
    50% {
        background-color: #ffd6e0;
    }
    100% {
        background-color: #ffffff;
    }
}