/*
! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.-inset-0 {
  inset: -0px;
}

.-inset-0\.5 {
  inset: -0.125rem;
}

.-inset-1 {
  inset: -0.25rem;
}

.-inset-1\.5 {
  inset: -0.375rem;
}

.inset-y-0 {
  top: 0px;
  bottom: 0px;
}

.left-0 {
  left: 0px;
}

.right-0 {
  right: 0px;
}

.z-10 {
  z-index: 10;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.hidden {
  display: none;
}

.h-16 {
  height: 4rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.w-48 {
  width: 12rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-auto {
  width: auto;
}

.max-w-7xl {
  max-width: 80rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.origin-top-right {
  transform-origin: top right;
}

.scale-100 {
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-95 {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-md {
  border-radius: 0.375rem;
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}

.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pb-3 {
  padding-bottom: 0.75rem;
}

.pr-2 {
  padding-right: 0.5rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.text-center {
  text-align: center;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity));
}

.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity));
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-black {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity));
}

.ring-opacity-5 {
  --tw-ring-opacity: 0.05;
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-100 {
  transition-duration: 100ms;
}

.duration-75 {
  transition-duration: 75ms;
}

.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.hover\:bg-gray-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-inset:focus {
  --tw-ring-inset: inset;
}

.focus\:ring-white:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity));
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.focus\:ring-offset-gray-800:focus {
  --tw-ring-offset-color: #1f2937;
}

@media (min-width: 640px) {
  .sm\:static {
    position: static;
  }

  .sm\:inset-auto {
    inset: auto;
  }

  .sm\:ml-6 {
    margin-left: 1.5rem;
  }

  .sm\:block {
    display: block;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:items-stretch {
    align-items: stretch;
  }

  .sm\:justify-start {
    justify-content: flex-start;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:pr-0 {
    padding-right: 0px;
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }

  .md\:hidden {
    display: none;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/*=========================================================================*/

.loader {
    border-top-color: #3498db !important;
    animation: spin 1s linear infinite !important;
}

.tabulator {
    background-color: #fcfdfd;
    border-radius: 0.5rem;
    font-size: 12px;
}

.tabulator-col {
    background-color: #f9fafb ;
}

    .tabulator-col:first-child {
        border-top-left-radius: 0.5rem;
    }

    .tabulator-col:last-child {
        border-top-right-radius: 0.5rem;
    }


.table-cell {
    min-width: 150px; /* Defina um tamanho mínimo para as células */
    max-width: 300px; /* Defina um tamanho máximo para as células */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#botoesPaginacao {
    margin-top: 1rem !important; /* Exemplo de espaçamento superior */
}

.disabled-field {
    background-color: #e2e8f0 !important; /* gray-300 */
    cursor: not-allowed !important;
}

.dark .disabled-field {
    background-color: #3a3a3a !important; /* Cor de fundo para campos desabilitados no modo escuro */
    color: #707070 !important; /* Cor do texto para campos desabilitados no modo escuro */
    border-color: #505050 !important; /* Cor da borda para campos desabilitados no modo escuro */
    cursor: not-allowed !important;
}

.campo-obrigatorio {
    border: 1px solid red !important;
    background-color: #ffe6e6 !important;
}

.dark .campo-obrigatorio {
    border: 1px solid red !important;
    background-color: #4b2e2e !important;
    color: white !important;
}

.readonly-field {
    background-color: #f4f4f4 !important; /* Fundo para campos somente leitura */
    color: #666 !important; /* Texto para campos somente leitura */
    cursor: default !important; /* Cursor padrão */
}

.dark .readonly-field {
    background-color: #333 !important; /* Fundo para campos somente leitura no modo escuro */
    color: #999 !important; /* Texto para campos somente leitura no modo escuro */
    border-color: #505050 !important; /* Borda para campos somente leitura no modo escuro */
}

.btn-editar {
    color: white !important;
    background-color: #EAB308 !important; /* Amarelo (bg-yellow-500) */
    border-radius: 0.5rem !important; /* Arredondamento (rounded-lg) */
    font-size: 0.875rem !important; /* Tamanho de fonte (text-sm) */
    padding: 0.625rem 1.25rem !important; /* Padding (px-5 py-2.5) */
    margin-right: 0.5rem !important; /* Margin (me-2) */
    margin-bottom: 0.5rem !important; /* Margin (mb-2) */
    font-weight: 500 !important; /* Peso da fonte (font-medium) */
    transition: background-color 0.3s, box-shadow 0.3s !important;
}

    .btn-editar:hover {
        background-color: #CA8A04 !important; /* Hover (bg-yellow-600) */
    }

    .btn-editar:focus {
        outline: none !important; /* Remove o contorno (focus:outline-none) */
        box-shadow: 0 0 0 0.25rem rgba(234, 179, 8, 0.5) !important; /* Focus (focus:ring-yellow-300) */
    }

    .btn-editar:focus-visible {
        box-shadow: 0 0 0 0.25rem rgba(202, 138, 4, 0.6) !important; /* Focus dark (focus:ring-yellow-600) */
    }

.dark .btn-editar {
    background-color: #CA8A04 !important; /* bg-yellow-600 para o tema escuro */
}

    .dark .btn-editar:hover {
        background-color: #A16207 !important; /* bg-yellow-700 no hover do tema escuro */
    }

    .dark .btn-editar:focus-visible {
        box-shadow: 0 0 0 0.25rem rgba(202, 138, 4, 0.6) !important; /* Focus dark (focus:ring-yellow-600) */
    }


.btn-pesquisar {
    color: white !important;
    background-color: #1D4ED8 !important; /* Azul (bg-blue-700) */
    border-radius: 0.5rem !important; /* Arredondamento (rounded-lg) */
    font-size: 0.875rem !important; /* Tamanho de fonte (text-sm) */
    padding: 0.625rem 1.25rem !important; /* Padding (px-5 py-2.5) */
    margin-right: 0.5rem !important; /* Margin (me-2) */
    margin-bottom: 0.5rem !important; /* Margin (mb-2) */
    font-weight: 500 !important; /* Peso da fonte (font-medium) */
    transition: background-color 0.3s, box-shadow 0.3s !important;
}

    .btn-pesquisar:hover {
        background-color: #1E40AF !important; /* Hover (bg-blue-800) */
    }

    .btn-pesquisar:focus {
        outline: none !important; /* Remove o contorno (focus:outline-none) */
        box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.5) !important; /* Focus (focus:ring-blue-300) */
    }

    .btn-pesquisar:focus-visible {
        box-shadow: 0 0 0 0.25rem rgba(29, 78, 216, 0.6) !important; /* Focus dark (focus:ring-blue-800) */
    }

.dark .btn-pesquisar {
    background-color: #1E40AF !important; /* bg-blue-600 para o tema escuro */
}

    .dark .btn-pesquisar:hover {
        background-color: #2563EB !important; /* bg-blue-700 no hover do tema escuro */
    }

    .dark .btn-pesquisar:focus-visible {
        box-shadow: 0 0 0 0.25rem rgba(29, 78, 216, 0.6) !important; /* Focus dark (focus:ring-blue-800) */
    }


/* Estilo base do botão */
.btn-cadastrar {
    outline: none !important;
    color: white !important;
    background-color: #2f6d2b !important; /* Cor de fundo verde */
    border: none !important;
    font-size: 0.875rem !important; /* Tamanho de texto pequeno */
    padding: 0.625rem 1.25rem !important; /* Espaçamento interno */
    border-radius: 0.5rem !important; /* Bordas arredondadas */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: background-color 0.3s, box-shadow 0.3s !important;
}

    /* Efeito ao passar o mouse */
    .btn-cadastrar:hover {
        background-color: #255f22 !important; /* Cor de fundo verde mais escura */
    }

    /* Efeito ao focar no botão */
    .btn-cadastrar:focus {
        outline: 2px solid #86efac !important; /* Cor da borda ao focar */
        box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.5) !important; /* Efeito de foco */
    }

    /* Efeito ao clicar no botão */
    .btn-cadastrar:active {
        background-color: #1e4c1a !important; /* Cor de fundo mais escura */
    }

/* Estilos para modo escuro */
.dark .btn-cadastrar {
    background-color: #2b6b2f !important; /* Cor de fundo para modo escuro */
}

    .dark .btn-cadastrar:hover {
        background-color: #1f4a1e !important; /* Cor de fundo mais escura no hover no modo escuro */
    }

    .dark .btn-cadastrar:focus {
        outline: 2px solid #22c55e !important; /* Cor da borda mais brilhante no foco no modo escuro */
        box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.5) !important; /* Efeito de foco no modo escuro */
    }



/* Estilo base do botão de deletar */
.btn-deletar {
    outline: none !important;
    color: white !important;
    background-color: #d32f2f !important; /* Cor de fundo vermelha */
    border: none !important;
    font-size: 0.875rem !important; /* Tamanho de texto pequeno */
    padding: 0.625rem 1.25rem !important; /* Espaçamento interno */
    border-radius: 0.5rem !important; /* Bordas arredondadas */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: background-color 0.3s, box-shadow 0.3s !important;
}

    /* Efeito ao passar o mouse */
    .btn-deletar:hover {
        background-color: #b71c1c !important; /* Cor de fundo vermelha mais escura */
    }

    /* Efeito ao focar no botão */
    .btn-deletar:focus {
        outline: 2px solid #ff3d00 !important; /* Cor da borda ao focar */
        box-shadow: 0 0 0 2px rgba(255, 61, 0, 0.5) !important; /* Efeito de foco */
    }

    /* Efeito ao clicar no botão */
    .btn-deletar:active {
        background-color: #9a0007 !important; /* Cor de fundo mais escura */
    }

/* Estilos para modo escuro */
.dark .btn-deletar {
    background-color: #c62828 !important; /* Cor de fundo para modo escuro */
}

    .dark .btn-deletar:hover {
        background-color: #b71c1c !important; /* Cor de fundo mais escura no hover no modo escuro */
    }

    .dark .btn-deletar:focus {
        outline: 2px solid #ff5722 !important; /* Cor da borda mais brilhante no foco no modo escuro */
        box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.5) !important; /* Efeito de foco no modo escuro */
    }


.label-custom {
    display: block !important; /* Faz com que a label ocupe a largura total */
    padding: 0.5rem 0.75rem !important; /* py-2 px-3 (Espaçamento vertical e horizontal) */
    font-size: 0.75rem !important; /* text-xs (Tamanho de texto pequeno) */
    color: #374151 !important; /* text-gray-800 (Cor do texto para modo claro) */
    border-color: #374151 !important; /* border-gray-700 (Cor da borda) */
    transition: color 0.3s ease-in-out !important;
}

/* Modo escuro */
.dark .label-custom {
    color: #ffffff !important; /* dark:text-white (Texto branco no modo escuro) */
}


/*    ELEMENTOS*/
.custom-input {
    background-color: #f9fafb !important; /* bg-gray-50 */
    border: 1px solid #d1d5db !important; /* border-gray-300 */
    color: #111827 !important; /* text-gray-900 */
    font-size: 0.875rem !important; /* text-sm */
    border-radius: 0.375rem !important; /* rounded-lg */
    padding: 0.125rem !important; /* p-0.5 */
    width: 100% !important; /* w-full */
    display: block; /* block */
    height: 1.5rem !important; /* md:h-6 (aproximadamente 1.5rem) */
}

    .custom-input:focus {
        outline: none !important;
        border-color: #2563eb !important; /* focus:border-primary-600 */
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3) !important; /* focus:ring-primary-600 */
    }

    .custom-input.dark {
        background-color: #374151 !important; /* dark:bg-gray-700 */
        border-color: #4b5563 !important; /* dark:border-gray-600 */
        color: #fff !important; /* dark:text-white */
    }

        .custom-input.dark:focus {
            border-color: #3b82f6 !important; /* dark:focus:border-primary-500 */
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3) !important; /* dark:focus:ring-primary-500 */
        }

    .custom-input::placeholder {
        color: #9ca3af !important; /* dark:placeholder-gray-400 */
    }



.custom-dropdown {
    background-color: #f9fafb !important; /* bg-gray-50 */
    border: 1px solid #d1d5db !important; /* border-gray-300 */
    color: #111827 !important; /* text-gray-900 */
    font-size: 0.875rem !important; /* text-sm */
    border-radius: 0.375rem !important; /* rounded-lg */
    padding: 0.125rem !important; /* p-0.5 */
    width: 100% !important; /* w-full */
    display: block !important; /* block */
    height: 1.5rem !important; /* md:h-6 */
}

    .custom-dropdown:focus {
        outline: none !important;
        border-color: #2563eb !important; /* focus:border-primary-600 */
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3) !important; /* focus:ring-primary-600 */
    }

    .custom-dropdown.dark {
        background-color: #374151 !important; /* dark:bg-gray-700 */
        border-color: #4b5563 !important; /* dark:border-gray-600 */
        color: #fff !important; /* dark:text-white */
    }

        .custom-dropdown.dark:focus {
            border-color: #3b82f6 !important; /* dark:focus:border-primary-500 */
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3) !important; /* dark:focus:ring-primary-500 */
        }

    .custom-dropdown::placeholder {
        color: #9ca3af !important; /* dark:placeholder-gray-400 */
    }

    .custom-dropdown.dark::placeholder {
        color: #d1d5db !important; /* placeholder color in dark mode */
    }



@keyframes rotacionar {
    0% {
        transform: rotate(0deg); /* Inicia sem rotação */
    }

    100% {
        transform: rotate(360deg); /* Rotaciona até 360 graus */
    }
}

.svg-rotacionando {
    animation: rotacionar 2s linear infinite !important; /* Animação de 2 segundos, contínua e suave */
}

.ui-autocomplete {
    font-size: 12px !important;
    max-height: 200px !important;
    overflow-y: auto !important;
}

    .ui-autocomplete .ui-menu-item {
        padding: 5px 10px !important;

    }


/* Estilos customizados para o tema `select2` */
.select2-container--custom-theme .select2-selection {
    background-color: #f9fafb; /* bg-gray-50 */
    border: 1px solid #d1d5db; /* border-gray-300 */
    color: #111827; /* text-gray-900 */
    font-size: 0.875rem; /* text-sm */
    border-radius: 0.5rem; /* rounded-lg */
    display: flex;
    align-items: center;
    height: 1.5rem; /* md:h-6 */
    padding: 0.125rem; /* p-0.5 */
    width: 100%; /* Garante que o select ocupe 100% da largura da div */
}

.select2-container--custom-theme .select2-selection__rendered {
    color: #111827; /* text-gray-900 */
}

.select2-container--custom-theme .select2-selection--single .select2-selection__arrow {
    height: 1.5rem; /* md:h-6 */
}

/* Estilos para o modo escuro */
.dark .select2-container--custom-theme .select2-selection {
    background-color: #374151; /* dark:bg-gray-700 */
    border: 1px solid #4b5563; /* dark:border-gray-600 */
    color: #ffffff; /* dark:text-white */
    width: 100%; /* Garante que o select ocupe 100% da largura da div */
}

.dark .select2-container--custom-theme .select2-selection__rendered {
    color: #ffffff; /* dark:text-white */
}

/* Estilo para a dropdown list */
.select2-container--custom-theme .select2-dropdown {
    background-color: #f9fafb; /* bg-gray-50 */
    border: 1px solid #d1d5db; /* border-gray-300 */
    color: #111827; /* text-gray-900 */
}

.dark .select2-container--custom-theme .select2-dropdown {
    background-color: #374151; /* dark:bg-gray-700 */
    border: 1px solid #4b5563; /* dark:border-gray-600 */
    color: #ffffff; /* dark:text-white */
}

/* Modo claro */
.select2-container--custom-theme .select2-search--dropdown .select2-search__field {
    background-color: #f9fafb; /* bg-gray-50 */
    border: 1px solid #d1d5db; /* border-gray-300 */
    color: #111827; /* text-gray-900 */
    font-size: 0.875rem; /* text-sm */
    border-radius: 0.375rem; /* rounded-md */
    padding: 0.25rem 0.5rem; /* p-1 px-2 */
}

/* Modo escuro */
.dark .select2-container--custom-theme .select2-search--dropdown .select2-search__field {
    background-color: #374151; /* dark:bg-gray-700 */
    border: 1px solid #4b5563; /* dark:border-gray-600 */
    color: #ffffff; /* dark:text-white */
    font-size: 0.875rem; /* text-sm */
    border-radius: 0.375rem; /* rounded-md */
    padding: 0.25rem 0.5rem; /* p-1 px-2 */
}

/* Ajustando o tamanho do campo de pesquisa para 100% da largura */
.select2-container--custom-theme .select2-search--dropdown {
    width: 100%; /* O campo de pesquisa ocupa 100% da dropdown */
}

.select2-container--custom-theme .select2-selection--single {
    position: relative;
    background-color: #f9fafb; /* bg-gray-50 */
    border: 1px solid #d1d5db; /* border-gray-300 */
    color: #111827; /* text-gray-900 */
    font-size: 0.875rem; /* text-sm */
    border-radius: 0.5rem; /* rounded-lg */
    display: flex;
    align-items: center;
    height: 1.5rem; /* md:h-6 */
    padding: 0.125rem 0.5rem; /* p-0.5 px-2 */
    width: 100%; /* w-full */
}

    /* Adicionando a setinha no final do select */
    .select2-container--custom-theme .select2-selection--single::after {
        content: '';
        position: absolute;
        right: 0.75rem; /* Distância da borda direita */
        top: 50%;
        transform: translateY(-50%);
        width: 0.75rem; /* Largura da setinha */
        height: 0.75rem; /* Altura da setinha */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7' /%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
        pointer-events: none;
    }

/* Modo escuro */
.dark .select2-container--custom-theme .select2-selection--single {
    background-color: #374151; /* dark:bg-gray-700 */
    border: 1px solid #4b5563; /* dark:border-gray-600 */
    color: #ffffff; /* dark:text-white */
}

    .dark .select2-container--custom-theme .select2-selection--single::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7' /%3E%3C/svg%3E");
    }

/* Estilizando o select2 para ter um efeito de hover */
.select2-container--custom-theme .select2-selection--single {
    position: relative;
    background-color: #f9fafb; /* bg-gray-50 */
    border: 1px solid #d1d5db; /* border-gray-300 */
    color: #111827; /* text-gray-900 */
    font-size: 0.875rem; /* text-sm */
    border-radius: 0.5rem; /* rounded-lg */
    display: flex;
    align-items: center;
    height: 1.5rem; /* md:h-6 */
    padding: 0.125rem 0.5rem; /* p-0.5 px-2 */
    width: 100%; /* w-full */
}

    /* Adicionando a setinha no final do select */
    .select2-container--custom-theme .select2-selection--single::after {
        content: '';
        position: absolute;
        right: 0.75rem; /* Distância da borda direita */
        top: 50%;
        transform: translateY(-50%);
        width: 0.75rem; /* Largura da setinha */
        height: 0.75rem; /* Altura da setinha */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7' /%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
        pointer-events: none;
    }

/* Modo escuro */
.dark .select2-container--custom-theme .select2-selection--single {
    background-color: #374151; /* dark:bg-gray-700 */
    border: 1px solid #4b5563; /* dark:border-gray-600 */
    color: #ffffff; /* dark:text-white */
}

    .dark .select2-container--custom-theme .select2-selection--single::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7' /%3E%3C/svg%3E");
    }

/* Efeito hover para as opções do dropdown */
.select2-container--custom-theme .select2-results__option--highlighted {
    background-color: #e5e7eb; /* bg-gray-200 (mais escuro que o padrão) */
}

/* Modo escuro - Efeito hover para as opções do dropdown */
.dark .select2-container--custom-theme .select2-results__option--highlighted {
    background-color: #4b5563; /* dark:bg-gray-600 (mais escuro que o padrão) */
    color: #ffffff; /* Texto branco para o modo escuro */
}

/* Definindo altura máxima para as opções do select2 */
.select2-container--custom-theme .select2-dropdown .select2-results__options {
    max-height: 200px; /* Ajuste a altura máxima conforme necessário */
    overflow-y: auto; /* Adiciona rolagem vertical quando necessário */
}

.dark .select2-container--custom-theme .select2-dropdown .select2-results__options {
    max-height: 200px; /* Ajuste a altura máxima conforme necessário */
    overflow-y: auto; /* Adiciona rolagem vertical quando necessário */
}
