.form-group {
    margin-top: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

#tour_hour_place {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    background-color: #fff;
    transition: border 0.3s;
}

#tour_hour_place:focus {
    border-color: #4CAF50;
    outline: none;
}

.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    background-color: #fff;
    transition: border 0.3s;
}

.form-group select:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Calcolo totali */
.totali-box {
    margin-top: 25px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
}

.totali-box p {
    margin: 8px 0;
    font-size: 15px;
}

.totali-box strong {
    font-size: 16px;
}

/* Dati personali */
.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 8px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
}

/* Button invia richiesta */
/* Bottone principale */
.btn-submit {
    background: linear-gradient(135deg, #ff7e5f, #feb47b); /* gradiente moderno */
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Hover effetto */
.btn-submit:hover {
    background: linear-gradient(135deg, #feb47b, #ff7e5f);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Focus per accessibilità */
.btn-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,126,95,0.5);
}

/* Barra richiesta che spunta appena si scende nella pagina */

/* Bottone flottante */
.btn-flottante {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 22px;
    border: none;
    height:50px;
	width:100%;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.btn-flottante:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,126,95,0.5); }
    70%  { box-shadow: 0 0 0 12px rgba(255,126,95,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,126,95,0); }
}

/* Overlay scuro */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

/* Box modal */
.modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Bottone chiudi X */
.btn-chiudi {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #555;
    line-height: 1;
    transition: color 0.2s;
}

.btn-chiudi:hover {
    color: #ff7e5f;
}

/* Blocca scroll body quando modal aperto */
body.modal-aperto {
    overflow: hidden;
}

@media screen and (max-width: 426px) {
	.btn-flottante {width:100%;bottom: 0; right: 0;border-radius:0;height:50px;font-size:20px;}
}
