/* TempMail Pro - Custom Styles */

/* Smooth transitions */
* {
    scroll-behavior: smooth;
}

/* Copy notification */
.copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1e293b;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 50;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Email iframe */
.email-body iframe {
    border: none;
    width: 100%;
}

/* Pulse animation for polling indicator */
@keyframes gentle-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-gentle-pulse {
    animation: gentle-pulse 2s ease-in-out infinite;
}

/* Loading spinner */
.spinner {
    border: 2px solid #e5e7eb;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    .countdown-timer {
        display: block;
        margin-top: 0.25rem;
    }
}
