/* Toast container positioning */
.toast-container {
    display: flex;
    flex-direction: column-reverse;
    box-sizing: border-box;
    width: max-content;
    max-width: 100%;
    pointer-events: none;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    position: fixed;
    bottom: 40px;
    right: 10px;
    z-index: 1060;
    height: 100%;
    padding: 2rem 0 1rem 0;
    gap: 1rem;
}

.toast-container>:not(:last-child) {
    margin-bottom: .75rem;
}

/* Toast styling */
.toast {
    opacity: 0;
    transition: opacity 0.15s linear;
    display: block;
    width: 350px;
    max-width: 100%;
    font-size: .875rem;
    pointer-events: auto;
    background-color: #f8f9fa;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    transform: translateY(-10px);
    border-radius: .25rem;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Toast body */
.toast-body {
    display: block;
    padding: 0.75rem;
    word-wrap: break-word;
}

.toast-body .btn {
    margin-left: 10px;
}


/* Close button styling */
.toast .btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
/* View button styling */
.toast .btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.toast .btn-sm {
    padding: .25rem .5rem;
    font-size: 1rem;
    border-radius: .2rem;
}

/* Optional: Add fade-out effect */
.toast.fade-out {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.toast-btn {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    justify-content: start;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #dee2e6 !important;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-top-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

