﻿.toast-box {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    z-index: 999999;
}

.toast-top-center {
    top: 40px;
    right: 0;
    width: 100%;
}

.toast {
    max-width: 556px;
    margin: auto;
    overflow: hidden;
    font-size: 13px;
    color: #000;
    background-color: rgba(255, 255, 255, 0.56);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 20px rgba(195, 194, 193, 0.14), 0 2px 20px rgba(18, 18, 18, 0.16);
    border-radius: 8px;
    transform: translate3d(0%, -200%, 0);
    transition: transform 400ms cubic-bezier(0.77, 0, 0.175, 1), opacity 450ms linear;
}

    .toast.show {
        display: block;
        opacity: 1;
        transform: translate3d(0%, 0%, 0);
    }

.toast-header {
    display: flex;
    align-items: center;
    padding: 10px 15px 8px 10px;
    background: none;
    border-bottom: none;
}

.toast-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    margin-right: 7px;
    background: linear-gradient(135deg, #0859fc, #4f8efc);
    border-radius: 50%;
    color: white;
}

.toast-title {
    font-weight: bold;
    margin-right: auto;
}

.toast-subtitle {
    font-weight: 600;
}

.toast-text {
    font-size: 12.5px;
}

.toast-close {
    background: transparent;
    border: none;
    color: #333;
    font-size: 1rem;
    margin-left: 10px;
}

.toast-content {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 10px 12px;
}

.toast-body {
    flex-grow: 1;
}


#pageloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: linear-gradient(135deg, white, #d0e2ff);
    display: flex;
    align-items: center;
    justify-content: center;
}

    #pageloader-overlay .spinner-grow {
        width: 3rem;
        height: 3rem;
        color: #0859fc;
    }


.toast-icon.success {
    background: linear-gradient(135deg, #28a745, #5fdc92);
}

.toast-icon.error {
    background: linear-gradient(135deg, #dc3545, #ff6f6f);
}

.toast-icon.info {
    background: linear-gradient(135deg, #0859fc, #4f8efc);
}

.toast-icon i {
    font-size: 1rem;
}
