/* Base alert styles */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    position: relative;
    font-family: Arial, sans-serif;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;

}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Close button styles */
.alert .close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: inherit;
    position: absolute;
    top: 10px;
    right: 10px;
    line-height: 1;
}

/* Icon styles */
.alert .icon {
    margin-right: 0.5rem;
    font-size: 1.5rem;
    line-height: 0;
}

/* Hover effects */
.alert .close-btn:hover {
    color: #000;
    transform: scale(1.2);
}
