  /* 測試頁面專用樣式 */
.test-title
{
    font-size:1.6em;
}
p
{
    margin-bottom:0.5em;
}
        .test-container {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: 20px;
            padding: 1em 0.5em;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }
        
        .question-card {
            display: none;
            animation: fadeIn 0.5s ease;
        }
        
        .question-card.active {
            display: block;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .question-header {
            margin-bottom: 1rem;
        }
        
        .question-number {
            display: inline-block;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            width: 30px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            border-radius: 50%;
            font-weight: bold;
            margin-right: 15px;
        }
        
        .question-text {
            font-size: 1.2em;
            font-weight: 500;
            color: #2c3e50;
            line-height: 1.6;
            margin-bottom: 1rem;
        }
        .question-header span.text-muted{
            font-size:0.8em;
        }
        .answer-options {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 1rem;
        }
        
        .answer-option {
            position: relative;
        }
        
        .answer-option input[type="radio"] {
            position: absolute;
            opacity: 0;
        }
        
        .answer-option label {
            display: block;
            padding: 0.5em 1em;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            line-height: 1.6;
            color: #495057;
            margin: 0;
        }
        
        .answer-option input[type="radio"]:checked + label {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-color: transparent;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }
        
        .answer-option label:hover {
            border-color: #667eea;
            background: rgba(102, 126, 234, 0.05);
        }
        
        .answer-option input[type="radio"]:checked + label::before {
            content: '✓';
            float: right;
            font-weight: bold;
        }
        
        .navigation-buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 2rem;
        }
        
        .btn {
            padding: 0.8rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-prev {
            background: #e9ecef;
            color: #495057;
            border: none;
        }
        
        .btn-prev:hover:not(:disabled) {
            background: #dee2e6;
            transform: translateX(-3px);
        }
        
        .btn-next {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
        }
        
        .btn-next:hover:not(:disabled) {
            transform: translateX(3px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }
        
        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .progress-indicator {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 0.5rem 0 1rem;
        }
        
        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #dee2e6;
            transition: all 0.3s ease;
        }
        
        .dot.active {
            background: #667eea;
            transform: scale(1.3);
        }
        
        .dot.completed {
            background: #28a745;
        }
        
        .type-badge {
            display: inline-block;
            padding: 0.5rem 1rem;
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
            border-radius: 50px;
            font-weight: 600;
            margin: 0 0.5rem;
        }
        
        /* 結果頁面樣式 */
        .result-card {
            background: white;
            border-radius: 20px;
            padding: 3rem;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }
        
        .result-type {
            font-size: 5rem;
            font-weight: 800;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 1rem;
        }
        
        .score-bar {
            height: 30px;
            background: #f0f0f0;
            border-radius: 15px;
            overflow: hidden;
            margin: 2rem 0;
            display: flex;
        }
        
        .score-bar-a {
            background: linear-gradient(90deg, #667eea, #764ba2);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            transition: width 1s ease;
        }
        
        .score-bar-b {
            background: linear-gradient(90deg, #f0f0f0, #e0e0e0);
            color: #666;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            transition: width 1s ease;
        }
        
        .score-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 0.5rem;
            font-weight: 600;
        }
        
        .btn-result {
            padding: 1rem 3rem;
            font-size: 1.2rem;
            margin: 1rem;
        }