/* DAC Emergency Notice — banner with overlay */

.dac-en-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(2px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: dac-en-fade-in 220ms ease-out;
}

.dac-en-overlay.dac-en-hidden {
    display: none;
}

@keyframes dac-en-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.dac-en-banner {
    position: relative;
    background: #ffffff;
    color: #1f2937;
    width: 100%;
    max-width: 640px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    border-top: 6px solid #1f4388;
    padding: 28px 32px 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.55;
    animation: dac-en-pop-in 260ms cubic-bezier(0.2, 0.8, 0.4, 1);
}

@keyframes dac-en-pop-in {
    from { transform: translateY(12px) scale(0.98); opacity: 0; }
    to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

.dac-en-headline {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 36px 12px 0;
    color: #111827;
    font-weight: 700;
}

.dac-en-body {
    font-size: 15px;
    color: #374151;
}

.dac-en-body p {
    margin: 0 0 12px;
}

.dac-en-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 16px 0 6px;
}

.dac-en-body a {
    color: #0b5cab;
    text-decoration: underline;
}

.dac-en-body a:hover {
    color: #074180;
}

.dac-en-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.dac-en-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
    line-height: 1.2;
}

.dac-en-btn-primary {
    background: #0b5cab;
    color: #ffffff;
}

.dac-en-btn-primary:hover {
    background: #074180;
    color: #ffffff;
}

.dac-en-btn-secondary {
    background: #ffffff;
    color: #0b5cab;
    border-color: #0b5cab;
}

.dac-en-btn-secondary:hover {
    background: #eff6ff;
}

.dac-en-btn-ghost {
    background: transparent;
    color: #4b5563;
    border-color: #d1d5db;
}

.dac-en-btn-ghost:hover {
    background: #f3f4f6;
}

.dac-en-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
}

.dac-en-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.dac-en-close:focus-visible,
.dac-en-btn:focus-visible {
    outline: 2px solid #0b5cab;
    outline-offset: 2px;
}

/* Lock background scroll while open */
body.dac-en-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .dac-en-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .dac-en-banner {
        padding: 22px 20px 18px;
        border-radius: 12px 12px 8px 8px;
    }

    .dac-en-headline {
        font-size: 19px;
        margin-right: 30px;
    }

    .dac-en-body {
        font-size: 14px;
    }

    .dac-en-actions {
        flex-direction: column;
    }

    .dac-en-btn {
        width: 100%;
    }
}
