:root {
    --primary: #00133F;
    --secondary: #48BDED;
    --border-radius: 24px;
    --font-family: 'Manrope', sans-serif;
    --bg-color: #ffffff;
    --text-color: #1e293b;
    --light-gray: #e2e8f0;
}

.findomo-survey-wrapper {
    background-color: var(--bg-color);
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.findomo-survey-container {
    font-family: var(--font-family);
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0,0,0,0.02);
    padding: 40px 35px;
    color: var(--text-color);
    position: relative;
}

/* Progress Bar */
.progress-segments {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    justify-content: center;
}
.progress-segment {
    height: 5px;
    flex: 1;
    background-color: var(--light-gray);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.progress-segment.active {
    background-color: var(--secondary);
}

/* Tipologia Testo e Subheading */
.question-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 12px;
    display: block;
}

.findomo-subheading {
    color: var(--secondary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: block;
}

.findomo-survey-container h4 {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 1.5rem;
    line-height: 1.3;
}

.subtitle-hint {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 25px;
    display: block;
}

.findomo-survey-container p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #475569;
}

/* Opzioni Radio e Checkbox */
.findomo-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    cursor: pointer;
    padding: 14px 18px;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.findomo-option:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.findomo-option input[type="radio"],
.findomo-option input[type="checkbox"] {
    margin-right: 15px;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--secondary);
    cursor: pointer;
}

.findomo-option span {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.45;
}

/* Campi Testo e Area "Altro" */
.findomo-text-input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
    resize: vertical;
}

.findomo-text-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(72, 189, 237, 0.15);
}

/* Navigazione Bottoni */
.actions-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    padding-top: 25px;
}

.findomo-btn-back {
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    font-family: var(--font-family);
    transition: color 0.2s ease;
    padding: 10px 0;
}

.findomo-btn-back:hover {
    color: var(--primary);
}

.findomo-btn-next {
    background-color: var(--secondary);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    min-width: 130px;
}

.findomo-btn-next:hover {
    background-color: #3aa2d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 189, 237, 0.3);
}

/* Bottone Link Finale */
.findomo-btn-link {
    display: inline-block;
    background-color: var(--secondary);
    color: white !important;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    margin-top: 15px;
    text-align: center;
}

.findomo-btn-link:hover {
    background-color: #3aa2d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 189, 237, 0.3);
    color: white;
}

/* Animazioni */
.step-fade-in {
    animation: fadeIn 0.35s ease-out;
}

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