/* =============================================================================
   Tabelul cu cookie-uri din politica de cookie-uri (cookie_table.php)
   ========================================================================== */

/* Pe ecrane inguste tabelul se deruleaza in cutia lui, nu impinge pagina */
.ck-wrap {
    overflow-x: auto;
    margin: 18px 0 26px;
    border: 1px solid #e4ece8;
    border-radius: 12px;
}

.ck-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.55;
}

.ck-table th,
.ck-table td {
    padding: 11px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eef3f0;
}

.ck-table thead th {
    background: #f7faf8;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #5c6b64;
    white-space: nowrap;
}

.ck-table tbody tr:last-child td { border-bottom: 0; }
.ck-table tbody tr:hover { background: #fbfdfc; }

.ck-table code {
    padding: 2px 7px;
    border-radius: 5px;
    background: #f1f5f3;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    color: #17252b;
    white-space: nowrap;
}

/* A patra coloana e scurta si se citeste mai bine nerupta */
.ck-table td:last-child { white-space: nowrap; color: #5c6b64; }

.ck-empty {
    margin: 14px 0 24px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f7faf8;
    border: 1px dashed #d8e3de;
    color: #5c6b64;
    font-size: 14px;
}

/* ---------- Telefon: fiecare rand devine o fisa ---------- */

@media (max-width: 640px) {
    .ck-wrap { border: 0; overflow-x: visible; }
    .ck-table thead { display: none; }
    .ck-table, .ck-table tbody, .ck-table tr, .ck-table td { display: block; width: 100%; }

    .ck-table tr {
        margin-bottom: 12px;
        border: 1px solid #e4ece8;
        border-radius: 12px;
        overflow: hidden;
    }

    .ck-table td {
        display: flex;
        gap: 12px;
        padding: 9px 14px;
        border-bottom: 1px solid #f2f6f4;
    }
    .ck-table td:last-child { border-bottom: 0; white-space: normal; }

    /* Eticheta coloanei vine din `data-label`, pus in sablon */
    .ck-table td::before {
        content: attr(data-label);
        flex: 0 0 84px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .03em;
        color: #8a9a94;
    }
}
