/* 신발 사이즈 변환기 전용 스타일 */

#shoe-converter {
    min-height: 100vh;
    padding: 1rem;
}

#shoe-converter .container {
    max-width: 42rem;
    margin: 0 auto;
}

#shoe-converter .main-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 2rem;
}

/* 헤더 스타일 */
#shoe-converter .header {
    text-align: center;
    margin-bottom: 2rem;
}

#shoe-converter .header-icon-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

#shoe-converter .header-icon {
    color: #4f46e5;
    width: 32px;
    height: 32px;
}

#shoe-converter .header-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1f2937;
    margin: 0;
}

#shoe-converter .header-subtitle {
    color: #6b7280;
    margin: 0;
}

/* 성별 선택 스타일 */
#shoe-converter .gender-section {
    margin-bottom: 1.5rem;
}

#shoe-converter .section-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.75rem;
}

#shoe-converter .gender-buttons {
    display: flex;
    gap: 1rem;
}

#shoe-converter .gender-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

#shoe-converter .gender-btn.active {
    background-color: #4f46e5;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#shoe-converter .gender-btn.inactive {
    background-color: #f3f4f6;
    color: #374151;
}

#shoe-converter .gender-btn.inactive:hover {
    background-color: #e5e7eb;
}

/* 입력 섹션 스타일 */
#shoe-converter .input-section {
    margin-bottom: 2rem;
}

#shoe-converter .input-group {
    display: flex;
    gap: 1rem;
}

#shoe-converter .input-select,
#shoe-converter .input-field {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
}

#shoe-converter .input-select:focus,
#shoe-converter .input-field:focus {
    outline: none;
    ring: 2px;
    ring-color: #4f46e5;
    border-color: #4f46e5;
}

#shoe-converter .input-field {
    flex: 1;
}

#shoe-converter .clear-btn {
    padding: 0.75rem 1.5rem;
    background-color: #6b7280;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

#shoe-converter .clear-btn:hover {
    background-color: #4b5563;
}

/* 결과 표시 스타일 */
#shoe-converter .results-container {
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

#shoe-converter .results-container.hidden {
    display: none;
}

#shoe-converter .results-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#shoe-converter .results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

#shoe-converter .result-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

#shoe-converter .result-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

#shoe-converter .result-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4f46e5;
}

/* 도움말 스타일 */
#shoe-converter .help-section {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #fefce8;
    border-radius: 0.5rem;
    border: 1px solid #fde047;
}

#shoe-converter .help-title {
    font-weight: 500;
    color: #92400e;
    margin-bottom: 0.5rem;
}

#shoe-converter .help-list {
    font-size: 0.875rem;
    color: #a16207;
    margin: 0;
    padding-left: 1rem;
}

#shoe-converter .help-list li {
    margin-bottom: 0.25rem;
}

/* shoe-converter.css에 추가할 explanation-card 스타일 */

/* 설명 카드 기본 스타일 */
.explanation-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 1.5rem;
    border: 1px solid #f1f5f9;
}

.explanation-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.explanation-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* 단계별 가이드 스타일 */
.step-guide {
    margin: 1.5rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border-left: 4px solid #4f46e5;
}

.step-number {
    background: #4f46e5;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-right: 1rem;
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 주의사항 섹션 */
.note-section {
    background: #fffbeb;
    border: 1px solid #fde047;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.note-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 1rem;
}

.note-section ul {
    color: #a16207;
    padding-left: 1.5rem;
}

.note-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* calculator.js 호환성: 별도 explanation 섹션 숨김 */
#shoe-converter-explanation {
    display: none !important;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    #shoe-converter .input-group {
        flex-direction: column;
    }
    
    #shoe-converter .results-grid {
        grid-template-columns: 1fr;
    }
    
    #shoe-converter .gender-buttons {
        flex-direction: column;
    }
    
    #shoe-converter .main-card {
        padding: 1.5rem;
    }
        .explanation-card {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
    
    .note-section {
        padding: 1rem;
    }
}

/* 애니메이션 효과 (선택사항) */
.explanation-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

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