/**
 * HTTP Headers Page Styles
 * HTTP 헤더 분석 도구 전용 스타일
 */

/* ========================================
   헤더 항목
   ======================================== */

.header-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin-bottom: var(--space-2);
    align-items: flex-start;
}

.header-name {
    width: 200px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}

.header-value {
    flex: 1;
    font-size: 13px;
    word-break: break-all;
    font-family: 'JetBrains Mono', monospace;
}

.header-status {
    width: 24px;
    flex-shrink: 0;
    text-align: center;
}

/* ========================================
   섹션
   ======================================== */

.header-section {
    margin-bottom: var(--space-6);
}

.header-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

/* ========================================
   보안 점수
   ======================================== */

.security-score {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin-bottom: var(--space-6);
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.score-good {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.score-warn {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.score-bad {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* ========================================
   가이드 박스
   ======================================== */

.guide-box {
    background: linear-gradient(135deg, var(--accent-light), var(--bg-secondary));
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
}

.guide-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.guide-step {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}

.guide-step-num {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.guide-step-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.guide-step-text code {
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.guide-toggle {
    font-size: 12px;
    color: var(--accent);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.guide-example {
    margin-top: var(--space-3);
    padding: var(--space-3);
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-secondary);
    white-space: pre-wrap;
    max-height: 150px;
    overflow-y: auto;
}

.sample-btn {
    margin-top: var(--space-3);
}
