/* Toast Notification Styles for Push Notifications */

.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-content i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-content span {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Toast Types */
.toast-success {
    border-left-color: #28a745;
}

.toast-success .toast-content i {
    color: #28a745;
}

.toast-error {
    border-left-color: #dc3545;
}

.toast-error .toast-content i {
    color: #dc3545;
}

.toast-warning {
    border-left-color: #ffc107;
}

.toast-warning .toast-content i {
    color: #ffc107;
}

.toast-info {
    border-left-color: #17a2b8;
}

.toast-info .toast-content i {
    color: #17a2b8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* Animation for multiple toasts */
.toast-notification:nth-child(2) {
    top: 80px;
}

.toast-notification:nth-child(3) {
    top: 140px;
}

.toast-notification:nth-child(4) {
    top: 200px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .toast-notification {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .toast-success {
        border-left-color: #48bb78;
    }
    
    .toast-error {
        border-left-color: #f56565;
    }
    
    .toast-warning {
        border-left-color: #ed8936;
    }
    
    .toast-info {
        border-left-color: #4299e1;
    }
}
