/* PGZB Plugin Styles
   Owner: H. van Kimmenade
   Datum: 2025-09-22
   versie: 2.0
   Omsch: Het aanpassen van leden.zuidenwind

   ============================== */

/* Basisstijl voor formulieren */
.pgzb-form {
    max-width: 800px;
    margin: 1em 0;
    padding: 1em;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.pgzb-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.3em;
}

.pgzb-form input[type="text"],
.pgzb-form input[type="email"],
.pgzb-form input[type="password"],
.pgzb-form select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #bbb;
    border-radius: 6px;
    box-sizing: border-box;
}

.pgzb-form input[readonly] {
    background: #f9f9f9;
    color: #555;
    cursor: not-allowed;
}

.pgzb-form p {
    margin: 0.7em 0;
}

/* Tabel stijlen */
.pgzb-form table.widefat {
    width: 100%;
    border-collapse: collapse;
}

.pgzb-form table.widefat th,
.pgzb-form table.widefat td {
    padding: 8px 10px;
    border-bottom: 1px solid #e1e1e1;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
}

.pgzb-form table.widefat th {
    width: 180px;
    /* vaste breedte voor labels */
    background: #f3f3f3;
    font-weight: 600;
    white-space: nowrap;
}

.pgzb-form table.widefat td input[type="text"],
.pgzb-form table.widefat td input[type="email"],
.pgzb-form table.widefat td input[type="password"] {
    width: 100%;
}

/* Zoekresultaten tabel */
table.widefat.striped {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

table.widefat.striped thead th {
    background: #0073aa;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

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

table.widefat.striped th,
table.widefat.striped td {
    padding: 10px 12px;
    font-size: 14px;
}

/* Kolombreedtes voor zoekresultaten */
table.widefat.striped th:nth-child(1),
table.widefat.striped td:nth-child(1) {
    width: 60px;
}

/* ID */
table.widefat.striped th:nth-child(2),
table.widefat.striped td:nth-child(2) {
    width: 160px;
}

/* Login */
table.widefat.striped th:nth-child(3),
table.widefat.striped td:nth-child(3) {
    width: 220px;
}

/* Email */
table.widefat.striped th:nth-child(4),
table.widefat.striped td:nth-child(4) {
    width: 200px;
}

/* Naam */
table.widefat.striped th:nth-child(5),
table.widefat.striped td:nth-child(5) {
    width: 220px;
}

/* Acties */

/* Knoppen */
.pgzb-form .button,
.pgzb-form input[type="submit"].button {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.pgzb-form .button-primary,
.pgzb-form input[type="submit"].button-primary {
    background: #0073aa;
    border: 1px solid #006799;
    color: #fff;
}

.pgzb-form .button-primary:hover {
    background: #006799;
}

.pgzb-form .button-danger {
    background: #ca4a1f;
    border: 1px solid #b7431d;
    color: #fff;
}

.pgzb-form .button-danger:hover {
    background: #b7431d;
}

/* Meldingen */
.notice {
    margin: 1em 0;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
}

.notice-success {
    background: #dff0d8;
    border: 1px solid #c6e1c6;
    color: #3c763d;
}

.notice-error {
    background: #f2dede;
    border: 1px solid #ebcccc;
    color: #a94442;
}