/* Custom styles for BitSearch */

/* Enhanced search and autocomplete styling */
.autocomplete-results {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.autocomplete-results div:hover {
    background-color: #f3f4f6;
}

/* Enhanced shadow effects */
.shadow-3xl {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.25);
}

/* Search input focus states */
.search-focus-glow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-focus-glow:focus {
    box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 0.5),
        0 35px 60px -12px rgba(0, 0, 0, 0.25);
}

/* Search result cards hover effects */
.search-result-card {
    transition: all 0.2s ease-in-out;
}

.search-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Category grid hover effects */
.category-card {
    transition: all 0.3s ease-in-out;
}

.category-card:hover {
    transform: translateY(-4px);
}

/* Tab animations */
.tab-content {
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Responsive improvements */
@media (max-width: 640px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .search-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .torrent-details-header {
        flex-direction: column;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .bg-gray-50 {
        background: white !important;
    }
    
    .shadow-sm,
    .shadow-md,
    .shadow-lg {
        box-shadow: none !important;
    }
} 