         /* MBTI AI 전용 스타일 */
        :root {
            --mbti-primary: #667eea;
            --mbti-secondary: #764ba2;
            --mbti-light: #f0f4ff;
            --mbti-gradient: linear-gradient(135deg, var(--mbti-primary), var(--mbti-secondary));
        }
        
        .mbti-analysis-section {
            background: var(--mbti-light);
            border: 2px solid var(--mbti-primary);
            border-radius: 15px;
            padding: 20px;
            margin: 20px 0;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
        }
        
        .mbti-comparison {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .mbti-person {
            flex: 1;
            min-width: 200px;
            background: white;
            padding: 15px;
            border-radius: 12px;
            border: 2px solid #e0e7ff;
            transition: all 0.3s;
        }
        
        .mbti-person:hover {
            border-color: var(--mbti-primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }
        
        .mbti-person h5 {
            margin: 0 0 10px 0;
            color: var(--mbti-primary);
            font-weight: bold;
        }
        
        .mbti-select {
            width: 100%;
            padding: 10px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .mbti-select:focus {
            border-color: var(--mbti-primary);
            box-shadow: 0 0 8px rgba(102, 126, 234, 0.4);
            outline: none;
        }
        
        .mbti-vs {
            font-size: 32px;
            font-weight: bold;
            color: var(--mbti-primary);
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            min-width: 50px;
            text-align: center;
        }
        
        .mbti-insights {
            background: linear-gradient(135deg, #e8f2ff, #f0f4ff);
            padding: 15px;
            border-radius: 10px;
            border-left: 4px solid var(--mbti-primary);
            margin-top: 15px;
        }
        
        .mbti-insights p {
            margin: 0;
            font-size: 14px;
            color: #2c3e50;
            line-height: 1.5;
        }
        
        .compatibility-meter {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
        }
        
        .compatibility-bar {
            flex: 1;
            height: 8px;
            background: #e0e0e0;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .compatibility-fill {
            height: 100%;
            background: var(--mbti-gradient);
            border-radius: 4px;
            transition: width 0.5s ease;
        }
        
        .mbti-badge {
            background: var(--mbti-gradient);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            text-shadow: 0 1px 2px rgba(0,0,0,0.3);
        }
        
        .scenario-preview-card {
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 20px;
            margin: 15px 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: all 0.3s;
        }
        
        .scenario-preview-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        
        .scenario-preview-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 12px;
            border-bottom: 2px solid #f0f0f0;
        }
        
        .scenario-mbti-pair {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        
        .scenario-content-preview {
            background: #f8f9fa;
            padding: 18px;
            border-radius: 10px;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 14px;
            line-height: 1.7;
            white-space: pre-wrap;
            max-height: 350px;
            overflow-y: auto;
            border: 1px solid #e9ecef;
        }
        
        .scenario-json-preview {
            background: #2c3e50;
            color: #ecf0f1;
            padding: 18px;
            border-radius: 10px;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 12px;
            line-height: 1.6;
            max-height: 400px;
            overflow-y: auto;
            margin-top: 12px;
            border: 1px solid #34495e;
        }
        
        .mbti-stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 10px;
            margin-top: 15px;
        }
        
        .mbti-stat-item {
            background: white;
            padding: 12px;
            border-radius: 8px;
            text-align: center;
            border: 2px solid #f0f0f0;
            transition: all 0.3s;
        }
        
        .mbti-stat-item:hover {
            border-color: var(--mbti-primary);
            background: var(--mbti-light);
        }
        
        .mbti-stat-label {
            font-size: 12px;
            color: #666;
            margin-bottom: 4px;
        }
        
        .mbti-stat-value {
            font-size: 18px;
            font-weight: bold;
            color: var(--mbti-primary);
        }
        
        .category-need-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-left: 8px;
        }
        
        .category-need-indicator.red {
            background: #e74c3c;
        }
        
        .category-need-indicator.yellow {
            background: #f39c12;
        }
        
        .category-need-indicator.green {
            background: #27ae60;
        }
        
        .quick-templates-section {
            background: var(--mbti-light);
            padding: 20px;
            border-radius: 12px;
            margin: 20px 0;
            border: 2px solid var(--mbti-primary);
        }
        
        .template-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 15px;
        }
        
        .template-card {
            background: white;
            padding: 15px;
            border-radius: 10px;
            border: 2px solid #e0e7ff;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
        }
        
        .template-card:hover {
            border-color: var(--mbti-primary);
            background: var(--mbti-light);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }
        
        .template-icon {
            font-size: 24px;
            margin-bottom: 8px;
        }
        
        .template-title {
            font-weight: bold;
            color: var(--mbti-primary);
            margin-bottom: 5px;
        }
        
        .template-desc {
            font-size: 12px;
            color: #666;
        }
        
        /* 로딩 애니메이션 개선 */
        .loading-pulse {
            display: inline-block;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }
        
        /* 반응형 개선 */
        @media (max-width: 768px) {
            .mbti-comparison {
                flex-direction: column;
            }
            
            .mbti-vs {
                transform: rotate(90deg);
                font-size: 24px;
            }
            
            .template-grid {
                grid-template-columns: 1fr;
            }
        }
   