/* Garni Waltoy – modulo richiesta
   Il sito usa già Bootstrap 3 (row / col-* / form-control / has-error):
   qui solo le aggiunte, tutte con prefisso .requestform / .rf-  */

.requestform { margin: 10px 0 30px; }
.requestform [hidden] { display: none !important; }

.requestform fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 20px;
    min-width: 0;
}
.requestform legend {
    font-size: 1.15em;
    font-weight: 600;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    padding-bottom: 6px;
    margin-bottom: 18px;
}

.requestform .form-group { margin-bottom: 18px; }
.requestform label { font-weight: 600; display: block; margin-bottom: 5px; }
.requestform .rf-required { color: #b00020; font-weight: 400; margin-left: 2px; }
.requestform .rf-hint { font-weight: 400; opacity: .7; font-size: .9em; }

.requestform .form-control { width: 100%; }
.requestform textarea.form-control { min-height: 130px; resize: vertical; }
.requestform input[type="date"].form-control { line-height: normal; }

/* Notti calcolate accanto alle date */
.requestform .rf-nights {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .06);
    font-size: .9em;
    font-weight: 600;
}

/* Checkbox privacy */
.requestform .rf-check { position: relative; padding-left: 28px; }
.requestform .rf-check label { font-weight: 400; cursor: pointer; }
.requestform .rf-check input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    margin: 0;
}

/* Errori inline (fallback se il tema non include .has-error di Bootstrap) */
.requestform .has-error .form-control { border-color: #b00020; box-shadow: none; }
.requestform .has-error label { color: #b00020; }
.requestform .help-block.rf-error {
    display: block;
    margin: 5px 0 0;
    color: #b00020;
    font-size: .9em;
}

/* Messaggio di stato sopra il pulsante */
.requestform .rf-status {
    padding: 14px 18px;
    margin: 0 0 20px;
    border-radius: 3px;
    border: 1px solid transparent;
    font-weight: 600;
}
.requestform .rf-status-success { background: #e8f5e9; border-color: #a5d6a7; color: #1b5e20; }
.requestform .rf-status-error   { background: #fdecea; border-color: #f5c2c0; color: #8e0000; }
.requestform .rf-status-info    { background: #f3f3f3; border-color: #ddd;    color: #444; }

/* Pulsante: riusa .btn-request del tema; questi sono solo valori di riserva */
.requestform .rf-actions { margin-top: 10px; }
.requestform button.btn-request {
    cursor: pointer;
    border: 0;
    -webkit-appearance: none;
    appearance: none;
}
.requestform button.btn-request:disabled { opacity: .6; cursor: default; }
.requestform.rf-busy { opacity: .75; }

/* Campo-trappola anti-spam: fuori schermo, non display:none (alcuni bot lo controllano) */
.requestform .rf-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.requestform noscript p {
    padding: 10px 14px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 3px;
}

@media (max-width: 767px) {
    .requestform legend { font-size: 1.05em; }
}
