/* ==========================================================================
   PLECO Custom Toast Notifications
   ========================================================================== */

   #pleco-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none; /* Let clicks pass through the container */
}

.pleco-toast {
    background: rgba(25, 25, 25, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 4px solid #c0392b; /* Default PLECO red */
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    max-width: 350px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto; /* Enable clicks on the toast itself */
    cursor: pointer;
}

.pleco-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.pleco-toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

/* Toast Variants */
.pleco-toast.success {
    border-left-color: #2ecc71; /* Green */
}
.pleco-toast.error {
    border-left-color: #e74c3c; /* Red */
}
.pleco-toast.info {
    border-left-color: #3498db; /* Blue */
}
.pleco-toast.warning {
    border-left-color: #f1c40f; /* Yellow */
}

/* Icons for Toasts (using SVG as background or inline HTML) */
.pleco-toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pleco-toast-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pleco-toast-title {
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
}

.pleco-toast-message {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
}
