/* Meine Info Welt – central status messages and confirmations */
.status-toast-overlay[hidden] { display: none !important; }
.status-toast-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .20);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.status-toast-card {
    position: relative;
    width: min(680px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 28px 32px 22px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .20);
    animation: status-toast-enter .22s ease-out;
}
.status-toast-close {
    position: absolute;
    top: 14px;
    right: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.status-toast-close:hover { color: #475569; }
.status-toast-close:focus-visible,
.status-toast-action:focus-visible { outline: 3px solid #91a5ff; outline-offset: 3px; }
.status-toast-content { display: flex; align-items: center; gap: 22px; padding-right: 20px; }
.status-toast-icon-outer {
    width: 82px;
    height: 82px;
    min-width: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.status-toast-icon-inner {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 22px rgba(15,23,42,.10);
}
.status-toast--success.status-toast-icon-outer { background: #eaf8ee; }
.status-toast--success.status-toast-icon-outer .status-toast-icon-inner,
.status-toast--success.status-toast-progress { background: #2db84d; }
.status-toast--error.status-toast-icon-outer { background: #fdecec; }
.status-toast--error.status-toast-icon-outer .status-toast-icon-inner,
.status-toast--error.status-toast-progress { background: #dc3545; }
.status-toast--warning.status-toast-icon-outer { background: #fff7e6; }
.status-toast--warning.status-toast-icon-outer .status-toast-icon-inner,
.status-toast--warning.status-toast-progress { background: #f59e0b; }
.status-toast--info.status-toast-icon-outer { background: #eaf2ff; }
.status-toast--info.status-toast-icon-outer .status-toast-icon-inner,
.status-toast--info.status-toast-progress { background: #3b82f6; }
.status-toast-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.status-toast-title { margin-bottom: 6px; color: #172033; font-size: 24px; font-weight: 700; line-height: 1.25; }
.status-toast-message { color: #64748b; font-size: 17px; font-weight: 500; line-height: 1.5; }
.status-toast-message ul { margin: 8px 0 0; padding-left: 20px; }
.status-toast-footer { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.status-toast-progress-bg { flex: 1; height: 6px; overflow: hidden; background: #e8edf2; border-radius: 999px; }
.status-toast-progress {
    width: 100%; height: 100%; border-radius: inherit;
    animation-name: status-toast-progress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}
.status-toast-auto-close { display: flex; align-items: center; gap: 7px; color: #94a3b8; font-size: 14px; font-weight: 500; white-space: nowrap; }
.status-toast-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; }
.status-toast-action { min-width: 130px; padding: 11px 18px; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.status-toast-action--secondary { border: 1px solid #cbd5e1; background: #fff; color: #475569; }
.status-toast-action--secondary:hover { background: #f8fafc; border-color: #94a3b8; }
.status-toast-action--danger { border: 1px solid #dc3545; background: #dc3545; color: #fff; }
.status-toast-action--danger:hover { background: #bb2d3b; border-color: #b02a37; }
@keyframes status-toast-progress { from { width: 100%; } to { width: 0; } }
@keyframes status-toast-enter { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .status-toast-card, .status-toast-progress { animation: none; } }
@media (max-width: 767.98px) {
    .status-toast-card { width: min(94vw, 560px); padding: 24px 20px 20px; border-radius: 20px; }
    .status-toast-content { align-items: flex-start; gap: 16px; padding-right: 10px; }
    .status-toast-icon-outer { width: 64px; height: 64px; min-width: 64px; }
    .status-toast-icon-inner { width: 44px; height: 44px; font-size: 20px; }
    .status-toast-title { font-size: 21px; }
    .status-toast-message { font-size: 16px; }
    .status-toast-footer { display: block; margin-top: 18px; }
    .status-toast-auto-close { margin-top: 10px; font-size: 13px; }
    .status-toast-actions { flex-direction: column-reverse; }
    .status-toast-action { width: 100%; }
}
