/* How to Decide Quiz Styling */

.quiz-card {
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.quiz-card:hover {
    border-color: #007bff;
    background-color: #f0f7ff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.quiz-card h6 {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.quiz-card p {
    font-size: 13px;
    color: #666;
}

.quiz-option-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.quiz-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    font-size: 20px;
    position: relative;
}

.quiz-circle:hover {
    border-color: #007bff;
    background-color: #f0f7ff;
}

.quiz-circle.selected {
    color: #fff;
}

/* Agree - Green */
.quiz-circle[data-side="agree"].selected {
    background-color: #28a745;
    border-color: #1e7e34;
}

.quiz-circle[data-side="agree"]:hover:not(.selected) {
    border-color: #28a745;
    background-color: #e8f5e9;
}

/* Neutral - Gray */
.quiz-circle[data-side="neutral"].selected {
    background-color: #6c757d;
    border-color: #545b62;
}

.quiz-circle[data-side="neutral"]:hover:not(.selected) {
    border-color: #6c757d;
    background-color: #f5f5f5;
}

/* Disagree - Blue */
.quiz-circle[data-side="disagree"].selected {
    background-color: #007bff;
    border-color: #0056b3;
}

.quiz-circle[data-side="disagree"]:hover:not(.selected) {
    border-color: #007bff;
    background-color: #f0f7ff;
}

.quiz-circle .quiz-checkmark {
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 28px;
    color: inherit;
}

.quiz-circle.selected .quiz-checkmark {
    opacity: 1;
}

.quiz-agree-text,
.quiz-neutral-text,
.quiz-disagree-text {
    font-weight: 500;
    font-size: 14px;
    color: #666;
}

.quiz-agree-text {
    color: #28a745;
    font-weight: 600;
}

.quiz-neutral-text {
    color: #6c757d;
    font-weight: 600;
}

.quiz-disagree-text {
    color: #007bff;
    font-weight: 600;
}

.progress {
    height: 5px;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: #007bff;
    transition: width 0.3s ease;
}

#quizCounter {
    display: block;
    margin-top: 8px;
    font-size: 12px;
}

/* Results Modal Styling */
.quiz-results-container {
    text-align: center;
    padding: 20px 0;
}

.quiz-recommendation {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.quiz-recommendation.recommend-agree {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
}

.quiz-recommendation.recommend-neutral {
    background-color: #f8f9fa;
    color: #383d41;
    border: 2px solid #6c757d;
}

.quiz-recommendation.recommend-disagree {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 2px solid #17a2b8;
}

.quiz-stats {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    gap: 15px;
}

.quiz-stat-box {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-agree {
    background-color: #d4edda;
    border: 2px solid #28a745;
}

.stat-agree .stat-percentage {
    color: #155724;
    font-size: 28px;
    font-weight: 700;
}

.stat-agree .stat-label {
    color: #155724;
    font-weight: 600;
}

.stat-neutral {
    background-color: #f8f9fa;
    border: 2px solid #6c757d;
}

.stat-neutral .stat-percentage {
    color: #383d41;
    font-size: 28px;
    font-weight: 700;
}

.stat-neutral .stat-label {
    color: #383d41;
    font-weight: 600;
}

.stat-disagree {
    background-color: #d1ecf1;
    border: 2px solid #17a2b8;
}

.stat-disagree .stat-percentage {
    color: #0c5460;
    font-size: 28px;
    font-weight: 700;
}

.stat-disagree .stat-label {
    color: #0c5460;
    font-weight: 600;
}

/* Modal customizations */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #f0f0f0;
}

.modal-body {
    padding: 30px 20px;
}

.btn-outline-secondary {
    border-color: #ccc;
    color: #666;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}