/* =========================================================
   EKC Toast Notifications
   ========================================================= */


#ekc-toast-container {

    position: fixed;

    top: 24px;
    right: 24px;

    z-index: 1000000;

    display: flex;
    flex-direction: column;

    gap: 12px;

    width: 360px;

    pointer-events: none;

}



/* =========================================================
   Base toast
   ========================================================= */


.ekc-toast {

    display: flex;
    align-items: flex-start;
    gap: 12px;

    max-height: 200px;

    padding: 14px 16px;
    
    background: #ffffff;
    border-radius: 8px;

    box-shadow:
        0 8px 24px rgba(0,0,0,.12);

    border-left: 4px solid;

    opacity: 0;
    transform: translateX(40px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        max-height .25s ease,
        padding .25s ease;

    pointer-events: auto;
    cursor: pointer;
}

.ekc-toast.is-visible {

    opacity: 1;

    transform:
        translateX(0);

}

.ekc-toast.is-removing {
    opacity: 0;

    transform: translateX(40px);

    max-height: 0;

    padding-top: 0;
    padding-bottom: 0;

    overflow: hidden;
}

/* =========================================================
   Icon
   ========================================================= */


.ekc-toast-icon {

    flex-shrink: 0;


    width: 28px;

    height: 28px;


    display: flex;

    align-items: center;

    justify-content: center;


    border-radius: 50%;


    font-size: 18px;

    font-weight: 700;

}

/* =========================================================
   Body
   ========================================================= */

.ekc-toast-content {

    flex: 1;

    min-width: 0;

}

.ekc-toast-title {

    font-size: 14px;

    font-weight: 600;

    line-height: 1.3;

    margin-bottom: 3px;

}

.ekc-toast-message {

    font-size: 13px;

    line-height: 1.45;

}

/* =========================================================
   Success
   ========================================================= */

.ekc-toast-success {

    border-color: #2e7d32;

}

.ekc-toast-success .ekc-toast-icon {

    background: #e8f5e9;

    color: #2e7d32;

}

/* =========================================================
   Info
   ========================================================= */

.ekc-toast-info {

    border-color: #1565c0;

}

.ekc-toast-info .ekc-toast-icon {

    background: #e3f2fd;

    color: #1565c0;

}

/* =========================================================
   Warning
   ========================================================= */

.ekc-toast-warning {

    border-color: #ef6c00;

}

.ekc-toast-warning .ekc-toast-icon {

    background: #fff3e0;

    color: #ef6c00;

}

/* =========================================================
   Error
   ========================================================= */

.ekc-toast-error {

    border-color: #c62828;

}

.ekc-toast-error .ekc-toast-icon {

    background: #ffebee;

    color: #c62828;

}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {

    #ekc-toast-container {

        left: 16px;

        right: 16px;

        width: auto;

        top: 16px;

    }
}