/* ---------------------------------------------------------
   SPACES PAGE — CLEAN, MODERN, RESPONSIVE GRID
--------------------------------------------------------- */

/* Page container */
.spaces-container {
    max-width: 1100px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

/* Section headers */
.spaces-container h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

/* Responsive grid */
.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Space card */
.space-box {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    text-align: center;
}

/* Hover effect */
.space-box:hover {
    border-color: #007bff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    background: #f8fbff;
}

/* Label */
.space-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

/* Price */
.space-price {
    font-size: 16px;
    color: #444;
    margin-bottom: 8px;
}

/* Status text */
.space-status {
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
}

/* Status colors */
.space-status.available { color: #2e8b57; }   /* green */
.space-status.reserved  { color: #ff9800; }   /* orange */
.space-status.sold      { color: #d32f2f; }   /* red */
.space-status.blocked   { color: #757575; }   /* gray */

/* ---------------------------------------------------------
   MODAL (if you use it later)
--------------------------------------------------------- */

.whip-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.whip-modal {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.whip-modal h3 {
    margin-top: 0;
}

.whip-list {
    margin-top: 10px;
    margin-bottom: 15px;
}

.whip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.whip-row-label {
    flex: 1;
}

.whip-row-qty {
    width: 80px;
}

.whip-modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.whip-btn {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.whip-btn-primary {
    background: #007bff;
    color: #fff;
}

.whip-btn-secondary {
    background: #ccc;
    color: #000;
}