/* ============================================================================
   Plattform-Ankuendigungen & Wartungshinweise (shared: ERP, PWA, Login, Portal)
   ============================================================================ */
.dx-platform-banners {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
}
.dx-platform-banners--login {
    margin: 0 0 1rem 0;
    max-width: 440px;
}
.dx-pb-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .85rem 1rem;
    border-radius: 13px;
    border: 1px solid rgba(59, 130, 246, .30);
    background: rgba(59, 130, 246, .09);
    color: var(--text-primary, var(--text, #0f172a));
    font-size: .9rem;
    line-height: 1.48;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .08);
    animation: dxPbSlide .28s cubic-bezier(.22, .9, .32, 1) both;
}
html[data-theme="dark"] .dx-pb-card {
    background: rgba(30, 58, 138, .24);
    border-color: rgba(96, 165, 250, .35);
    color: var(--text-primary, var(--text, #f1f5f9));
}
.dx-pb-card--maintenance {
    border-color: rgba(245, 158, 11, .48);
    background: rgba(245, 158, 11, .14);
}
html[data-theme="dark"] .dx-pb-card--maintenance {
    border-color: rgba(251, 191, 36, .45);
    background: rgba(180, 83, 9, .24);
}
.dx-pb-card--warning {
    border-color: rgba(239, 68, 68, .40);
    background: rgba(239, 68, 68, .10);
}
html[data-theme="dark"] .dx-pb-card--warning {
    border-color: rgba(248, 113, 113, .42);
    background: rgba(153, 27, 27, .26);
}
.dx-pb-card--feature,
.dx-pb-card--changelog {
    border-color: rgba(16, 185, 129, .38);
    background: rgba(16, 185, 129, .10);
}
html[data-theme="dark"] .dx-pb-card--feature,
html[data-theme="dark"] .dx-pb-card--changelog {
    border-color: rgba(52, 211, 153, .36);
    background: rgba(6, 78, 59, .30);
}
.dx-pb-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .92rem;
    background: rgba(255, 255, 255, .65);
    color: #0f172a;
}
html[data-theme="dark"] .dx-pb-icon {
    background: rgba(255, 255, 255, .12);
    color: #f8fafc;
}
.dx-pb-card--maintenance .dx-pb-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d97706;
    box-shadow: 0 0 0 0 rgba(217, 119, 6, .55);
    animation: dxPbPulse 1.9s infinite;
}
html[data-theme="dark"] .dx-pb-card--maintenance .dx-pb-pulse {
    background: #fbbf24;
    box-shadow: 0 0 0 0 rgba(251, 191, 36, .55);
}
.dx-pb-body { flex: 1; min-width: 0; }
.dx-pb-head {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
    font-weight: 700;
    margin-bottom: .18rem;
}
.dx-pb-pill {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .12rem .45rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, .08);
    color: inherit;
}
html[data-theme="dark"] .dx-pb-pill {
    background: rgba(255, 255, 255, .14);
}
.dx-pb-time {
    font-size: .8rem;
    font-weight: 600;
    opacity: .82;
}
.dx-pb-text {
    font-size: .88rem;
    line-height: 1.5;
    opacity: .94;
}
.dx-pb-close {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    opacity: .65;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.dx-pb-close:hover { opacity: 1; background: rgba(128, 128, 128, .15); }
@keyframes dxPbSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}
@keyframes dxPbPulse {
    0%   { box-shadow: 0 0 0 0 rgba(217, 119, 6, .55); }
    70%  { box-shadow: 0 0 0 8px rgba(217, 119, 6, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .dx-pb-card { animation: none !important; }
    .dx-pb-card--maintenance .dx-pb-pulse { animation: none !important; }
}
