/* ========================================
   교육 기능 스타일
   Problem List, Hidden Clues, KTAS Badge
   ======================================== */

/* 교육 섹션 */
.education-section {
    padding: 16px 0;
    border-top: 2px dashed #dee2e6;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
    margin: 16px 0;
}

/* Problem List */
.problem-list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-left: 3px solid #adb5bd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.problem-item:hover {
    background: #e9ecef;
    transform: translateX(2px);
}

.problem-item.priority-high {
    border-left-color: #ff8800;
    background: #fff8f5;
}

.problem-item.priority-high:hover {
    background: #fff4e6;
}

.problem-item.priority-medium {
    border-left-color: #ffc107;
    background: #fffef5;
}

.problem-item.priority-medium:hover {
    background: #fff9db;
}

.problem-number {
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.problem-item.priority-high .problem-number {
    background: #ff8800;
}

.problem-item.priority-medium .problem-number {
    background: #ffc107;
    color: #856404;
}

.problem-text {
    flex: 1;
    font-size: 13px;
    color: #212529;
    line-height: 1.5;
}

/* Hidden Clues */
.hidden-clues-container {
    margin-top: 16px;
    border: 2px solid #ffc107;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hidden-clues-container.hidden {
    border-color: #e9ecef;
}

.clues-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fff9db 0%, #fffef5 100%);
    border-bottom: 1px solid #ffc107;
    cursor: pointer;
}

.hidden-clues-container.hidden .clues-header {
    background: #f8f9fa;
    border-bottom-color: #e9ecef;
}

.clues-header i.fa-lightbulb {
    color: #ffc107;
    font-size: 16px;
}

.hidden-clues-container.hidden .clues-header i.fa-lightbulb {
    color: #adb5bd;
}

.clues-header span {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: #856404;
}

.hidden-clues-container.hidden .clues-header span {
    color: #6c757d;
}

.clues-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border: 1px solid #ffc107;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #856404;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clues-toggle-btn:hover {
    background: #ffc107;
    color: white;
}

.hidden-clues-container.hidden .clues-toggle-btn {
    border-color: #dee2e6;
    color: #6c757d;
}

.hidden-clues-container.hidden .clues-toggle-btn:hover {
    background: #0066cc;
    border-color: #0066cc;
    color: white;
}

.clues-content {
    padding: 16px;
    background: white;
}

.clue-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #e9ecef;
}

.clue-item:last-child {
    border-bottom: none;
}

.clue-item i {
    color: #ffc107;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.clue-item span {
    flex: 1;
    font-size: 13px;
    color: #495057;
    line-height: 1.6;
}

/* KTAS Badge */
.ktas-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'IBM Plex Sans', sans-serif;
    letter-spacing: 0.02em;
}

.ktas-badge i {
    font-size: 10px;
}

/* 반응형 */
@media (max-width: 768px) {
    .problem-item,
    .clue-item {
        padding: 8px;
        font-size: 12px;
    }
    
    .problem-number {
        min-width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .clues-header span {
        font-size: 12px;
    }
}
