.notification-container {
    position: fixed;
    bottom: 1.25rem; /* 20px */
    right: 1.25rem; /* 20px */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem; /* 12px */
    pointer-events: none;
}

.notification-popup {
    background-color: white;
    color: #374151; /* gray-700 */
    padding: 0.75rem 1rem; /* 12px 16px */
    border-radius: 0.5rem; /* 8px */
    min-width: 16rem; /* 256px */
    max-width: 24rem; /* 384px */
    text-align: center;
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb; /* gray-200 */
    animation: slidein 0.5s ease-out;
    pointer-events: auto;
    word-wrap: break-word;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 0.5rem 0.5rem;
    overflow: hidden;
}

.notification-progress-bar {
    height: 100%;
    width: 100%;
    background-color: #6b7280;
    transition: transform linear;
    transform-origin: left;
}

.notification-success {
    background-color: #f0fdf4; /* green-50 */
    color: #166534; /* green-800 */
    border-left: 4px solid #10b981; /* green-500 */
    border-color: #d1fae5; /* green-100 */
}

.notification-success .notification-progress-bar {
    background-color: #10b981; /* green-500 */
}

.notification-error {
    background-color: #fef2f2; /* red-50 */
    color: #991b1b; /* red-800 */
    border-left: 4px solid #ef4444; /* red-500 */
    border-color: #fecaca; /* red-100 */
}

.notification-error .notification-progress-bar {
    background-color: #ef4444; /* red-500 */
}

.notification-warning {
    background-color: #fffbeb; /* yellow-50 */
    color: #92400e; /* yellow-800 */
    border-left: 4px solid #f59e0b; /* yellow-500 */
    border-color: #fef3c7; /* yellow-100 */
}

.notification-warning .notification-progress-bar {
    background-color: #f59e0b; /* yellow-500 */
}

.notification-info {
    background-color: #eff6ff; /* blue-50 */
    color: #1e40af; /* blue-800 */
    border-left: 4px solid #3b82f6; /* blue-500 */
    border-color: #dbeafe; /* blue-100 */
}

.notification-info .notification-progress-bar {
    background-color: #3b82f6; /* blue-500 */
}

.notification-copied {
    background-color: #ecfeff; /* cyan-50 */
    color: #155e75; /* cyan-800 */
    border-left: 4px solid #06b6d4; /* cyan-500 */
    border-color: #cffafe; /* cyan-100 */
}

.notification-copied .notification-progress-bar {
    background-color: #06b6d4; /* cyan-500 */
}

@keyframes slidein {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideout {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.slideout {
    animation: slideout 0.5s ease-in forwards;
}

/* Responsive design for mobile */
@media (max-width: 640px) {
    .notification-container {
        bottom: 0.75rem; /* 12px */
        right: 0.75rem; /* 12px */
        left: 0.75rem; /* 12px */
        align-items: stretch;
    }
    
    .notification-popup {
        min-width: auto;
        max-width: none;
    }
}

/* Processing Modal Styles */
.processing-modal-overlay {
    background-color: rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(2px);
}

.processing-modal-content {
    background: white !important;
    border: 2px solid #e5e7eb !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    border-radius: 12px !important;
}

@keyframes processing-bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 
    40% { 
        transform: scale(1);
    }
}

.processing-dot {
    animation: processing-bounce 1.4s infinite ease-in-out both;
}

.processing-dot:nth-child(1) { 
    animation-delay: -0.32s; 
}

.processing-dot:nth-child(2) { 
    animation-delay: -0.16s; 
}

.processing-dot:nth-child(3) { 
    animation-delay: 0s; 
} 