/* ============================================================
   Sektion 6: Transparență decizională (v3 — Document/Link)
   Sektion-spezifisches CSS. Globale Klassen kommen aus custom.css.
   Verwendet Theme-Klassen .doc-table, .primaria-hr aus main.css.
   ============================================================ */


/* ----- Block-Layout ----- */
.td-page .td-block {
    margin: 2rem 0;
}

.td-block-title {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.td-block-desc {
    color: #555;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}


/* ----- Pagination (rechtsbündig) ----- */
.td-table-wrap {
    margin-bottom: 0.5rem;
}

.td-pager {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.td-pager button {
    border: 1px solid #cfd6df;
    background: #ffffff;
    color: #2567ad;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    transition: all 0.15s ease;
    min-width: 36px;
}

.td-pager button:hover:not(:disabled):not(.active) {
    background: #eaf1f9;
    border-color: #2567ad;
}

.td-pager button.active {
    background: #2567ad;
    border-color: #2567ad;
    color: #ffffff !important;
    font-weight: 500;
}

.td-pager button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ----- Stadiu-Badges (3.3 Registru propuneri) ----- */
.td-stadiu {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
}

.td-stadiu-preluată,
.td-stadiu-preluata {
    background: #e3f1e6;
    color: #1f6b34;
}

.td-stadiu-nepreluată,
.td-stadiu-nepreluata {
    background: #fde9e9;
    color: #8b2a2a;
}


/* ----- Document / Link cells (1:1 wie Documente & Servicii) ----- */
.td-doc {
    color: #2567ad;
    text-decoration: underline;
    word-break: break-word;
}

.td-doc:hover {
    text-decoration: none;
}

.td-doc-link,
.td-doc-file {
    /* gleicher Stil wie Theme-Standard, kein Icon */
}

.td-doc-none {
    color: #999;
    font-size: 0.95rem;
}
