/* Alert Widget Styles */
.alert-container {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: 4px;
    border-left: 4px solid;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.alert-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.alert-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-body {
    flex: 1;
}

.alert-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.alert-text {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

.alert-text p {
    margin: 0 0 8px 0;
}

.alert-text p:last-child {
    margin-bottom: 0;
}

/* Alert Types - Better Contrast */
.alert-info {
    background-color: #e3f2fd;
    border-left-color: #1976d2;
    color: #0d47a1;
}

.alert-warning {
    background-color: #fff8e1;
    border-left-color: #f57c00;
    color: #e65100;
}

.alert-error {
    background-color: #ffebee;
    border-left-color: #d32f2f;
    color: #c62828;
}

.alert-success {
    background-color: #e8f5e8;
    border-left-color: #388e3c;
    color: #2e7d32;
}

/* Responsive Design */
@media (max-width: 768px) {
    .alert-container {
        padding: 10px 12px;
    }
    
    .alert-content {
        gap: 10px;
    }
    
    .alert-icon {
        font-size: 16px;
    }
    
    .alert-title {
        font-size: 15px;
    }
    
    .alert-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .alert-container {
        padding: 8px 10px;
        margin: 8px 0;
    }
    
    .alert-content {
        gap: 8px;
    }
    
    .alert-icon {
        font-size: 15px;
    }
    
    .alert-title {
        font-size: 14px;
    }
    
    .alert-text {
        font-size: 12px;
    }
}

/* Dark mode support */
/*@media (prefers-color-scheme: dark) {
    .alert-info {
        background-color: rgba(33, 150, 243, 0.1);
        color: #90caf9;
    }
    
    .alert-warning {
        background-color: rgba(255, 152, 0, 0.1);
        color: #ffb74d;
    }
    
    .alert-error {
        background-color: rgba(244, 67, 54, 0.1);
        color: #ef5350;
    }
    
    .alert-success {
        background-color: rgba(76, 175, 80, 0.1);
        color: #81c784;
    }
}*/

/* Print styles */
@media print {
    .alert-container {
        background-color: #f5f5f5 !important;
        color: #333333 !important;
        border: 1px solid #cccccc !important;
        break-inside: avoid;
    }
    
    .alert-icon {
        color: #666666 !important;
    }
}