/* --- Flash Message Popup Start --- */
.flash-message-popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1400;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px 10px 10px;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

.flash-message-popup.fmp-active {
    opacity: 1;
    visibility: visible;
}

.flash-message {
    background-color: white;
    border-radius: 10px;
    padding: 15px 40px 15px 15px;
    max-width: 400px !important;
    width: 95%;
    position: relative;
    position: fixed;
    left: 50%;
    bottom: 50px;
    transform: translate(-50%, 20px);
    opacity: 0;
    visibility: hidden;
    z-index: 1401;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    overflow: hidden;
}

.flash-message-inner {
    display: flex;
    align-items: center;
}

.flash-message.fmp-message {
    transform: translate(-50%, 0px);
    opacity: 1;
    visibility: visible;
}

.flash-message .flash-img {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    margin-right: 10px;
    align-self: self-start;
}

.flash-message .flash-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    margin-right: 10px;
    align-self: self-start;
    color: #1FC16B;
}

.flash-message.error-msg .flash-icon {
    color: red;
}

.flash-message .flash-text {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    margin: 0;
}

.flash-message .msg-close svg {
    width: 100%;
    height: 100%;
}

.flash-time-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #1FC16B;
    border-radius: 50px;
    opacity: 0;
    transition: animation 0.3s ease-in-out;
}

.fmp-message .flash-time-line {
    animation: flashtimeline 3s forwards;
}

.flash-message.error-msg .flash-time-line {
    background-color: red;
}

@-webkit-keyframes flashtimeline {
    0% {
            width: 100%;
            opacity: 1;
    }

    100% {
            width: 0%;
            opacity: 1;
    }
}

@-moz-keyframes flashtimeline {
    0% {
            width: 100%;
            opacity: 1;
    }

    100% {
            width: 0%;
            opacity: 1;
    }
}

@-o-keyframes flashtimeline {
    0% {
            width: 100%;
            opacity: 1;
    }

    100% {
            width: 0%;
            opacity: 1;
    }
}

@keyframes flashtimeline {
    0% {
            width: 100%;
            opacity: 1;
    }

    100% {
            width: 0%;
            opacity: 1;
    }
}