.skincare-quiz-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.skincare-quiz-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.quiz-question {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

.quiz-question:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.quiz-question h3 {
    margin: 0 0 1.5rem;
    color: #1e293b;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.quiz-option {
    margin: 0.8rem 0;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.quiz-option:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.quiz-option input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    accent-color: #3b82f6;
}

.quiz-option label {
    cursor: pointer;
    font-size: 1.1rem;
    color: #334155;
    flex: 1;
    margin: 0;
    padding: 0.5rem 0;
}

.quiz-question input[type="number"],
.quiz-question input[type="text"],
.quiz-question input[type="email"] {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #334155;
    transition: all 0.2s ease;
    background: #ffffff;
}

.quiz-question input[type="number"] {
    max-width: 200px;
}

.quiz-question input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.prev-question,
.next-question {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.next-question {
    background: #3b82f6;
    color: white;
}

.next-question:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.prev-question {
    background: #64748b;
    color: white;
}

.prev-question:hover {
    background: #475569;
    transform: translateY(-1px);
}

.quiz-email {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    animation: slideUp 0.5s ease-out;
}

.quiz-email label {
    display: block;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 500;
    font-size: 1.1rem;
}

.quiz-submit {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
    padding: 1.2rem 2rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.quiz-submit:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.quiz-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

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

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

.routine-recommendation {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.5s ease-out;
}

.routine-recommendation h2 {
    color: #1e293b;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.routine-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-image {
    margin-bottom: 1.5rem;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-item h3 {
    margin: 0 0 1rem;
    font-size: 1.3rem;
    color: #1e293b;
    font-weight: 600;
}

.product-description {
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.product-item .button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #3b82f6;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.product-item .button:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .skincare-quiz-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .quiz-question {
        padding: 1.5rem;
    }

    .quiz-question h3 {
        font-size: 1.2rem;
    }

    .quiz-option {
        padding: 0.8rem 1rem;
    }

    .quiz-option label {
        font-size: 1rem;
    }

    .routine-products {
        grid-template-columns: 1fr;
    }
}

.quiz-loading {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.quiz-loading:after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.evodyn-quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.evodyn-quiz-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quiz-question {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.quiz-question:last-child {
    border-bottom: none;
}

.quiz-question h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.quiz-description {
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.slider-container {
    margin: 20px 0;
}

.quiz-slider {
    width: 100%;
    margin: 10px 0;
}

.slider-value {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.slider-description {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

.quiz-advantage {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.quiz-advantage h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.quiz-advantage p {
    color: #666;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
}

.quiz-email-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.quiz-email-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.quiz-email {
    display: grid;
    gap: 15px;
}

.quiz-email label {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.quiz-email input,
.quiz-email textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.quiz-email textarea {
    min-height: 100px;
    resize: vertical;
}

.quiz-email .required {
    color: #dc3545;
}

.quiz-submit {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.quiz-submit:hover {
    background: #0056b3;
}

.quiz-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .evodyn-quiz-container {
        padding: 10px;
    }
    
    .evodyn-quiz-form {
        padding: 20px;
    }
    
    .quiz-question h3 {
        font-size: 1.2em;
    }
    
    .quiz-submit {
        width: 100%;
    }
}

/* Success message styling */
.quiz-success-message {
    text-align: center;
    padding: 30px;
    background: #dff0d8;
    border-radius: 8px;
    margin-top: 20px;
}

.quiz-success-message h3 {
    color: #3c763d;
    margin-bottom: 15px;
}

.quiz-success-message p {
    color: #666;
    font-size: 1.1em;
}

p.modifica-text {
    background: #FBB900;
    color: white;
    text-align: center;
    margin-top: 15px;
    padding: 5px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}