﻿

/* SnackBar*/
.snackbar-container {
    display: flex !important;
    justify-content: space-between !important; /* Aligns items to the left */
    align-items: center !important; /* Vertically centers the content */
    direction: ltr !important;
}

    .snackbar-container p {
        order: 2 !important; /* Ensures the text stays on the right */
        margin: 0 !important; /* Removes any default margin */
        padding: 0 !important; /* Removes any default padding */
        font-size: 14px !important; /* Custom font size */
        font-weight: 300 !important; /* Custom font weight */
        line-height: 1em !important; /* Custom line height */
        margin-left: auto !important; /* Pushes the text to the right */
        margin-left: 10px !important;
        direction: rtl !important;
        display: block !important;
    }

    .snackbar-container .action {
        order: 1 !important; /* Ensures the action button stays on the left */
        flex-shrink: 0 !important; /* Prevents the button from shrinking */
        border: none !important; /* Removes any borders */
        font-weight: bold !important; /* Makes the button text bold */
        margin-left: 0 !important; /* Ensures no space between the button and the container's left edge */
        padding-left: 0px !important; /* Adds padding inside the button itself to make it easier to click */
        background-color: #00000061 !important;
        border-radius: 4px;
        padding: 0px 10px !important;
    }


/* Apply rounded corners on larger screens */
@media (min-width: 768px) {
    .mahta-snackbar {
        border-radius: 8px !important;
    }
}

/* Remove rounded corners on small screens */
@media (max-width: 767px) {
    .mahta-snackbar {
        border-radius: 0 !important;
    }
}



/* SnackBar*/
