/* Notification System Styles */

#tfp-toast-container {
    position: fixed;
    top: 80px;
    /* Below topbar */
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    /* Let clicks pass through container gaps */
}

.tfp-toast {
    pointer-events: auto;
    min-width: 300px;
    max-width: 400px;
    background: #ffffff;
    /* Explicit White */
    color: var(--md-sys-color-on-surface);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;

    /* Animation State */
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    border-left: 4px solid var(--md-sys-color-outline);
}

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

.tfp-toast.hide {
    opacity: 0;
    transform: translateX(20px);
}

/* Variants */
.toast-info {
    border-left-color: var(--md-sys-color-primary);
}

.toast-info .toast-icon {
    color: var(--md-sys-color-primary);
}

.toast-success {
    border-left-color: #1b5e20;
    background: #f1f8e9;
    /* Light Green Tint */
}

.toast-success .toast-icon {
    color: #1b5e20;
}

.toast-error {
    border-left-color: var(--md-sys-color-error);
    background: #fff8f8;
    /* Light Red Tint */
}

.toast-error .toast-icon {
    color: var(--md-sys-color-error);
}

/* Content */
.toast-message {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

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

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0.5;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    border-radius: 50%;
}

.toast-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

.toast-close md-icon {
    font-size: 18px;
}