.business-alert-flash {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1055;
    background: #dc3545;
    color: #fff;
    padding: 0.65rem 1rem;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.45);
    animation: business-alert-pulse 2s ease-in-out infinite;
}

.business-alert-flash__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.business-alert-flash__icon {
    flex-shrink: 0;
    font-size: 1.25rem;
    line-height: 1.4;
}

.business-alert-flash__body {
    flex: 1;
    min-width: 0;
}

.business-alert-flash__title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.business-alert-flash__msg {
    font-size: 0.875rem;
    line-height: 1.35;
    opacity: 0.95;
}

.business-alert-flash__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.business-alert-flash__link {
    color: #fff;
    text-decoration: underline;
    font-size: 0.8rem;
    white-space: nowrap;
}

.business-alert-flash__dismiss {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    line-height: 1;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
}

.business-alert-flash__dismiss:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Only when flash is actually visible (JS toggles body.has-business-alert-flash).
   Do NOT use .business-alert-flash--active ~ .kt-grid — that class stays on the
   hidden element and left a permanent ~56px white gap above dashboard content. */
body.has-business-alert-flash > .kt-grid.kt-grid--root {
    padding-top: 56px;
}

@keyframes business-alert-pulse {
    0%, 100% {
        background-color: #dc3545;
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.45);
    }
    50% {
        background-color: #c82333;
        box-shadow: 0 4px 18px rgba(200, 35, 51, 0.65);
    }
}

@media (max-width: 768px) {
    .business-alert-flash__inner {
        flex-direction: column;
    }

    .business-alert-flash__actions {
        width: 100%;
        justify-content: flex-end;
    }
}
