/**Layer 96: Alerts Pro*/
.alerts-pro-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 320px;
    pointer-events: none
}

.alert-item {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    pointer-events: auto;
    overflow: hidden;
    position: relative;
    border-left: 4px solid transparent
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0
}

.alert-content {
    flex: 1;
    min-width: 0
}

.alert-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111827;
    margin-bottom: 0.25rem
}

.alert-message {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.4;
    word-wrap: break-word
}

.alert-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0;
    line-height: 1;
    transition: color .2s
}

.alert-close:hover {
    color: #111827
}

/* Types */
.alert-info {
    border-left-color: #3b82f6
}

.alert-success {
    border-left-color: #10b981;
    background: #f0fdf4
}

.alert-warning {
    border-left-color: #f59e0b;
    background: #fffbeb
}

.alert-error {
    border-left-color: #ef4444;
    background: #fef2f2
}

.alert-live {
    border-left-color: #ef4444;
    animation: pulse-border 2s infinite
}

/* Priorities */
.alert-critical {
    box-shadow: 0 0 0 2px #ef4444, 0 10px 15px -3px rgba(0, 0, 0, .1)
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, .1);
    width: 100%
}

@keyframes pulse-border {

    0%,
    100% {
        border-left-color: #ef4444
    }

    50% {
        border-left-color: #f87171
    }
}

@media (max-width:640px) {
    .alerts-pro-container {
        left: 1rem;
        width: auto
    }
}