/* Custom styles for Email Gateway Dashboard with Tailwind CSS */

/* Additional smooth transitions */
* {
    transition: all 0.2s ease-in-out;
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Focus states for better accessibility */
.focus\:ring-primary-500:focus {
    --tw-ring-color: #3b82f6;
}

/* Animation for loading states */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hover effects for interactive elements */
.hover\:scale-\[1\.02\]:hover {
    transform: scale(1.02);
}

/* Custom gradient backgrounds */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* Shadow enhancements */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Typography improvements */
.font-sans {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Mobile responsiveness improvements */
@media (max-width: 768px) {
    .space-y-6 > * + * {
        margin-top: 1.5rem;
    }
    
    .gap-4 {
        gap: 1rem;
    }
    
    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print\:shadow-none {
        box-shadow: none !important;
    }
} 