
.alert-fixed {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: 1.25rem;
    max-width: 50%;
    width: auto;
    min-width: 300px;
    transition: opacity 0.3s ease-in-out; /* Fade in/out transition */
    z-index: 1100;
}

/* Icons for alerts */
.alert .icon-left {
    background-color: #f8f9fa;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.alert-success .icon-left {
    color: #28a745; /* Green for success */
}

.alert-danger .icon-left {
    color: #dc3545; /* Red for error */
}

/* Progress bar for alerts */
.alert .progress-container {
    position: relative;
    width: 100%;
    height: 3px;
    margin-top: 10px;
    background: #f1f1f1;
    border-radius: 3px;
    overflow: hidden;
}

.alert .progress-bar {
    height: 100%;
    background: currentColor; /* Match the color of the alert text */
    width: 100%; /* Starts with full width */
    transition: width 3s linear; /* Smooth transition for progress bar */
}

/* .modal-backdrop {
    z-index: 1040 !important;
} */
