.toastify {
    padding: 0 !important;
    border-radius: 8px !important;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    min-width: 340px;
    max-width: 420px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-wrapper {
    display: flex;
    align-items: center;
    padding: 16px;
    position: relative;
    border-left: 4px solid;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.toast-icon-wrapper {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    /* margin-top: 2px; */
}

.toast-icon {
    width: 22px;
    height: 22px;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 32px;
    min-height: 22px;
}

.toast-title {
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.4;
    margin-bottom: 2px;
    color: inherit !important;
}

.toast-body {
    font-weight: 400;
    font-size: 0.875rem;
    opacity: 0.85;
    color: inherit !important;
    padding: 0px;
}

.toastify .toast-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    opacity: 0.5 !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    cursor: pointer;
    transition: opacity 0.2s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toastify .toast-close:hover {
    opacity: 0.8 !important;
}

/* Success Toast */
.success-toast {
    background: #F0F4FF !important;
    color: var(--primary-color) !important;
}

.success-toast .toast-wrapper {
    border-left-color: var(--primary-color);
}

.success-toast .toast-close {
    color: var(--primary-color) !important;
}

/* Danger Toast */
.danger-toast {
    background: #FFF5F5 !important;
    color: var(--cancel-color) !important;
}

.danger-toast .toast-wrapper {
    border-left-color: var(--cancel-color);
}

.danger-toast .toast-close {
    color: var(--cancel-color) !important;
}

/* Info Toast */
.info-toast {
    background: #F0F9FF !important;
    color: #0369A1 !important;
}

.info-toast .toast-wrapper {
    border-left-color: #0369A1;
}

.info-toast .toast-close {
    color: #0369A1 !important;
}

/* Warning Toast */
.warning-toast {
    background: #FFFBEB !important;
    color: #B45309 !important;
}

.warning-toast .toast-wrapper {
    border-left-color: #B45309;
}

.warning-toast .toast-close {
    color: #B45309 !important;
}