#cnp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
#cnp-overlay.cnp-visible { display: flex; animation: cnpFadeIn .25s ease; }

#cnp-modal {
    position: relative;
    background: #fff;
    border-radius: 14px;
    max-width: 500px;
    width: 100%;
    padding: 40px 36px 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    text-align: center;
    animation: cnpSlideUp .3s ease;
}

#cnp-close {
    position: absolute;
    top: 14px; right: 18px;
    background: none; border: none;
    font-size: 26px; line-height: 1;
    cursor: pointer; color: #888;
    transition: color .2s;
}
#cnp-close:hover { color: #333; }

#cnp-icon  { font-size: 48px; margin-bottom: 12px; }

#cnp-title {
    margin: 0 0 20px;
    font-size: 22px; font-weight: 700; color: #1a1a1a;
}

/* Jeder Termin-Block */
.cnp-entry { text-align: left; }

.cnp-dates {
    background: #f4f4f4;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.8;
}

.cnp-reason {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin: 0 0 4px;
    padding: 0 2px;
}

/* Trennlinie zwischen zwei Terminen */
.cnp-divider {
    border: none;
    border-top: 1px dashed #ddd;
    margin: 16px 0;
}

#cnp-btn-close {
    display: inline-block;
    margin-top: 20px;
    background: #0073aa; color: #fff;
    border: none; border-radius: 8px;
    padding: 12px 32px; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: background .2s, transform .1s;
}
#cnp-btn-close:hover  { background: #005a87; }
#cnp-btn-close:active { transform: scale(.97); }

@keyframes cnpFadeIn  { from { opacity:0 } to { opacity:1 } }
@keyframes cnpSlideUp { from { transform:translateY(30px);opacity:0 } to { transform:translateY(0);opacity:1 } }

@media (max-width: 480px) {
    #cnp-modal { padding: 32px 20px 24px; }
    #cnp-title  { font-size: 19px; }
}
