/* DianalundMembers – admin & frontend styles */

/* ── Counts summary table ─────────────────────────────────────────── */
.dianalund-counts {
    margin-bottom: 1.5em;
}

.dianalund-counts-table {
    width: auto;
    background-color: var(--primary-footer-color);
    padding: 50px;
}

.dianalund-counts-table tr, .dianalund-counts-table td, .dianalund-counts-table th {
    border-color: transparent;
    background-color: var(--primary-footer-color);
    color: white;
    text-align: left;
    padding: 4px 20px;
}

.dianalund-counts-table td {
    text-align: right;
}

.dianalund-grand-total {
    font-weight: 600;
    font-size: x-large;
    border-top: solid 2px white;
}

.dianalund-grand-total td, .dianalund-grand-total th {
    border-top: 2px solid white;
    border-bottom: 6px double white;
}

/* ── Member list table ────────────────────────────────────────────── */
.dianalund-members-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9em;
}

.dianalund-members-table th,
.dianalund-members-table td {
    padding: 6px 10px;
    border: 1px solid #c3c4c7;
    vertical-align: top;
    word-break: break-word;
}

.dianalund-members-table th {
    background: #f6f7f7;
    font-weight: 600;
    white-space: nowrap;
}

.dianalund-members-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.dianalund-members-table tbody tr:hover {
    background: #f0f6fc;
}

/* ── Search box ───────────────────────────────────────────────────── */
.dianalund-search-box {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 1em;
}

.dianalund-search-box input[type="search"] {
    min-width: 240px;
}

/* ── Pagination ───────────────────────────────────────────────────── */
.dianalund-pagination {
    margin-top: 1em;
}

/* ── Wrap ─────────────────────────────────────────────────────────── */
.dianalund-members-wrap {
    padding: 0 1em;
}

/* ── Extra sections (manual member + mailer) ──────────────────────── */
.dianalund-section {
    margin-top: 2.5em;
    padding-top: 1.5em;
    border-top: 1px solid #c3c4c7;
}

.dianalund-section h3 {
    font-size: 1.1em;
    margin-bottom: 1em;
}

.dianalund-form-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 680px;
}

.dianalund-form-table th,
.dianalund-form-table td {
    padding: 6px 10px;
    text-align: left;
    vertical-align: middle;
}

.dianalund-form-table th {
    width: 180px;
    font-weight: 600;
    white-space: nowrap;
}

.dianalund-form-table input.regular-text,
.dianalund-form-table textarea.large-text {
    width: 100%;
    box-sizing: border-box;
}

/* ── Notices ──────────────────────────────────────────────────────── */
.dianalund-notice {
    padding: .7em 1em;
    margin-bottom: 1em;
    border-left: 4px solid;
    background: #fff;
}

.dianalund-notice--success {
    border-color: #00a32a;
    background: #f0fff4;
}

.dianalund-notice--error {
    border-color: #d63638;
    background: #fff0f0;
}

/* ── CookieYes ──────────────────────────────────────────────────────── */
.cky-btn-revisit-wrapper {
	display: none !important;
}