/* 분석 상태 배지 디자인 강화 */
.status-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    display: block;
    width: fit-content;
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
    animation: statusPulse 1.2s infinite;
    text-align: center;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* 결과 라벨 디자인 보강 (이모지 너비 고려) */
.label-name { 
    width: 100px; /* 이모지 포함 너비 확보 */
    font-weight: 700; 
    font-size: 0.95rem; 
    text-align: left;
    display: flex;
    align-items: center;
    gap: 5px;
}

.prediction-bar-container {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.prediction-bar-container.high-prob {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    transform: translateX(5px);
}

/* 기존 버튼 및 영역 스타일 유지 */
.media-section { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.media-container {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background-color: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed var(--secondary-color);
    transition: var(--transition);
}
.media-container.drag-over { border-style: solid; background-color: rgba(108, 92, 231, 0.05); }
#upload-preview, #webcam-container canvas { width: 100%; height: 100%; object-fit: cover; }
#loading-message { padding: 20px; text-align: center; line-height: 1.6; color: var(--text-muted); }

.result-labels { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; }
.progress-bar { flex-grow: 1; height: 12px; background: #eee; border-radius: 6px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary-color); width: 0; transition: width 0.3s ease; }
.label-prob { width: 50px; font-weight: 700; font-size: 0.95rem; text-align: right; }

.button-group { display: flex; gap: 15px; justify-content: center; }
.main-btn {
    flex: 1;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}
.main-btn.primary { background: var(--primary-color); color: white; }
.main-btn.secondary { background: #00b894; color: white; }
.main-btn.danger { background: #ff7675; color: white; margin-top: 15px; width: 100%; }
.main-btn:hover { opacity: 0.9; transform: translateY(-2px); }
.upload-wrapper { flex: 1; }

@media (max-width: 500px) {
    .button-group { flex-direction: column; gap: 10px; }
    .media-container { height: 350px; }
}
