/* Modern Alert Messages - Niftel Infra */

.alert-container {
    margin: 20px 0;
    padding: 18px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInDown 0.4s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.alert-message {
    font-size: 15px;
    margin: 0;
    opacity: 0.85;
}

/* Information Alert - Blue */
.alert-info {
    background: #d1ecf1;
    border-left: 4px solid #0c5460;
}

.alert-info .alert-icon {
    background: #5dade2;
    color: white;
}

.alert-info .alert-title {
    color: #0c5460;
}

.alert-info .alert-message {
    color: #0c5460;
}

/* Success Alert - Green */
.alert-success {
    background: #d4edda;
    border-left: 4px solid #155724;
}

.alert-success .alert-icon {
    background: #28a745;
    color: white;
}

.alert-success .alert-title {
    color: #155724;
}

.alert-success .alert-message {
    color: #155724;
}

/* Warning Alert - Yellow/Orange */
.alert-warning {
    background: #fff3cd;
    border-left: 4px solid #856404;
}

.alert-warning .alert-icon {
    background: #e0a800;
    color: white;
}

.alert-warning .alert-title {
    color: #856404;
}

.alert-warning .alert-message {
    color: #856404;
}

/* Error Alert - Red/Pink */
.alert-error {
    background: #f8d7da;
    border-left: 4px solid #721c24;
}

.alert-error .alert-icon {
    background: #dc3545;
    color: white;
}

.alert-error .alert-title {
    color: #721c24;
}

.alert-error .alert-message {
    color: #721c24;
}

/* Close Button (Optional) */
.alert-close {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-close:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 576px) {
    .alert-container {
        padding: 15px;
        gap: 12px;
    }

    .alert-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .alert-title {
        font-size: 16px;
    }

    .alert-message {
        font-size: 14px;
    }
}
