/* Stile del contenitore principale */
body {
    background-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    display: block;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.form-container {
    max-width: none;
    width: 100%;
    margin: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.form-step.active {
    display: block;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

h2 i {
    margin-right: 10px;
    color: #85c441;
}

.form-group {
    margin-bottom: 22px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

label.required::after {
    content: ' *';
    color: red;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #85c441;
    outline: none;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.input-group .form-group {
    flex-grow: 1;
}

.rooms-total-group {
    text-align: center;
}

.rooms-total-group input {
    max-width: 200px;
    margin: 0 auto;
}

.room-divider {
    text-align: center;
    margin-top: -10px;
    margin-bottom: 20px;
    color: #555;
    font-style: italic;
}

.room-inputs {
    gap: 10px;
}

.room-inputs .form-group {
    flex: 1 1 80px;
    min-width: 80px;
}

.input-medium {
    max-width: 250px;
}

.error-message {
    color: red;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

input.error,
select.error,
textarea.error {
    border-color: red !important;
}

.radio-group.error,
.checkbox-group.error {
    border: 1px solid red;
    border-radius: 8px;
    padding: 10px;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    padding: 10px 0;
}

.radio-group div,
.checkbox-group div {
    display: flex;
    align-items: center;
}

.radio-group label,
.checkbox-group label {
    margin-bottom: 0;
    margin-left: 5px;
    font-weight: normal;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background-color: #85c441;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #6da335;
}

.btn-prev {
    background-color: #6c757d;
}

.btn-prev:hover {
    background-color: #5a6268;
}

button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

.currency-input {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-input span {
    position: absolute;
    left: 10px;
    color: #888;
}

.currency-input input {
    padding-left: 25px;
}

.progress-bar {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 10px;
    margin-top: 20px;
    height: 12px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: #85c441;
    border-radius: 10px;
    transition: width 0.4s ease-in-out;
}

/* NUOVI STILI PER INTESTAZIONE E RIEPILOGO */
.summary-header {
    text-align: center;
    margin-bottom: 30px;
}

.summary-header img {
    max-width: 180px;
    height: auto;
    margin-bottom: 10px;
}

.summary-header .slogan {
    font-style: italic;
    color: #555;
    margin: 0 0 15px 0;
}

.summary-header .contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #333;
}

.summary-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.summary-box h3 {
    margin-top: 0;
    color: #333;
}

#summary-text {
    /* Stile per il nuovo div di riepilogo */
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

#summary-text strong {
    /* Stile per il testo in neretto */
    color: #000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
