
        .online-test * {
            box-sizing: border-box;
        }
        .online-test {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background: #f5f5f5;
            color: #333;
        }
        .test-header {
            background: linear-gradient(135deg, #2c5282, #4a7ab5);
            color: white;
            padding: 30px;
            border-radius: 10px;
            margin-bottom: 30px;
            text-align: center;
        }
        .test-header h1 {
            margin: 0 0 10px 0;
            font-size: 1.8em;
        }
        .test-header p {
            margin: 0;
            opacity: 0.9;
        }
        .question-container {
            background: white;
            padding: 20px;
            margin-bottom: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .question-number {
            color: #2c5282;
            font-weight: bold;
            font-size: 0.9em;
            margin-bottom: 5px;
        }
        .question-text {
            font-size: 1.1em;
            margin-bottom: 15px;
            color: #333;
        }
        .answers {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .answer-option {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            background: #f8f9fa;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .answer-option:hover {
            background: #edf2f7;
            border-color: #cbd5e0;
        }
        .answer-option.selected {
            background: #ebf8ff;
            border-color: #4299e1;
        }
        .answer-option input {
            margin-right: 12px;
            transform: scale(1.2);
        }
        .progress-container {
            background: white;
            padding: 15px 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .progress-bar {
            background: #e2e8f0;
            border-radius: 10px;
            height: 10px;
            overflow: hidden;
        }
        .progress-fill {
            background: linear-gradient(90deg, #4299e1, #2c5282);
            height: 100%;
            transition: width 0.3s;
            border-radius: 10px;
        }
        .progress-text {
            text-align: center;
            margin-top: 8px;
            color: #666;
            font-size: 0.9em;
        }
        .submit-btn {
            display: block;
            width: 100%;
            padding: 15px 30px;
            background: linear-gradient(135deg, #48bb78, #38a169);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
        }
        .submit-btn:disabled {
            background: #a0aec0;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        .results {
            display: none;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .results h2 {
            color: #2c5282;
            margin-top: 0;
        }
        .score-display {
            text-align: center;
            padding: 20px;
            margin: 20px 0;
            border-radius: 10px;
        }
        .score-number {
            font-size: 3em;
            font-weight: bold;
            display: block;
        }
        .score-label {
            font-size: 1.2em;
            margin-top: 5px;
        }
        .score-excellent { background: #c6f6d5; color: #22543d; }
        .score-mild { background: #fefcbf; color: #744210; }
        .score-moderate { background: #fed7aa; color: #7b341e; }
        .score-significant { background: #feb2b2; color: #822727; }
        .score-severe { background: #fc8181; color: #822727; }
        .interpretation {
            background: #f7fafc;
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid #4299e1;
            margin: 20px 0;
        }
        .retake-btn {
            display: inline-block;
            padding: 12px 24px;
            background: #4299e1;
            color: white;
            text-decoration: none;
            border-radius: 6px;
            margin-top: 20px;
            cursor: pointer;
            border: none;
            font-size: 1em;
        }
        .retake-btn:hover {
            background: #3182ce;
        }
        .payment-section {
            display: none;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            text-align: center;
        }
        .payment-section h2 {
            color: #2c5282;
            margin-top: 0;
        }
        .payment-price {
            font-size: 2.5em;
            font-weight: bold;
            color: #38a169;
            margin: 20px 0;
        }
        .payment-description {
            color: #666;
            margin-bottom: 25px;
            line-height: 1.6;
        }
        .payment-form {
            max-width: 400px;
            margin: 0 auto;
        }
        .payment-form input {
            width: 100%;
            padding: 12px 15px;
            margin-bottom: 15px;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            font-size: 1em;
        }
        .payment-form input:focus {
            outline: none;
            border-color: #4299e1;
        }
        .card-row {
            display: flex;
            gap: 15px;
        }
        .card-row input {
            flex: 1;
        }
        .pay-btn {
            display: block;
            width: 100%;
            padding: 15px 30px;
            background: linear-gradient(135deg, #48bb78, #38a169);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            margin-top: 10px;
        }
        .pay-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
        }
        .secure-badge {
            margin-top: 20px;
            color: #718096;
            font-size: 0.9em;
        }
        .secure-badge svg {
            vertical-align: middle;
            margin-right: 5px;
        }
        .demo-bypass {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px dashed #e2e8f0;
        }
        .demo-bypass-btn {
            background: #718096;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.9em;
        }
        .demo-bypass-btn:hover {
            background: #4a5568;
        }
        .contact-info {
            background: #ebf8ff;
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
        }
        .contact-info h3 {
            margin-top: 0;
            color: #2c5282;
        }
        @media (max-width: 600px) {
            .online-test {
                padding: 10px;
            }
            .test-header {
                padding: 20px;
            }
            .test-header h1 {
                font-size: 1.4em;
            }
            .question-container {
                padding: 15px;
            }
        }
    
        /* Gate pane */
        .gate-pane {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 25px;
        }
        .gate-pane h2 {
            color: #2c5282;
            margin-top: 0;
            font-size: 1.3em;
        }
        .gate-field { margin-bottom: 16px; }
        .gate-field label {
            display: block;
            font-weight: 600;
            margin-bottom: 5px;
            color: #333;
        }
        .gate-field input[type="text"],
        .gate-field input[type="email"] {
            width: 100%;
            padding: 10px 14px;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            font-size: 1em;
            transition: border-color 0.2s;
        }
        .gate-field input[type="text"]:focus,
        .gate-field input[type="email"]:focus {
            outline: none;
            border-color: #4299e1;
        }
        .gate-field input.gate-error { border-color: #e53e3e; }
        .gate-error-msg {
            color: #e53e3e;
            font-size: 0.85em;
            margin-top: 4px;
            display: none;
        }
        .gate-newsletter {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin: 18px 0 20px;
            font-size: 0.95em;
            color: #555;
        }
        .gate-newsletter input { margin-top: 3px; transform: scale(1.2); flex-shrink: 0; }
        .gate-next-btn {
            display: inline-block;
            padding: 12px 28px;
            background: linear-gradient(135deg, #e8a020, #c07800);
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 1.05em;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .gate-next-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(232,160,32,0.4);
        }
        .begin-btn {
            display: inline-block;
            padding: 12px 28px;
            background: linear-gradient(135deg, #e8a020, #c07800);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1.05em;
            font-weight: bold;
            cursor: pointer;
            margin-top: 15px;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .begin-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(232,160,32,0.4);
        }
        .begin-action { text-align: center; margin-bottom: 20px; }
