:root {
    --primary-color: #2A5934;
    /* Dark Green */
    --secondary-color: #F1C40F;
    /* Yellow */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f7f6;
    color: #333;
}

/* --- Modal Styles (Backdrop only - Content handled by modal-styles.css) --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.modal-visible {
    display: flex !important;
}

/* --- Custom Context Menu --- */
#contextMenu {
    position: fixed;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 2000;
    display: none;
    min-width: 150px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#contextMenu li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

#contextMenu li:hover {
    background-color: #f0f0f0;
}

/* --- General Styles --- */
#booking-container {
    gap: 20px;
    flex-wrap: wrap;
}

#calendar-container {
    min-width: 100%;
}

h1,
h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-top: 0;
}

#message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

.fc {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Full Capacity Calendar Styling */
.full-capacity {
    background: repeating-linear-gradient(45deg,
            #fdebeb,
            #fdebeb 10px,
            #f5c6cb 10px,
            #f5c6cb 20px) !important;
    opacity: 0.8;
    border: 1px solid #f5c6cb;
}

/* Try to make the cell look disabled */
.full-capacity-day {
    background-color: #f8d7da !important;
    color: #721c24;
    cursor: not-allowed !important;
}

.modal-visible {
    display: flex !important;
}