/**
 * Toast Notification CSS - Tash Baby Care
 * FIXED: Unique class names and High Z-Index
 */

/* Container */
.tash-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999999; /* Extremely high to sit on top of everything */
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

/* Toast Card */
.tash-toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: all;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 5px solid;
    font-family: 'Inter', sans-serif;
}

/* Visible State */
.tash-toast.tash-toast-show {
    opacity: 1;
    transform: translateX(0);
}

/* Exit State */
.tash-toast.tash-toast-exit {
    opacity: 0;
    transform: translateX(100%);
}

/* Toast Types Colors */
.tash-toast-success {
    border-left-color: #10b981;
    background: #ffffff;
}

.tash-toast-error {
    border-left-color: #ef4444;
    background: #ffffff;
}

.tash-toast-warning {
    border-left-color: #f59e0b;
    background: #ffffff;
}

.tash-toast-info {
    border-left-color: #3b82f6;
    background: #ffffff;
}

/* Icons */
.tash-toast-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.tash-toast-success .tash-toast-icon { color: #10b981; background: #d1fae5; }
.tash-toast-error .tash-toast-icon { color: #ef4444; background: #fee2e2; }
.tash-toast-warning .tash-toast-icon { color: #f59e0b; background: #fef3c7; }
.tash-toast-info .tash-toast-icon { color: #3b82f6; background: #dbeafe; }

/* Message Text */
.tash-toast-message {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.4;
}

/* Close Button */
.tash-toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.tash-toast-close:hover {
    color: #111827;
}

/* Animation Entry */
.tash-toast-enter {
    animation: tashSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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