@import url("inter.css");

html,
body {
  font-family: "Inter", sans-serif;
  touch-action: manipulation;
  scrollbar-gutter: stable;
}

input:focus,
button:focus,
textarea:focus,
select:focus,
button:focus {
  border-color: var(--color-gray-200);
  outline: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-width: 15px;
  height: 15px;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  background: #ffffff;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  transition:
    background 0.12s ease,
    border-color 0.12s ease,
    box-shadow 0.12s ease;
  box-sizing: border-box;
}

input[type="checkbox"]:hover {
  border-color: var(--color-850);
}

input[type="checkbox"]:checked {
  background: var(--color-800);
  border-color: var(--color-800);
}

input[type="checkbox"]::after {
  content: "";
  position: absolute;
  display: none;
}

input[type="checkbox"]:checked::after {
  display: block;
  left: 4px;
  top: 0;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="checkbox"]:disabled,
input[type="checkbox"][disabled],
input[type="checkbox"]:disabled:hover,
input[type="checkbox"][disabled]:hover,
input[type="checkbox"]:disabled:focus,
input[type="checkbox"][disabled]:focus {
  border: 1px solid var(--color-50);
  border-color: none;
  cursor: not-allowed;
}

input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(46, 162, 132, 0.12);
}

input,
textarea,
select {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -ms-touch-action: none;
  touch-action: none;
}

::-webkit-scrollbar {
  height: 1px;
  width: 3px;
}

::-webkit-scrollbar-track {
  border-radius: var(--radius-xl);
}

::-webkit-scrollbar-thumb {
  background: var(--color-800);
  border-radius: var(--radius-xl);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-850);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 2px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--color-gray-200);
  border-radius: var(--radius-xl);
}

::selection {
  background: var(--color-50);
  color: var(--color-gray-600);
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 1rem;
}

table td,
table th {
  border: 1px solid #e7e5e4;
  padding: 0.75rem 1rem;
}

/* Filter show/hide functionality */
.filthidd {
  display: none;
}
