/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

 .linha-inativa {
  color: gray !important;
  opacity: 0.5;
}

.text-danger {
  color: red;
  font-style: italic;
}

.bg-danger {
  background-color: #F44336;
  border-color: #F44336;
  color: #fff;
}

.bg-success {
  background-color: #4CAF50;
  border-color: #4CAF50;
  color: #fff;
}

.bg-warning {
  background-color: #FF9800;
  border-color: #FF9800;
  color: #fff;
}

.bg-muted {
  background-color: #9E9E9E;
  border-color: #9E9E9E;
  color: #fff;
}

.label {
  display: inline-block;
  font-weight: 500;
  padding: 2px 5px 1px 5px;
  line-height: 1.5384616;
  border: 1px solid transparent;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1px;
  border-radius: 2px;
}

.tabela-csv {
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  margin: 1rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tabela-csv th,
.tabela-csv td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.tabela-csv th {
  background-color: #f4f6f9;
  font-weight: 600;
  color: #1e293b;
  width: 30%;
}

.tabela-csv tr:nth-child(even) td {
  background-color: #f9fafb;
}

.tabela-csv tr:hover td {
  background-color: #f1f5f9;
}

.text-muted {
  color: #6c757d;
  font-style: italic;
}

.tabela-csv td {
  max-height: 300px;
  overflow-y: auto;
  display: block; /* cuidado: pode quebrar layout da tabela, use com wrapper */
}

.scrollable-list {
  max-height: 250px;
  overflow-y: auto;
  padding-right: 5px;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
}

.loading-overlay[hidden] {
  display: none;
}

.loading-overlay__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: min(92vw, 380px);
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  color: #1e293b;
  font-weight: 600;
}

.loading-overlay__title {
  font-size: 1rem;
  text-align: center;
}

.loading-steps {
  width: 100%;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.loading-steps__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.loading-steps__item::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  flex: 0 0 auto;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
}

.loading-steps__item.is-active {
  color: #1d4ed8;
}

.loading-steps__item.is-active::before {
  border-color: #3b82f6;
  background: #3b82f6;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.16);
}

.loading-steps__item.is-complete {
  color: #0f766e;
}

.loading-steps__item.is-complete::before {
  border-color: #14b8a6;
  background: #14b8a6;
}

.loading-spinner {
  width: 3.25em;
  transform-origin: center;
  animation: rotate4 2s linear infinite;
}

.loading-spinner circle {
  fill: none;
  stroke: hsl(214, 97%, 59%);
  stroke-width: 2;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash4 1.5s ease-in-out infinite;
}

@keyframes rotate4 {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash4 {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dashoffset: -125px;
  }
}

.bg-success-subtle {
  background-color: #d1e7dd;
  border-color: #badbcc;
  color: #0f5132;
}

.bg-warning-subtle {
  background-color: #fff3cd;
  border-color: #ffecb5;
  color: #664d03;
}
