/* CSS */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border: none;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

body {
    background-color: #f9f9f9;
}

.toast-wrapper {
    position: fixed;
    bottom: 65px; /* Adjust this value to set the desired distance from the bottom */
    right: 15px;
    width: 400px;
    z-index: 1000; /* Ensure toast is above other content */
}

.toast {
    width: 100%;
    height: 80px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 7px;
    display: grid;
    grid-template-columns: 1.3fr 6fr 0.5fr;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    opacity: 0; /* Set initial opacity to 0 */
    transition: opacity 0.4s ease-in-out; /* Add transition for opacity */
}

.toast.show {
    opacity: 1; /* Set opacity to 1 when showing */
}

.success {
    border-left: 8px solid #47D764;
}

.error {
    border-left: 8px solid #ff355b;
}

.info {
    border-left: 8px solid #2F86EB;
}

.warning {
    border-left: 8px solid #FFC021;
}

.error i {
    color: #ff355b;
}

.info i {
    color: #2F86EB;
}

.warning i {
    color: #FFC021;
}

.toast:not(:last-child) {
    margin-bottom: 15px;
}

.container-1, .container-2 {
    align-self: center;
}

.container-1 i {
    font-size: 35px;
}

.success i {
    color: #47D764;
}

.container-2 p:first-child {
    color: #101020;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 0px;
}

.container-2 p:last-child {
    font-size: 12px;
    font-weight: 400;
    color: #656565;
    margin-bottom: 0px;
}

.toast button {
    align-self: flex-start;
    background-color: transparent;
    font-size: 25px;
    color: #656565;
    line-height: 0;
    cursor: pointer;
}
