/*
 * Web Presence Cookie Consent: the [cookie_table] shortcode.
 *
 * Deliberately light: font and colours come from the theme. Loaded only on
 * pages that use the shortcode, and not at all when it's given a `class`.
 */

.wpcc-cookie-table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

.wpcc-cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375em;
    line-height: 1.5;
    text-align: left;
}

.wpcc-cookie-table th,
.wpcc-cookie-table td {
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.35);
    text-align: left;
    vertical-align: top;
}

.wpcc-cookie-table thead th {
    border-bottom-width: 2px;
    font-weight: 600;
    white-space: nowrap;
}

.wpcc-cookie-table tbody th {
    font-weight: 400;
}

.wpcc-cookie-table code {
    padding: 0;
    background: none;
    font-size: inherit;
    overflow-wrap: anywhere;
}

/* Purpose takes the spare width; duration stays on one line */
.wpcc-cookie-table td:nth-child(4) {
    min-width: 16em;
}

.wpcc-cookie-table td:last-child {
    white-space: nowrap;
}
