.alert {
    padding: 15px !important;
    margin-bottom: 20px !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    width: 75% !important; /* Set width to 75% of the screen */
    margin: 0 auto !important; /* Center the alert horizontally */
    text-align: center !important; /* Center the text within the alert */
}

.alert-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

.alert-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}

.centered-container {
    width: 75% !important; /* Set width to 75% of the screen */
    margin: 0 auto !important; /* Center the container horizontally */
    text-align: center !important; /* Center the content within the container */
}

/* CSS code for styling the custom alert */
    /* Style for the alert message */
    .custom-alert {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #f2f2f2;
        color: #333;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 10px;
        z-index: 9999;
    }
    
    .alert-text {
        display: block;
        margin-bottom: 10px;
    }
    
    .close-alert {
        position: absolute;
        top: 5px;
        right: 5px;
        cursor: pointer;
        background: none;
        border: none;
        font-size: 16px;
        color: #333;
    }
    
    