/* ---------- Floor plan ---------- */
.pool-floorplan {
    display: block;
    width: 100% !important;
    max-width: 1200px;
    height: auto !important;
    overflow: visible;
}

.pool-wall path,
.pool-wall polygon {
    fill: none;
    stroke: #666;
    stroke-width: 3;
}

.pool-label {
    fill: #888;
    font-size: 22px;
    font-family: 'Roboto', sans-serif;
}

.pool-table {
    cursor: pointer;
}

.pool-table rect {
    fill: #4a7373;          /* free: use your own colour */
    stroke: #365555;
    stroke-width: 2;
}

.pool-table text {
    fill: #fff;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    pointer-events: none;   /* clicks go to the table, not the text */
}

.pool-table:hover rect {
    opacity: 0.8;
}

.pool-table.selected rect {
    fill: #F05F84;          /* selected: use your own colour */
    stroke: #c0405f;
}

/* Booked table: red and not clickable */
.pool-table.booked rect {
    fill: #b94a48;
    stroke: #7d2f2d;
}
.pool-table.booked {
    cursor: not-allowed;
}

/* Floor plan is greyed out until date and time are chosen */
.pool-plan.pool-locked svg {
    opacity: 0.35;
    pointer-events: none;
}

/* ---------- Form ---------- */
.pool-form {
    max-width: 800px;
    margin: 30px auto 0;
    font-family: 'Roboto', sans-serif;
}
.pool-step {
    margin-bottom: 30px;
}
.pool-step h3 {
    margin: 0 0 12px;
}
.pool-hidden {
    display: none !important;
}
.pool-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}
.pool-row label {
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pool-row select,
.pool-row input {
    width: 100%;
}
.pool-selected {
    font-weight: 500;
}

/* Privacy checkbox */
.pool-form .pool-check {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}
.pool-form .pool-check input {
    width: auto;
    margin-top: 5px;
}

/* Button: always pink, no hover effect */
.pool-form .pool-submit,
.pool-form .pool-submit:hover,
.pool-form .pool-submit:focus,
.pool-form .pool-submit:active {
    background: #F05F84 !important;
    border: 2px solid #F05F84 !important;
    color: #fff !important;
    cursor: pointer;
    padding: 12px 28px;
}
.pool-form .pool-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Messages */
.pool-message-error   { color: #b94a48; }
.pool-message-success { color: #2e7d32; font-weight: 500; }

/* Hidden spam trap: must stay invisible */
.pool-hp {
    position: absolute;
    left: -9999px;
}

/* ---------- Calendar ---------- */
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #F05F84;
    border-color: #F05F84;
}

/* ---------- Message for a day (party, DJ, ...) ---------- */
.pool-notice {
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #fff7e0;
    border-left: 4px solid #F05F84;
}
.pool-notice p {
    margin: 0 0 6px;
}
.pool-notice p:last-child {
    margin-bottom: 0;
}
.pool-notice a {
    font-weight: 500;
}
.pool-row textarea {
    width: 100%;
}

/* ---------- Message for a day (party, DJ, closed, ...) ---------- */
.pool-notice .pool-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 28px;
    background: #F05F84;
    border: 2px solid #F05F84;
    color: #fff !important;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}
.pool-notice .pool-btn:hover,
.pool-notice .pool-btn:focus,
.pool-notice .pool-btn:active {
    background: #F05F84;
    border-color: #F05F84;
    color: #fff !important;
    text-decoration: none;
}
.pool-row textarea {
    width: 100%;
}