/* Diffrêng Darm-Funnel Quiz Styles */

.diffreng-funnel-container {
    max-width: 700px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ========== DISCLAIMER ========== */

.diffreng-disclaimer {
    background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.disclaimer-header {
    font-size: 18px;
    font-weight: 600;
    color: #d39e00;
    margin-bottom: 12px;
}

.diffreng-disclaimer p {
    margin: 12px 0;
    line-height: 1.6;
    color: #333;
    font-size: 14px;
}

.diffreng-disclaimer label {
    display: flex;
    align-items: center;
    margin-top: 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.diffreng-disclaimer input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ========== PROGRESS BAR ========== */

.funnel-progress {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

.progress-percent {
    font-weight: 600;
    color: #667eea;
}

/* ========== QUIZ FORM ========== */

.diffreng-quiz {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.funnel-level {
    animation: fadeIn 0.3s ease;
}

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

.funnel-level h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

.level-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* ========== CHECKBOX GROUP ========== */

.checkbox-group {
    border: none;
    padding: 0;
    margin: 0;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    padding: 14px;
    margin-bottom: 10px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.checkbox-group label:hover {
    background: #f0f0f0;
    border-color: #667eea;
}

.checkbox-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group input[type="radio"]:checked ~ label,
.checkbox-group input[type="checkbox"]:checked ~ label {
    background: #e7f0ff;
    border-color: #667eea;
}

/* ========== BUTTONS ========== */

.funnel-navigation {
    display: flex;
    gap: 12px;
    margin-top: 35px;
    justify-content: space-between;
}

.btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    flex: 1;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== EMAIL INPUT ========== */

input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
}

input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ========== SUCCESS MESSAGE ========== */

#diffreng-success {
    animation: slideUp 0.4s ease;
}

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

#diffreng-success h3 {
    margin-top: 0;
    color: #155724;
    font-size: 20px;
}

#diffreng-success p {
    margin: 8px 0;
    color: #155724;
    font-size: 14px;
    line-height: 1.6;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 600px) {
    .diffreng-funnel-container {
        margin: 20px;
    }
    
    .diffreng-quiz {
        padding: 20px;
    }
    
    .funnel-level h2 {
        font-size: 20px;
    }
    
    .checkbox-group label {
        padding: 12px;
        font-size: 13px;
    }
    
    .funnel-navigation {
        flex-wrap: wrap;
    }
    
    .btn {
        min-width: 100%;
        margin-bottom: 8px;
    }
    
    .btn-primary,
    .btn-success {
        flex: 1 1 calc(50% - 6px);
        min-width: auto;
    }
    
    .btn-secondary {
        flex: 1 1 calc(50% - 6px);
        min-width: auto;
    }
}
