/* Businessplan Quiz Styles - FC & DIY Paths */

/* Quiz Container */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.quiz-header p {
    font-size: 18px;
    color: #666;
}

/* Progress Bar */
.quiz-progress {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    margin-bottom: 40px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fba311 0%, #FF7F01 100%);
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* Question Card */
.quiz-question-card {
    animation: fadeIn 0.5s ease;
}

.question-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.question-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Options */
.quiz-options {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.quiz-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.quiz-option:hover {
    border-color: #fba311;
    background: #fff;
    transform: translateX(5px);
}

.quiz-option.selected {
    border-color: #fba311;
    background: #fff7e6;
}

/* Radio Button */
.option-radio {
    flex-shrink: 0;
}

.radio-outer {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quiz-option.selected .radio-outer {
    border-color: #fba311;
}

.radio-inner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.radio-inner.checked {
    background: #fba311;
}

/* Checkbox */
.option-checkbox {
    flex-shrink: 0;
}

/* Option Content */
.option-content {
    flex: 1;
}

.option-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* Navigation Buttons */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.quiz-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-btn-back {
    background: #f8f9fa;
    color: #333;
}

.quiz-btn-back:hover {
    background: #e9ecef;
}

.quiz-btn-next {
    background: #fba311;
    color: #fff;
    margin-left: auto;
}

.quiz-btn-next:hover:not(:disabled) {
    background: #FF7F01;
    transform: translateY(-2px);
}

.quiz-btn-next:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Chat Bubble */
#chat-bubble a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(251, 163, 17, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .quiz-container {
        padding: 25px;
    }

    .quiz-header h2 {
        font-size: 24px;
    }

    .question-title {
        font-size: 20px;
    }

    .quiz-option {
        padding: 15px;
    }

    .option-title {
        font-size: 14px;
    }

    .quiz-navigation {
        flex-direction: column;
    }

    .quiz-btn {
        width: 100%;
    }

    .quiz-btn-next {
        margin-left: 0;
    }

    #chat-bubble a span {
        display: none;
    }

    #chat-bubble a {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
}

/* Result Styling */
.default-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fba311;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.default-btn:hover {
    background: #FF7F01;
    transform: translateY(-2px);
    color: #fff;
}

/* Lead Form Styling */
#lead-form input {
    font-family: 'Lato', sans-serif;
}

#lead-form input:focus {
    outline: none;
    border-color: #fba311;
}
