/* style.css */

/* Generic styles for the loader used in various places */
.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

/* Small loader for inline buttons */
.mini-loader {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Styles for DB action buttons */
.db-action-btn {
    padding: 8px 16px;
    background-color: #4A5568; /* gray-700 */
    color: white;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;
    border-radius: 0.375rem; /* rounded-md */
    transition: background-color 0.2s;
}
.db-action-btn:hover {
    background-color: #2D3748; /* gray-800 */
}
.db-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Styles for main navigation tabs */
.tab-btn {
    border-color: transparent;
    color: #9CA3AF; /* gray-400 */
}
.tab-btn:hover {
    border-color: #4B5563; /* gray-600 */
    color: #E5E7EB; /* gray-200 */
}
.tab-btn.active {
    border-color: #6366F1; /* indigo-500 */
    color: #E5E7EB; /* gray-200 */
}


/* Styles for DB category filter tabs */
.db-tab {
    background-color: transparent;
}
.db-tab:hover {
    background-color: #374151; /* gray-700 */
}
.db-tab.active {
    background-color: #4F46E5; /* indigo-600 */
    color: white;
    border-color: #4F46E5; /* indigo-600 */
}

/* Common style for table headers */
.th-cell {
    padding: 0.75rem 0.5rem; /* py-3 px-2 */
    text-align: left;
    font-size: 0.75rem; /* text-xs */
    font-weight: 500; /* font-medium */
    color: #9CA3AF; /* gray-400 */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}