@charset "UTF-8";
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * 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;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-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.
 */
[type=search]::-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 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/** Media Queries **/
html {
  font-size: 62.5%;
  box-sizing: border-box;
  height: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: "Cinzel", serif;
  font-size: 1.92rem; /* 1.6rem * 1.2 = 1.92rem */
}

html, body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  font-size: 2.4rem; /* 2rem * 1.2 = 2.4rem */
}

img {
  width: 100%;
  height: auto;
}

input {
  font-size: 1.8rem; /* 1.5rem * 1.2 = 1.8rem */
}

.swal2-popup {
  font-size: 2rem !important;
}

h1, h2, h3 {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 3rem;
}

p {
  font-size: 1.8rem; /* 1.5rem * 1.2 = 1.8rem */
}

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

[class$=__heading] {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 4rem;
  margin: 6rem 0 3rem 0;
  text-align: center;
}

[class$=__descripcion] {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 2.2rem;
  text-align: center;
  font-weight: 300;
  color: #424242;
  margin-bottom: 5rem;
}

.alerta {
  padding: 1.2rem 1.6rem;
  margin: 1rem 0;
  border-radius: 3rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(12, 16, 20, 0.03);
  font-family: "Montserrat", sans-serif;
  text-align: center;
}
.alerta-exito {
  background-color: #4caf50;
}
.alerta-error, .alerta-danger {
  background-color: #ff5252;
}
.alerta-aviso, .alerta-warning {
  background-color: #fffadb;
  color: #1e1e1e;
  border: 1px solid #bdbdbd;
}
.alerta-info {
  background-color: #007df4;
}

#alertas-container {
  max-width: 800px;
  margin: 1rem auto;
  padding: 0 1rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000000;
  transition: all 0.3s ease-in-out;
  padding: 0rem 0;
  z-index: 99;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .container img {
  margin-left: 1.5rem;
  width: 10rem;
}
.header .container ul {
  display: flex;
  flex-direction: column;
  margin-right: 3rem;
  gap: 1rem;
}
@media (min-width: 768px) {
  .header .container ul {
    flex-direction: row;
    align-items: center;
    margin-right: 1rem;
    gap: 2rem;
  }
}
.header .container ul li {
  all: unset;
}
.header .container ul li a {
  color: #FFFFFF;
  cursor: pointer;
  font-size: 1.4rem;
}
@media (min-width: 768px) {
  .header .container ul li a {
    font-size: 2rem;
  }
}
.header .container ul li:last-of-type {
  margin-right: 3rem;
}

.header.hide {
  transform: translateY(-100%);
}

.main_header::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(4rem, 6.5rem); /* usa la variable del header */
  background: #000000; /* tu variable SASS para negro */
  pointer-events: none; /* no bloquea clicks */
  z-index: 1; /* bajo el header (99) pero por encima del body */
  opacity: 0; /* invisible por defecto */
  transition: opacity 0.18s ease;
}
.main_header .header_flower {
  position: relative;
  height: 55rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/flor_fundo.jpg);
  background-size: cover;
  background-position: center center;
}
.main_header .header_text {
  color: #FFFFFF;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}
.main_header .header_text h1 {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 2.3rem;
}
.main_header .header_text .button {
  margin-top: 3rem;
}
.main_header .header_text .button a {
  background-color: #FFFFFF;
  padding: 1.5rem 4rem;
  color: #000000;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition-property: background-color;
  transition-duration: 0.3s;
  text-align: center;
  width: 100%;
  display: inline-block;
  border-radius: 1.5rem;
}
.main_header .header_text .button a:hover {
  background-color: #000000;
  color: #FFFFFF;
  cursor: pointer;
}

.footer {
  background-color: rgb(12.75, 12.75, 12.75);
  color: #FFFFFF;
  padding: 4rem 2rem 2rem;
  margin-top: 5rem;
}
.footer .footer-contenedor {
  width: min(70%, 80rem);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
  margin-bottom: 3rem;
}
.footer .footer-col h4 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: #d4b65a;
  font-weight: 700;
}
.footer .footer-col p, .footer .footer-col a {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  color: white;
  line-height: 1.6;
}
.footer .footer-col p:hover, .footer .footer-col a:hover {
  color: #d4b65a;
}
.footer .footer-col ul {
  list-style: none;
  padding: 0;
}
.footer .footer-col ul li {
  margin-bottom: 0.8rem;
}
.footer .footer-col ul a {
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer .logo-desc .footer-logo {
  width: 140px;
  margin-bottom: 1rem;
}
.footer .redes ul {
  display: flex;
  gap: 1.4rem;
}
.footer .redes ul li a {
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #000000;
  transition: all 0.3s ease;
}
.footer .redes ul li a:hover {
  background: #d4b65a;
  color: #FFFFFF;
}
.footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  padding-top: 1.5rem;
}
.footer .footer-bottom p {
  font-size: 1.2rem;
  color: white;
  font-family: "Montserrat", sans-serif;
}

.historia-contenedor {
  margin: auto;
}
.historia-contenedor h2 {
  text-align: center;
}

.historia {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-bottom: 5rem;
}
@media (min-width: 768px) {
  .historia {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
}
.historia .historia-imagen {
  border-radius: 2rem;
}
.historia .historia-imagen picture img {
  margin: 0 auto;
  max-width: 90%;
  display: block;
  padding-top: 3rem;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 2rem;
}
@media (min-width: 480px) {
  .historia .historia-imagen picture img {
    max-width: 90%;
    border: solid 2px #d4b65a;
    margin: auto;
    padding: 0;
  }
}
@media (min-width: 1024px) {
  .historia .historia-imagen {
    max-width: 100%;
  }
}
.historia .historia-texto {
  width: min(90%, 140rem);
  margin: 0 auto;
}
.historia .historia-texto p {
  font-family: "Montserrat", sans-serif;
  font-size: 1.7rem;
}
@media (min-width: 480px) {
  .historia .historia-texto p {
    font-size: 2rem;
  }
}
@media (min-width: 768px) {
  .historia .historia-texto p {
    font-size: 1.2rem;
  }
}
@media (min-width: 900px) {
  .historia .historia-texto p {
    font-size: 1.4rem;
  }
}
@media (min-width: 1024px) {
  .historia .historia-texto p {
    font-size: 1.5rem;
  }
}
@media (min-width: 1200px) {
  .historia .historia-texto p {
    font-size: 1.9rem;
  }
}
@media (min-width: 1420px) {
  .historia .historia-texto p {
    font-size: 2.3rem;
  }
}

.nossos-produtos {
  text-align: center;
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-top: 5rem;
  margin-bottom: 5rem;
}
.nossos-produtos .swiper {
  width: 100%;
  height: 300px; /* ajusta según tus productos */
  position: relative; /* necesario para que las flechas se posicionen relativo a esto */
}
@media (min-width: 768px) {
  .nossos-produtos .swiper {
    height: 400px;
  }
}
.nossos-produtos .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column !important;
}
.nossos-produtos .swiper-slide h3 {
  font-size: 1.6rem;
}
.nossos-produtos .swiper-slide img {
  max-width: 100%;
  height: auto;
  border-radius: 3rem;
  transition: all 0.3s ease;
}
@media (min-width: 480px) {
  .nossos-produtos .swiper-slide img {
    max-width: 90%;
  }
}
.nossos-produtos .swiper-slide img:hover {
  transform: scale(1.1);
}
.nossos-produtos .swiper-button-next,
.nossos-produtos .swiper-button-prev {
  display: none;
}
.nossos-produtos .swiper-button-next::after,
.nossos-produtos .swiper-button-prev::after {
  font-size: 20px;
}

.seja-franqueado {
  background-color: rgb(243.6298076923, 235.6971153846, 211.3701923077);
  padding: 5rem 0;
  width: min(90%, 140rem);
  margin: 0 auto;
  transition: all 0.5s ease;
  border-radius: 5rem;
  /* FRANCHISE STATS */
  /* keyframes */
  /* Si usas AOS, AOS aplicará su propia clase .aos-animate; al cargar, forzamos la opacidad a 1 */
  /* pequeña mejora accesibilidad: tamaño icon en mobile */
}
.seja-franqueado:hover {
  border-radius: 0;
}
@media (min-width: 480px) {
  .seja-franqueado {
    width: min(80%, 140rem);
  }
}
.seja-franqueado .sm-texto {
  width: min(70%, 80rem);
  margin: 0 auto;
  margin: auto;
}
.seja-franqueado .sm-texto h2 {
  color: #000000;
  text-align: center;
  font-size: clamp(3rem, 2vw + 0.5rem, 5rem);
}
.seja-franqueado .sm-texto p {
  margin: 0 auto;
  color: #000000;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  margin: -1rem;
  display: block;
  opacity: 0;
  transition: all 0.4s ease;
}
@media (max-width: 480px) {
  .seja-franqueado .sm-texto p {
    height: 3rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }
}
.seja-franqueado .franchise-stats {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  padding-bottom: 2.2rem;
}
@media (min-width: 480px) {
  .seja-franqueado .franchise-stats {
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .seja-franqueado .franchise-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
.seja-franqueado .franchise-stats .stat {
  min-height: 200px;
  background: transparent;
  text-align: center;
  padding: 1.2rem;
  border-radius: 1rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.35s;
  will-change: transform, opacity;
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  /* delay via inline style --i para fallback */
  animation: stat-fade 0.55s forwards cubic-bezier(0.2, 0.9, 0.3, 1);
  animation-delay: calc(0.08s * var(--i, 0));
}
@media (min-width: 480px) {
  .seja-franqueado .franchise-stats .stat {
    padding: 1.6rem;
  }
}
.seja-franqueado .franchise-stats .stat:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(11, 14, 18, 0.06);
}
.seja-franqueado .franchise-stats .stat .icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.2rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(11, 14, 18, 0.04);
  position: relative;
  overflow: visible;
}
@media (min-width: 480px) {
  .seja-franqueado .franchise-stats .stat .icon-wrap {
    width: 120px;
    height: 120px;
  }
}
.seja-franqueado .franchise-stats .stat .icon-wrap i {
  font-size: 2.6rem;
  color: #d4b65a;
  display: inline-block;
  transform-origin: center;
  animation: icon-bounce 3s ease-in-out infinite;
  opacity: 0;
  animation-fill-mode: both;
  /* entrada escalonada */
  animation-delay: calc(0.08s * var(--i, 0) + 0.12s);
  animation-duration: 1.1s;
}
.seja-franqueado .franchise-stats .stat h4 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.4rem, 2vw + 0.5rem, 2rem);
  font-weight: 700;
  color: black;
}
.seja-franqueado .franchise-stats .stat p {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  font-size: 1.1rem;
  color: rgb(71.4, 71.4, 71.4);
}
@media (min-width: 480px) {
  .seja-franqueado .franchise-stats .stat p {
    font-size: 1.4rem;
  }
}
@media (min-width: 768px) {
  .seja-franqueado .franchise-stats .stat p {
    font-size: 1.5rem;
  }
}
@keyframes icon-bounce {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  30% {
    transform: translateY(-8px) rotate(-2deg);
  }
  60% {
    transform: translateY(0) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}
@keyframes stat-fade {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.seja-franqueado .franchise-stats .stat.aos-animate {
  opacity: 1;
  transform: none;
}
@media (min-width: 480px) {
  .seja-franqueado .franchise-stats .stat .icon-wrap {
    width: 88px;
    height: 88px;
  }
  .seja-franqueado .franchise-stats .stat i {
    font-size: 1.6rem;
  }
}
.seja-franqueado .franqueado-contenedor {
  border-radius: 1.5rem;
  background-color: #FFFFFF;
  width: min(90%, 140rem);
  margin: 0 auto;
  padding: 2rem;
}
@media (min-width: 480px) {
  .seja-franqueado .franqueado-contenedor {
    width: min(70%, 80rem);
    margin: 0 auto;
  }
}
.seja-franqueado .franqueado-contenedor h3 {
  text-align: center;
  color: #000000;
  font-size: 2rem;
  font-family: "Cinzel", serif;
  font-weight: 700;
  margin-bottom: 2rem;
}
.seja-franqueado .franqueado-formulario {
  width: min(90%, 140rem);
  margin: 0 auto;
}
.seja-franqueado .franqueado-formulario .campo {
  margin-bottom: 2rem;
}
.seja-franqueado .franqueado-formulario label {
  font-size: clamp(1.4rem, 2vw + 0.5rem, 2rem);
  display: block;
  color: #000000;
  font-family: "Cinzel", serif;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.seja-franqueado .franqueado-formulario input, .seja-franqueado .franqueado-formulario select, .seja-franqueado .franqueado-formulario textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #000000;
  font-size: 1.4rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  color: #000000;
}
.seja-franqueado .franqueado-formulario input:focus, .seja-franqueado .franqueado-formulario select:focus, .seja-franqueado .franqueado-formulario textarea:focus {
  outline: none;
  border-color: #007df4;
}
.seja-franqueado .franqueado-formulario textarea {
  height: 10rem;
  max-height: 20rem;
  min-height: 10rem;
  resize: none;
}

.endereço {
  width: min(90%, 140rem);
  margin: 0 auto;
}
.endereço h2 {
  text-align: center;
  font-weight: 700;
  font-size: 3rem;
}
.endereço h4 {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
}
.endereço p {
  text-align: center;
  font-size: clamp(1rem, 2vw + 0.5rem, 1.3rem);
}
.endereço .mapa {
  width: min(90%, 140rem);
  margin: 0 auto;
  border-radius: 3rem;
  overflow: hidden;
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), linear-gradient(to top, rgb(118.1971153846, 96.7067307692, 30.8028846154), #d4b65a);
  background-origin: border-box;
  background-clip: content-box, border-box;
  background-origin: border-box;
  background-clip: content-box, border-box;
}
.endereço .mapa gmp-map {
  max-height: 22rem;
  border-radius: 3rem;
}
@media (min-width: 768px) {
  .endereço .mapa gmp-map {
    max-height: 30rem;
  }
}
.comentarios-redes {
  position: relative;
  margin-top: 2rem;
  width: min(90%, 140rem);
  margin: 0 auto;
  padding-bottom: 2rem;
}
.comentarios-redes::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background-color: #000000;
  margin-top: 2rem;
}
.comentarios-redes h2 {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: clamp(3rem, 2vw + 0.5rem, 5rem);
  font-weight: 700;
}
.comentarios-redes .comentarios {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .comentarios-redes .comentarios {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(4, 1fr);
  }
}
.comentarios-redes .comentarios .comentario {
  border-radius: 3rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background-image: linear-gradient(white, white), linear-gradient(to top, rgb(118.1971153846, 96.7067307692, 30.8028846154), #d4b65a);
  background-origin: border-box;
  background-clip: content-box, border-box;
  background-origin: border-box;
  background-clip: content-box, border-box;
  background-color: none;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
}
.comentarios-redes .comentarios .comentario p {
  text-align: center;
  padding: 2rem;
  font-size: clamp(1.2rem, 2vw + 0.5rem, 1.5rem);
  font-family: "Montserrat", sans-serif;
}
.comentarios-redes .comentarios .comentario p.autor {
  font-weight: 700;
  font-size: 1.4rem;
}
.comentarios-redes .comentarios .comentario:hover {
  transform: scale(1.03);
}

.painel {
  padding: 3rem;
  font-family: "Montserrat", sans-serif;
  color: #000000;
}
.painel h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: center;
}
.painel p {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: rgb(76.5, 76.5, 76.5);
}
.painel section {
  margin-bottom: 4rem;
}
.painel .painel-franqueados {
  background: rgb(232.25, 232.25, 232.25);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #c2c2c2;
}
.painel .painel-franqueados h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #d4b65a;
  padding-bottom: 0.5rem;
}
.painel .painel-franqueados p {
  font-size: 1.5rem;
}
.painel .painel-leads h2 {
  padding: 2rem;
  text-align: center;
}
.painel .painel-leads .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.painel .painel-leads .card {
  overflow-wrap: break-word;
  hyphens: auto;
  background: #fff;
  border: 1px solid rgb(158.6538461538, 129.8076923077, 41.3461538462);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.painel .painel-leads .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.painel .painel-leads .card h3 {
  text-align: center;
  margin-top: 0;
  font-size: clamp(1.8rem, 2vw + 0.5rem, 2.2rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #000000;
}
.painel .painel-leads .card p {
  margin: 0.3rem 0;
  font-size: 1.4rem;
}
.painel .painel-leads .card p strong {
  font-weight: 600;
  color: #000000;
}
.painel .painel-leads .card small {
  display: block;
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #8f8f8f;
  text-align: center;
}

h1 {
  text-align: center;
}

.blocos-painel {
  width: min(90%, 140rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.bloco-painel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #1f2937;
  transition: all 0.3s ease;
  min-height: 180px;
}
.bloco-painel:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  background: #3b82f6;
  color: white;
}
.bloco-painel:hover i {
  color: white;
}
.bloco-painel i {
  font-size: 2.5rem;
  color: #3b82f6;
  transition: color 0.3s ease;
}
.bloco-painel span {
  font-weight: 600;
  text-align: center;
  font-size: 1.125rem;
  width: 100%;
}
.bloco-painel--destaque {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}
.bloco-painel--destaque i {
  color: white;
}
.bloco-painel--destaque:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

@media (max-width: 640px) {
  .blocos-painel {
    grid-template-columns: 1fr;
  }
}
.novo-preco {
  max-width: 800px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.novo-preco h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.novo-preco .form-preco {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.novo-preco .form-preco .campo {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.novo-preco .form-preco .campo input, .novo-preco .form-preco .campo select {
  padding: 0.9rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  transition: box-shadow 0.2s;
}
.novo-preco .form-preco .campo input:focus, .novo-preco .form-preco .campo select:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.novo-preco .form-preco .campo:nth-child(3), .novo-preco .form-preco .campo:nth-child(4) {
  grid-column: span 2;
}
.novo-preco .form-preco .analise {
  grid-column: span 2;
  background: #f9fafb;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1.2rem;
}
.novo-preco .form-preco .analise .linha {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}
.novo-preco .form-preco .analise .linha span {
  color: #6b7280;
  min-width: 170px;
  display: inline-block;
}
.novo-preco .form-preco .analise .linha strong {
  font-weight: 700;
}
.novo-preco .form-preco .analise .linha em {
  color: #9ca3af;
  font-style: normal;
  margin-left: 0.5rem;
}
.novo-preco .form-preco .analise .badge {
  margin-top: 0.8rem;
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}
.novo-preco .form-preco .analise .badge.badge-good {
  background: #dcfce7;
  color: #166534;
}
.novo-preco .form-preco .analise .badge.badge-bad {
  background: #fee2e2;
  color: #991b1b;
}
.novo-preco .form-preco .analise .badge.badge-neutral {
  background: #e5e7eb;
  color: #374151;
}
.novo-preco .form-preco .analise .badge.badge-info {
  background: #e0e7ff;
  color: #3730a3;
}
.novo-preco .form-preco .btn {
  grid-column: span 2;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.novo-preco .form-preco .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.novo-preco .form-preco .btn:active {
  transform: translateY(0);
}

.painel-fornecedores {
  margin-top: 3rem;
}
.painel-fornecedores h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #333;
}
.painel-fornecedores .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: background 0.2s;
}
.painel-fornecedores .btn-back:hover {
  background: #f1f1f1;
}
.painel-fornecedores .acoes {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}
.painel-fornecedores .acoes .btn {
  padding: 0.8rem 1.5rem;
  font-size: 2rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.painel-fornecedores .acoes .btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.painel-fornecedores .acoes .criar {
  background: #4caf50;
  color: #fff;
}
.painel-fornecedores .acoes .editar {
  background: #2196f3;
  color: #fff;
}
.painel-fornecedores .acoes .apagar {
  background: #f44336;
  color: #fff;
}
.painel-fornecedores .acoes .comparar {
  background: #ff9800;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}
.painel-fornecedores table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 0.5rem;
}
.painel-fornecedores table th {
  background: #2196f3;
  color: #fff;
  padding: 0.8rem;
  text-align: left;
}
.painel-fornecedores table td {
  border: 1px solid #ddd;
  padding: 0.8rem;
  text-align: left;
}
.painel-fornecedores table tr {
  transition: background 0.2s ease;
}
.painel-fornecedores table tr:hover {
  background: #f1f1f1;
  cursor: pointer;
}
.painel-fornecedores table tr.selected {
  background: #2196f3;
  color: #fff;
  font-weight: 600;
}
.painel-fornecedores .modal {
  z-index: 200;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.painel-fornecedores .modal .modal-content {
  background: #fff;
  padding: 2rem;
  margin: 8% auto;
  width: 450px;
  border-radius: 0.7rem;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-in-out;
}
.painel-fornecedores .modal .close {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  cursor: pointer;
  font-size: 2.3rem;
  color: #666;
  transition: color 0.2s;
}
.painel-fornecedores .modal .close:hover {
  color: #000;
}
.painel-fornecedores .modal form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.painel-fornecedores .modal form label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.2rem;
}
.painel-fornecedores .modal form input {
  padding: 0.6rem 1rem;
  font-size: clamp(1.2rem, 2vw + 0.5rem, 1.6rem);
  font-family: "Montserrat", sans-serif;
  border: 1px solid #ccc;
  border-radius: 0.4rem;
  outline: none;
  transition: border 0.2s;
}
.painel-fornecedores .modal form input:focus {
  border-color: #2196f3;
  box-shadow: 0 0 4px rgba(33, 150, 243, 0.4);
}
.painel-fornecedores .modal form button {
  padding: 0.8rem;
  font-size: 2rem;
  font-weight: bold;
  background: #2196f3;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.painel-fornecedores .modal form button:hover {
  background: #1976d2;
  transform: scale(1.02);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.painel-produtos {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-top: 3rem;
  font-family: "Cinzel", serif;
  color: #424242;
  box-sizing: border-box;
  /* AÇÕES: reorganizadas como no Fluxo */
  /* Secciones de productos */
  /* Tabla - estilo unificado con flujo de caja */
  /* ESTILOS PARA PÁGINA DE IMPORTACIÓN */
  /* Formulario - block estilo fornecedores pero sutil */
  /* Botón "Voltar" (mantengo tu mixin) */
  /* Responsive tweaks */
}
.painel-produtos h1 {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 4rem;
  margin: 6rem 0 3rem 0;
  text-align: center;
  margin-bottom: 1.2rem;
  text-align: center;
}
.painel-produtos .acoes-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgb(176.6, 176.6, 176.6);
}
.painel-produtos .acoes-container .acoes-left, .painel-produtos .acoes-container .acoes-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.painel-produtos .acoes-container .btn-back {
  background: rgb(165.4, 165.4, 165.4);
  color: #424242;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.44rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.painel-produtos .acoes-container .btn-back:hover {
  background: rgb(154.2, 154.2, 154.2);
  transform: translateY(-1px);
}
.painel-produtos .acoes-container .btn.criar {
  background: #4caf50;
  color: #FFFFFF;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.44rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.painel-produtos .acoes-container .btn.criar:hover {
  background: rgb(68.4, 157.5, 72);
  transform: translateY(-1px);
}
.painel-produtos .acoes-container .btn.importar {
  background: #007df4;
  color: #FFFFFF;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.44rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.painel-produtos .acoes-container .btn.importar:hover {
  background: rgb(0, 112.5, 219.6);
  transform: translateY(-1px);
}
.painel-produtos .produtos-ativos {
  margin-bottom: 3rem;
}
.painel-produtos .produtos-ativos h3 {
  color: #4caf50;
  margin-bottom: 1rem;
  font-size: 1.68rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.painel-produtos .produtos-inativos {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #c7c7c7;
}
.painel-produtos .produtos-inativos h3 {
  color: #8f8f8f;
  margin-bottom: 1rem;
  font-size: 1.68rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.painel-produtos .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #FFFFFF;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(11, 14, 18, 0.04);
  margin-top: 1rem;
}
.painel-produtos table.tabela-produtos {
  width: 100%;
  border-collapse: collapse;
  border-radius: 0.6rem;
  min-width: 800px;
}
.painel-produtos table.tabela-produtos thead {
  background: #007df4;
  color: #FFFFFF;
}
.painel-produtos table.tabela-produtos thead th {
  padding: 1rem;
  text-align: left;
  font-size: 1.56rem;
  font-weight: 600;
  border-bottom: 2px solid rgb(0, 112.5, 219.6);
}
.painel-produtos table.tabela-produtos thead th:nth-child(4), .painel-produtos table.tabela-produtos thead th:nth-child(5) {
  text-align: center;
}
.painel-produtos table.tabela-produtos thead th:nth-child(6) {
  text-align: center;
}
.painel-produtos table.tabela-produtos thead th:nth-child(7) {
  text-align: center;
}
.painel-produtos table.tabela-produtos thead th:nth-child(8) {
  text-align: center;
}
.painel-produtos table.tabela-produtos tbody {
  background: #FFFFFF;
}
.painel-produtos table.tabela-produtos tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid rgb(182.2, 182.2, 182.2);
}
.painel-produtos table.tabela-produtos tbody tr:hover {
  background: rgb(241.7, 248.5135245902, 255);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 14, 18, 0.1);
}
.painel-produtos table.tabela-produtos tbody tr:nth-child(even) {
  background: white;
}
.painel-produtos table.tabela-produtos tbody tr:nth-child(even):hover {
  background: rgb(241.7, 248.5135245902, 255);
}
.painel-produtos table.tabela-produtos tbody tr td {
  padding: 1rem;
  font-size: 1.44rem;
  vertical-align: middle;
}
.painel-produtos table.tabela-produtos tbody tr td:nth-child(4), .painel-produtos table.tabela-produtos tbody tr td:nth-child(5) {
  text-align: center;
  font-weight: 600;
  color: #007df4;
}
.painel-produtos table.tabela-produtos tbody tr td:nth-child(6) {
  text-align: center;
  color: #8f8f8f;
}
.painel-produtos table.tabela-produtos tbody tr td:nth-child(7) {
  text-align: center;
}
.painel-produtos table.tabela-produtos tbody tr td:nth-child(8) {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.painel-produtos table.tabela-produtos tbody tr td:nth-child(8) .btn {
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.painel-produtos table.tabela-produtos tbody tr td:nth-child(8) .btn.editar {
  background: #007df4;
  color: #FFFFFF;
}
.painel-produtos table.tabela-produtos tbody tr td:nth-child(8) .btn.editar:hover {
  background: rgb(0, 112.5, 219.6);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(11, 14, 18, 0.15);
}
.painel-produtos table.tabela-produtos tbody tr td:nth-child(8) .btn.apagar {
  background: #ff5252;
  color: #FFFFFF;
}
.painel-produtos table.tabela-produtos tbody tr td:nth-child(8) .btn.apagar:hover {
  background: rgb(255, 48.3, 48.3);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(11, 14, 18, 0.15);
}
.painel-produtos .importar-instrucciones {
  margin-bottom: 2rem;
}
.painel-produtos .importar-instrucciones .instrucciones-card {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 1.6rem;
  box-shadow: 0 12px 30px rgba(11, 14, 18, 0.04);
  border: 1px solid rgb(176.6, 176.6, 176.6);
}
.painel-produtos .importar-instrucciones .instrucciones-card h3 {
  color: #007df4;
  margin-bottom: 1rem;
  font-size: 1.92rem;
  text-align: center;
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section h4 {
  color: #424242;
  margin-bottom: 0.8rem;
  font-size: 1.56rem;
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section p {
  color: #8f8f8f;
  margin-bottom: 0.8rem;
  font-size: 1.44rem;
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section ul {
  list-style: none;
  padding: 0;
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section ul li {
  padding: 0.4rem 0;
  font-size: 1.44rem;
  color: #424242;
  position: relative;
  padding-left: 1.5rem;
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section ul li::before {
  content: "•";
  color: #007df4;
  font-weight: bold;
  position: absolute;
  left: 0;
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section .ejemplo-tabla {
  margin-top: 1rem;
  overflow-x: auto;
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section .ejemplo-tabla table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(11, 14, 18, 0.1);
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section .ejemplo-tabla table thead {
  background: #007df4;
  color: #FFFFFF;
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section .ejemplo-tabla table thead th {
  padding: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section .ejemplo-tabla table tbody {
  background: #FFFFFF;
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section .ejemplo-tabla table tbody td {
  padding: 0.8rem;
  font-size: 1.2rem;
  text-align: center;
  border-bottom: 1px solid rgb(182.2, 182.2, 182.2);
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section .download-template {
  margin-top: 1.5rem;
  text-align: center;
  padding: 1rem;
  background: rgb(241.7, 248.5135245902, 255);
  border-radius: 0.8rem;
  border: 1px solid rgb(201.8, 229.0540983607, 255);
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section .download-template .btn-download-template {
  background: #007df4;
  color: #FFFFFF;
  padding: 0.8rem 1.5rem;
  border-radius: 0.6rem;
  text-decoration: none;
  font-size: 1.44rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section .download-template .btn-download-template:hover {
  background: rgb(0, 112.5, 219.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 14, 18, 0.15);
}
.painel-produtos .importar-instrucciones .instrucciones-card .instrucciones-content .instrucciones-section .download-template small {
  display: block;
  font-size: 1.2rem;
  color: #8f8f8f;
  font-style: italic;
}
.painel-produtos .importar-formulario .formulario-card {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 1.6rem;
  box-shadow: 0 12px 30px rgba(11, 14, 18, 0.04);
  border: 1px solid rgb(176.6, 176.6, 176.6);
}
.painel-produtos .importar-formulario .formulario-card h3 {
  color: #007df4;
  margin-bottom: 1rem;
  font-size: 1.92rem;
  text-align: center;
}
.painel-produtos .importar-formulario .formulario-card .form-importar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.painel-produtos .importar-formulario .formulario-card .form-importar .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.painel-produtos .importar-formulario .formulario-card .form-importar .form-group label {
  font-weight: 600;
  font-size: 1.44rem;
  color: #424242;
}
.painel-produtos .importar-formulario .formulario-card .form-importar .form-group input[type=file] {
  padding: 0.8rem;
  border: 2px dashed rgb(176.6, 176.6, 176.6);
  border-radius: 0.6rem;
  background: rgb(249.9, 249.9, 249.9);
  font-size: 1.44rem;
  transition: all 0.2s ease;
}
.painel-produtos .importar-formulario .formulario-card .form-importar .form-group input[type=file]:hover {
  border-color: #007df4;
  background: rgb(241.7, 248.5135245902, 255);
}
.painel-produtos .importar-formulario .formulario-card .form-importar .form-group small {
  font-size: 1.2rem;
  color: #8f8f8f;
  font-style: italic;
}
.painel-produtos .importar-formulario .formulario-card .form-importar .form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.painel-produtos .importar-formulario .formulario-card .form-importar .form-actions .btn {
  padding: 0.8rem 1.5rem;
  border-radius: 0.6rem;
  text-decoration: none;
  font-size: 1.44rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.painel-produtos .importar-formulario .formulario-card .form-importar .form-actions .btn.btn-importar {
  background: #4caf50;
  color: #FFFFFF;
}
.painel-produtos .importar-formulario .formulario-card .form-importar .form-actions .btn.btn-importar:hover {
  background: rgb(68.4, 157.5, 72);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 14, 18, 0.15);
}
.painel-produtos .importar-formulario .formulario-card .form-importar .form-actions .btn.btn-cancelar {
  background: rgb(165.4, 165.4, 165.4);
  color: #424242;
}
.painel-produtos .importar-formulario .formulario-card .form-importar .form-actions .btn.btn-cancelar:hover {
  background: rgb(154.2, 154.2, 154.2);
  transform: translateY(-1px);
}
.painel-produtos .form-produto {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.8rem;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  /* Checkbox estilizado para que tenga tamaño coherente */
  /* Fornecedores - ya tienes estilo; lo hago consistente */
  /* acciones del formulario */
}
.painel-produtos .form-produto .form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.2rem;
  align-items: start;
  /* fila especial de quantidade/minimo/ativo */
}
.painel-produtos .form-produto .form-row.quantidade-minimo-ativo {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 1rem;
}
.painel-produtos .form-produto .form-row .form-group {
  display: flex;
  flex-direction: column;
}
.painel-produtos .form-produto .form-row .form-group label {
  font-weight: 700;
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
  color: #333;
}
.painel-produtos .form-produto .form-row .form-group input, .painel-produtos .form-produto .form-row .form-group select {
  padding: 0.7rem 0.9rem;
  border: 1px solid #d9d9d9;
  border-radius: 0.6rem;
  height: 4.6rem;
  background: #fff;
  font-size: 1.25rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.12s ease, border-color 0.12s ease;
}
.painel-produtos .form-produto .form-row .form-group input:focus, .painel-produtos .form-produto .form-row .form-group select:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.06);
  outline: none;
}
.painel-produtos .form-produto .form-row .form-group.small {
  max-width: 220px;
}
.painel-produtos .form-produto .checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: #333;
  font-size: 1.25rem;
}
.painel-produtos .form-produto .checkbox input[type=checkbox] {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.45rem;
  border: 1px solid #cfcfcf;
  background: #fff;
  appearance: none;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.08s ease;
  /* dibuja un tick simple con ::after */
}
.painel-produtos .form-produto .checkbox input[type=checkbox]:checked {
  background: #2196f3;
  border-color: #1e88e5;
}
.painel-produtos .form-produto .checkbox input[type=checkbox]:checked::after {
  content: "";
  width: 0.6rem;
  height: 1rem;
  border: solid #fff;
  border-width: 0 0.22rem 0.22rem 0;
  transform: rotate(45deg);
  display: inline-block;
  margin-bottom: 0.05rem;
}
.painel-produtos .form-produto .checkbox input[type=checkbox]:focus {
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.06);
  outline: none;
}
.painel-produtos .form-produto .fornecedores-bloco {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid #e6e6e6;
  padding: 1.4rem;
  border-radius: 0.8rem;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.painel-produtos .form-produto .fornecedores-bloco legend, .painel-produtos .form-produto .fornecedores-bloco > legend {
  display: none;
}
.painel-produtos .form-produto .fornecedores-bloco #fornecedores-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.painel-produtos .form-produto .fornecedores-bloco #fornecedores-container .forn-row {
  display: grid;
  grid-template-columns: minmax(140px, 2fr) minmax(100px, 1fr) minmax(160px, 2fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 1rem;
  background: #fbfbfb;
  border: 1px solid #f0f0f0;
  border-radius: 0.6rem;
  box-sizing: border-box;
}
.painel-produtos .form-produto .fornecedores-bloco #fornecedores-container .forn-row select,
.painel-produtos .form-produto .fornecedores-bloco #fornecedores-container .forn-row input[type=number],
.painel-produtos .form-produto .fornecedores-bloco #fornecedores-container .forn-row input[type=text] {
  padding: 0.6rem 0.8rem;
  border: 1px solid #dcdcdc;
  border-radius: 0.5rem;
  height: 4.4rem;
  font-size: 1.25rem;
  background: #fff;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.painel-produtos .form-produto .fornecedores-bloco #fornecedores-container .forn-row select:focus,
.painel-produtos .form-produto .fornecedores-bloco #fornecedores-container .forn-row input[type=number]:focus,
.painel-produtos .form-produto .fornecedores-bloco #fornecedores-container .forn-row input[type=text]:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.05);
  outline: none;
}
.painel-produtos .form-produto .fornecedores-bloco #fornecedores-container .forn-row .btn.remover {
  background: #f44336;
  color: #fff;
  border: none;
  padding: 0.6rem 0.9rem;
  border-radius: 0.6rem;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.12s ease, background 0.12s ease;
}
.painel-produtos .form-produto .fornecedores-bloco #fornecedores-container .forn-row .btn.remover:hover {
  background: rgb(242.4537735849, 40.5735849057, 25.7462264151);
  transform: scale(1.03);
}
.painel-produtos .form-produto .fornecedores-bloco .btn.adicionar {
  margin-top: 1rem;
  background: #4caf50;
  color: #fff;
  border: none;
  padding: 0.75rem 1.2rem;
  border-radius: 0.6rem;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.12s ease, background 0.12s ease;
}
.painel-produtos .form-produto .fornecedores-bloco .btn.adicionar:hover {
  background: rgb(68.4, 157.5, 72);
  transform: scale(1.03);
}
.painel-produtos .form-produto .form-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
  margin-top: 0.6rem;
}
.painel-produtos .form-produto .form-actions .btn {
  padding: 0.75rem 1.2rem;
  border-radius: 0.6rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.painel-produtos .form-produto .form-actions .criar {
  background: #2196f3;
  color: #fff;
}
.painel-produtos .form-produto .form-actions .criar:hover {
  background: rgb(12.7384615385, 136.9384615385, 235.6615384615);
  transform: scale(1.03);
}
.painel-produtos .form-produto .form-actions .btn:not(.criar) {
  background: #f5f5f5;
  color: #333;
}
.painel-produtos .form-produto .form-actions .btn:not(.criar):hover {
  background: #e9e9e9;
  transform: scale(1.02);
}
.painel-produtos .btn-back {
  display: inline-block;
  margin-bottom: 1rem;
  background: #607d8b;
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}
.painel-produtos .btn-back i {
  margin-right: 0.4rem;
}
.painel-produtos .btn-back:hover {
  background: rgb(86.4, 112.5, 125.1);
}
@media (max-width: 900px) {
  .painel-produtos .form-produto {
    padding: 1.2rem;
  }
  .painel-produtos .form-produto .form-row {
    grid-template-columns: 1fr;
  }
  .painel-produtos .form-produto .form-row.quantidade-minimo-ativo {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .painel-produtos .form-produto .form-row.quantidade-minimo-ativo .form-group.small {
    max-width: 100%;
  }
  .painel-produtos .form-produto .fornecedores-bloco #fornecedores-container .forn-row {
    grid-template-columns: 1fr;
  }
  .painel-produtos .form-produto .form-actions {
    justify-content: center;
  }
  .painel-produtos table.tabela-produtos thead th {
    font-size: 1.1rem;
    padding: 0.8rem;
  }
  .painel-produtos table.tabela-produtos tbody td {
    font-size: 1.1rem;
    padding: 0.7rem;
  }
}

/* Estilos para botones de la tabla de productos */
.btn.editar {
  background: #007df4;
  color: #FFFFFF;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  margin-right: 0.5rem;
}
.btn.editar:hover {
  background: rgb(0, 112.5, 219.6);
  transform: translateY(-1px);
}

.btn.apagar {
  background: #ff5252;
  color: #FFFFFF;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  margin-left: 0.5rem;
}
.btn.apagar:hover {
  background: rgb(255, 48.3, 48.3);
  transform: translateY(-1px);
}

.btn.desativar {
  background: #8f8f8f;
  color: #FFFFFF;
  padding: 0.4rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  margin-left: 0.5rem;
}
.btn.desativar:hover {
  background: rgb(128.7, 128.7, 128.7);
  transform: translateY(-1px);
}

.btn.ativar {
  background: #4caf50;
  color: #FFFFFF;
  padding: 0.4rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  margin-left: 0.5rem;
}
.btn.ativar:hover {
  background: rgb(68.4, 157.5, 72);
  transform: translateY(-1px);
}

/* Estilos para tabla de productos inactivos */
.tabela-inativos tbody tr {
  opacity: 0.7;
}
.tabela-inativos tbody tr:hover {
  opacity: 1;
}
.tabela-inativos tbody tr td {
  color: rgb(103.8, 103.8, 103.8);
}

/* Estilos para mensajes de advertencia de fornecedores */
.fornecedor-warning {
  background: rgb(253.8, 246.05, 245.25);
  border: 1px solid rgb(250.2, 219.2, 216);
  border-radius: 0.4rem;
  padding: 0.6rem 0.8rem;
  margin-top: 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #e74c3c;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Estilos para campos con error en fornecedores */
.forn-row select, .forn-row input {
  transition: border-color 0.2s ease;
}
.forn-row select:focus, .forn-row input:focus {
  outline: none;
  border-color: #007df4;
}
.forn-row.has-error select, .forn-row.has-error input {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.painel-estoque {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-top: 3.2rem;
  font-family: "Cinzel", serif;
  color: #424242;
  /* filtros y letras */
  /* Productos lista (card) */
  /* Movimentações */
  /* utilities */
  /* responsive */
}
.painel-estoque h1 {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 4rem;
  margin: 6rem 0 3rem 0;
  text-align: center;
  margin-bottom: 1.6rem;
}
.painel-estoque .acoes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.painel-estoque .acoes .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  background: #FFFFFF;
  color: rgb(62.04, 62.04, 62.04);
  border: 1px solid rgb(163.16, 163.16, 163.16);
  border-radius: 0.8rem;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.12s, border-color 0.12s;
}
.painel-estoque .acoes .btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 16, 20, 0.05);
  border-color: rgb(154.2, 154.2, 154.2);
}
.painel-estoque .acoes .btn.criar {
  background-color: #4caf50;
  padding: 1.5rem 4rem;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
  padding: 0.7rem 1.2rem;
  border-radius: 0.8rem;
  font-size: 1.35rem;
  width: auto;
}
.painel-estoque .acoes .btn.criar:hover {
  background-color: #FFFFFF;
  color: #4caf50;
  transform: translateY(-2px);
}
.painel-estoque .acoes .btn.criar:active {
  transform: translateY(0);
}
.painel-estoque .acoes .btn.criar:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.painel-estoque .filtros {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.painel-estoque .filtros .filtro-form {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  background: #FFFFFF;
  padding: 0.6rem;
  border-radius: 0.8rem;
  border: 1px solid rgb(160.92, 160.92, 160.92);
  box-shadow: 0 10px 30px rgba(12, 16, 20, 0.03);
}
.painel-estoque .filtros .filtro-form input[type=text] {
  padding: 0.7rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid rgb(160.92, 160.92, 160.92);
  font-size: 1.3rem;
  min-width: 20rem;
}
.painel-estoque .filtros .filtro-form button.btn {
  padding: 0.6rem 0.9rem;
  border-radius: 0.6rem;
  border: none;
  background: rgb(0, 117.5, 229.36);
  color: #FFFFFF;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s;
}
.painel-estoque .filtros .filtro-form label {
  font-size: 1.25rem;
}
.painel-estoque .filtros .letras-filtro {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.painel-estoque .filtros .letra {
  all: unset;
  color: #FFFFFF;
  font-size: 1.4rem;
  text-transform: uppercase;
  font-weight: 700;
  background: #f6f7fb;
  border-radius: 0.5rem;
  padding: 0.45rem 0.6rem;
  font-size: 1.25rem;
  color: rgb(62.04, 62.04, 62.04);
  border: 1px solid transparent;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.08s;
}
.painel-estoque .filtros .letra:hover {
  color: #007df4;
  cursor: pointer;
}
.painel-estoque .filtros .letra:hover {
  background: rgb(0, 117.5, 229.36);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.painel-estoque .produtos-lista {
  margin-bottom: 2rem;
  /* tabla scrollable */
  overflow-x: auto;
}
.painel-estoque .produtos-lista h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: rgb(62.04, 62.04, 62.04);
}
.painel-estoque .produtos-lista table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 0.8rem;
  box-shadow: 0 18px 40px rgba(12, 16, 20, 0.03);
}
.painel-estoque .produtos-lista table thead th {
  background: linear-gradient(90deg, rgb(0, 120, 234.24), #007df4);
  color: #FFFFFF;
  padding: 1rem;
  text-align: left;
  font-weight: 800;
  font-size: 1.35rem;
  white-space: nowrap;
}
.painel-estoque .produtos-lista table tbody tr {
  background: #FFFFFF;
}
.painel-estoque .produtos-lista table tbody td {
  padding: 0.9rem 1rem;
  background: transparent;
  border-bottom: 1px solid rgb(165.4, 165.4, 165.4);
  font-size: 1.35rem;
  color: rgb(62.04, 62.04, 62.04);
}
.painel-estoque .produtos-lista table tbody tr.baixo {
  background: linear-gradient(90deg, rgb(255, 88.92, 88.92), #ff5252);
}
.painel-estoque .produtos-lista table tbody tr.baixo td {
  color: #FFFFFF;
}
.painel-estoque .produtos-lista table tbody tr.baixo:hover {
  background: linear-gradient(90deg, rgb(255, 68.52, 68.52), #ff5252);
}
.painel-estoque .produtos-lista table tbody tr.minimo {
  background-color: #fffadb;
}
.painel-estoque .produtos-lista table tbody tr.minimo:hover {
  background-color: rgb(255, 246.05, 190.56);
}
.painel-estoque .produtos-lista table tbody tr:not(.baixo):not(.minimo):hover {
  background: rgb(246.04, 246.04, 246.04);
}
.painel-estoque .produtos-lista table tbody tr:not(.baixo):not(.minimo):hover td {
  color: rgb(62.04, 62.04, 62.04);
}
.painel-estoque .produtos-lista table tbody tr td {
  position: relative;
  z-index: 1;
}
.painel-estoque .movs-lista {
  margin-top: 2rem;
  overflow-x: auto;
}
.painel-estoque .movs-lista h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: rgb(62.04, 62.04, 62.04);
}
.painel-estoque .movs-lista table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 18px 40px rgba(12, 16, 20, 0.03);
  border-radius: 0.8rem;
  overflow: hidden;
}
.painel-estoque .movs-lista table thead th {
  background: linear-gradient(90deg, rgb(0, 120, 234.24), #007df4);
  color: #FFFFFF;
  padding: 1rem;
  text-align: left;
  font-weight: 800;
  font-size: 1.35rem;
  white-space: nowrap;
}
.painel-estoque .movs-lista table tbody td {
  padding: 1rem;
  background: #FFFFFF;
  border-bottom: 1px solid rgb(165.4, 165.4, 165.4);
  vertical-align: middle;
  font-size: 1.3rem;
  white-space: nowrap;
}
.painel-estoque .movs-lista table tbody tr:hover td {
  background: rgb(246.04, 246.04, 246.04);
}
.painel-estoque .movs-lista table .btn {
  padding: 0.35rem 0.7rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s;
}
.painel-estoque .movs-lista table .btn.editar {
  color: rgb(62.04, 62.04, 62.04);
}
.painel-estoque .movs-lista table .btn.apagar {
  background: rgb(255, 88.92, 88.92);
  color: #FFFFFF;
}
.painel-estoque .movs-lista table .btn + .btn,
.painel-estoque .movs-lista table .btn + form {
  margin-left: 0.4rem;
}
.painel-estoque .movs-lista table form {
  display: inline-block;
  margin: 0;
}
.painel-estoque .muted {
  color: rgb(103.8, 103.8, 103.8);
  font-size: 1.2rem;
}
.painel-estoque .small {
  font-size: 1.1rem;
  color: rgb(92.46, 92.46, 92.46);
}
@media (min-width: 768px) {
  .painel-estoque .filtros .filtro-form input[type=text] {
    min-width: 28rem;
  }
  .painel-estoque .filtros .letras-filtro {
    margin-left: 0;
  }
  .painel-estoque .produtos-lista table thead th,
  .painel-estoque .movs-lista table thead th {
    font-size: 1.2rem;
  }
  .painel-estoque .movs-lista .btn {
    font-size: 1.05rem;
    padding: 0.3rem 0.6rem;
  }
}
@media (min-width: 1200px) {
  .painel-estoque .produtos-lista, .painel-estoque .movs-lista {
    max-width: 120rem;
  }
}

.painel-estoque-form {
  width: min(90%, 140rem);
  margin: 0 auto;
  padding: 3.2rem 2rem;
  font-family: "Cinzel", serif;
  color: #424242;
  /* ---------- TOP ROW (meta campos) ---------- */
  /* ---------- BUSCADOR ---------- */
  /* ---------- CARRINHO / TABLA ---------- */
  /* hidden inputs holder */
  /* ---------- ACTIONS ---------- */
  /* ---------- MODAL ---------- */
  /* small helpers */
  /* responsive tweaks */
}
.painel-estoque-form h1 {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 4rem;
  margin: 6rem 0 3rem 0;
  text-align: center;
  margin-bottom: 1.6rem;
}
.painel-estoque-form > form {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(15, 20, 25, 0.06);
  border: 1px solid rgb(154.2, 154.2, 154.2);
}
.painel-estoque-form .top-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.4rem;
  align-items: end;
}
.painel-estoque-form .top-row label {
  display: block;
  font-weight: 700;
  font-size: 1.3rem;
  color: rgb(60.72, 60.72, 60.72);
}
.painel-estoque-form .top-row input[type=text],
.painel-estoque-form .top-row input[type=number],
.painel-estoque-form .top-row input[type=date],
.painel-estoque-form .top-row input[type=datetime-local],
.painel-estoque-form .top-row select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  border: 1px solid rgb(160.92, 160.92, 160.92);
  background: white;
  font-size: 1.35rem;
  font-family: "Cinzel", serif;
  transition: box-shadow 0.18s ease, transform 0.05s ease, border-color 0.15s ease;
  box-shadow: none;
  outline: none;
}
.painel-estoque-form .top-row input:focus, .painel-estoque-form .top-row select:focus {
  border-color: #007df4;
  box-shadow: 0 6px 22px rgba(33, 150, 243, 0.08);
  transform: translateY(-1px);
}
.painel-estoque-form hr {
  margin: 1.8rem 0;
  border: none;
  height: 1px;
  background: rgb(165.4, 165.4, 165.4);
}
.painel-estoque-form .busca-e-lupa {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.2rem;
}
.painel-estoque-form .busca-e-lupa label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 700;
}
.painel-estoque-form .busca-e-lupa #search-produto {
  min-width: 28rem;
  max-width: 60vw;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgb(160.92, 160.92, 160.92);
  font-size: 1.4rem;
  transition: box-shadow 0.14s ease, border-color 0.14s ease;
}
.painel-estoque-form .busca-e-lupa #search-produto:focus {
  border-color: #007df4;
  box-shadow: 0 10px 40px rgba(33, 150, 243, 0.08);
}
.painel-estoque-form .busca-e-lupa #lista-resultados {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  right: auto;
  width: min(48rem, 100%);
  max-width: 100%;
  background: #FFFFFF;
  border-radius: 0.8rem;
  border: 1px solid rgb(160.92, 160.92, 160.92);
  box-shadow: 0 18px 40px rgba(10, 20, 30, 0.08);
  z-index: 120;
  overflow: auto;
  max-height: 320px;
  padding: 0.4rem 0;
  display: none;
  scrollbar-color: rgb(176.6, 176.6, 176.6) transparent;
}
.painel-estoque-form .busca-e-lupa #lista-resultados .resultado-item {
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.painel-estoque-form .busca-e-lupa #lista-resultados .resultado-item strong {
  font-size: 1.45rem;
  color: rgb(62.04, 62.04, 62.04);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.painel-estoque-form .busca-e-lupa #lista-resultados .resultado-item .meta {
  color: rgb(122.7, 122.7, 122.7);
  font-size: 1.2rem;
}
.painel-estoque-form .busca-e-lupa #lista-resultados .resultado-item:hover {
  background: linear-gradient(90deg, rgb(0, 117.5, 229.36), #007df4);
  color: #FFFFFF;
}
.painel-estoque-form .busca-e-lupa input[type=checkbox] {
  transform: translateY(0.1rem);
}
.painel-estoque-form .carrinho {
  margin-top: 1.2rem;
}
.painel-estoque-form .carrinho .table-wrap {
  background: #FFFFFF;
  border-radius: 0.9rem;
  border: 1px solid rgb(158.68, 158.68, 158.68);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(12, 16, 20, 0.05);
}
.painel-estoque-form .carrinho table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.35rem;
}
.painel-estoque-form .carrinho table thead th {
  background: linear-gradient(90deg, rgb(0, 120, 234.24), #007df4);
  color: #FFFFFF;
  padding: 1.1rem;
  text-align: left;
  font-weight: 800;
  font-size: 1.35rem;
}
.painel-estoque-form .carrinho table tbody td {
  padding: 0.85rem 1rem;
  background: #FFFFFF;
  border-bottom: 1px solid rgb(165.4, 165.4, 165.4);
  vertical-align: middle;
}
.painel-estoque-form .carrinho table tbody tr:hover td {
  background: rgb(233.72, 244.6216393443, 255);
}
.painel-estoque-form .carrinho table input.qtd, .painel-estoque-form .carrinho table input.preco {
  width: 8.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgb(160.92, 160.92, 160.92);
  font-size: 1.3rem;
  text-align: right;
  background: white;
}
.painel-estoque-form .carrinho table input.qtd:focus, .painel-estoque-form .carrinho table input.preco:focus {
  border-color: #007df4;
  box-shadow: 0 8px 28px rgba(33, 150, 243, 0.06);
  transform: translateY(-1px);
}
.painel-estoque-form .carrinho table select.oper {
  padding: 0.45rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid rgb(160.92, 160.92, 160.92);
  font-size: 1.25rem;
}
.painel-estoque-form .carrinho table .subtotal {
  text-align: right;
  font-weight: 700;
  font-size: 1.35rem;
  min-width: 9rem;
}
.painel-estoque-form .carrinho table .rem {
  --r: .6rem;
  padding: 0.45rem 0.6rem;
  background: rgb(255, 92.38, 92.38);
  color: #FFFFFF;
  border: none;
  border-radius: 0.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.12s ease;
}
.painel-estoque-form .carrinho table .rem:hover {
  transform: translateY(-2px);
  background: rgb(255, 55.04, 55.04);
}
.painel-estoque-form .carrinho .carrinho-total {
  text-align: right;
  margin-top: 1rem;
  font-weight: 800;
  font-size: 1.6rem;
  color: rgb(60.72, 60.72, 60.72);
}
.painel-estoque-form #items-hidden {
  display: none;
}
.painel-estoque-form .actions {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
  margin-top: 1.6rem;
}
.painel-estoque-form .actions .btn.criar {
  background-color: #007df4;
  padding: 1.5rem 4rem;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
  padding: 0.85rem 1.6rem;
  border-radius: 0.9rem;
  font-size: 1.35rem;
  width: auto;
}
.painel-estoque-form .actions .btn.criar:hover {
  background-color: #FFFFFF;
  color: #007df4;
  transform: translateY(-2px);
}
.painel-estoque-form .actions .btn.criar:active {
  transform: translateY(0);
}
.painel-estoque-form .actions .btn.criar:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.painel-estoque-form .actions .btn {
  padding: 0.65rem 1rem;
  border-radius: 0.9rem;
  background: #FFFFFF;
  border: 1px solid rgb(163.16, 163.16, 163.16);
  color: rgb(62.04, 62.04, 62.04);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.12s;
}
.painel-estoque-form .actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 16, 20, 0.05);
}
.painel-estoque-form .produto-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
.painel-estoque-form .produto-modal.is-open {
  display: flex;
}
.painel-estoque-form .produto-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, 0.62);
  backdrop-filter: blur(4px);
}
.painel-estoque-form .produto-modal__panel {
  position: relative;
  z-index: 3050;
  width: min(92%, 70rem);
  max-height: 86vh;
  overflow: auto;
  border-radius: 1rem;
  padding: 1.2rem;
  background: linear-gradient(180deg, #FFFFFF 0%, rgb(249.9, 249.9, 249.9) 100%);
  box-shadow: 0 40px 90px rgba(7, 12, 20, 0.5);
  border: 1px solid rgb(160.92, 160.92, 160.92);
}
.painel-estoque-form .produto-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgb(167.64, 167.64, 167.64);
}
.painel-estoque-form .produto-modal__header h2 {
  margin: 0;
  font-size: 1.6rem;
  color: rgb(62.04, 62.04, 62.04);
}
.painel-estoque-form .produto-modal__body {
  padding-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.painel-estoque-form .produto-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgb(167.64, 167.64, 167.64);
}
.painel-estoque-form input[type=number]::-webkit-outer-spin-button,
.painel-estoque-form input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.painel-estoque-form input[type=number] {
  appearance: textfield;
  -moz-appearance: textfield;
}
@media (min-width: 768px) {
  .painel-estoque-form .top-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .painel-estoque-form .busca-e-lupa #lista-resultados {
    left: 0;
    width: min(56rem, 95%);
  }
  .painel-estoque-form .produto-modal__body {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1200px) {
  .painel-estoque-form .top-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .painel-estoque-form .busca-e-lupa #lista-resultados {
    max-height: 420px;
  }
}

.painel-estoque-detalhe {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-top: 3.2rem;
  font-family: "Cinzel", serif;
  color: #424242;
}
.painel-estoque-detalhe h1 {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 4rem;
  margin: 6rem 0 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
  color: #424242;
  font-size: 2.4rem;
  font-weight: 700;
}
.painel-estoque-detalhe .mov-info {
  background: #FFFFFF;
  border-radius: 1.2rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(12, 16, 20, 0.08);
  border: 1px solid #ababab;
}
.painel-estoque-detalhe .mov-info .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.painel-estoque-detalhe .mov-info .info-grid .info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.painel-estoque-detalhe .mov-info .info-grid .info-item .info-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgb(59.4, 59.4, 59.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.painel-estoque-detalhe .mov-info .info-grid .info-item .info-value {
  font-size: 1.4rem;
  color: #424242;
  font-weight: 500;
}
.painel-estoque-detalhe .mov-info .info-grid .info-item.total .info-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #007df4;
}
.painel-estoque-detalhe .items-section {
  background: #FFFFFF;
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(12, 16, 20, 0.08);
  border: 1px solid #ababab;
}
.painel-estoque-detalhe .items-section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #424242;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgb(42.2, 151.2163934426, 255);
}
.painel-estoque-detalhe .items-section .items-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(12, 16, 20, 0.06);
}
.painel-estoque-detalhe .items-section .items-table thead {
  background: rgb(10.28, 135.648852459, 255);
}
.painel-estoque-detalhe .items-section .items-table thead th {
  padding: 1.2rem 1rem;
  text-align: left;
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.painel-estoque-detalhe .items-section .items-table tbody {
  background: #FFFFFF;
}
.painel-estoque-detalhe .items-section .items-table tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid rgb(182.2, 182.2, 182.2);
}
.painel-estoque-detalhe .items-section .items-table tbody tr:hover {
  background: rgb(241.7, 248.5135245902, 255);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12, 16, 20, 0.1);
}
.painel-estoque-detalhe .items-section .items-table tbody tr:last-child {
  border-bottom: none;
}
.painel-estoque-detalhe .items-section .items-table tbody tr td {
  padding: 1rem;
  font-size: 1.3rem;
  color: #424242;
  vertical-align: middle;
}
.painel-estoque-detalhe .items-section .items-table tbody tr td.produto-nome {
  font-weight: 600;
  color: #424242;
}
.painel-estoque-detalhe .items-section .items-table tbody tr td.quantidade {
  font-weight: 600;
  color: #007df4;
  text-align: center;
}
.painel-estoque-detalhe .items-section .items-table tbody tr td.operacao {
  text-align: center;
  font-weight: 600;
}
.painel-estoque-detalhe .items-section .items-table tbody tr td.operacao.entrada {
  color: #13a113;
}
.painel-estoque-detalhe .items-section .items-table tbody tr td.operacao.saida {
  color: #ff5252;
}
.painel-estoque-detalhe .items-section .items-table tbody tr td.preco {
  font-weight: 600;
  color: #424242;
  text-align: right;
}
.painel-estoque-detalhe .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: #007df4;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  transition: all 0.2s ease;
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(12, 16, 20, 0.15);
}
.painel-estoque-detalhe .btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 16, 20, 0.25);
  background: rgb(0, 112.5, 219.6);
}
.painel-estoque-detalhe .btn-back:active {
  transform: translateY(0);
}
@media (min-width: 480px) {
  .painel-estoque-detalhe .mov-info .info-grid {
    grid-template-columns: 1fr;
  }
  .painel-estoque-detalhe .items-table {
    font-size: 1.2rem;
  }
  .painel-estoque-detalhe .items-table thead th,
  .painel-estoque-detalhe .items-table tbody td {
    padding: 0.8rem 0.6rem;
  }
}

.painel-fluxo-form {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-top: 3rem;
  font-family: "Cinzel", serif;
  color: #424242;
  /* responsive */
}
.painel-fluxo-form h1 {
  margin-bottom: 1.8rem;
}
.painel-fluxo-form form {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(12, 16, 20, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  /* container dos itens */
}
.painel-fluxo-form form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 1.56rem; /* 1.3rem * 1.2 = 1.56rem */
  gap: 0.4rem;
  color: rgb(62.04, 62.04, 62.04);
}
.painel-fluxo-form form label input, .painel-fluxo-form form label select {
  padding: 0.8rem 1rem;
  border: 1px solid rgb(165.4, 165.4, 165.4);
  border-radius: 0.6rem;
  font-size: 1.56rem; /* 1.3rem * 1.2 = 1.56rem */
  transition: border-color 0.12s ease, box-shadow 0.12s;
}
.painel-fluxo-form form label input:focus, .painel-fluxo-form form label select:focus {
  outline: none;
  border-color: #007df4;
  box-shadow: 0 0 0 2px rgb(68.8, 164.1893442623, 255);
}
.painel-fluxo-form form hr {
  margin: 1rem 0;
  border: none;
  border-top: 1px dashed rgb(176.6, 176.6, 176.6);
}
.painel-fluxo-form form h3 {
  font-size: 1.8rem; /* 1.5rem * 1.2 = 1.8rem */
  font-weight: 700;
  color: #007df4;
  margin: 0.5rem 0;
}
.painel-fluxo-form form #itens-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.painel-fluxo-form form #itens-container .fluxo-item-row {
  display: grid;
  grid-template-columns: 1fr 1fr 90px 120px 1fr auto;
  gap: 0.6rem;
  align-items: center;
}
.painel-fluxo-form form #itens-container .fluxo-item-row select, .painel-fluxo-form form #itens-container .fluxo-item-row input {
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(165.4, 165.4, 165.4);
  font-size: 1.44rem; /* 1.2rem * 1.2 = 1.44rem */
}
.painel-fluxo-form form #itens-container .fluxo-item-row button.rem {
  background: #ff5252;
  color: #fff;
  border: none;
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 1.44rem; /* 1.2rem * 1.2 = 1.44rem */
  cursor: pointer;
  transition: background 0.12s, transform 0.08s;
}
.painel-fluxo-form form #itens-container .fluxo-item-row button.rem:hover {
  background: rgb(255, 61.78, 61.78);
  transform: translateY(-1px);
}
.painel-fluxo-form form #btn-add-item {
  align-self: flex-start;
  margin-top: 0.5rem;
  background-color: #007df4;
  padding: 1.5rem 4rem;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  font-size: 1.56rem; /* 1.3rem * 1.2 = 1.56rem */
}
.painel-fluxo-form form #btn-add-item:hover {
  background-color: #fff;
  color: #007df4;
  transform: translateY(-2px);
}
.painel-fluxo-form form #btn-add-item:active {
  transform: translateY(0);
}
.painel-fluxo-form form #btn-add-item:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.painel-fluxo-form form .actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 1rem;
}
.painel-fluxo-form form .actions .btn {
  padding: 0.8rem 1.2rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 1.56rem; /* 1.3rem * 1.2 = 1.56rem */
  cursor: pointer;
  transition: transform 0.08s;
}
.painel-fluxo-form form .actions .btn:hover {
  transform: translateY(-2px);
}
.painel-fluxo-form form .actions .btn.criar {
  background-color: #4caf50;
  padding: 1.5rem 4rem;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
}
.painel-fluxo-form form .actions .btn.criar:hover {
  background-color: #fff;
  color: #4caf50;
  transform: translateY(-2px);
}
.painel-fluxo-form form .actions .btn.criar:active {
  transform: translateY(0);
}
.painel-fluxo-form form .actions .btn.criar:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.painel-fluxo-form form .actions a.btn {
  background: rgb(163.16, 163.16, 163.16);
  color: #424242;
  text-decoration: none;
}
@media (min-width: 768px) {
  .painel-fluxo-form form {
    padding: 2.4rem;
  }
  .painel-fluxo-form #itens-container .fluxo-item-row {
    grid-template-columns: 1fr 1fr 90px 120px 1fr auto;
  }
}
@media (min-width: 480px) {
  .painel-fluxo-form .painel-fluxo-form *, .painel-fluxo-form .painel-fluxo-form *::before, .painel-fluxo-form .painel-fluxo-form *::after, .painel-fluxo-form .painel-fluxo *, .painel-fluxo-form .painel-fluxo *::before, .painel-fluxo-form .painel-fluxo *::after, .painel-fluxo-form .painel-fluxo-detalhe *, .painel-fluxo-form .painel-fluxo-detalhe *::before, .painel-fluxo-form .painel-fluxo-detalhe *::after {
    box-sizing: border-box;
  }
  .painel-fluxo-form .top-row {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 0.8rem;
  }
  .painel-fluxo-form #itens-container, .painel-fluxo-form #items-hidden, .painel-fluxo-form .fluxo-item-row, .painel-fluxo-form .fluxo-item-row * {
    max-width: 100%;
    box-sizing: border-box;
  }
  .painel-fluxo-form .fluxo-item-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.6rem;
    align-items: center;
    width: 100%;
    padding: 0.4rem 0;
  }
  .painel-fluxo-form .fluxo-item-row select,
  .painel-fluxo-form .fluxo-item-row input,
  .painel-fluxo-form #itens-container select,
  .painel-fluxo-form #itens-container input {
    min-width: 0;
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 0.6rem;
    border: 1px solid rgb(182.2, 182.2, 182.2);
    background: #FFFFFF;
    font-size: 1.25rem;
  }
  .painel-fluxo-form .fluxo-item-row .rem {
    width: auto;
    padding: 0.45rem 0.7rem;
    border-radius: 0.5rem;
  }
  .painel-fluxo-form table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .painel-fluxo-form body {
    overflow-x: hidden;
  }
}
.painel-fluxo-form .top-row {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.painel-fluxo-form .fluxo-item-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.6rem;
  align-items: center;
}
.painel-fluxo-form .fluxo-item-row select, .painel-fluxo-form .fluxo-item-row input {
  min-width: 0;
}

.painel-fluxo {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-top: 3rem;
  font-family: "Cinzel", serif;
  color: #424242;
  box-sizing: border-box;
  max-width: 100%;
  padding-left: 0.8rem; /* evita gaps laterais en mobile */
  padding-right: 0.8rem;
  /* AÇÕES: reorganizadas como no Estoque */
  /* layout principal: grid con sidebar */
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 380px;
  align-items: start;
  /* NUEVOS ESTILOS PARA FLUJO DETALLADO */
  /* ESTILOS PARA VISTA ANUAL */
}
.painel-fluxo h1 {
  text-align: center;
  margin-bottom: 1.6rem;
  width: 100%;
}
.painel-fluxo .acoes-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgb(176.6, 176.6, 176.6);
}
.painel-fluxo .acoes-container .acoes-left, .painel-fluxo .acoes-container .acoes-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.painel-fluxo .acoes-container .btn-back {
  background: rgb(165.4, 165.4, 165.4);
  color: #424242;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.44rem; /* 1.2rem * 1.2 = 1.44rem */
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.painel-fluxo .acoes-container .btn-back:hover {
  background: rgb(154.2, 154.2, 154.2);
  transform: translateY(-1px);
}
.painel-fluxo .acoes-container .btn.criar {
  background: #4caf50;
  color: #FFFFFF;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.44rem; /* 1.2rem * 1.2 = 1.44rem */
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.painel-fluxo .acoes-container .btn.criar:hover {
  background: rgb(68.4, 157.5, 72);
  transform: translateY(-1px);
}
.painel-fluxo .acoes-container .btn.importar {
  background: #007df4;
  color: #FFFFFF;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.44rem; /* 1.2rem * 1.2 = 1.44rem */
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.painel-fluxo .acoes-container .btn.importar:hover {
  background: rgb(0, 112.5, 219.6);
  transform: translateY(-1px);
}
.painel-fluxo .filtros-container {
  background: #FFFFFF;
  border: 1px solid rgb(176.6, 176.6, 176.6);
  border-radius: 0.6rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(11, 14, 18, 0.04);
}
.painel-fluxo .filtros-container .filtro-form {
  width: 100%;
}
.painel-fluxo .filtros-container .filtro-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.painel-fluxo .filtros-container .filtro-label {
  font-weight: 600;
  font-size: 1.44rem; /* 1.2rem * 1.2 = 1.44rem */
  color: #424242;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.painel-fluxo .filtros-container .filtro-select {
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  border: 1px solid #ababab;
  background: #FFFFFF;
  font-size: 1.44rem; /* 1.2rem * 1.2 = 1.44rem */
  min-width: 120px;
  transition: border-color 0.2s ease;
}
.painel-fluxo .filtros-container .filtro-select:focus {
  outline: none;
  border-color: #007df4;
  box-shadow: 0 0 0 2px rgb(68.8, 164.1893442623, 255);
}
.painel-fluxo .filtros-container .vista-toggle {
  display: flex;
  gap: 0.3rem;
  margin-left: auto;
}
.painel-fluxo .filtros-container .btn-vista {
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.32rem; /* 1.1rem * 1.2 = 1.32rem */
  font-weight: 600;
  transition: all 0.2s ease;
  background: rgb(165.4, 165.4, 165.4);
  color: #424242;
  border: 1px solid #ababab;
}
.painel-fluxo .filtros-container .btn-vista.active {
  background: #007df4;
  color: #FFFFFF;
  border-color: #007df4;
}
.painel-fluxo .filtros-container .btn-vista:hover {
  background: rgb(15.6, 138.243442623, 255);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.painel-fluxo .flujo-detallado {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(11, 14, 18, 0.04);
  margin-bottom: 2rem;
}
.painel-fluxo .flujo-detallado h2 {
  color: #007df4;
  margin-bottom: 1.5rem;
  font-size: 2.16rem; /* 1.8rem * 1.2 = 2.16rem */
  text-align: center;
}
.painel-fluxo .flujo-detallado .seccion-receitas, .painel-fluxo .flujo-detallado .seccion-despesas {
  margin-bottom: 2rem;
}
.painel-fluxo .flujo-detallado .seccion-receitas h3, .painel-fluxo .flujo-detallado .seccion-despesas h3 {
  font-size: 1.68rem; /* 1.4rem * 1.2 = 1.68rem */
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
}
.painel-fluxo .flujo-detallado .titulo-receitas {
  background: #4caf50;
  color: #FFFFFF;
}
.painel-fluxo .flujo-detallado .titulo-despesas {
  background: #ff5252;
  color: #FFFFFF;
}
.painel-fluxo .flujo-detallado .categoria-grupo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.painel-fluxo .flujo-detallado .categoria-item {
  background: rgb(249.9, 249.9, 249.9);
  border-radius: 0.8rem;
  padding: 1rem;
  border: 1px solid rgb(176.6, 176.6, 176.6);
}
.painel-fluxo .flujo-detallado .categoria-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgb(187.8, 187.8, 187.8);
}
.painel-fluxo .flujo-detallado .categoria-header .categoria-nombre {
  font-weight: 600;
  font-size: 1.44rem; /* 1.2rem * 1.2 = 1.44rem */
  color: #424242;
}
.painel-fluxo .flujo-detallado .categoria-header .categoria-total {
  font-weight: 700;
  font-size: 1.56rem; /* 1.3rem * 1.2 = 1.56rem */
  color: #007df4;
}
.painel-fluxo .flujo-detallado .movimientos-detalle {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.painel-fluxo .flujo-detallado .movimiento-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  transition: background 0.2s ease;
}
.painel-fluxo .flujo-detallado .movimiento-item.clickeable {
  cursor: pointer;
  background: white;
}
.painel-fluxo .flujo-detallado .movimiento-item.clickeable:hover {
  background: rgb(228.4, 242.0270491803, 255);
  transform: translateX(2px);
}
.painel-fluxo .flujo-detallado .movimiento-item .movimiento-desc {
  color: #424242;
  font-size: 1.32rem; /* 1.1rem * 1.2 = 1.32rem */
}
.painel-fluxo .flujo-detallado .movimiento-item .movimiento-valor {
  font-weight: 600;
  color: #424242;
  font-size: 1.32rem; /* 1.1rem * 1.2 = 1.32rem */
}
.painel-fluxo .flujo-detallado .total-secao {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.6rem;
  text-align: center;
  font-size: 1.56rem; /* 1.3rem * 1.2 = 1.56rem */
}
.painel-fluxo .flujo-detallado .total-secao.receitas {
  background: rgb(227.9133466135, 243.2366533865, 228.5324701195);
  color: rgb(60.8, 140, 64);
}
.painel-fluxo .flujo-detallado .total-secao.despesas {
  background: rgb(255, 229.05, 229.05);
  color: rgb(135.2, 0, 0);
}
.painel-fluxo .flujo-detallado .resultado-final {
  margin-top: 2rem;
  text-align: center;
}
.painel-fluxo .flujo-detallado .resultado-final .titulo-resultado {
  background: #007df4;
  color: #FFFFFF;
  padding: 1.2rem 2rem;
  border-radius: 0.8rem;
  font-size: 1.8rem; /* 1.5rem * 1.2 = 1.8rem */
  font-weight: 700;
  margin: 0;
}
.painel-fluxo .flujo-anual {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(11, 14, 18, 0.04);
  margin-bottom: 2rem;
}
.painel-fluxo .flujo-anual h2 {
  color: #007df4;
  margin-bottom: 1.5rem;
  font-size: 2.16rem; /* 1.8rem * 1.2 = 2.16rem */
  text-align: center;
}
.painel-fluxo .flujo-anual .meses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.painel-fluxo .flujo-anual .mes-card {
  background: rgb(252.45, 252.45, 252.45);
  border-radius: 0.8rem;
  padding: 1.2rem;
  border: 1px solid rgb(176.6, 176.6, 176.6);
}
.painel-fluxo .flujo-anual .mes-card h4 {
  color: #007df4;
  margin-bottom: 1rem;
  font-size: 1.56rem; /* 1.3rem * 1.2 = 1.56rem */
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #007df4;
}
.painel-fluxo .flujo-anual .mes-card .tipo-seccion {
  margin-bottom: 1rem;
}
.painel-fluxo .flujo-anual .mes-card .tipo-seccion h5 {
  font-size: 1.32rem; /* 1.1rem * 1.2 = 1.32rem */
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding: 0.4rem 0.6rem;
  border-radius: 0.4rem;
}
.painel-fluxo .flujo-anual .mes-card .tipo-seccion.ingresos h5 {
  background: rgb(227.9133466135, 243.2366533865, 228.5324701195);
  color: rgb(60.8, 140, 64);
}
.painel-fluxo .flujo-anual .mes-card .tipo-seccion.egresos h5 {
  background: rgb(255, 229.05, 229.05);
  color: rgb(255, 14.6, 14.6);
}
.painel-fluxo .flujo-anual .mes-card .categoria-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.6rem;
  margin-bottom: 0.3rem;
  background: white;
  border-radius: 0.3rem;
  font-size: 1.2rem; /* 1rem * 1.2 = 1.2rem */
}
.painel-fluxo .flujo-anual .mes-card .categoria-line span:first-child {
  color: #424242;
}
.painel-fluxo .flujo-anual .mes-card .categoria-line span:last-child {
  font-weight: 600;
  color: #424242;
}
.painel-fluxo .flujo-anual .mes-card .mes-vazio {
  text-align: center;
  padding: 1rem;
  color: #8f8f8f;
  font-style: italic;
}
.painel-fluxo .somas-por-categoria {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 1.6rem;
  box-shadow: 0 12px 30px rgba(11, 14, 18, 0.04);
  /* wrapper que maneja overflow horizontal en tablas - evita que el card empuje el layout */
}
.painel-fluxo .somas-por-categoria h2 {
  color: #007df4;
  margin-bottom: 0.8rem;
  font-size: 1.92rem; /* 1.6rem * 1.2 = 1.92rem */
}
.painel-fluxo .somas-por-categoria .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.painel-fluxo .somas-por-categoria table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 0.6rem;
  min-width: 320px; /* evita que la tabla rompa en tamaños muy pequeños */
  /* Estilos para filas clickeables */
}
.painel-fluxo .somas-por-categoria table thead {
  background: #007df4;
  color: #FFFFFF;
}
.painel-fluxo .somas-por-categoria table tbody {
  background: #FFFFFF;
}
.painel-fluxo .somas-por-categoria table th, .painel-fluxo .somas-por-categoria table td {
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 1.56rem; /* 1.3rem * 1.2 = 1.56rem */
  border-bottom: 1px solid rgb(182.2, 182.2, 182.2);
  vertical-align: middle;
}
.painel-fluxo .somas-por-categoria table td {
  color: #424242;
}
.painel-fluxo .somas-por-categoria table tr:nth-child(even) td {
  background: white;
}
.painel-fluxo .somas-por-categoria table .categoria-row-clickeable {
  cursor: pointer;
  transition: background 0.2s ease;
  border-radius: 0.4rem;
  margin: 0.2rem 0;
}
.painel-fluxo .somas-por-categoria table .categoria-row-clickeable:hover {
  background: rgb(241.7, 248.5135245902, 255) !important;
}
.painel-fluxo .somas-por-categoria table .categoria-row-clickeable:hover td {
  background: transparent !important;
  color: #007df4;
}
.painel-fluxo .somas-por-categoria table .categoria-row-clickeable td {
  transition: color 0.2s ease;
}
.painel-fluxo .categorias-quick {
  background: linear-gradient(180deg, rgb(28.9, 144.7299180328, 255), #FFFFFF);
  padding: 1.4rem;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(11, 14, 18, 0.04);
}
.painel-fluxo .categorias-quick h3 {
  color: #FFFFFF;
  margin-bottom: 0.6rem;
  font-size: 1.8rem; /* 1.5rem * 1.2 = 1.8rem */
}
.painel-fluxo .categorias-quick ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.painel-fluxo .categorias-quick .categoria-item-quick {
  background: #FFFFFF;
  padding: 0.8rem;
  border-radius: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease;
}
.painel-fluxo .categorias-quick .categoria-item-quick:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 14, 18, 0.1);
}
.painel-fluxo .categorias-quick .categoria-item-quick .categoria-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.painel-fluxo .categorias-quick .categoria-item-quick .categoria-info .categoria-nome {
  font-size: 1.8rem; /* 1.5rem * 1.2 = 1.8rem */
  font-weight: 600;
  color: #424242;
}
.painel-fluxo .categorias-quick .categoria-item-quick .categoria-info .categoria-tipo {
  font-size: 1.44rem; /* 1.2rem * 1.2 = 1.44rem */
  color: #8f8f8f;
  text-transform: capitalize;
}
.painel-fluxo .categorias-quick .categoria-item-quick .btn-editar-categoria {
  background: #007df4;
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.44rem; /* 1.2rem * 1.2 = 1.44rem */
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.painel-fluxo .categorias-quick .categoria-item-quick .btn-editar-categoria:hover {
  background: rgb(0, 112.5, 219.6);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(11, 14, 18, 0.15);
}
.painel-fluxo .categorias-quick .categorias-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}
.painel-fluxo .categorias-quick .categorias-actions .btn {
  background-color: rgb(0, 115, 224.48);
  padding: 1.5rem 4rem;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
  font-size: 1.44rem; /* 1.2rem * 1.2 = 1.44rem */
  padding: 0.6rem 0.9rem;
  border-radius: 0.6rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}
.painel-fluxo .categorias-quick .categorias-actions .btn:hover {
  background-color: #fff;
  color: rgb(0, 115, 224.48);
  transform: translateY(-2px);
}
.painel-fluxo .categorias-quick .categorias-actions .btn:active {
  transform: translateY(0);
}
.painel-fluxo .categorias-quick .categorias-actions .btn:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.painel-fluxo .categorias-quick .categorias-actions .btn.btn-manage {
  background: rgb(165.4, 165.4, 165.4);
  color: #424242;
}
.painel-fluxo .categorias-quick .categorias-actions .btn.btn-manage:hover {
  background: rgb(154.2, 154.2, 154.2);
  transform: translateY(-1px);
}
.painel-fluxo .categorias-quick .btn-ver-mas {
  background: #007df4;
  color: #FFFFFF;
  padding: 0.6rem 1.2rem;
  border-radius: 0.6rem;
  border: none;
  font-size: 1.44rem; /* 1.2rem * 1.2 = 1.44rem */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  margin: 1rem auto 0;
  text-align: center;
  min-width: 120px;
}
.painel-fluxo .categorias-quick .btn-ver-mas:hover {
  background: rgb(0, 112.5, 219.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 14, 18, 0.15);
}
.painel-fluxo .categorias-quick #categorias-ocultas {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.painel-fluxo .categorias-quick #categorias-ocultas .categoria-item-quick {
  margin-bottom: 0.5rem;
}
.painel-fluxo a {
  word-break: break-word;
}

/* ESTILOS PARA PÁGINA DE DETALLES DE CATEGORÍA */
.painel-fluxo-detalhe {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-top: 3rem;
  font-family: "Cinzel", serif;
  color: #424242;
  box-sizing: border-box;
}
.painel-fluxo-detalhe h1 {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 4rem;
  margin: 6rem 0 3rem 0;
  text-align: center;
  margin-bottom: 1.2rem;
  text-align: center;
}
.painel-fluxo-detalhe .acoes-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgb(176.6, 176.6, 176.6);
}
.painel-fluxo-detalhe .acoes-container .acoes-left, .painel-fluxo-detalhe .acoes-container .acoes-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.painel-fluxo-detalhe .acoes-container .btn-back {
  background: rgb(165.4, 165.4, 165.4);
  color: #424242;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.44rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.painel-fluxo-detalhe .acoes-container .btn-back:hover {
  background: rgb(154.2, 154.2, 154.2);
  transform: translateY(-1px);
}
.painel-fluxo-detalhe .acoes-container .categoria-info-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}
.painel-fluxo-detalhe .acoes-container .categoria-info-header .categoria-nome {
  font-size: 1.8rem;
  font-weight: 700;
  color: #007df4;
}
.painel-fluxo-detalhe .acoes-container .categoria-info-header .categoria-tipo {
  font-size: 1.44rem;
  color: #8f8f8f;
  text-transform: uppercase;
}
.painel-fluxo-detalhe .categoria-resumen {
  margin-bottom: 2rem;
}
.painel-fluxo-detalhe .categoria-resumen .resumen-card {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 1.6rem;
  box-shadow: 0 12px 30px rgba(11, 14, 18, 0.04);
  border: 1px solid rgb(176.6, 176.6, 176.6);
}
.painel-fluxo-detalhe .categoria-resumen .resumen-card h3 {
  color: #007df4;
  margin-bottom: 1rem;
  font-size: 1.92rem;
  text-align: center;
}
.painel-fluxo-detalhe .categoria-resumen .resumen-card .resumen-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.painel-fluxo-detalhe .categoria-resumen .resumen-card .resumen-stats .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: rgb(241.7, 248.5135245902, 255);
  border-radius: 0.8rem;
  border: 1px solid rgb(201.8, 229.0540983607, 255);
}
.painel-fluxo-detalhe .categoria-resumen .resumen-card .resumen-stats .stat-item .stat-label {
  font-size: 1.44rem;
  color: #424242;
  margin-bottom: 0.5rem;
  text-align: center;
}
.painel-fluxo-detalhe .categoria-resumen .resumen-card .resumen-stats .stat-item .stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #007df4;
  text-align: center;
}
.painel-fluxo-detalhe .movimientos-container {
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 1.6rem;
  box-shadow: 0 12px 30px rgba(11, 14, 18, 0.04);
}
.painel-fluxo-detalhe .movimientos-container h2 {
  color: #007df4;
  margin-bottom: 1rem;
  font-size: 1.92rem;
  text-align: center;
}
.painel-fluxo-detalhe .movimientos-container .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 0.6rem;
  min-width: 600px;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table thead {
  background: #007df4;
  color: #FFFFFF;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table thead th {
  padding: 1rem;
  text-align: left;
  font-size: 1.56rem;
  font-weight: 600;
  border-bottom: 2px solid rgb(0, 112.5, 219.6);
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table thead th:nth-child(3) {
  text-align: right;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table thead th:nth-child(4) {
  text-align: center;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table thead th:nth-child(5) {
  text-align: center;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody {
  background: #FFFFFF;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row {
  transition: all 0.2s ease;
  border-bottom: 1px solid rgb(182.2, 182.2, 182.2);
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row:hover {
  background: rgb(241.7, 248.5135245902, 255);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 14, 18, 0.1);
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row:nth-child(even) {
  background: white;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row:nth-child(even):hover {
  background: rgb(241.7, 248.5135245902, 255);
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row td {
  padding: 1rem;
  font-size: 1.44rem;
  vertical-align: middle;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row td.movimiento-id {
  font-weight: 600;
  color: #8f8f8f;
  width: 80px;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row td.movimiento-desc {
  font-weight: 500;
  color: #424242;
  max-width: 300px;
  word-break: break-word;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row td.movimiento-valor {
  font-weight: 700;
  color: #007df4;
  text-align: right;
  white-space: nowrap;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row td.movimiento-data {
  color: #8f8f8f;
  text-align: center;
  white-space: nowrap;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row td.movimiento-acciones {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row td.movimiento-acciones .btn-editar-movimiento {
  background: #007df4;
  color: #FFFFFF;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row td.movimiento-acciones .btn-editar-movimiento:hover {
  background: rgb(0, 112.5, 219.6);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(11, 14, 18, 0.15);
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row td.movimiento-acciones .form-deletar {
  display: inline;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row td.movimiento-acciones .form-deletar .btn-deletar-movimiento {
  background: #ff5252;
  color: #FFFFFF;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .movimiento-row td.movimiento-acciones .form-deletar .btn-deletar-movimiento:hover {
  background: rgb(255, 48.3, 48.3);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(11, 14, 18, 0.15);
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .no-data {
  text-align: center;
  padding: 3rem;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .no-data .no-data-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #8f8f8f;
  font-size: 1.44rem;
}
.painel-fluxo-detalhe .movimientos-container .movimientos-table tbody .no-data .no-data-content i {
  font-size: 3rem;
  color: rgb(165.4, 165.4, 165.4);
}

/* RESPONSIVE: tablet */
@media (min-width: 768px) {
  .movimientos-container .movimientos-table {
    min-width: 500px;
  }
}
/* RESPONSES: tablet para painel-fluxo principal */
.painel-fluxo {
  /* RESPONSES: telefono */
}
@media (min-width: 768px) {
  .painel-fluxo {
    grid-template-columns: 1fr 340px;
    /* permitir que las celdas hagan wrap si necesario */
  }
  .painel-fluxo .filtros-mes {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    margin-bottom: 0.6rem;
  }
  .painel-fluxo .filtros-mes .filtro-mes-form {
    min-width: max-content;
    white-space: nowrap;
  }
  .painel-fluxo .somas-por-categoria .table-wrap {
    max-width: 100%;
  }
  .painel-fluxo .somas-por-categoria th, .painel-fluxo .somas-por-categoria td {
    white-space: normal;
    word-break: break-word;
  }
}
@media (min-width: 480px) {
  .painel-fluxo {
    grid-template-columns: 1fr;
    /* garantir que los botones ocupen full-width en columna (mejor experiencia en mobile) */
    /* protección extra contra overflow */
  }
  .painel-fluxo .acoes {
    flex-direction: column;
    gap: 0.6rem;
    align-items: stretch;
  }
  .painel-fluxo .acoes-left, .painel-fluxo .acoes-right {
    justify-content: flex-start;
  }
  .painel-fluxo .acoes-right {
    justify-content: flex-end;
  }
  .painel-fluxo .acoes > .acoes-left .btn-back,
  .painel-fluxo .acoes > .acoes-right .btn.criar {
    width: 100%;
    display: inline-flex;
    justify-content: center;
  }
  .painel-fluxo .filtros-mes .filtro-mes-form {
    width: 100%;
  }
  .painel-fluxo .filtros-mes select {
    width: 100%;
  }
  .painel-fluxo .categorias-quick {
    order: 2;
  }
  .painel-fluxo .somas-por-categoria {
    order: 1;
  }
  .painel-fluxo *, .painel-fluxo *::before, .painel-fluxo *::after {
    box-sizing: border-box;
  }
  .painel-fluxo .somas-por-categoria, .painel-fluxo .categorias-quick {
    overflow: visible;
  }
}

/* estilos para la vista detalle (mantener como antes, sin cambios mayores) */
.painel-fluxo-detalhe { /* ... conservar tu código existente ... */ }

.flujo-anual-tabla {
  margin-top: 2rem;
}
.flujo-anual-tabla h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #424242;
  margin-bottom: 2rem;
  text-align: center;
}
.flujo-anual-tabla .tabla-flujo-anual {
  background: #FFFFFF;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(12, 16, 20, 0.04);
  overflow: hidden;
  margin-bottom: 2rem;
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel thead {
  background: linear-gradient(135deg, #007df4 0%, rgb(15.6, 138.243442623, 255) 100%);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel thead th {
  padding: 1.2rem 0.8rem;
  color: #FFFFFF;
  font-weight: 700;
  text-align: center;
  border-right: 1px solid rgb(42.2, 151.2163934426, 255);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel thead th:last-child {
  border-right: none;
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel thead th.columna-categoria {
  text-align: left;
  padding-left: 1.5rem;
  min-width: 200px;
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel thead th.columna-mes {
  min-width: 100px;
  font-size: 1.2rem;
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr {
  border-bottom: 1px solid rgb(176.6, 176.6, 176.6);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr:hover {
  background: rgb(193.4, 193.4, 193.4);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.seccion-header {
  background: #c7c7c7;
  font-weight: 700;
  color: #424242;
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.seccion-header.receitas {
  background: rgb(200.8266932271, 231.4733067729, 202.064940239);
  color: rgb(53.2, 122.5, 56);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.seccion-header.despesas {
  background: rgb(255, 203.1, 203.1);
  color: rgb(235.9, 0, 0);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.seccion-header .categoria-principal {
  padding: 1.5rem 1.5rem;
  font-size: 1.6rem;
  border-right: 2px solid rgb(165.4, 165.4, 165.4);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.seccion-header .total-mes {
  padding: 1.5rem 0.8rem;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  border-right: 1px solid rgb(165.4, 165.4, 165.4);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.seccion-header .total-mes:last-child {
  border-right: none;
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.categoria-sub .subcategoria {
  padding: 1rem 2rem;
  color: #424242;
  font-weight: 500;
  border-right: 2px solid rgb(165.4, 165.4, 165.4);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.categoria-sub .valor-mes {
  padding: 1rem 0.8rem;
  text-align: center;
  color: #424242;
  border-right: 1px solid rgb(165.4, 165.4, 165.4);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.categoria-sub .valor-mes:last-child {
  border-right: none;
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.categoria-sub.receitas-sub {
  background: rgb(236.9422310757, 247.1577689243, 237.3549800797);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.categoria-sub.despesas-sub {
  background: rgb(255, 237.7, 237.7);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.linea-divisoria {
  background: #424242;
  height: 2px;
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.linea-divisoria td {
  padding: 0;
  border: none;
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.total-final {
  background: rgb(176.6, 176.6, 176.6);
  font-weight: 700;
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.total-final .categoria-principal {
  padding: 1.5rem 1.5rem;
  font-size: 1.6rem;
  color: #424242;
  border-right: 2px solid rgb(165.4, 165.4, 165.4);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.total-final .total-final-mes {
  padding: 1.5rem 0.8rem;
  text-align: center;
  font-size: 1.4rem;
  border-right: 1px solid rgb(165.4, 165.4, 165.4);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.total-final .total-final-mes:last-child {
  border-right: none;
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.total-final .total-final-mes.positivo {
  color: rgb(17.1, 144.9, 17.1);
  background: rgb(136.9333333333, 241.0666666667, 136.9333333333);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.total-final .total-final-mes.negativo {
  color: rgb(152.1, 0, 0);
  background: rgb(255, 118.6, 118.6);
}
.flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr.total-final .total-final-mes.neutro {
  color: #424242;
  background: rgb(187.8, 187.8, 187.8);
}
.flujo-anual-tabla .ano-vazio {
  text-align: center;
  padding: 4rem 2rem;
  background: #FFFFFF;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(12, 16, 20, 0.04);
}
.flujo-anual-tabla .ano-vazio p {
  font-size: 1.6rem;
  color: #424242;
  margin: 0;
}
@media (min-width: 480px) {
  .flujo-anual-tabla .tabla-flujo-anual {
    overflow-x: auto;
  }
  .flujo-anual-tabla .tabla-flujo-anual .tabla-excel {
    min-width: 800px;
  }
  .flujo-anual-tabla .tabla-flujo-anual .tabla-excel thead th {
    padding: 1rem 0.6rem;
    font-size: 1.2rem;
  }
  .flujo-anual-tabla .tabla-flujo-anual .tabla-excel thead th.columna-categoria {
    min-width: 150px;
  }
  .flujo-anual-tabla .tabla-flujo-anual .tabla-excel thead th.columna-mes {
    min-width: 80px;
  }
  .flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr .categoria-principal, .flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr .subcategoria {
    padding: 1rem 1rem;
    font-size: 1.3rem;
  }
  .flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr .total-mes, .flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr .valor-mes, .flujo-anual-tabla .tabla-flujo-anual .tabla-excel tbody tr .total-final-mes {
    padding: 1rem 0.6rem;
    font-size: 1.2rem;
  }
}

/* fin del archivo */
.painel-fluxo {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-top: 3rem;
  font-family: "Cinzel", serif;
  color: #424242;
  box-sizing: border-box;
}
.painel-fluxo h1 {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 4rem;
  margin: 6rem 0 3rem 0;
  text-align: center;
  margin-bottom: 1.2rem;
}
.painel-fluxo .acoes {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.painel-fluxo .acoes .btn-back {
  display: inline-block;
  margin-bottom: 1rem;
  background: #607d8b;
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  padding: 0.6rem 0.9rem;
  font-size: 1.3rem;
}
.painel-fluxo .acoes .btn-back i {
  margin-right: 0.4rem;
}
.painel-fluxo .acoes .btn-back:hover {
  background: rgb(86.4, 112.5, 125.1);
}
.painel-fluxo .acoes .btn.criar {
  background-color: #4caf50;
  padding: 1.5rem 4rem;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
  padding: 0.7rem 1.2rem;
  font-size: 1.4rem;
  border-radius: 0.6rem;
  width: auto;
}
.painel-fluxo .acoes .btn.criar:hover {
  background-color: #fff;
  color: #4caf50;
  transform: translateY(-2px);
}
.painel-fluxo .acoes .btn.criar:active {
  transform: translateY(0);
}
.painel-fluxo .acoes .btn.criar:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.painel-fluxo .tabela-wrapper {
  width: 100%;
  border-radius: 1rem;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(11, 14, 18, 0.04);
  overflow: hidden;
  margin-top: 1rem;
}
.painel-fluxo .tabela-wrapper table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  min-width: 640px;
}
.painel-fluxo .tabela-wrapper table thead {
  display: table;
  width: 100%;
  table-layout: fixed;
  background: #007df4;
  color: #FFFFFF;
}
.painel-fluxo .tabela-wrapper table tbody {
  display: table;
  width: 100%;
  table-layout: fixed;
  background: #FFFFFF;
}
.painel-fluxo .tabela-wrapper table th, .painel-fluxo .tabela-wrapper table td {
  padding: 1rem;
  text-align: left;
  font-size: 1.4rem;
  min-width: 120px;
  border-bottom: 1px solid rgb(187.8, 187.8, 187.8);
}
.painel-fluxo .tabela-wrapper table tr:nth-child(even) td {
  background: white;
}
.painel-fluxo .tabela-wrapper table .acoes-tabela {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}
.painel-fluxo .tabela-wrapper table .acoes-tabela .btn.editar {
  background-color: rgb(0, 117.5, 229.36);
  padding: 1.5rem 4rem;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
  padding: 0.45rem 0.7rem;
  font-size: 1.2rem;
  border-radius: 0.5rem;
}
.painel-fluxo .tabela-wrapper table .acoes-tabela .btn.editar:hover {
  background-color: #fff;
  color: rgb(0, 117.5, 229.36);
  transform: translateY(-2px);
}
.painel-fluxo .tabela-wrapper table .acoes-tabela .btn.editar:active {
  transform: translateY(0);
}
.painel-fluxo .tabela-wrapper table .acoes-tabela .btn.editar:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.painel-fluxo .tabela-wrapper table .acoes-tabela .btn.apagar {
  background-color: #e53935;
  padding: 1.5rem 4rem;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
  padding: 0.45rem 0.7rem;
  font-size: 1.2rem;
  border-radius: 0.5rem;
}
.painel-fluxo .tabela-wrapper table .acoes-tabela .btn.apagar:hover {
  background-color: #fff;
  color: #e53935;
  transform: translateY(-2px);
}
.painel-fluxo .tabela-wrapper table .acoes-tabela .btn.apagar:active {
  transform: translateY(0);
}
.painel-fluxo .tabela-wrapper table .acoes-tabela .btn.apagar:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.painel-fluxo .tabela-wrapper table .acoes-tabela form {
  display: inline-flex;
}
.painel-fluxo *, .painel-fluxo *::before, .painel-fluxo *::after {
  box-sizing: border-box;
}
@media (min-width: 480px) {
  .painel-fluxo .acoes {
    justify-content: flex-start;
  }
  .painel-fluxo .tabela-wrapper table {
    min-width: 0;
  }
  .painel-fluxo th, .painel-fluxo td {
    font-size: 1.25rem;
    padding: 0.8rem;
    min-width: 90px;
  }
  .painel-fluxo .acoes-tabela {
    gap: 0.4rem;
  }
  .painel-fluxo .acoes-tabela .btn.editar, .painel-fluxo .acoes-tabela .btn.apagar {
    font-size: 1.1rem;
    padding: 0.4rem 0.6rem;
  }
}
@media (min-width: 768px) {
  .painel-fluxo .tabela-wrapper table {
    min-width: 640px;
  }
  .painel-fluxo th, .painel-fluxo td {
    font-size: 1.35rem;
    padding: 0.9rem;
  }
}
.caixa-container {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-top: 3.2rem;
  font-family: "Cinzel", serif;
  color: #424242;
}
.caixa-container h1 {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 4rem;
  margin: 6rem 0 3rem 0;
  text-align: center;
  margin-bottom: 1.6rem;
}

.acoes-caixa {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.acoes-caixa .btn-back {
  display: inline-block;
  margin-bottom: 1rem;
  background: #607d8b;
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}
.acoes-caixa .btn-back i {
  margin-right: 0.4rem;
}
.acoes-caixa .btn-back:hover {
  background: rgb(86.4, 112.5, 125.1);
}

.caixa-resumo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 480px) {
  .caixa-resumo {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .caixa-resumo {
    grid-template-columns: repeat(4, 1fr);
  }
}

.caixa-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.caixa-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.caixa-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.caixa-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}
.caixa-card__content {
  flex: 1;
}
.caixa-card__content h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.caixa-card__content .caixa-valor {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
.caixa-card__content .caixa-valor.positivo {
  color: #10b981;
}
.caixa-card__content .caixa-valor.negativo {
  color: #ef4444;
}

.caixa-saldo-atual .caixa-card__icon {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.caixa-inicio-dia .caixa-card__icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.caixa-entradas .caixa-card__icon.entrada {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.caixa-saidas .caixa-card__icon.saida {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.caixa-acciones {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.caixa-acciones .btn {
  flex: 1;
  min-width: 200px;
  background-color: #007df4;
  padding: 1.5rem 4rem;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
  padding: 1.2rem 2rem;
  border-radius: 0.8rem;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-decoration: none;
}
.caixa-acciones .btn:hover {
  background-color: #FFFFFF;
  color: #007df4;
  transform: translateY(-2px);
}
.caixa-acciones .btn:active {
  transform: translateY(0);
}
.caixa-acciones .btn:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.caixa-acciones .btn i {
  font-size: 1.2rem;
}
.caixa-acciones .btn.btn-secundario {
  background-color: #8f8f8f;
  padding: 1.5rem 4rem;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
}
.caixa-acciones .btn.btn-secundario:hover {
  background-color: #FFFFFF;
  color: #8f8f8f;
  transform: translateY(-2px);
}
.caixa-acciones .btn.btn-secundario:active {
  transform: translateY(0);
}
.caixa-acciones .btn.btn-secundario:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.caixa-acciones .btn.btn-secundario:hover {
  background-color: rgb(117.5, 117.5, 117.5);
  color: #FFFFFF;
}
@media (min-width: 480px) {
  .caixa-acciones {
    flex-wrap: nowrap;
  }
}

.caixa-hoje {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.caixa-hoje h2 {
  margin: 0 0 1.5rem 0;
  color: #1f2937;
  font-size: 1.5rem;
}
.caixa-hoje .tabela {
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge--success {
  background: #d1fae5;
  color: #065f46;
}
.badge--danger {
  background: #fee2e2;
  color: #991b1b;
}
.badge--warning {
  background: #fef3c7;
  color: #92400e;
}
.badge--info {
  background: #dbeafe;
  color: #1e40af;
}

.text-success {
  color: #10b981 !important;
}

.text-danger {
  color: #ef4444 !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.caixa-form-container {
  width: min(70%, 80rem);
  margin: 0 auto;
  margin-top: 3.2rem;
  font-family: "Cinzel", serif;
  color: #424242;
}
.caixa-form-container h1 {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 4rem;
  margin: 6rem 0 3rem 0;
  text-align: center;
  margin-bottom: 0.8rem;
}
.caixa-form-container .subtitulo {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 2.2rem;
  text-align: center;
  font-weight: 300;
  color: #424242;
  margin-bottom: 5rem;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 2rem;
}

.acoes-form {
  margin-bottom: 2rem;
}
.acoes-form .btn-back {
  display: inline-block;
  margin-bottom: 1rem;
  background: #607d8b;
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}
.acoes-form .btn-back i {
  margin-right: 0.4rem;
}
.acoes-form .btn-back:hover {
  background: rgb(86.4, 112.5, 125.1);
}

.formulario.caixa-form {
  background: #FFFFFF;
  padding: 3rem;
  border-radius: 1.2rem;
  box-shadow: 0 10px 30px rgba(12, 16, 20, 0.03);
  border: 1px solid rgb(163.16, 163.16, 163.16);
}
.formulario.caixa-form .campo {
  margin-bottom: 2rem;
}
.formulario.caixa-form .campo__label {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #424242;
  font-family: "Cinzel", serif;
}
.formulario.caixa-form .campo__label--required::after {
  content: " *";
  color: #ff5252;
}
.formulario.caixa-form .campo__input,
.formulario.caixa-form textarea.campo__input {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgb(160.92, 160.92, 160.92);
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-family: "Montserrat", sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.formulario.caixa-form .campo__input:focus,
.formulario.caixa-form textarea.campo__input:focus {
  outline: none;
  border-color: #007df4;
  box-shadow: 0 0 0 3px rgba(0, 125, 244, 0.1);
}
.formulario.caixa-form .campo__hint {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.2rem;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  color: #8f8f8f;
}

.campo--botones {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(163.16, 163.16, 163.16);
}
.campo--botones .btn {
  flex: 1;
  background-color: #4caf50;
  padding: 1.5rem 4rem;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
  padding: 1.2rem 2rem;
  border-radius: 0.8rem;
  font-size: 1.4rem;
}
.campo--botones .btn:hover {
  background-color: #FFFFFF;
  color: #4caf50;
  transform: translateY(-2px);
}
.campo--botones .btn:active {
  transform: translateY(0);
}
.campo--botones .btn:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.campo--botones .btn.btn-secundario {
  background-color: #8f8f8f;
  padding: 1.5rem 4rem;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
}
.campo--botones .btn.btn-secundario:hover {
  background-color: #FFFFFF;
  color: #8f8f8f;
  transform: translateY(-2px);
}
.campo--botones .btn.btn-secundario:active {
  transform: translateY(0);
}
.campo--botones .btn.btn-secundario:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.campo--botones .btn.btn-secundario:hover {
  background-color: rgb(117.5, 117.5, 117.5);
  color: #FFFFFF;
}
@media (min-width: 480px) {
  .campo--botones {
    justify-content: flex-end;
  }
  .campo--botones .btn {
    flex: initial;
    min-width: 180px;
  }
}

.caixa-historico-container {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-top: 3.2rem;
  font-family: "Cinzel", serif;
  color: #424242;
}
.caixa-historico-container h1 {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 4rem;
  margin: 6rem 0 3rem 0;
  text-align: center;
  margin-bottom: 0.8rem;
}
.caixa-historico-container .subtitulo {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 2.2rem;
  text-align: center;
  font-weight: 300;
  color: #424242;
  margin-bottom: 5rem;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 2rem;
}

.caixa-historico-tabela {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tabela-responsive {
  overflow-x: auto;
  margin: 0 -2rem;
  padding: 0 2rem;
}
.tabela-responsive::-webkit-scrollbar {
  height: 8px;
}
.tabela-responsive::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 4px;
}
.tabela-responsive::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}
.tabela-responsive::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.tabela {
  width: 100%;
  border-collapse: collapse;
  background: white;
}
.tabela thead {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}
.tabela thead th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.tabela tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.2s;
}
.tabela tbody tr:hover {
  background: #f9fafb;
}
.tabela tbody td {
  padding: 1rem;
  color: #1f2937;
  font-size: 0.875rem;
}
.tabela--striped tbody tr:nth-child(even) {
  background: #f9fafb;
}
.tabela--striped tbody tr:nth-child(even):hover {
  background: #f3f4f6;
}
@media (max-width: 768px) {
  .tabela thead {
    display: none;
  }
  .tabela tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
  }
  .tabela tbody td {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border: none;
  }
  .tabela tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #6b7280;
  }
  .tabela tbody td:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
  }
}

.alerta {
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.alerta svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.alerta--info {
  background: #dbeafe;
  color: #1e40af;
  border-left: 4px solid #3b82f6;
}
.alerta--info svg {
  color: #3b82f6;
}
.alerta--success {
  background: #d1fae5;
  color: #065f46;
  border-left: 4px solid #10b981;
}
.alerta--success svg {
  color: #10b981;
}
.alerta--warning {
  background: #fef3c7;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}
.alerta--warning svg {
  color: #f59e0b;
}
.alerta--error {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}
.alerta--error svg {
  color: #ef4444;
}
.alerta strong {
  display: block;
  margin-bottom: 0.25rem;
}

@media (max-width: 1024px) {
  .caixa-container,
  .caixa-form-container,
  .caixa-historico-container {
    padding: 1.5rem;
  }
}
@media (max-width: 640px) {
  .caixa-card {
    flex-direction: column;
    text-align: center;
  }
  .caixa-card__icon {
    margin: 0 auto;
  }
  .formulario.caixa-form {
    padding: 1.5rem;
  }
  .caixa-historico-tabela {
    padding: 1.5rem;
  }
}
.campo-radio-group {
  margin-bottom: 2.5rem;
}
.campo-radio-group .radio-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.2rem;
}
.campo-radio-group .radio-button input[type=radio] {
  display: none;
}
.campo-radio-group .radio-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 2rem;
  border: 2px solid rgb(163.16, 163.16, 163.16);
  border-radius: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #FFFFFF;
  font-family: "Cinzel", serif;
}
.campo-radio-group .radio-label svg {
  width: 4rem;
  height: 4rem;
}
.campo-radio-group .radio-label span {
  font-size: 1.6rem;
  font-weight: 700;
}
.campo-radio-group .radio-label--entrada svg {
  color: #4caf50;
}
.campo-radio-group .radio-label--saida svg {
  color: #ff5252;
}
.campo-radio-group .radio-label:hover {
  border-color: #007df4;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 16, 20, 0.05);
}
.campo-radio-group .radio-button input[type=radio]:checked + .radio-label {
  border-width: 3px;
  box-shadow: 0 8px 24px rgba(12, 16, 20, 0.05);
}
.campo-radio-group .radio-button input[type=radio]:checked + .radio-label.radio-label--entrada {
  border-color: #4caf50;
  background: rgb(236.9422310757, 247.1577689243, 237.3549800797);
}
.campo-radio-group .radio-button input[type=radio]:checked + .radio-label.radio-label--saida {
  border-color: #ff5252;
  background: rgb(255, 237.7, 237.7);
}

.caixa-ajuda {
  margin-top: 3rem;
  padding: 2.5rem;
  background: #f6f7fb;
  border-radius: 1.2rem;
  border-left: 4px solid #007df4;
}
.caixa-ajuda h3 {
  margin-bottom: 1.5rem;
  color: #424242;
  font-size: 1.8rem;
  font-weight: 700;
}
.caixa-ajuda ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.caixa-ajuda li {
  padding: 0.8rem 0;
  color: #424242;
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
}
.caixa-ajuda li strong {
  color: #1e1e1e;
  font-weight: 700;
}

.tabela-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.tabela-header h2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  font-size: 1.8rem;
  color: #424242;
}
.tabela-header h2 i {
  font-size: 1.6rem;
  color: #8f8f8f;
}

.descricao-cell {
  max-width: 300px;
  font-family: "Montserrat", sans-serif;
}

.nowrap {
  white-space: nowrap;
}

.valor {
  font-weight: 700;
}

.saldo-valor {
  font-size: 1.6rem;
  font-weight: 700;
}

.form-inline {
  display: inline;
}

.boton-icon {
  background: none;
  border: none;
  padding: 0.6rem;
  cursor: pointer;
  border-radius: 0.6rem;
  transition: all 0.2s;
}
.boton-icon i {
  font-size: 1.6rem;
}
.boton-icon--danger {
  color: #ff5252;
}
.boton-icon--danger:hover {
  background: rgb(255, 237.7, 237.7);
}

.estado-vazio {
  text-align: center;
  padding: 4rem 2rem;
  background: #FFFFFF;
  border-radius: 1.2rem;
  box-shadow: 0 10px 30px rgba(12, 16, 20, 0.03);
}
.estado-vazio i {
  font-size: 3rem;
  color: #8f8f8f;
  margin-bottom: 1.5rem;
  display: block;
}
.estado-vazio h3 {
  color: #424242;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.estado-vazio p {
  color: #8f8f8f;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 2.5rem;
  font-size: 1.4rem;
}

.filtros-card {
  background: white;
  border-radius: 1.2rem;
  padding: 2.4rem;
  margin-bottom: 3rem;
  box-shadow: rgba(12, 16, 20, 0.03);
}
.filtros-card h3 {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 4rem;
  margin: 6rem 0 3rem 0;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #424242;
}
.filtros-card h3 i {
  margin-right: 0.8rem;
  color: #007df4;
}
.filtros-card h4 {
  font-family: "Cinzel", serif;
  font-size: 1.4rem;
  color: #424242;
  margin-bottom: 1rem;
}

.filtros-meses {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}
.filtros-meses .meses-buttons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
}
@media (max-width: 768px) {
  .filtros-meses .meses-buttons {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 480px) {
  .filtros-meses .meses-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
}
.filtros-meses .btn-mes {
  background-color: #8f8f8f;
  padding: 1.5rem 4rem;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s, color 0.3s, transform 0.12s;
  text-align: center;
  display: inline-block;
  border-radius: 1.5rem;
  cursor: pointer;
  padding: 0.8rem 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.filtros-meses .btn-mes:hover {
  background-color: #FFFFFF;
  color: #8f8f8f;
  transform: translateY(-2px);
}
.filtros-meses .btn-mes:active {
  transform: translateY(0);
}
.filtros-meses .btn-mes:focus {
  outline: none;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05);
}
.filtros-meses .btn-mes:hover {
  background-color: #007df4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 125, 244, 0.3);
}

.filtros-periodo h4 {
  margin-bottom: 1.5rem;
}
.filtros-periodo .checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.8rem;
  border: 1px solid #e5e7eb;
}
.filtros-periodo .checkbox-container input[type=checkbox] {
  margin-right: 0.8rem;
  transform: scale(1.2);
}
.filtros-periodo .checkbox-container label {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  color: #424242;
  cursor: pointer;
  margin: 0;
}
.filtros-periodo .filtros-group {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.filtros-periodo .filtros-group.active {
  display: grid;
}

.painel-import {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.import-container {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.import-info h2 {
  color: #333;
  margin-bottom: 15px;
}
.import-info p {
  color: #666;
  margin-bottom: 20px;
}

.import-instructions {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 30px;
}
.import-instructions h3 {
  color: #495057;
  margin-bottom: 10px;
}
.import-instructions ul {
  margin: 0;
  padding-left: 20px;
}
.import-instructions li {
  color: #6c757d;
  margin-bottom: 5px;
}

.import-form {
  border-top: 1px solid #dee2e6;
  padding-top: 30px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  color: #495057;
  margin-bottom: 5px;
}
.form-group select,
.form-group input[type=file] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
}
.form-group small {
  display: block;
  color: #6c757d;
  margin-top: 5px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}
.btn.criar {
  background: #28a745;
  color: white;
}
.btn.criar:hover {
  background: #218838;
}
.btn:not(.criar) {
  background: #6c757d;
  color: white;
}
.btn:not(.criar):hover {
  background: #5a6268;
}

.btn-back {
  background: #6c757d;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-back:hover {
  background: #5a6268;
}

.painel-usuarios {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-top: 3.2rem;
  font-family: "Cinzel", serif;
  color: #424242;
}
.painel-usuarios h1 {
  font-family: "Cinzel", serif;
  font-weight: 900;
  margin: 2rem 0;
  font-size: 4rem;
  margin: 6rem 0 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
  color: #424242;
  font-size: 2.4rem;
  font-weight: 700;
}
.painel-usuarios .acoes-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #FFFFFF;
  border-radius: 1.2rem;
  box-shadow: 0 4px 20px rgba(12, 16, 20, 0.08);
  border: 1px solid #ababab;
}
.painel-usuarios .acoes-container .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: #007df4;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(12, 16, 20, 0.15);
}
.painel-usuarios .acoes-container .btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 16, 20, 0.25);
  background: rgb(0, 112.5, 219.6);
}
.painel-usuarios .acoes-container .role-info {
  background: rgb(241.7, 248.5135245902, 255);
  padding: 1rem 1.5rem;
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #007df4;
  border: 1px solid rgb(42.2, 151.2163934426, 255);
}
.painel-usuarios .usuarios-lista {
  background: #FFFFFF;
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(12, 16, 20, 0.08);
  border: 1px solid #ababab;
}
.painel-usuarios .usuarios-lista h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #424242;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgb(42.2, 151.2163934426, 255);
}
.painel-usuarios .usuarios-lista .table-wrap {
  overflow-x: auto;
  border-radius: 0.8rem;
  box-shadow: 0 2px 8px rgba(12, 16, 20, 0.06);
}
.painel-usuarios .usuarios-lista .tabela-usuarios {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
}
.painel-usuarios .usuarios-lista .tabela-usuarios thead {
  background: rgb(10.28, 135.648852459, 255);
}
.painel-usuarios .usuarios-lista .tabela-usuarios thead th {
  padding: 1.2rem 1rem;
  text-align: left;
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid rgb(182.2, 182.2, 182.2);
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr:hover {
  background: rgb(241.7, 248.5135245902, 255);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12, 16, 20, 0.1);
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr:last-child {
  border-bottom: none;
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr td {
  padding: 1rem;
  font-size: 1.3rem;
  color: #424242;
  vertical-align: middle;
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr td .role-badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr td .role-badge.role-1 {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr td .role-badge.role-2 {
  background: linear-gradient(135deg, #ffc107, #e0a800);
  color: #424242;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr td .role-badge.role-3 {
  background: linear-gradient(135deg, #6c757d, #5a6268);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr td .admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgb(225.4833333333, 251.5166666667, 225.4833333333);
  color: #13a113;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: 1px solid rgb(25.9666666667, 220.0333333333, 25.9666666667);
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr td .user-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgb(243.8, 243.8, 243.8);
  color: #8f8f8f;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: 1px solid rgb(165.4, 165.4, 165.4);
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr td .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 0.6rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr td .btn.editar {
  background: #007df4;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(12, 16, 20, 0.15);
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr td .btn.editar:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12, 16, 20, 0.25);
  background: rgb(0, 112.5, 219.6);
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr td .btn.apagar {
  background: #ff5252;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.15);
}
.painel-usuarios .usuarios-lista .tabela-usuarios tbody tr td .btn.apagar:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
  background: rgb(255, 48.3, 48.3);
}
.painel-usuarios .form-container {
  background: #FFFFFF;
  border-radius: 1.2rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(12, 16, 20, 0.08);
  border: 1px solid #ababab;
}
.painel-usuarios .form-container .form-usuario {
  max-width: 600px;
}
.painel-usuarios .form-container .form-usuario .form-group {
  margin-bottom: 2rem;
}
.painel-usuarios .form-container .form-usuario .form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #424242;
}
.painel-usuarios .form-container .form-usuario .form-group input,
.painel-usuarios .form-container .form-usuario .form-group select {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid rgb(165.4, 165.4, 165.4);
  border-radius: 0.8rem;
  font-size: 1.4rem;
  transition: all 0.2s ease;
  background: #FFFFFF;
}
.painel-usuarios .form-container .form-usuario .form-group input:focus,
.painel-usuarios .form-container .form-usuario .form-group select:focus {
  outline: none;
  border-color: #007df4;
  box-shadow: 0 0 0 3px rgb(68.8, 164.1893442623, 255);
}
.painel-usuarios .form-container .form-usuario .form-group input[readonly],
.painel-usuarios .form-container .form-usuario .form-group select[readonly] {
  background: rgb(249.4, 249.4, 249.4);
  color: #8f8f8f;
  cursor: not-allowed;
}
.painel-usuarios .form-container .form-usuario .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.painel-usuarios .form-container .form-usuario .form-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.painel-usuarios .form-container .form-usuario .form-actions .btn.salvar {
  background: #13a113;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}
.painel-usuarios .form-container .form-usuario .form-actions .btn.salvar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
  background: rgb(17.1, 144.9, 17.1);
}
.painel-usuarios .form-container .form-usuario .form-actions .btn.cancelar {
  background: #8f8f8f;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}
.painel-usuarios .form-container .form-usuario .form-actions .btn.cancelar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 117, 125, 0.4);
  background: rgb(128.7, 128.7, 128.7);
}
.painel-usuarios .role-info {
  background: rgb(241.7, 248.5135245902, 255);
  border-radius: 1.2rem;
  padding: 2rem;
  border-left: 4px solid #007df4;
  box-shadow: 0 4px 20px rgba(12, 16, 20, 0.08);
}
.painel-usuarios .role-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #007df4;
  margin-bottom: 1.5rem;
}
.painel-usuarios .role-info ul {
  margin: 0;
  padding-left: 2rem;
}
.painel-usuarios .role-info li {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #424242;
}
.painel-usuarios .role-info li strong {
  color: #007df4;
  font-weight: 700;
}
@media (min-width: 480px) {
  .painel-usuarios .acoes-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .painel-usuarios .tabela-usuarios {
    font-size: 1.2rem;
  }
  .painel-usuarios .tabela-usuarios thead th,
  .painel-usuarios .tabela-usuarios tbody td {
    padding: 0.8rem 0.6rem;
  }
  .painel-usuarios .form-container .form-usuario .form-actions {
    flex-direction: column;
  }
}

.header--painel {
  background-color: #000000;
  height: 60px;
  display: flex;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  position: relative;
  z-index: 9999;
  box-shadow: 0 2px 4px rgba(12, 16, 20, 0.03);
  width: 100%;
  /* Logo: forzamos tamaño del picture/img */
  /* Botón de modo oscuro */
  /* mobile icon */
  /* navegación desktop */
  /* mobile behavior: hide nav and show drawer when .is-open */
}
.header--painel .header__contenedor {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  height: 100%;
  gap: 1rem;
}
.header--painel .header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
}
.header--painel .header__logo .logo {
  display: inline-block;
  height: 44px;
}
.header--painel .header__logo .logo__picture,
.header--painel .header__logo .logo__img {
  display: block;
  max-height: 44px;
  height: 100%;
  width: auto;
  object-fit: contain;
}
.header--painel .header__logo .header__texto-painel {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  white-space: nowrap;
}
.header--painel .dark-mode-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-right: 1rem;
}
.header--painel .dark-mode-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}
.header--painel .dark-mode-toggle i {
  transition: transform 0.3s ease;
}
.header--painel .dark-mode-toggle:hover i {
  transform: scale(1.1);
}
.header--painel .mobile-menu {
  display: none;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  font-size: 24px;
  color: #FFFFFF;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.header--painel .mobile-menu img {
  height: 24px;
  display: block;
}
.header--painel .navegacion {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-left: auto;
}
.header--painel .navegacion .navegacion__enlace {
  color: #FFFFFF;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 400;
  padding: 6px 0;
  transition: color 0.18s, transform 0.18s;
}
.header--painel .navegacion .navegacion__enlace:hover {
  color: #007df4;
  transform: translateY(-1px);
}
.header--painel .navegacion .navegacion__enlace--logout {
  color: #ff5252;
  font-weight: 700;
}
@media (max-width: 480px) {
  .header--painel .mobile-menu {
    display: block;
  }
  .header--painel .navegacion {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    background-color: #000000;
    box-shadow: 0 6px 20px rgba(12, 16, 20, 0.05);
    flex-direction: column;
    padding: 0.5rem 0;
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 9999;
  }
  .header--painel .navegacion.is-open {
    display: flex;
  }
  .header--painel .navegacion .navegacion__enlace {
    padding: 0.9rem 1.1rem;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }
}

[data-theme=dark] body {
  background-color: #1a1a1a;
  color: #ffffff;
}
[data-theme=dark] .header--painel {
  background-color: #2d2d2d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
[data-theme=dark] .header--painel .header__texto-painel {
  color: #ffffff;
}
[data-theme=dark] .header--painel .navegacion__enlace {
  color: #ffffff;
}
[data-theme=dark] .header--painel .navegacion__enlace:hover {
  color: #007df4;
}
[data-theme=dark] .header--painel .navegacion__enlace--logout {
  color: #ff5252;
}
[data-theme=dark] .contenedor,
[data-theme=dark] .contenedor-principal,
[data-theme=dark] .main-content {
  background-color: #1a1a1a;
  color: #ffffff;
}
[data-theme=dark] .card,
[data-theme=dark] .panel-card,
[data-theme=dark] .content-card {
  background-color: #2d2d2d;
  border: 1px solid #404040;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}
[data-theme=dark] .table,
[data-theme=dark] table {
  background-color: #2d2d2d;
  color: #ffffff;
}
[data-theme=dark] .table th,
[data-theme=dark] table th {
  background-color: #3a3a3a;
  color: #ffffff;
  border-color: #404040;
}
[data-theme=dark] .table td,
[data-theme=dark] table td {
  border-color: #404040;
  color: #ffffff;
}
[data-theme=dark] .table tr:hover,
[data-theme=dark] table tr:hover {
  background-color: #3a3a3a;
}
[data-theme=dark] .form-group,
[data-theme=dark] .form-control,
[data-theme=dark] input,
[data-theme=dark] select,
[data-theme=dark] textarea {
  background-color: #3a3a3a;
  border: 1px solid #404040;
  color: #ffffff;
}
[data-theme=dark] .form-group::placeholder,
[data-theme=dark] .form-control::placeholder,
[data-theme=dark] input::placeholder,
[data-theme=dark] select::placeholder,
[data-theme=dark] textarea::placeholder {
  color: #808080;
}
[data-theme=dark] .form-group:focus,
[data-theme=dark] .form-control:focus,
[data-theme=dark] input:focus,
[data-theme=dark] select:focus,
[data-theme=dark] textarea:focus {
  border-color: #007df4;
  box-shadow: 0 0 0 2px rgba(0, 125, 244, 0.2);
}
[data-theme=dark] .btn.btn-primary {
  background-color: #007df4;
  border-color: #007df4;
}
[data-theme=dark] .btn.btn-primary:hover {
  background-color: rgb(0, 98.8729508197, 193);
  border-color: rgb(0, 98.8729508197, 193);
}
[data-theme=dark] .btn.btn-secondary {
  background-color: #3a3a3a;
  border-color: #404040;
  color: #ffffff;
}
[data-theme=dark] .btn.btn-secondary:hover {
  background-color: #404040;
}
[data-theme=dark] .alert.alert-success {
  background-color: rgba(19, 161, 19, 0.1);
  border-color: #13a113;
  color: #13a113;
}
[data-theme=dark] .alert.alert-danger {
  background-color: rgba(255, 82, 82, 0.1);
  border-color: #ff5252;
  color: #ff5252;
}
[data-theme=dark] .alert.alert-warning {
  background-color: rgba(255, 250, 219, 0.1);
  border-color: #fffadb;
  color: #fffadb;
}
[data-theme=dark] .nav,
[data-theme=dark] .menu {
  background-color: #2d2d2d;
}
[data-theme=dark] .nav .nav-link,
[data-theme=dark] .menu .nav-link {
  color: #ffffff;
}
[data-theme=dark] .nav .nav-link:hover,
[data-theme=dark] .menu .nav-link:hover {
  background-color: #3a3a3a;
  color: #007df4;
}
[data-theme=dark] .modal {
  background-color: #2d2d2d;
  color: #ffffff;
}
[data-theme=dark] .modal .modal-header {
  border-bottom-color: #404040;
}
[data-theme=dark] .modal .modal-footer {
  border-top-color: #404040;
}
[data-theme=dark] .pagination .page-link {
  background-color: #3a3a3a;
  border-color: #404040;
  color: #ffffff;
}
[data-theme=dark] .pagination .page-link:hover {
  background-color: #404040;
  color: #007df4;
}
[data-theme=dark] .pagination .page-item.active .page-link {
  background-color: #007df4;
  border-color: #007df4;
}
[data-theme=dark] .badge {
  background-color: #3a3a3a;
  color: #ffffff;
}
[data-theme=dark] .dropdown-menu {
  background-color: #2d2d2d;
  border-color: #404040;
}
[data-theme=dark] .dropdown-menu .dropdown-item {
  color: #ffffff;
}
[data-theme=dark] .dropdown-menu .dropdown-item:hover {
  background-color: #3a3a3a;
  color: #007df4;
}
[data-theme=dark] .dark-mode-toggle {
  background-color: #3a3a3a;
  border: 1px solid #404040;
  color: #ffffff;
}
[data-theme=dark] .dark-mode-toggle:hover {
  background-color: #404040;
}
[data-theme=dark] .painel-content,
[data-theme=dark] .main-content {
  background-color: #1a1a1a;
  color: #ffffff;
}
[data-theme=dark] .sidebar,
[data-theme=dark] .menu-lateral {
  background-color: #2d2d2d;
  border-right: 1px solid #404040;
}
[data-theme=dark] .sidebar .menu-item,
[data-theme=dark] .menu-lateral .menu-item {
  color: #ffffff;
}
[data-theme=dark] .sidebar .menu-item:hover,
[data-theme=dark] .menu-lateral .menu-item:hover {
  background-color: #3a3a3a;
  color: #007df4;
}
[data-theme=dark] .data-container,
[data-theme=dark] .stats-container {
  background-color: #2d2d2d;
  border: 1px solid #404040;
  color: #ffffff;
}
[data-theme=dark] .form-control,
[data-theme=dark] .input-group {
  background-color: #3a3a3a;
  border-color: #404040;
  color: #ffffff;
}
[data-theme=dark] .form-control:focus,
[data-theme=dark] .input-group:focus {
  border-color: #007df4;
  box-shadow: 0 0 0 2px rgba(0, 125, 244, 0.2);
}
[data-theme=dark] label,
[data-theme=dark] .form-label {
  color: #ffffff;
}
[data-theme=dark] a {
  color: #007df4;
}
[data-theme=dark] a:hover {
  color: rgb(40, 150.143442623, 255);
}
[data-theme=dark] ::-webkit-scrollbar {
  width: 8px;
}
[data-theme=dark] ::-webkit-scrollbar-track {
  background: #2d2d2d;
}
[data-theme=dark] ::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 4px;
}
[data-theme=dark] ::-webkit-scrollbar-thumb:hover {
  background: #808080;
}

/**
 * Sistema de Checklists - SCSS
 * Diseño moderno y satisfactorio con animaciones
 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
@keyframes progressFill {
  from {
    width: 0%;
  }
  to {
    width: var(--progress-width);
  }
}
.painel-checklists {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.painel-checklists .checklists-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}
.painel-checklists .checklists-header .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  border: 1px solid #e9ecef;
  background: #fff;
}
.painel-checklists .checklists-header .btn-back:hover {
  background: #f8f9fa;
  color: #4CAF50;
  border-color: #4CAF50;
  transform: translateX(-2px);
}
.painel-checklists .checklists-header .btn-back i {
  font-size: 0.9rem;
}
.painel-checklists .checklists-header h1 {
  margin: 0;
  color: #2c3e50;
  font-size: 2rem;
  font-weight: 700;
}
.painel-checklists h1 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
}
.painel-checklists .checklists-intro {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.painel-checklists .checklists-intro .intro-text {
  margin: 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.painel-checklists .checklists-intro .intro-text i {
  font-size: 1.3rem;
}
.painel-checklists .checklists-section {
  margin-bottom: 3rem;
}
.painel-checklists .checklists-section .section-title {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}
.painel-checklists .checklists-section .section-title i {
  font-size: 1.3rem;
  color: #4CAF50;
}
.painel-checklists .checklists-section .checklists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.checklist-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.checklist-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4CAF50, #2196F3);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.checklist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-color: #4CAF50;
}
.checklist-card:hover::before {
  transform: scaleX(1);
}
.checklist-card.completo {
  border-color: #4CAF50;
  background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
}
.checklist-card.completo::before {
  background: #4CAF50;
  transform: scaleX(1);
}
.checklist-card.em-andamento {
  border-color: #FF9800;
  background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
}
.checklist-card.em-andamento::before {
  background: #FF9800;
  transform: scaleX(1);
}
.checklist-card .card-header {
  margin-bottom: 1rem;
}
.checklist-card .card-header h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}
.checklist-card .card-header .card-description {
  color: #6c757d;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}
.checklist-card .card-header .creation-time {
  color: #6c757d;
  font-size: 0.85rem;
  margin: 0.5rem 0 0 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.checklist-card .card-header .creation-time i {
  color: #4CAF50;
  font-size: 0.8rem;
}
.checklist-card .card-header .intervalo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #00BCD4;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
.checklist-card .card-progress {
  margin-bottom: 1rem;
}
.checklist-card .card-progress .progress-bar {
  background: #e9ecef;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.checklist-card .card-progress .progress-bar .progress-fill {
  background: linear-gradient(90deg, #4CAF50, #2196F3);
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
  position: relative;
}
.checklist-card .card-progress .progress-bar .progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}
.checklist-card .card-progress .progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #6c757d;
}
.checklist-card .card-progress .progress-text .progress-value {
  font-weight: 600;
  color: #4CAF50;
}
.checklist-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.checklist-card .card-footer .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
}
.checklist-card .card-footer .status-badge.completo {
  background: #4CAF50;
  color: white;
}
.checklist-card .card-footer .status-badge.em-andamento {
  background: #FF9800;
  color: white;
}
.checklist-card .card-footer .status-badge:not(.completo):not(.em-andamento) {
  background: #6c757d;
  color: white;
}
.checklist-card .card-footer .time-completed {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #6c757d;
  font-size: 0.85rem;
}

.painel-checklist-executar {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.painel-checklist-executar .executar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}
.painel-checklist-executar .executar-header .header-left .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  border: 1px solid #e9ecef;
  background: #fff;
}
.painel-checklist-executar .executar-header .header-left .btn-back:hover {
  background: #f8f9fa;
  color: #4CAF50;
  border-color: #4CAF50;
  transform: translateX(-2px);
}
.painel-checklist-executar .executar-header .header-left .btn-back i {
  font-size: 0.9rem;
}
.painel-checklist-executar .executar-header .header-center {
  text-align: center;
}
.painel-checklist-executar .executar-header .header-center h1 {
  color: #2c3e50;
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
}
.painel-checklist-executar .executar-header .header-center .checklist-descricao {
  color: #6c757d;
  margin: 0;
  font-size: 1rem;
}
.painel-checklist-executar .executar-header .header-right .checklist-tipo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
}
.painel-checklist-executar .executar-header .header-right .checklist-tipo.abertura {
  background: #fff3cd;
  color: #856404;
}
.painel-checklist-executar .executar-header .header-right .checklist-tipo.fechamento {
  background: #d1ecf1;
  color: #0c5460;
}
.painel-checklist-executar .executar-header .header-right .checklist-tipo.verificacao {
  background: #d4edda;
  color: #155724;
}
.painel-checklist-executar .progresso-container {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}
.painel-checklist-executar .progresso-container .progresso-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.painel-checklist-executar .progresso-container .progresso-info .progresso-label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1.1rem;
}
.painel-checklist-executar .progresso-container .progresso-info .progresso-stats {
  color: #6c757d;
  font-size: 0.95rem;
}
.painel-checklist-executar .progresso-container .progresso-bar {
  background: #e9ecef;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.painel-checklist-executar .progresso-container .progresso-bar .progresso-fill {
  background: linear-gradient(90deg, #4CAF50, #2196F3);
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s ease;
  position: relative;
}
.painel-checklist-executar .progresso-container .progresso-bar .progresso-fill .progresso-text {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
}
.painel-checklist-executar .progresso-container .progresso-bar .progresso-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

.tarefas-container .tarefa-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.tarefas-container .tarefa-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.tarefas-container .tarefa-card.completada {
  border-color: #4CAF50;
  background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
}
.tarefas-container .tarefa-card.completada .tarefa-checkbox .checkbox-marcado {
  background: #4CAF50;
  color: white;
  animation: bounce 0.6s ease;
}
.tarefas-container .tarefa-card.bloqueada {
  opacity: 0.6;
  background: #f8f9fa;
}
.tarefas-container .tarefa-card.bloqueada .checkbox-btn {
  cursor: not-allowed;
  opacity: 0.5;
}
.tarefas-container .tarefa-card .tarefa-checkbox {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
}
.tarefas-container .tarefa-card .tarefa-checkbox .checkbox-btn {
  width: 24px;
  height: 24px;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tarefas-container .tarefa-card .tarefa-checkbox .checkbox-btn:hover:not(:disabled) {
  border-color: #4CAF50;
  background: #4CAF50;
  color: white;
  transform: scale(1.1);
}
.tarefas-container .tarefa-card .tarefa-checkbox .checkbox-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.tarefas-container .tarefa-card .tarefa-checkbox .checkbox-btn i {
  font-size: 12px;
}
.tarefas-container .tarefa-card .tarefa-checkbox .checkbox-marcado {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #4CAF50;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 0.5s ease;
}
.tarefas-container .tarefa-card .tarefa-checkbox .checkbox-marcado i {
  font-size: 12px;
}
.tarefas-container .tarefa-card .tarefa-content {
  margin-left: 3rem;
}
.tarefas-container .tarefa-card .tarefa-content .tarefa-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.tarefas-container .tarefa-card .tarefa-content .tarefa-header .tarefa-nome {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tarefas-container .tarefa-card .tarefa-content .tarefa-header .tarefa-nome .tarefa-numero {
  background: #4CAF50;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}
.tarefas-container .tarefa-card .tarefa-content .tarefa-header .tarefa-nome .badge-obrigatorio {
  background: #f44336;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
}
.tarefas-container .tarefa-card .tarefa-content .tarefa-descricao {
  color: #6c757d;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}
.tarefas-container .tarefa-card .tarefa-content .tarefa-tempo-info {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #FF9800;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.tarefas-container .tarefa-card .tarefa-content .tarefa-timer .timer-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #00BCD4;
  font-size: 0.9rem;
}
.tarefas-container .tarefa-card .tarefa-content .tarefa-timer .timer-loading i {
  animation: spin 1s linear infinite;
}
.tarefas-container .tarefa-card .tarefa-content .tarefa-timer .timer-timeout {
  font-size: 0.85rem;
  font-weight: 500;
  color: #4CAF50;
  text-align: center;
  padding: 0.5rem;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 0.5rem;
  border: 1px solid rgba(76, 175, 80, 0.2);
}
.tarefas-container .tarefa-card .tarefa-content .tarefa-observacao {
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 6px;
  border-left: 3px solid #00BCD4;
  font-size: 0.9rem;
  color: #495057;
}
.tarefas-container .tarefa-card .tarefa-actions {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
}
.tarefas-container .tarefa-card .tarefa-actions .completion-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  background: #4CAF50;
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}
.tarefas-container .tarefa-card .tarefa-actions .completion-badge .completion-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tarefas-container .tarefa-card .tarefa-actions .completion-badge .completion-main i {
  font-size: 1rem;
}
.tarefas-container .tarefa-card .tarefa-actions .completion-badge .completion-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
}
.tarefas-container .tarefa-card .tarefa-actions .completion-badge .completion-time i {
  font-size: 0.7rem;
}
.tarefas-container .tarefa-card .tarefa-actions .tempo-display {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #FF9800;
  font-size: 0.85rem;
  font-weight: 500;
}

.modal-completado {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.modal-completado .modal-content {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: slideInUp 0.5s ease;
}
.modal-completado .modal-content .modal-icone {
  font-size: 4rem;
  color: #4CAF50;
  margin-bottom: 1rem;
  animation: bounce 1s ease;
}
.modal-completado .modal-content h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 2rem;
}
.modal-completado .modal-content .modal-mensagem {
  color: #6c757d;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.modal-completado .modal-content .modal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.modal-completado .modal-content .modal-stats .stat-item {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
}
.modal-completado .modal-content .modal-stats .stat-item .stat-label {
  display: block;
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.modal-completado .modal-content .modal-stats .stat-item .stat-value {
  display: block;
  color: #4CAF50;
  font-size: 1.5rem;
  font-weight: 700;
}
.modal-completado .modal-content .modal-actions .btn-modal-voltar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #4CAF50;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.modal-completado .modal-content .modal-actions .btn-modal-voltar:hover {
  background: rgb(60.5577689243, 139.4422310757, 63.7450199203);
  transform: translateY(-2px);
}

.painel-checklists-admin {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.painel-checklists-admin .acoes-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}
.painel-checklists-admin .acoes-container .acoes-right {
  display: flex;
  gap: 1rem;
}
.painel-checklists-admin .acoes-container .acoes-right .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.painel-checklists-admin .acoes-container .acoes-right .btn.btn-calendario {
  background: #00BCD4;
  color: white;
}
.painel-checklists-admin .acoes-container .acoes-right .btn.btn-calendario:hover {
  background: rgb(0, 142.7735849057, 161);
}
.painel-checklists-admin .acoes-container .acoes-right .btn.btn-alert {
  background: #FF9800;
  color: white;
}
.painel-checklists-admin .acoes-container .acoes-right .btn.btn-alert:hover {
  background: rgb(204, 121.6, 0);
}
.painel-checklists-admin .acoes-container .acoes-right .btn.criar {
  background: #4CAF50;
  color: white;
}
.painel-checklists-admin .acoes-container .acoes-right .btn.criar:hover {
  background: rgb(60.5577689243, 139.4422310757, 63.7450199203);
}
.painel-checklists-admin .table-wrap {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.painel-checklists-admin .table-wrap .tabela-checklists {
  width: 100%;
  border-collapse: collapse;
}
.painel-checklists-admin .table-wrap .tabela-checklists th {
  background: #f8f9fa;
  color: #2c3e50;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #e9ecef;
}
.painel-checklists-admin .table-wrap .tabela-checklists td {
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  vertical-align: top;
}
.painel-checklists-admin .table-wrap .tabela-checklists tr:hover {
  background: #f8f9fa;
}
.painel-checklists-admin .table-wrap .tabela-checklists tr.inativo {
  opacity: 0.6;
}
.painel-checklists-admin .table-wrap .tabela-checklists .badge-tipo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}
.painel-checklists-admin .table-wrap .tabela-checklists .badge-tipo.abertura {
  background: #fff3cd;
  color: #856404;
}
.painel-checklists-admin .table-wrap .tabela-checklists .badge-tipo.fechamento {
  background: #d1ecf1;
  color: #0c5460;
}
.painel-checklists-admin .table-wrap .tabela-checklists .badge-tipo.verificacao {
  background: #d4edda;
  color: #155724;
}
.painel-checklists-admin .table-wrap .tabela-checklists .intervalo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #00BCD4;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}
.painel-checklists-admin .table-wrap .tabela-checklists .badge-tarefas {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #6c757d;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}
.painel-checklists-admin .table-wrap .tabela-checklists .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}
.painel-checklists-admin .table-wrap .tabela-checklists .status-badge.ativo {
  background: #4CAF50;
  color: white;
}
.painel-checklists-admin .table-wrap .tabela-checklists .status-badge.inativo {
  background: #6c757d;
  color: white;
}
.painel-checklists-admin .table-wrap .tabela-checklists .btn-group {
  display: flex;
  gap: 0.5rem;
}
.painel-checklists-admin .table-wrap .tabela-checklists .btn-group .btn {
  padding: 0.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.painel-checklists-admin .table-wrap .tabela-checklists .btn-group .btn.btn-editar {
  background: #00BCD4;
  color: white;
}
.painel-checklists-admin .table-wrap .tabela-checklists .btn-group .btn.btn-editar:hover {
  background: rgb(0, 142.7735849057, 161);
}
.painel-checklists-admin .table-wrap .tabela-checklists .btn-group .btn.btn-ocultar {
  background: #FF9800;
  color: white;
}
.painel-checklists-admin .table-wrap .tabela-checklists .btn-group .btn.btn-ocultar:hover {
  background: rgb(204, 121.6, 0);
}
.painel-checklists-admin .table-wrap .tabela-checklists .btn-group .btn.btn-mostrar {
  background: #4CAF50;
  color: white;
}
.painel-checklists-admin .table-wrap .tabela-checklists .btn-group .btn.btn-mostrar:hover {
  background: rgb(60.5577689243, 139.4422310757, 63.7450199203);
}
.painel-checklists-admin .table-wrap .tabela-checklists .btn-group .btn.btn-deletar {
  background: #f44336;
  color: white;
}
.painel-checklists-admin .table-wrap .tabela-checklists .btn-group .btn.btn-deletar:hover {
  background: rgb(234.1839622642, 27.9622641509, 12.8160377358);
}

.painel-checklists-form {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.painel-checklists-form .form-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}
.painel-checklists-form .form-card h3 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}
.painel-checklists-form .form-card .form-group {
  margin-bottom: 1.5rem;
}
.painel-checklists-form .form-card .form-group label {
  display: block;
  color: #2c3e50;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.painel-checklists-form .form-card .form-group input, .painel-checklists-form .form-card .form-group textarea, .painel-checklists-form .form-card .form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.painel-checklists-form .form-card .form-group input:focus, .painel-checklists-form .form-card .form-group textarea:focus, .painel-checklists-form .form-card .form-group select:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}
.painel-checklists-form .form-card .form-group small {
  color: #6c757d;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: block;
}
.painel-checklists-form .form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.painel-checklists-form .form-card .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.painel-checklists-form .form-card .checkbox-label input[type=checkbox] {
  width: auto;
  margin: 0;
}
.painel-checklists-form .form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
.painel-checklists-form .form-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.painel-checklists-form .form-actions .btn.btn-salvar {
  background: #4CAF50;
  color: white;
}
.painel-checklists-form .form-actions .btn.btn-salvar:hover {
  background: rgb(60.5577689243, 139.4422310757, 63.7450199203);
  transform: translateY(-2px);
}
.painel-checklists-form .form-actions .btn.btn-cancelar {
  background: #6c757d;
  color: white;
}
.painel-checklists-form .form-actions .btn.btn-cancelar:hover {
  background: rgb(84.3605150215, 91.3905579399, 97.6394849785);
}

.painel-checklist-editar {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.painel-checklist-editar .acoes-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}
.painel-checklist-editar .acoes-container .acoes-right .btn-adicionar-tarefa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.painel-checklist-editar .acoes-container .acoes-right .btn-adicionar-tarefa:hover {
  background: rgb(60.5577689243, 139.4422310757, 63.7450199203);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}
.painel-checklist-editar .checklist-info {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}
.painel-checklist-editar .checklist-info .info-card h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.painel-checklist-editar .checklist-info .info-card p {
  color: #6c757d;
  margin-bottom: 1rem;
}
.painel-checklist-editar .checklist-info .info-card .info-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.painel-checklist-editar .checklist-info .info-card .info-badges .badge-tipo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}
.painel-checklist-editar .checklist-info .info-card .info-badges .badge-tipo.abertura {
  background: #fff3cd;
  color: #856404;
}
.painel-checklist-editar .checklist-info .info-card .info-badges .badge-tipo.fechamento {
  background: #d1ecf1;
  color: #0c5460;
}
.painel-checklist-editar .checklist-info .info-card .info-badges .badge-tipo.verificacao {
  background: #d4edda;
  color: #155724;
}
.painel-checklist-editar .checklist-info .info-card .info-badges .intervalo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #00BCD4;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}
.painel-checklist-editar .tarefas-container {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.painel-checklist-editar .tarefas-container h3 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.painel-checklist-editar .tarefas-container h3::before {
  content: "📋";
  font-size: 1.2rem;
}
.painel-checklist-editar .tarefas-container .tarefas-lista {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item:hover {
  border-color: #4CAF50;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.1);
  transform: translateY(-2px);
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-drag-handle {
  color: #6c757d;
  cursor: grab;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-drag-handle:hover {
  background: #e9ecef;
  color: #4CAF50;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-drag-handle:active {
  cursor: grabbing;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-content {
  flex: 1;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-content .tarefa-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-content .tarefa-header .tarefa-ordem {
  background: #4CAF50;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin-right: 1rem;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-content .tarefa-header h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-content .tarefa-header .tarefa-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-content .tarefa-header .tarefa-badges .badge-obrigatorio {
  background: #f44336;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-content .tarefa-header .tarefa-badges .badge-tempo {
  background: #FF9800;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-content .tarefa-descricao {
  color: #6c757d;
  margin: 0;
  line-height: 1.4;
  font-size: 0.95rem;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-actions {
  display: flex;
  gap: 0.5rem;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-actions .btn {
  padding: 0.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-actions .btn.btn-editar-tarefa {
  background: #00BCD4;
  color: white;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-actions .btn.btn-editar-tarefa:hover {
  background: rgb(0, 142.7735849057, 161);
  transform: scale(1.1);
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-actions .btn.btn-deletar-tarefa {
  background: #f44336;
  color: white;
}
.painel-checklist-editar .tarefas-container .tarefas-lista .tarefa-item .tarefa-actions .btn.btn-deletar-tarefa:hover {
  background: rgb(234.1839622642, 27.9622641509, 12.8160377358);
  transform: scale(1.1);
}
.painel-checklist-editar .tarefas-container .empty-tarefas {
  text-align: center;
  padding: 3rem 2rem;
  color: #6c757d;
}
.painel-checklist-editar .tarefas-container .empty-tarefas i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}
.painel-checklist-editar .tarefas-container .empty-tarefas p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.painel-checklist-editar .tarefas-container .empty-tarefas .btn-adicionar-tarefa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.painel-checklist-editar .tarefas-container .empty-tarefas .btn-adicionar-tarefa:hover {
  background: rgb(60.5577689243, 139.4422310757, 63.7450199203);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.modal-tarefa {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}
.modal-tarefa .modal-content {
  background: white;
  border-radius: 16px;
  padding: 0;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: slideInUp 0.3s ease;
}
.modal-tarefa .modal-content .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid #e9ecef;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}
.modal-tarefa .modal-content .modal-header h3 {
  color: #2c3e50;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}
.modal-tarefa .modal-content .modal-header .modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6c757d;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.modal-tarefa .modal-content .modal-header .modal-close:hover {
  background: #e9ecef;
  color: #f44336;
}
.modal-tarefa .modal-content form {
  padding: 2rem;
}
.modal-tarefa .modal-content form .form-group {
  margin-bottom: 1.5rem;
}
.modal-tarefa .modal-content form .form-group label {
  display: block;
  color: #2c3e50;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.modal-tarefa .modal-content form .form-group input, .modal-tarefa .modal-content form .form-group textarea, .modal-tarefa .modal-content form .form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}
.modal-tarefa .modal-content form .form-group input:focus, .modal-tarefa .modal-content form .form-group textarea:focus, .modal-tarefa .modal-content form .form-group select:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}
.modal-tarefa .modal-content form .form-group input::placeholder, .modal-tarefa .modal-content form .form-group textarea::placeholder, .modal-tarefa .modal-content form .form-group select::placeholder {
  color: #adb5bd;
}
.modal-tarefa .modal-content form .form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.modal-tarefa .modal-content form .form-group small {
  color: #6c757d;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: block;
}
.modal-tarefa .modal-content form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.modal-tarefa .modal-content form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.modal-tarefa .modal-content form .checkbox-label:hover {
  background: #f8f9fa;
}
.modal-tarefa .modal-content form .checkbox-label input[type=checkbox] {
  width: auto;
  margin: 0;
  transform: scale(1.2);
}
.modal-tarefa .modal-content form .checkbox-label span {
  font-weight: 500;
  color: #2c3e50;
}
.modal-tarefa .modal-content form .modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e9ecef;
}
.modal-tarefa .modal-content form .modal-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.modal-tarefa .modal-content form .modal-actions .btn.btn-salvar {
  background: #4CAF50;
  color: white;
}
.modal-tarefa .modal-content form .modal-actions .btn.btn-salvar:hover {
  background: rgb(60.5577689243, 139.4422310757, 63.7450199203);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}
.modal-tarefa .modal-content form .modal-actions .btn.btn-cancelar {
  background: #6c757d;
  color: white;
}
.modal-tarefa .modal-content form .modal-actions .btn.btn-cancelar:hover {
  background: rgb(84.3605150215, 91.3905579399, 97.6394849785);
}

.painel-checklist-calendario {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.painel-checklist-calendario .calendario-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}
.painel-checklist-calendario .calendario-header .mes-navegacao {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.painel-checklist-calendario .calendario-header .mes-navegacao h2 {
  color: #2c3e50;
  margin: 0;
  font-size: 1.5rem;
}
.painel-checklist-calendario .calendario-header .mes-navegacao .btn-mes {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4CAF50;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}
.painel-checklist-calendario .calendario-header .mes-navegacao .btn-mes:hover {
  background: rgb(60.5577689243, 139.4422310757, 63.7450199203);
  transform: scale(1.1);
}
.painel-checklist-calendario .calendario-header .filtro-form select {
  padding: 0.5rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  background: white;
  cursor: pointer;
}
.painel-checklist-calendario .estatisticas-mes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.painel-checklist-calendario .estatisticas-mes .stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.painel-checklist-calendario .estatisticas-mes .stat-card .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}
.painel-checklist-calendario .estatisticas-mes .stat-card .stat-icon:nth-child(1) {
  background: #4CAF50;
}
.painel-checklist-calendario .estatisticas-mes .stat-card .stat-icon:nth-child(2) {
  background: #4CAF50;
}
.painel-checklist-calendario .estatisticas-mes .stat-card .stat-icon:nth-child(3) {
  background: #f44336;
}
.painel-checklist-calendario .estatisticas-mes .stat-card .stat-icon:nth-child(4) {
  background: #00BCD4;
}
.painel-checklist-calendario .estatisticas-mes .stat-card .stat-content .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
}
.painel-checklist-calendario .estatisticas-mes .stat-card .stat-content .stat-label {
  color: #6c757d;
  font-size: 0.9rem;
}
.painel-checklist-calendario .calendario-container {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-header-dias {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f8f9fa;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-header-dias .dia-header {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: #2c3e50;
  border-right: 1px solid #e9ecef;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-header-dias .dia-header:last-child {
  border-right: none;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-vazio {
  min-height: 120px;
  border-right: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell {
  min-height: 120px;
  padding: 1rem;
  border-right: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  position: relative;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell:last-child {
  border-right: none;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell.hoje {
  background: #fff3cd;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-numero {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-execucoes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-execucoes .execucao-usuario {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  border-radius: 6px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  cursor: pointer;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-execucoes .execucao-usuario.clickeable:hover {
  background: #e9ecef;
  border-color: #4CAF50;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-execucoes .execucao-usuario .usuario-info {
  flex: 1;
  min-width: 0;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-execucoes .execucao-usuario .usuario-info .usuario-nome {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2c3e50;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-execucoes .execucao-usuario .usuario-info .usuario-stats {
  font-size: 0.7rem;
  color: #6c757d;
  font-weight: 500;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-execucoes .execucao-usuario .execucao-status {
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-execucoes .execucao-usuario .execucao-status i {
  font-size: 1rem;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-execucoes .execucao-usuario .execucao-status .status-completo {
  color: #4CAF50;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-execucoes .execucao-usuario .execucao-status .status-em-andamento {
  color: #FF9800;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-execucoes .execucao-usuario .execucao-status .status-incompleto {
  color: #f44336;
}
.painel-checklist-calendario .calendario-container .calendario-grid .calendario-dias .dia-cell .dia-vazio-execucoes {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 0.8rem;
}
.painel-checklist-calendario .calendario-legenda {
  margin-top: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.painel-checklist-calendario .calendario-legenda h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}
.painel-checklist-calendario .calendario-legenda .legenda-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.painel-checklist-calendario .calendario-legenda .legenda-items .legenda-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.painel-checklist-calendario .calendario-legenda .legenda-items .legenda-item i {
  font-size: 1.2rem;
}
.painel-checklist-calendario .calendario-legenda .legenda-items .legenda-item i.status-completo {
  color: #4CAF50;
}
.painel-checklist-calendario .calendario-legenda .legenda-items .legenda-item i.status-em-andamento {
  color: #FF9800;
}
.painel-checklist-calendario .calendario-legenda .legenda-items .legenda-item i.status-incompleto {
  color: #f44336;
}

.painel-checklist-suspeitas {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.painel-checklist-suspeitas .suspeitas-intro {
  margin-bottom: 2rem;
}
.painel-checklist-suspeitas .suspeitas-intro .alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid;
}
.painel-checklist-suspeitas .suspeitas-intro .alert.alert-info {
  background: #d1ecf1;
  border-color: #00BCD4;
  color: #0c5460;
}
.painel-checklist-suspeitas .estatisticas-suspeitas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.painel-checklist-suspeitas .estatisticas-suspeitas .stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.painel-checklist-suspeitas .estatisticas-suspeitas .stat-card .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  background: #FF9800;
}
.painel-checklist-suspeitas .estatisticas-suspeitas .stat-card .stat-content .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
}
.painel-checklist-suspeitas .estatisticas-suspeitas .stat-card .stat-content .stat-label {
  color: #6c757d;
  font-size: 0.9rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6c757d;
}
.empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}
.empty-state h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}
.empty-state p {
  margin-bottom: 2rem;
}
.empty-state .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.empty-state .btn:hover {
  background: rgb(60.5577689243, 139.4422310757, 63.7450199203);
  transform: translateY(-2px);
}

.modal-funcionario {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 2rem;
}
.modal-funcionario .modal-content {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.modal-funcionario .modal-content .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}
.modal-funcionario .modal-content .modal-header h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.5rem;
}
.modal-funcionario .modal-content .modal-header .btn-fechar {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6c757d;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.modal-funcionario .modal-content .modal-header .btn-fechar:hover {
  background: #f8f9fa;
  color: #2c3e50;
}
.modal-funcionario .modal-content .modal-body {
  padding: 1.5rem;
}
.modal-funcionario .modal-content .modal-body .funcionario-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}
.modal-funcionario .modal-content .modal-body .funcionario-info .info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.modal-funcionario .modal-content .modal-body .funcionario-info .info-item .info-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}
.modal-funcionario .modal-content .modal-body .funcionario-info .info-item .info-value {
  font-size: 1.1rem;
  color: #2c3e50;
  font-weight: 600;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .loading {
  text-align: center;
  padding: 2rem;
  color: #6c757d;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .loading i {
  margin-right: 0.5rem;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .erro {
  text-align: center;
  padding: 2rem;
  color: #f44336;
  background: #f8d7da;
  border-radius: 8px;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .checklist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .checklist-header .checklist-nome {
  font-weight: 600;
  color: #2c3e50;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .checklist-header .checklist-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .checklist-header .checklist-status.completo {
  background: #d4edda;
  color: #155724;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .checklist-header .checklist-status.em-andamento {
  background: #fff3cd;
  color: #856404;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .checklist-header .checklist-status.incompleto {
  background: #f8d7da;
  color: #721c24;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .checklist-header .checklist-status.nao-iniciada {
  background: #d1ecf1;
  color: #0c5460;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .tarefas-lista .tarefa-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8f9fa;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .tarefas-lista .tarefa-item:last-child {
  border-bottom: none;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .tarefas-lista .tarefa-item .tarefa-status {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .tarefas-lista .tarefa-item .tarefa-status.completa {
  background: #4CAF50;
  color: white;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .tarefas-lista .tarefa-item .tarefa-status.pendente {
  background: #6c757d;
  color: white;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .tarefas-lista .tarefa-item .tarefa-status.nao-iniciada {
  background: #6c757d;
  color: white;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .tarefas-lista .tarefa-item .tarefa-nome {
  flex: 1;
  font-size: 0.9rem;
  color: #2c3e50;
}
.modal-funcionario .modal-content .modal-body .checklists-detalhes .checklist-item .tarefas-lista .tarefa-item .tarefa-tempo {
  font-size: 0.8rem;
  color: #6c757d;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .painel-checklists,
  .painel-checklist-executar,
  .painel-checklists-admin,
  .painel-checklist-calendario,
  .painel-checklist-suspeitas {
    padding: 1rem;
  }
  .checklists-grid {
    grid-template-columns: 1fr !important;
  }
  .calendario-dias {
    font-size: 0.8rem;
  }
  .form-row {
    grid-template-columns: 1fr !important;
  }
  .estatisticas-mes,
  .estatisticas-suspeitas {
    grid-template-columns: 1fr !important;
  }
}
.ejecuciones-diarias-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: white;
}
.ejecuciones-diarias-container .ejecuciones-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.ejecuciones-diarias-container .ejecuciones-info .ejecuciones-label {
  font-weight: 600;
  font-size: 1.1rem;
}
.ejecuciones-diarias-container .ejecuciones-info .ejecuciones-stats {
  font-weight: 700;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}
.ejecuciones-diarias-container .ejecuciones-bar {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  height: 8px;
  overflow: hidden;
  position: relative;
}
.ejecuciones-diarias-container .ejecuciones-bar .ejecuciones-fill {
  background: linear-gradient(90deg, #4CAF50 0%, #8BC34A 100%);
  height: 100%;
  border-radius: 20px;
  transition: width 0.3s ease;
  position: relative;
}
.ejecuciones-diarias-container .ejecuciones-bar .ejecuciones-fill .ejecuciones-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.checklist-message-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}
.checklist-message-info .fa {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.painel-checklist-bloqueado {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.painel-checklist-bloqueado .bloqueado-container {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
  width: 100%;
  animation: slideInUp 0.5s ease;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-header .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  border: 1px solid #e9ecef;
  background: #fff;
  margin-bottom: 1rem;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-header .btn-back:hover {
  background: #f8f9fa;
  color: #4CAF50;
  border-color: #4CAF50;
  transform: translateX(-2px);
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-header .btn-back i {
  font-size: 0.9rem;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-header h1 {
  color: #2c3e50;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-icon {
  font-size: 4rem;
  color: #FF9800;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-message {
  margin-bottom: 2rem;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-message h2 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-message p {
  color: #6c757d;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-info .info-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-info .info-card:hover {
  border-color: #4CAF50;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.1);
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-info .info-card .info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #4CAF50;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-info .info-card .info-content {
  text-align: center;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-info .info-card .info-content .info-label {
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-info .info-card .info-content .info-value {
  color: #2c3e50;
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-progress {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 2px solid #e9ecef;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-progress .progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #2c3e50;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-progress .progress-label #progreso-texto {
  color: #4CAF50;
  font-size: 1.1rem;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-progress .progress-bar {
  background: #e9ecef;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-progress .progress-bar .progress-fill {
  background: linear-gradient(90deg, #4CAF50, #2196F3);
  height: 100%;
  border-radius: 6px;
  transition: width 0.5s ease;
  position: relative;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-progress .progress-bar .progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-actions .btn-refresh, .painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-actions .btn-voltar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-actions .btn-refresh.btn-refresh, .painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-actions .btn-voltar.btn-refresh {
  background: #4CAF50;
  color: white;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-actions .btn-refresh.btn-refresh:hover, .painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-actions .btn-voltar.btn-refresh:hover {
  background: rgb(60.5577689243, 139.4422310757, 63.7450199203);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-actions .btn-refresh.btn-voltar, .painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-actions .btn-voltar.btn-voltar {
  background: #6c757d;
  color: white;
}
.painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-actions .btn-refresh.btn-voltar:hover, .painel-checklist-bloqueado .bloqueado-container .bloqueado-content .bloqueado-actions .btn-voltar.btn-voltar:hover {
  background: rgb(84.3605150215, 91.3905579399, 97.6394849785);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .painel-checklist-bloqueado {
    padding: 1rem;
  }
  .painel-checklist-bloqueado .bloqueado-container {
    padding: 2rem;
  }
  .painel-checklist-bloqueado .bloqueado-container .bloqueado-info {
    grid-template-columns: 1fr !important;
  }
  .painel-checklist-bloqueado .bloqueado-container .bloqueado-actions {
    flex-direction: column;
  }
  .painel-checklist-bloqueado .bloqueado-container .bloqueado-actions .btn-refresh, .painel-checklist-bloqueado .bloqueado-container .bloqueado-actions .btn-voltar {
    width: 100%;
    justify-content: center;
  }
}
.checklist-edit-form {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}
.checklist-edit-form .form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}
.checklist-edit-form .form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.checklist-edit-form .form-section h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.checklist-edit-form .form-section h3 i {
  color: #4CAF50;
  font-size: 1.1rem;
}
.checklist-edit-form .form-section .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.checklist-edit-form .form-section .form-grid .form-group {
  display: flex;
  flex-direction: column;
}
.checklist-edit-form .form-section .form-grid .form-group label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.checklist-edit-form .form-section .form-grid .form-group .form-control {
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
}
.checklist-edit-form .form-section .form-grid .form-group .form-control:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}
.checklist-edit-form .form-section .form-grid .form-group .form-control:hover {
  border-color: #ced4da;
}
.checklist-edit-form .form-section .form-grid .form-group textarea.form-control {
  resize: vertical;
  min-height: 80px;
}
.checklist-edit-form .form-section .form-grid .form-group .form-text {
  color: #6c757d;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  font-style: italic;
}
.checklist-edit-form .form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
  margin-top: 1.5rem;
}
.checklist-edit-form .form-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.checklist-edit-form .form-actions .btn.btn-primary {
  background: #4CAF50;
  color: white;
}
.checklist-edit-form .form-actions .btn.btn-primary:hover {
  background: rgb(60.5577689243, 139.4422310757, 63.7450199203);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}
.checklist-edit-form .form-actions .btn.btn-secondary {
  background: #6c757d;
  color: white;
}
.checklist-edit-form .form-actions .btn.btn-secondary:hover {
  background: rgb(84.3605150215, 91.3905579399, 97.6394849785);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .checklist-edit-form {
    padding: 1.5rem;
  }
  .checklist-edit-form .form-section .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .checklist-edit-form .form-actions {
    flex-direction: column;
  }
  .checklist-edit-form .form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
.tarefas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}
.tarefas-header h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
}
.tarefas-header .tarefas-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.tarefas-header .btn-adicionar-tarefa, .tarefas-header .btn-corrigir-ordem {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
}
.tarefas-header .btn-adicionar-tarefa i, .tarefas-header .btn-corrigir-ordem i {
  font-size: 0.9rem;
}
.tarefas-header .btn-adicionar-tarefa {
  background: #4CAF50;
  color: white;
}
.tarefas-header .btn-adicionar-tarefa:hover {
  background: rgb(60.5577689243, 139.4422310757, 63.7450199203);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}
.tarefas-header .btn-corrigir-ordem {
  background: #ffc107;
  color: #212529;
  border: 1px solid #ffc107;
}
.tarefas-header .btn-corrigir-ordem:hover {
  background: rgb(211, 158.25, 0);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

@media (max-width: 768px) {
  .tarefas-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .tarefas-header .tarefas-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .tarefas-header .btn-adicionar-tarefa, .tarefas-header .btn-corrigir-ordem {
    width: 100%;
    justify-content: center;
  }
}
.treinamento-container {
  width: min(90%, 140rem);
  margin: 0 auto;
  padding: 2rem 0;
}

.treinamento-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
}
.treinamento-header h1 {
  margin: 0;
  color: #1f2937;
  font-size: 2rem;
  font-weight: 700;
}

.treinamento-sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.treinamento-section {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f1f5f9;
}
.section-header h2 {
  margin: 0;
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-header h2 i {
  color: #3b82f6;
  font-size: 1.75rem;
}
.section-header .count {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}
.empty-state i {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: #d1d5db;
}
.empty-state p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.archivos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.archivo-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.archivo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.archivo-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-8px) scale(1.02);
}
.archivo-card:hover::before {
  opacity: 1;
}

.archivo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border-radius: 1rem;
  font-size: 1.75rem;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}
.archivo-card:hover .archivo-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 15px -3px rgba(59, 130, 246, 0.4);
}

.archivo-info {
  flex: 1;
}
.archivo-info h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}
.archivo-info h3 a {
  color: #1f2937;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}
.archivo-info h3 a:hover {
  color: #3b82f6;
  transform: translateX(4px);
}
.archivo-info .archivo-desc {
  margin: 0 0 1.25rem 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archivo-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}
.archivo-meta .archivo-size,
.archivo-meta .archivo-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: #f1f5f9;
  border-radius: 0.5rem;
}

.archivo-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.archivo-actions .btn {
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.archivo-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.archivo-actions .btn.btn-outline {
  border: 2px solid #e2e8f0;
  color: #64748b;
}
.archivo-actions .btn.btn-outline:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  background: #eff6ff;
}
.archivo-actions .btn.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: none;
  color: white;
}
.archivo-actions .btn.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.subir-container {
  width: min(90%, 140rem);
  margin: 0 auto;
  padding: 2rem 0;
  max-width: 600px;
}

.subir-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
}
.subir-header h1 {
  margin: 0;
  color: #1f2937;
}

.subir-form {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.file-upload {
  position: relative;
  display: inline-block;
  width: 100%;
}
.file-upload input[type=file] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.file-upload .file-upload-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  border: 2px dashed #d1d5db;
  border-radius: 0.5rem;
  background: #f9fafb;
  color: #6b7280;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}
.file-upload .file-upload-display:hover {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #3b82f6;
}

.file-info {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: #f3f4f6;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
.file-info .file-name {
  display: block;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 0.25rem;
}
.file-info .file-size {
  color: #6b7280;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.help-section {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.help-section h3 {
  margin: 0 0 1rem 0;
  color: #1f2937;
  font-size: 1rem;
}
.help-section .formatos {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.help-section .formato-item {
  font-size: 0.875rem;
  color: #6b7280;
}
.help-section .formato-item strong {
  color: #374151;
}

.ver-archivo-container {
  width: min(90%, 140rem);
  margin: 0 auto;
  padding: 2rem 0;
}

.ver-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
}
.ver-header h1 {
  margin: 0;
  color: #1f2937;
}

.ver-actions {
  display: flex;
  gap: 1rem;
}

.archivo-info {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.archivo-info .info-item {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.archivo-info .info-item:last-child {
  margin-bottom: 0;
}
.archivo-info .info-item strong {
  color: #374151;
  margin-right: 0.5rem;
}

.archivo-contenido {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.imagen-container {
  text-align: center;
}
.imagen-container .imagen-archivo {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-container {
  text-align: center;
}
.video-container .video-archivo {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pdf-container .pdf-iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.archivo-generico {
  text-align: center;
  padding: 3rem 1rem;
}
.archivo-generico .archivo-icon-large {
  font-size: 4rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}
.archivo-generico p {
  color: #6b7280;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .treinamento-header,
  .subir-header,
  .ver-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .archivos-grid {
    grid-template-columns: 1fr;
  }
  .form-actions {
    flex-direction: column;
  }
  .ver-actions {
    flex-direction: column;
  }
}
.login h2 {
  /* título de la página de login */
  text-align: center;
  font-size: clamp(3rem, 2vw + 0.5rem, 6rem);
}
.login p {
  /* subtítulo / instrucción */
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(1.2rem, 2vw + 0.5rem, 1.6rem);
}
.login form.formulario {
  width: min(70%, 80rem);
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 3px solid #000000;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.login form.formulario fieldset {
  /* grupo de campos */
  width: min(90%, 80rem);
  margin: 0 auto;
  margin-bottom: 1rem;
  margin-top: 2rem;
  border: none;
}
@media (min-width: 768px) {
  .login form.formulario fieldset {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }
}
.login form.formulario fieldset legend {
  /* "Email e Senha" */
  margin: 0 auto 1rem auto;
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
}
.login form.formulario fieldset .campo label {
  /* etiquetas de campos */
  display: block;
  font-family: "Cinzel", serif;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.login form.formulario fieldset .campo input {
  /* estilos comunes a todos los inputs */
  width: 100%;
  padding: 1rem;
  font-size: 1.6rem;
  border: 2px solid #000000;
  border-radius: 1rem;
  font-family: "Cinzel", serif;
}
.login form.formulario fieldset .campo input:focus {
  outline: none;
  border-color: rgb(191.6538461538, 156.8076923077, 49.9461538462);
  box-shadow: 0 0 5px rgb(191.6538461538, 156.8076923077, 49.9461538462);
}
@media (min-width: 768px) {
  .login form.formulario fieldset .campo.esqueci {
    grid-column: span 2;
  }
}
.login form.formulario fieldset .novidades-receber {
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .login form.formulario fieldset .novidades-receber {
    margin-top: auto;
    margin-bottom: 0.5rem;
  }
}
.login form.formulario fieldset .novidades-receber input[type=checkbox] {
  cursor: pointer;
}
.login form.formulario input.botao {
  background-color: #000000;
  padding: 1.5rem 4rem;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  border: none;
  transition-property: background-color;
  transition-duration: 0.3s;
  text-align: center;
  width: 100%;
  display: inline-block;
  border-radius: 1.5rem;
  width: min(40%, 60rem);
  margin: 0 auto;
  display: block;
  border: #000000 solid 2px;
}
.login form.formulario input.botao:hover {
  background-color: #FFFFFF;
  color: #000000;
  cursor: pointer;
}
.login form.formulario input.botao:hover {
  /* hover */
  cursor: pointer;
}
.login form.formulario input.botao:disabled {
  /* disabled */
}
.login form.formulario .opcoes {
  /* contenedor de links "¿No tienes una cuenta? Regístrate" y "¿Olvidaste tu contraseña?" */
  margin: 2rem auto;
  text-align: center;
  display: block;
}
@media (min-width: 768px) {
  .login form.formulario .opcoes {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
}
.login form.formulario .opcoes a {
  display: block;
  font-size: clamp(1rem, 2vw + 0.5rem, 1.4rem);
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .login form.formulario .opcoes a {
    margin: 3rem;
    margin-top: 1rem;
  }
}
.login form.formulario .opcoes a:hover {
  text-decoration: underline;
}
.login form.formulario:hover {
  /* hover del formulario */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  transform: scale(1.03);
}
.login form.formulario:hover fieldset {
  /* grupo de campos */
}
.login form.formulario:hover fieldset legend {
  /* "Email e Senha" */
}
.login form.formulario:hover fieldset label {
  /* etiquetas de campos */
}
.login form.formulario:hover fieldset input {
  /* estilos comunes a todos los inputs */
}
.token-conteiner h1 {
  font-size: clamp(2.4rem, 2vw + 0.5rem, 3.6rem);
  text-align: center;
  margin-bottom: 2rem;
}
.token-conteiner .token {
  width: min(90%, 140rem);
  margin: 0 auto;
  margin-top: 5rem;
  margin-bottom: 5rem;
  padding: 2rem;
  background-color: #FFFFFF;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  max-width: 50rem;
}
.token-conteiner .token h2 {
  font-size: clamp(2.4rem, 2vw + 0.5rem, 3.6rem);
  text-align: center;
}
.token-conteiner .token .formulario {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}
.token-conteiner .token .formulario input {
  text-align: center;
  width: 100%;
  min-height: 6rem;
  height: 10vh;
  max-height: 8rem;
  padding: 1rem;
  font-size: 2.4rem;
  border: 1px solid #000000;
  border-radius: 0.5rem;
  font-family: "Montserrat", sans-serif;
}
.token-conteiner .token .formulario input:focus {
  outline: none;
  border-color: #d4b65a;
  box-shadow: 0 0 5px #d4b65a;
}
.token-conteiner .token .formulario input::placeholder {
  text-align: center;
  text-transform: uppercase;
}
.token-conteiner .token .formulario .boton {
  font-family: "Cinzel", serif;
  width: 80%;
  background-color: #000000;
  color: #FFFFFF;
  padding: 1rem;
  font-size: 1.6rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.token-conteiner .token .formulario .boton:hover {
  background-color: black;
}
.token-conteiner .token .formulario .opcoes {
  /* contenedor de links "¿No tienes una cuenta? Regístrate" y "¿Olvidaste tu contraseña?" */
  margin: 2rem auto;
  text-align: center;
  display: block;
}
@media (min-width: 768px) {
  .token-conteiner .token .formulario .opcoes {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
}
.token-conteiner .token .formulario .opcoes a {
  display: block;
  font-size: clamp(1rem, 2vw + 0.5rem, 1.4rem);
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .token-conteiner .token .formulario .opcoes a {
    margin: 3rem;
    margin-top: 1rem;
  }
}
.token-conteiner .token .formulario .opcoes a:hover {
  text-decoration: underline;
}
/*# sourceMappingURL=app.css.map */
