/* === ZABURZENIA OSOBOWOŚCI W ICD-11 — STYLES === */
@import url('/includes/pages/service/teoria-przywiazania-historia/page.css');
@import url('/css/attachment-modern.css');

:root {
    --icd-primary: #0284c7;
    --icd-primary-dark: #0369a1;
    --icd-teal: #0d9488;
    --icd-indigo: #4338ca;
    --icd-surface: #f8fafc;
    --icd-border: #e2e8f0;
}

.modular-page.page--zaburzenia-osobowosci-icd-11 .main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.icd11-hero-box {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 1px solid #bae6fd;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.06);
}

.icd11-two-step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.icd11-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-top: 5px solid var(--icd-primary);
}

.icd11-step-card.step-2 {
    border-top-color: var(--icd-teal);
}

.icd11-step-card.step-3 {
    border-top-color: var(--icd-indigo);
}

.icd11-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.icd11-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--icd-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    font-size: 0.95rem;
}

.icd11-step-card.step-2 .icd11-step-num {
    background: var(--icd-teal);
}

.icd11-step-card.step-3 .icd11-step-num {
    background: var(--icd-indigo);
}

.icd11-step-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.icd11-catalog-group {
    margin: 40px 0;
}

.icd11-group-header {
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 24px;
}

.icd11-group-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    margin-bottom: 8px;
}

.icd11-group-title {
    margin: 0 0 6px 0;
    font-size: 1.6rem;
    color: #0f172a;
}

.icd11-group-desc {
    margin: 0;
    font-size: 1rem;
    color: #475569;
    line-height: 1.5;
}

/* Słownik terminologiczny tabela */
.icd11-dictionary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.icd11-dictionary-table th {
    background: #f8fafc;
    color: #1e293b;
    text-align: left;
    padding: 14px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
}

.icd11-dictionary-table td {
    padding: 14px 18px;
    font-size: 0.92rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.icd11-dictionary-table tr:hover td {
    background: #f8fafc;
}
