/* ================================
   Prenoteca – Booking Requests – Frontend
   ================================ */

.prenoteca-form {
    max-width: 450px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    font-family: Arial, sans-serif;
}

.prenoteca-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

.prenoteca-form input,
.prenoteca-form textarea {
    width: 95%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color .2s ease;
}

.prenoteca-form select{
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color .2s ease;
}

.prenoteca-form input:focus,
.prenoteca-form textarea:focus {
    border-color: #0073aa;
    outline: none;
}

.prenoteca-form button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s ease;
}

.prenoteca-form button:hover {
    background: #005f8d;
}

/* Messaggio di conferma */
.prenoteca-confirmation {
    max-width: 450px;
    margin: 20px auto;
    padding: 20px;
    background: #e6ffed;
    border: 1px solid #b2f5c8;
    border-radius: 8px;
    color: #1b6e3b;
    font-size: 16px;
}

.prenoteca-title {
    text-align: center;
    margin-bottom: 5px;
    font-size: 22px;
    color: #222;
}

.prenoteca-subtitle {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

/* Consenso privacy */
.prenoteca-form .prenoteca-privacy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 15px;
    font-weight: normal;
    font-size: 14px;
}

.prenoteca-form .prenoteca-privacy input {
    width: auto;
    margin: 3px 0 0;
    padding: 0;
}

.prenoteca-form .prenoteca-privacy a {
    color: #0073aa;
}

/* Pagina di annullamento */
.prenoteca-confirmation.prenoteca-cancel {
    background: #fafafa;
    border-color: #ddd;
    color: #333;
}

.prenoteca-confirmation-error {
    background: #ffecec;
    border-color: #ffb3b3;
    color: #a30000;
}

.prenoteca-cancel-details {
    margin: 0 0 15px;
    padding-left: 20px;
}

.prenoteca-cancel form {
    margin: 0;
}

.prenoteca-btn-danger {
    border: none;
    background: #d63638;
    cursor: pointer;
}

.prenoteca-btn-danger:hover {
    background: #b32d2e;
}

.prenoteca-notice-error {
    margin-bottom: 15px;
    padding: 10px 12px;
    background: #ffecec;
    border: 1px solid #ffb3b3;
    border-radius: 6px;
    color: #a30000;
}

.prenoteca-date-notice,
.prenoteca-time-notice {
    margin: -8px 0 15px;
    font-size: 14px;
    color: #a30000;
}

.prenoteca-service-description {
    margin: -8px 0 15px;
    font-size: 14px;
    color: #555;
}

.prenoteca-row {
    display: flex;
    gap: 15px;
}

.prenoteca-col {
    flex: 1;
}

.prenoteca-btn {
    display: inline-block;
    width: 95%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
}

.prenoteca-btn:hover {
    background: #005f8d;
}

