﻿
.toast-container {
    position: fixed;
    z-index: 1090; /*greater than all other bootstrap components. So that always on top*/
    bottom: 0;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    pointer-events: none;
    margin-bottom:80px;
}
.toast-container > :not(:last-child) {
    margin-bottom: 0.5rem;
}

/*.toast-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--border-radius-default);
    background: var(--black-rgba-80) !important;
    padding: 24px;
    width: 1140px;
    max-width: 100%;
    pointer-events: auto;*/
    /*typography*/
    /*font-size: var(--font-size-large);
    line-height: var(--line-height-default);
    font-weight: var(--font-weight-light);
    color: var(--white);*/
    /*animation*/
    /*opacity: 1;
    transition: opacity 0.2s linear;
}
.toast-custom:not(.show) {
    display: none;
    opacity: 0;
}

@media (max-width: 768px) {
    .toast-custom {
        width: 351px;
        padding: 20px 16px;
    }
}*/



.toast-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Reduced gap to make it more compact */
    border-radius: var(--border-radius-default);
    background: var(--black-rgba-80) !important;
    padding: 16px; /* Reduced padding to reduce height */
    width: 900px; /* Reduced width for a more compact layout */
    max-width: 100%;
    pointer-events: auto;
    /* Typography */
    font-size: var(--font-size-medium); /* Reduced font size */
    line-height: 1.2; /* Reduced line-height to make text more compact */
    font-weight: var(--font-weight-regular); /* Changed to regular for better readability */
    color: var(--white);
    /* Animation */
    opacity: 1;
    transition: opacity 0.2s linear;
}

    .toast-custom:not(.show) {
        display: none;
        opacity: 0;
    }

@media (max-width: 768px) {
    .toast-custom {
        width: 300px; /* Reduced width for smaller screens */
        padding: 12px 10px; /* Reduced padding for compactness on mobile */
        font-size: var(--font-size-small); /* Smaller font size for mobile */
    }
}


.toast-action {
    font-weight: var(--font-weight-regular);
    text-decoration-line: underline;
    cursor: pointer;
}


@media (min-height: 968px) {
    .toast-container {
        margin-bottom: 214px;
    }
}