/* General styles for the alert messages */
.alert {
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

/* Success message */
.alert-success {
    background-color: #28a745;
    color: white;
    border: 1px solid #218838;
}

/* Error message */
.alert-danger {
    background-color: #dc3545;
    color: white;
    border: 1px solid #c82333;
}

/* Info message */
.alert-info {
    background-color: #17a2b8;
    color: white;
    border: 1px solid #117a8b;
}

/* Warning message */
.alert-warning {
    background-color: #ffc107;
    color: black;
    border: 1px solid #e0a800;
}

/* Style for the icon or symbol in each alert */
.alert svg {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

/* Alert container styles */
.alert-container {
    max-width: 500px;
    margin: auto;
    padding: 0 10px;
    position: absolute;
    z-index: 999;
    top: 100px;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Optional: Style for dismissible alerts */
.alert .close-btn {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    color: inherit;
    cursor: pointer;
}