/* UBF CMS - Alert sekcija stilovi */
/* Kreiran: April 2026 */

@keyframes alertBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

@keyframes alertPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes alertBorderGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(16,107,159,0.5); }
    50% { box-shadow: 0 0 40px rgba(16,107,159,0.8), inset 0 0 20px rgba(16,107,159,0.2); }
}

@keyframes alertGreenPulse {
    0%, 100% {
        background-color: #00ff00;
        box-shadow: 0 0 10px rgba(0,255,0,0.5);
    }
    50% {
        background-color: #00cc00;
        box-shadow: 0 0 20px rgba(0,255,0,0.8), 0 0 30px rgba(0,255,0,0.4);
    }
}

.alert-section {
    position: relative;
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    border-top: 4px solid #106b9f;
    border-bottom: 4px solid #106b9f;
    border-left: none;
    border-right: none;
    margin-top: 60px;
}

.alert-section .alert-animated-border {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid #fff;
    border-radius: 15px;
    animation: alertBorderGlow 2s infinite;
    pointer-events: none;
}

.alert-section .alert-blink {
    animation: alertBlink 1.5s infinite;
}

.alert-section .alert-pulse {
    animation: alertPulse 2s infinite;
}

.alert-section .alert-icon-wrap {
    font-size: 3rem;
    color: white;
}

.alert-section .alert-subtitle {
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.alert-section .alert-heading {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

.alert-section .alert-message-box {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.5);
}

.alert-section .alert-meta {
    color: white;
    font-size: 14px;
    background: rgba(0,0,0,0.3);
    padding: 5px 10px;
    border-radius: 5px;
}

.alert-section .alert-status-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    animation: alertGreenPulse 2s infinite;
}

/* Tip-specificni stilovi */
.alert-section.alert-type-urgent {
    border-top-color: #dc2626;
    border-bottom-color: #dc2626;
}

.alert-section.alert-type-pandemic {
    border-top-color: #ea580c;
    border-bottom-color: #ea580c;
}

.alert-section.alert-type-birth {
    border-top-color: #ec4899;
    border-bottom-color: #ec4899;
}

.alert-section.alert-type-maintenance {
    border-top-color: #6b7280;
    border-bottom-color: #6b7280;
}
