/**/

.jov-color {
  text-align: center;
}

.jov-color-header {
  font-weight: bold;
  font-size: 1.5em;
  text-align: center;
  background: linear-gradient(22deg, #ff0000 25%, #4c67dd 40%, #5ddd4c 50%, #dd4c4c 65%);
  clip: text;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.jov-color-panel {
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
  position: relative;
  margin: 0px;
  padding: 0px;
  table-layout: fixed;
  text-align: left;
  background-color: var(--bg-color);
}

/* Light Theme */
.jov-color-panel-cat_major.light {
  background-color: #D3D3D3;
  color: #333;
  text-transform: uppercase;
}

.jov-color-panel-cat_minor.light {
  background-color: #A9A9A9;
  color: #333;
  text-transform: uppercase;
}

/* Dark Theme */
.jov-color-panel-cat_major.dark {
  background-color: #4B4B4B;
  color: #F1F1F1;
  text-transform: uppercase;
}

.jov-color-panel-cat_minor.dark {
  background-color: #2E2E2E;
  color: #F1F1F1;
  text-transform: uppercase;
}

.jov-color-panel table {
  width: 100%;
  border-collapse: collapse;
}

.jov-color-panel th,
.jov-color-panel td {
  vertical-align: middle;
}

.jov-color-panel td.fixed-size {
  width: 24px;
  height: 24px;
}

.jov-color-panel td button {
  border: 0px outset;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
}

.jov-color-panel input[type="checkbox"] {
  text-align: center;
  margin-right: 5px;
}

.jov-color-panel #jov-color-apply {
  text-align: center;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.jov-color-search-input {
  width: calc(100% - 16px);
  margin: 8px;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--input-background-color);
  color: var(--input-text-color);
  font-size: 14px;
}

.jov-color-search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(var(--accent-color-rgb), 0.2);
}

.jov-color-search-input::placeholder {
  color: var(--text-color-secondary);
}
