/* Shared quiz styles, extracted from quiz-iwd-men.php 2026-07-27 for the data-driven engine. */

        body {
            background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 100%);
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
        }

        .quiz-container {
            max-width: 700px;
            margin: 50px auto;
            padding: 40px;
            background: rgba(0, 0, 0, 0.9);
            border: 2px solid #8b0000;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(139, 0, 0, 0.5);
        }

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

        .quiz-header h1 {
            color: #cc0000;
            font-size: 32px;
            margin: 0 0 15px 0;
            line-height: 1.3;
        }

        .quiz-header p {
            color: #ccc;
            font-size: 16px;
            line-height: 1.6;
        }

        .year-badge {
            display: inline-block;
            background: linear-gradient(135deg, #8b0000, #cc0000);
            color: #fff;
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            margin-bottom: 30px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #8b0000, #cc0000);
            width: 0%;
            transition: width 0.3s ease;
        }

        .question-container {
            display: none;
            animation: fadeIn 0.4s ease;
        }

        .question-container.active {
            display: block;
        }

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

        .question-number {
            color: #888;
            font-size: 14px;
            margin-bottom: 10px;
        }

        .question-text {
            color: #fff;
            font-size: 22px;
            font-weight: bold;
            margin-bottom: 25px;
            line-height: 1.4;
        }

        .answer-option {
            background: rgba(139, 0, 0, 0.15);
            border: 2px solid rgba(139, 0, 0, 0.4);
            border-radius: 8px;
            padding: 18px 20px;
            margin-bottom: 15px;
            color: #fff;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 16px;
            line-height: 1.5;
        }

        .answer-option:hover {
            background: rgba(139, 0, 0, 0.3);
            border-color: #8b0000;
            transform: translateX(5px);
        }

        .answer-option.selected {
            background: rgba(139, 0, 0, 0.5);
            border-color: #cc0000;
            box-shadow: 0 0 15px rgba(204, 0, 0, 0.3);
        }

        /* Likert Scale Styles */
        .likert-scale {
            display: flex;
            justify-content: space-between;
            gap: 8px;
            margin-top: 10px;
        }

        .likert-option {
            flex: 1;
            text-align: center;
            cursor: pointer;
        }

        .likert-option input[type="radio"] {
            display: none;
        }

        .likert-option label {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            padding: 15px 5px;
            border: 2px solid rgba(139, 0, 0, 0.3);
            border-radius: 8px;
            background: rgba(139, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .likert-option label:hover {
            background: rgba(139, 0, 0, 0.25);
            border-color: #8b0000;
        }

        .likert-option input[type="radio"]:checked + label {
            background: rgba(139, 0, 0, 0.5);
            border-color: #cc0000;
            box-shadow: 0 0 15px rgba(204, 0, 0, 0.3);
        }

        .likert-dot {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 2px solid #666;
            margin-bottom: 8px;
            transition: all 0.3s ease;
        }

        .likert-option input[type="radio"]:checked + label .likert-dot {
            background: #cc0000;
            border-color: #cc0000;
        }

        .likert-label {
            color: #aaa;
            font-size: 11px;
            line-height: 1.3;
        }

        .likert-option input[type="radio"]:checked + label .likert-label {
            color: #fff;
        }

        .likert-next-btn {
            display: block;
            margin: 20px auto 0;
            padding: 12px 35px;
            background: #8b0000;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .likert-next-btn:hover {
            background: #cc0000;
            transform: translateY(-2px);
        }

                /* Forced Choice Styles */
        .forced-choice-container {
            display: flex;
            gap: 15px;
        }

        .forced-choice-option {
            flex: 1;
            background: rgba(139, 0, 0, 0.12);
            border: 2px solid rgba(139, 0, 0, 0.35);
            border-radius: 10px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .forced-choice-option:hover {
            background: rgba(139, 0, 0, 0.25);
            border-color: #8b0000;
            transform: translateY(-3px);
        }

        .forced-choice-option.selected {
            background: rgba(139, 0, 0, 0.5);
            border-color: #cc0000;
            box-shadow: 0 0 15px rgba(204, 0, 0, 0.3);
        }

        .forced-choice-label {
            color: #cc0000;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
            font-weight: bold;
        }

        .forced-choice-text {
            color: #fff;
            font-size: 15px;
            line-height: 1.5;
        }

        .email-gate {
            display: none;
            text-align: center;
        }

        .email-gate.active {
            display: block;
        }

        .email-gate h2 {
            color: #cc0000;
            font-size: 28px;
            margin-bottom: 15px;
        }

        .email-gate p {
            color: #ccc;
            font-size: 16px;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .email-input {
            width: 100%;
            max-width: 400px;
            padding: 15px;
            font-size: 16px;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid #444;
            border-radius: 8px;
            color: #fff;
            margin-bottom: 20px;
            box-sizing: border-box;
        }

        .email-input:focus {
            outline: none;
            border-color: #cc0000;
            background: rgba(255, 255, 255, 0.15);
        }

        .btn-primary {
            background: #8b0000;
            color: #fff;
            border: none;
            padding: 15px 40px;
            font-size: 18px;
            font-weight: bold;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            background: #cc0000;
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(204, 0, 0, 0.4);
        }

        .btn-primary:disabled {
            background: #555;
            cursor: not-allowed;
            transform: none;
        }

        .results-container {
            display: none;
        }

        .results-container.active {
            display: block;
        }

        .result-badge {
            background: rgba(139, 0, 0, 0.3);
            border: 2px solid #cc0000;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            margin-bottom: 30px;
        }

        .result-title {
            color: #cc0000;
            font-size: 32px;
            font-weight: bold;
            margin: 0 0 10px 0;
        }

        .result-subtitle {
            color: #ccc;
            font-size: 16px;
        }

        .result-description {
            color: #fff;
            font-size: 18px;
            line-height: 1.8;
            margin: 25px 0;
        }

        .result-cta {
            background: rgba(139, 0, 0, 0.2);
            border: 2px solid #8b0000;
            border-radius: 10px;
            padding: 30px;
            margin-top: 30px;
            text-align: center;
        }

        .result-cta h3 {
            color: #fff;
            font-size: 24px;
            margin: 0 0 20px 0;
        }

        .privacy-note {
            text-align: center;
            color: #888;
            font-size: 13px;
            margin-top: 20px;
        }

        @media (max-width: 600px) {
            .quiz-container {
                margin: 20px;
                padding: 25px;
            }

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

            .question-text {
                font-size: 18px;
            }

            .answer-option {
                padding: 15px;
                font-size: 15px;
            }

            .likert-scale {
                gap: 4px;
            }

            .likert-option label {
                padding: 10px 3px;
            }

            .likert-label {
                font-size: 9px;
            }

            .likert-dot {
                width: 16px;
                height: 16px;
            }

            .forced-choice-container {
                flex-direction: column;
            }

            .forced-choice-option {
                padding: 15px;
            }
        }
    