fieldset input:not([type="submit"]):not([type="button"]):not([type="reset"]),
fieldset select,
fieldset textarea {
    border: 1px solid oklch(var(--nc)) !important;
    border-radius: var(--rounded-btn) !important;
    padding: 0.5rem 1rem !important;
    background-color: oklch(var(--b1)) !important;
}

fieldset input:focus,
fieldset textarea:focus,
fieldset select:focus {
    border-color: oklch(var(--p)) !important;
    outline: none;
}

div.readonly {
    background-color: var(--p2);
    color: var(--pc);
}

select[name="action"] {
    all: unset !important;
    padding: 0.5rem 1rem !important;
    margin-right: 0.5rem !important;
    background-color: oklch(var(--b1)) !important;
    border: 1px solid oklch(var(--nc)) !important;
    border-radius: var(--rounded-btn) !important;
    color: oklch(var(--b)) !important;
    font-size: 0.875rem !important;
}

input[type="file"]::file-selector-button {
  background-color: oklch(var(--b2)) !important;
  color: oklch(var(--b)) !important;
  border: 1px solid oklch(var(--nc)) !important;
  border-radius: var(--rounded-btn) !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
  cursor: pointer;

}

input[type="file"]::file-selector-button:hover {
  background-color: oklch(var(--nc)) !important;
  color: oklch(var(--n)) !important;
}

fieldset input[type="checkbox"],
.main-wrapper input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid oklch(var(--bc));
  background-color: oklch(var(--b));
  border-radius: 0.25rem;
  cursor: pointer;
  display: inline-block;
  position: relative;
  vertical-align: middle !important;
}

fieldset input[type="checkbox"]:hover,
.main-wrapper input[type="checkbox"]:hover {
  border-color: oklch(var(--p));
}

fieldset input[type="checkbox"]:checked,
.main-wrapper input[type="checkbox"]:checked {
  background-color: oklch(var(--p));
  border-color: oklch(var(--p));
}

fieldset input[type="checkbox"]:checked::before,
.main-wrapper input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='white' stroke-width='3' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7' /%3E%3C/svg%3E");
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: inherit;
  background-color: oklch(var(--p)) !important;
}

#sidebar {
  width: 18rem;
}

#sidebar ul.menu {
  width: 18rem;
}

#tgmessageseries_form ul.text-error {
  color: oklch(var(--erc));
}

[id^="id_form-"] {
  border: 1px solid oklch(var(--b3)) !important;
  border-radius: var(--rounded-btn) !important;
  padding: 0.5rem 1rem !important;
  background-color: oklch(var(--b1)) !important;
}


.selector-chosen h2 {
    background-color: oklch(var(--b1)) !important;
    color: oklch(var(--bс)) !important;
}

.paginator {
    background-color: oklch(var(--b1)) !important;
    background-color: oklch(var(--b1)) !important;
    border-bottom: none !important;
}

.w-full.flex.flex-row.justify-between.bg-base-200.rounded-sm.p-1.text-sm {
    background-color: oklch(var(--b1)) !important;
    
}

a.inline-deletelink {
    color: oklch(var(--p)) !important;
}

a.inline-deletelink:hover {
    text-decoration: underline !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}
