.custom-alert {
    position: fixed;
    top: 3;
    right: 0;
    left: 0;
    width: 300px;
    margin: auto;
    padding: 20px;
    background-color: #4caf50;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    opacity: 0;
    transition: opacity 0.6s;
    display: none;
}

.custom-alert.warning {
    background-color: #af4c4c;
}

.custom-alert.show {
    opacity: 1;
    z-index: 99;
    display: block;
}