/* Custom styles to complement Tailwind CSS */

/* Smooth transitions for hover effects */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Custom checkbox styles */
input[type="checkbox"] {
    cursor: pointer;
    border-radius: 0.25rem;
    border-color: #D1D5DB;
}

input[type="checkbox"]:checked {
    background-color: #2563EB;
    border-color: #2563EB;
}

/* Table row hover effect */
tr.hover\:bg-gray-50:hover {
    background-color: #F9FAFB;
}

/* Interested company highlight */
tr.bg-green-50 {
    background-color: #F0FDF4;
}

/* Loading spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
    background: #94A3B8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748B;
}

/* Modal backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

/* Toast notification customization */
.toastify {
    font-family: 'Inter', sans-serif;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Responsive table container */
.table-container {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Pagination controls */
#paginationContainer {
    margin-top: 1rem;
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

#paginationContainer button {
    transition: all 0.2s;
}

#paginationContainer button:not(:disabled):hover {
    transform: translateY(-1px);
}

#paginationContainer button:disabled {
    cursor: not-allowed;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .table-container {
        overflow: visible;
    }
    
    table {
        page-break-inside: auto;
    }
    
    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
    
    #paginationContainer {
        display: none !important;
    }
} 