/* Hinweis (Shortcode) und Inhalt des Overlays */
.pu-notice {
    margin: 0 0 1.5em;
    padding: 12px 16px;
    border-left: 4px solid #b45309;
    background: #fff7ed;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.5;
    max-width: 100%;
    box-sizing: border-box;
}

.pu-notice p,
.pu-overlay p {
    margin: 4px 0;
}

.pu-notice__headline {
    font-weight: 700;
}

.pu-notice__subtitle {
    margin: 12px 0 4px;
    font-size: 16px;
    font-weight: 700;
}

.pu-substitute {
    margin: 8px 0;
    padding: 8px 12px;
    border: 1px solid rgba(180, 83, 9, 0.25);
    border-radius: 6px;
    background: #ffffff;
}

.pu-substitute__name {
    font-weight: 700;
}

.pu-substitute__note {
    color: #4b5563;
}

.pu-notice a,
.pu-overlay a {
    color: inherit;
    text-decoration: underline;
}

/* Overlay: ohne JavaScript ausgeblendet, damit die Seite nie blockiert ist */
.pu-overlay {
    display: none;
}

.pu-overlay-active {
    overflow: hidden;
}

.pu-overlay-active .pu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    background: rgba(17, 24, 39, 0.7);
}

.pu-overlay__box {
    width: 100%;
    max-width: 560px;
    max-height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 24px;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pu-overlay__title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
}

.pu-overlay__confirm {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 20px;
    padding: 12px 16px;
    border: 0;
    border-radius: 6px;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.pu-overlay__confirm:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 2px;
}

/* Adminseite: Vertreter-Auswahl pro Urlaub */
.pu-check {
    display: block;
    white-space: nowrap;
}

/* Adminseite: als gelöscht markierte Zeilen */
.pu-row-deleted td {
    opacity: 0.5;
    text-decoration: line-through;
}
