/* 혈압 분석기 전용 스타일 */

.bp-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .bp-input-grid {
        grid-template-columns: 1fr;
    }
}

.bp-input {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
}

.unit-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 0.4rem;
}

.input-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

/* 결과 영역 */
.bp-result-area {
    margin-top: 1.5rem;
    animation: fadeInUp 0.3s ease;
}

.bp-result-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1.2rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
}

.bp-stage-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}

.bp-values-display {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bp-value-item {
    text-align: center;
}

.bp-value-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.bp-value-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
}

.bp-value-separator {
    color: var(--text-secondary);
}

.bp-description {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.bp-recommendation {
    border-left: 4px solid var(--pastel-blue-1);
    padding: 0.8rem 1rem;
    background: var(--pastel-cream);
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.bp-recommendation strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--pastel-blue-1);
}

/* 단계별 색상 */
.stage-normal,
.bp-stage-badge.badge-normal {
    background: #d4edda;
    color: #155724;
}

.stage-elevated,
.bp-stage-badge.badge-elevated {
    background: #cce5ff;
    color: #004085;
}

.stage-prehypertension,
.bp-stage-badge.badge-prehypertension {
    background: #fff3cd;
    color: #856404;
}

.stage-stage1,
.bp-stage-badge.badge-stage1 {
    background: #ffe5cc;
    color: #7a3800;
}

.stage-stage2,
.bp-stage-badge.badge-stage2 {
    background: #f8d7da;
    color: #721c24;
}

/* 분류 기준표 */
.limits-table-wrapper {
    overflow-x: auto;
}

.bp-classification-table tr.current-stage {
    background: var(--pastel-cream);
    outline: 2px solid var(--pastel-blue-1);
    outline-offset: -2px;
}

.stage-badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

/* 정보 카드 아이콘 색상 */
.info-icon {
    font-size: 1.8rem;
    margin-bottom: 0.7rem;
    display: block;
}

.info-icon-accent { color: var(--pastel-blue-1); }
.info-icon-green  { color: #28a745; }
.info-icon-pink   { color: #e83e8c; }
.info-icon-yellow { color: #ffc107; }

.info-card {
    text-align: center;
    padding: 1.2rem;
}

.info-card h4 {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
