.notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    max-width: 400px;
    pointer-events: none;
}

.notification {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: auto;
    border-left: 4px solid #007bff;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

.notification-success {
    border-left-color: #28a745;
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-warning {
    border-left-color: #ffc107;
}

.notification-info {
    border-left-color: #17a2b8;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
}

.notification-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: #666;
}

.notification-progress {
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.notification-progress-bar {
    height: 100%;
    background: #007bff;
    width: 0;
    animation: progressAnimation 3s linear infinite;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    100% { width: 100%; }
}

@media (max-width: 480px) {
    .notifications-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .notification {
        margin-bottom: 8px;
    }
    
    .notification-content {
        padding: 14px;
    }
}

.undo-delete-button {
    position: fixed !important;
    top: 160px !important;
    right: 20px !important;
    background: #10b981 !important;
    color: white !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2) !important;
    z-index: 1000 !important;
    width: 400px !important;
    font-size: 13px !important;
    transform: translateX(350px) !important;
    transition: transform 0.3s ease !important;
}

.undo-delete-button.show {
    transform: translateX(0) !important;
}

.undo-content {
    display: flex;
    gap: 10px;
    align-items: center;
}

.undo-text {
    flex: 1;
    line-height: 1.4;
}

.undo-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.undo-timer {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #10b981;
    border-radius: 6px;
    min-width: 55px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.undo-delete-button .btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.undo-delete-button .btn svg {
    flex-shrink: 0;
}

.undo-delete-button .btn-primary {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #10b981 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.undo-delete-button .btn-primary:hover:not(:disabled) {
    background: white !important;
    border-color: white !important;
    transform: translateY(-1px);
}

.undo-delete-button .btn-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    padding: 6px 8px !important;
}

.undo-delete-button .btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.25) !important;
}