/* ─── Celly Booking Public CSS ────────────────────────────────────────────── */

.celly-booking-form-wrap {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 28px;
    max-width: 560px;
    margin: 30px auto;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    font-family: inherit;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.celly-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.celly-form-title {
    margin: 0;
    font-size: 20px;
    color: #1a1a1a;
}

.celly-price-badge {
    text-align: right;
    line-height: 1.2;
}

.price-num {
    font-size: 26px;
    font-weight: 700;
    color: #4A90A4;
}

.price-currency {
    display: block;
    font-size: 12px;
    color: #999;
}

/* ── Fields ────────────────────────────────────────────────────────────────── */
.celly-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.celly-field label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.celly-field .required {
    color: #e53935;
}

.celly-field input[type="text"],
.celly-field input[type="email"],
.celly-field input[type="tel"],
.celly-field input[type="date"],
.celly-field select,
.celly-field textarea {
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
    background: #fafafa;
}

.celly-field input:focus,
.celly-field select:focus,
.celly-field textarea:focus {
    border-color: #4A90A4;
    outline: none;
    background: #fff;
}

.celly-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.celly-field--guests {
    grid-column: span 1;
}

/* ── Price Summary ─────────────────────────────────────────────────────────── */
.celly-price-summary {
    background: #f0f9ff;
    border: 1px solid #b3e0f7;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 6px;
    color: #444;
}

.summary-total {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #cce8f7;
    margin-bottom: 0;
}

/* ── Submit ────────────────────────────────────────────────────────────────── */
.celly-submit-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.celly-btn-submit {
    background: #4A90A4;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .1s;
    flex-shrink: 0;
}

.celly-btn-submit:hover:not(:disabled) {
    background: #3a7a8e;
    transform: translateY(-1px);
}

.celly-btn-submit:disabled {
    background: #aaa;
    cursor: not-allowed;
    transform: none;
}

.celly-availability-status {
    font-size: 13px;
    font-weight: 600;
}

.status-available { color: #2e7d32; }
.status-unavailable { color: #c62828; }
.status-checking { color: #e65100; }

/* ── Messages ──────────────────────────────────────────────────────────────── */
.celly-form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.celly-form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.celly-form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ── Privacy note ──────────────────────────────────────────────────────────── */
.celly-privacy-note {
    font-size: 12px;
    color: #888;
    margin-top: 16px;
    text-align: center;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media ( max-width: 480px ) {
    .celly-field-row {
        grid-template-columns: 1fr;
    }

    .celly-form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .celly-booking-form-wrap {
        padding: 20px 16px;
    }
}
