@tailwind base;
@tailwind components;
@tailwind utilities;

/* Select2 styles */
@import 'select2/dist/css/select2.min.css';
@import './select2-custom.css';

body {
    background-color: white;
}

.knewave-regular {
    font-family: "Knewave", system-ui;
    font-style: normal;
}

.dataTable-pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 2px;
    text-decoration: none;
    color: #555;
}

.dataTable-pagination a.active {
    font-weight: bold;
    color: #000;
    background-color: #f0f0f0;
}

.select2-selection {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.tabs-header {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid #ccc;
}

.tab-button {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: bold;
    cursor: pointer;
}

.tab-button.active {
    border-bottom: 2px solid teal;
    color: teal;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tooltip {
    @apply invisible absolute italic ml-7 -mt-7;
}

.has-tooltip:hover .tooltip {
    @apply visible z-50;
}

input[disabled] {
    @apply cursor-not-allowed;
}

.dropdown-content {
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}
