/* Telefon och e-post lämnas i popupen och visas inte i den publika tabellen. */
#tablepress-1 .column-8,
#tablepress-1 .column-9 {
    display: none;
}

/* Distrikt behöver bara rymma en siffra. */
#tablepress-1 .column-4 {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    text-align: center;
}

#tablepress-1 .column-6 {
    width: 58px !important;
    min-width: 58px !important;
    white-space: nowrap;
}

.pp-val-signup-button,
.pp-val-backup-button,
#pp-val-form button[type="submit"] {
    cursor: pointer;
    border: 1px solid #777;
    border-radius: 4px;
    padding: 5px 9px;
    background: #fff;
    font: inherit;
}

.pp-val-signup-button {
    white-space: nowrap;
    padding: 3px 7px;
    font-size: 12px;
}

.pp-val-backup-wrap { margin: 0 0 12px; }
.pp-val-backup-button { font-weight: 600; }

#pp-val-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    inset: 0;
    background: rgba(0,0,0,.48);
    padding: 20px;
    overflow-y: auto;
}

#pp-val-modal.pp-open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

#pp-val-dialog {
    width: min(520px, 100%);
    margin-top: 7vh;
    background: #fff;
    color: #222;
    border-radius: 7px;
    padding: 18px 20px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
    position: relative;
}

#pp-val-dialog h2 { margin: 0 35px 8px 0; font-size: 22px; }
#pp-val-target { margin: 0 0 14px; font-weight: 600; }

#pp-val-close {
    position: absolute;
    right: 10px;
    top: 8px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

#pp-val-form label { display: block; margin: 10px 0 3px; font-weight: 600; }

#pp-val-form input[type="text"],
#pp-val-form input[type="email"],
#pp-val-form input[type="tel"],
#pp-val-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 7px 8px;
    border: 1px solid #aaa;
    border-radius: 3px;
    font: inherit;
}

#pp-val-form textarea { min-height: 70px; resize: vertical; }

#pp-val-form .pp-check {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    font-weight: normal;
}

#pp-val-form .pp-check input { margin-top: 3px; }
#pp-val-status { margin-top: 10px; min-height: 1.4em; font-weight: 600; }
.pp-val-privacy { font-size: 12px; margin-top: 10px; opacity: .8; }
.pp-val-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
