#toast-container {
    font-family: 'Open Sans';
    position: fixed;
    z-index: 999998 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 495px;
}

.top-right { top: 50px; right: 10px; align-items: flex-end; }
.top-left { top: 50px; left: 10px; align-items: flex-start; }
.bottom-right { bottom: 50px; right: 10px; align-items: flex-end; }
.bottom-left { bottom: 10px; left: 10px; align-items: flex-start; }
.top-center { top: 50px; left: 50%; transform: translateX(-50%); align-items: center; }
.bottom-center { bottom: 50px; left: 50%; transform: translateX(-50%); align-items: center; }

.gp-toast {
    display: flex;
    flex-direction: column;
    background: #f1f1f1;
    min-width: 495px;
    max-width: 100%;
    animation: fadeIn 0.3s ease-out;
    color: #333333;
}

.gp-toast.toast-success {
    background-color: #D9F2E4;
    border-left: 3px solid #279033;
}

.gp-toast.toast-error {
    background-color: #FFF1F0;
    border-left: 3px solid #FF4D4F;
}

.gp-toast.toast-warning {
    background-color: #FFFBE6;
    border-left: 3px solid #FAAD14;
}

.gp-toast.toast-info {
    background-color: #E6F7FF;
    border-left: 3px solid #1890FF;
}

.gp-toast.toast-success .toast-icon {
    color: #279033;
}

.gp-toast.toast-error .toast-icon {
    color: #FF4D4F;
}

.gp-toast.toast-warning .toast-icon {
    color: #FAAD14;
}

.gp-toast.toast-info .toast-icon {
    color: #1890FF;
}

.gp-toast.toast-success .toast-progress {
    background-color: #B9E2CA;
}

.gp-toast.toast-error .toast-progress {
    background-color: #FFDBDC;
}

.gp-toast.toast-warning .toast-progress {
    background-color: #FEEFD0;
}

.gp-toast.toast-info .toast-progress {
    background-color: #DFEBF6;
}

.gp-toast .toast-wrapper {
    display: flex;
    flex-direction: column;
    padding-block: 10px;
    padding-inline: 15px 20px;
    flex-grow: 1;
}

.gp-toast .toast-wrapper .toast-toggle {
    display: flex;
}

.toast-toggle .small-version,
.toast-toggle .small-version i {
    font-size: 14px !important;
}

.toast-toggle .toast-icon {
    align-content: center;
    margin-right: 10px;
}

.toast-toggle .toast-icon i {
    font-size: 24px;
}

.toast-toggle .toast-title {
    margin-right: 10px;
    align-content: center;
    font-size: 16px;
    flex-grow: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.toast-toggle .toast-action {
    margin-inline: 10px 20px;
    align-content: center;
}

.toast-toggle .toast-action button {
    font-family: 'IBM Plex Sans';
    font-size: 14px;
    border: none;
    background-color: transparent;
    color: #1890FF;
    text-transform: capitalize;
    white-space: nowrap;
    cursor: pointer;
}

.gp-toast .toast-wrapper .toast-message {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 14px;
    line-height: 22px;
    margin-top: 5px;
    margin-left: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.gp-toast .toast-wrapper .toast-message div {
    display: inline;
}

.gp-toast .toast-close {
    align-content: center;
    cursor: pointer;
    padding-bottom: 2px;
}

.gp-toast .toast-close i {
    font-size: 12px;
    color: #7A7A7A;
}

.toast-progress-container {
    height: 3px;
    background-color: #F5F5F5;
}

.toast-progress-container .toast-progress {
    height: 100%;
    width: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.toast-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.toast-modal {
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans';
    border-radius: 8px;
    width: 550px;
    max-height: 80vh;
    word-break: break-word;
    position: relative;
    background-color: #FFFFFF;
}

.toast-modal.toast-success .toast-modal-header{
    background-color: #D9F2E4;
    border-bottom: 2px solid #279033;
}

.toast-modal.toast-error .toast-modal-header{
    background-color: #FFF1F0;
    border-bottom: 2px solid #FF4D4F;
}

.toast-modal.toast-warning .toast-modal-header{
    background-color: #FFFBE6;
    border-bottom: 1px solid #FAAD14;
}

.toast-modal.toast-info .toast-modal-header{
    background-color: #E6F7FF;
    border-bottom: 2px solid #1890FF;
}

.toast-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px 8px 0 0;
}

.toast-modal-header span {
    flex-grow: 1;
}

.toast-modal-title-bar {
    font-size: 18px;
    color: #424242;
}

.toast-modal-title {
    font-size: 16px;
    color: #424242;
}

.toast-modal-close-bar {
    font-size: 21px;
    cursor: pointer;
    color: #454545;
}

.toast-modal-icon {
    font-size: 24px;
    align-content: center;
}

.toast-modal-body {
    display: flex;
    margin-inline: 5px;
    padding-inline: 20px;
    padding-block: 15px 0;
    flex-direction: column;
    gap: 10px;
    background-color: #FFFFFF;
    font-size: 14px;
    box-sizing: border-box;
    overflow-y: auto;
    flex-grow: 1;
}

.toast-modal-body::-webkit-scrollbar {
    width: 6px;
}

.toast-modal-body::-webkit-scrollbar-track {
    background: #F1F1F1;
}

.toast-modal-body::-webkit-scrollbar-thumb {
    background: #BBBBBB;
    border-radius: 3px;
}

.toast-modal-body::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

.toast-modal.toast-success .toast-modal-icon,
.toast-modal.toast-success .toast-modal-header,
.toast-modal.toast-success .toast-modal-body i {
    color: #279033;
}

.toast-modal.toast-error .toast-modal-icon,
.toast-modal.toast-error .toast-modal-header,
.toast-modal.toast-error .toast-modal-body i {
    color: #FF4D4F;
}

.toast-modal.toast-warning .toast-modal-icon,
.toast-modal.toast-warning .toast-modal-header,
.toast-modal.toast-warning .toast-modal-body i {
    color: #FAAD14;
}

.toast-modal.toast-info .toast-modal-icon,
.toast-modal.toast-info .toast-modal-header,
.toast-modal.toast-info .toast-modal-body i {
    color: #1890FF;
}

.toast-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin: 15px 25px 20px 25px;
}

.toast-modal-ok {
    color: #0D2F48;
    border-radius: 4px;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 16px;
    white-space: nowrap;
}

.toast-modal.toast-success .toast-modal-ok {
    background-color: #279033;
    border: solid 1px #279033;
    color: #FFFFFF;
}

.toast-modal.toast-error .toast-modal-ok {
    background-color: #FF4D4F;
    border: solid 1px #FF4D4F;
    color: #FFFFFF;
}

.toast-modal.toast-warning .toast-modal-ok {
    background-color: #FAAD14;
    border: solid 1px #FAAD14;
}

.toast-modal.toast-info .toast-modal-ok {
    background-color: #1890FF;
    border: solid 1px #1890FF;
    color: #FFFFFF;
}

.toast-modal ul {
    padding: 0;
    width: fit-content;
    justify-self: center;
    margin-block: 10px;
    list-style-position: inside;
}

.toast-modal ul li::marker {
    font-weight: bold;
}