/**
 * Overlay-Styles für den D24 Redirect
 * 
 * Kundenfarben:
 * Dunkelblau:      #0F2E72
 * Mittelblau:      #2A4F93
 * Helles Blau:     #8799BC
 * Sehr helles Blau:#D3DFF2
 * Off-White:       #F7F7F7
 */

#d24-redirect-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 46, 114, 0.92);
    backdrop-filter: blur(8px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#d24-redirect-overlay.d24-visible {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

#d24-redirect-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 56px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 24px 80px rgba(15, 46, 114, 0.4);
    border-top: 4px solid #0F2E72;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

#d24-redirect-overlay.d24-visible #d24-redirect-box {
    transform: translateY(0);
}

#d24-shield-icon {
    font-size: 48px;
    margin-bottom: 16px;
    animation: d24-pulse 1.5s ease-in-out infinite;
}

@keyframes d24-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

#d24-title {
    font-size: 22px;
    font-weight: 700;
    color: #0F2E72;
    margin: 0 0 10px 0;
}

#d24-subtitle {
    font-size: 15px;
    color: #8799BC;
    margin: 0 0 28px 0;
    line-height: 1.5;
}

#d24-progress-bar {
    background: #D3DFF2;
    border-radius: 999px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

#d24-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0F2E72, #2A4F93);
    border-radius: 999px;
    transition: width 2s linear;
}

#d24-hint {
    font-size: 12px;
    color: #8799BC;
    margin: 0;
}

/* Mobile Anpassungen */
@media (max-width: 480px) {
    #d24-redirect-box {
        padding: 32px 24px;
        margin: 0 16px;
    }
    #d24-title { font-size: 18px; }
    #d24-subtitle { font-size: 14px; }
}
