/*
Theme Name: Pares Bootstrap
Theme URI: https://www.paressaude.com.br/
Author: Codex
Description: Tema WordPress Bootstrap para o site público da Pares Saúde.
Version: 1.0.0
Text Domain: pares-bootstrap
*/

:root {
  --pares-blue: #217ba7;
  --pares-blue-dark: #155d80;
  --pares-green: #69a83b;
  --pares-ink: #23313b;
  --pares-muted: #6b7a86;
  --pares-line: #dfe8ee;
  --pares-bg: #f4f8fa;
}

html {
  min-height: 100%;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  color: var(--pares-ink);
  font-family: "Open Sans", Arial, sans-serif;
  background: #fff;
  padding-top: 76px;
}

body > main {
  width: 100%;
  flex: 1 0 auto;
}

body.logged-in {
  padding-top: 0;
}

a {
  color: var(--pares-blue);
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--pares-line);
  box-shadow: 0 8px 22px rgba(24, 67, 88, 0.08);
}

.brand-logo {
  width: 220px;
  max-width: 58vw;
  height: auto;
}

.navbar .nav-link {
  color: var(--pares-ink);
  font-weight: 700;
  font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--pares-blue);
}

.restricted-button {
  border-color: var(--pares-blue);
  color: var(--pares-blue);
  font-weight: 700;
}

.restricted-button:hover {
  background: var(--pares-blue);
  color: #fff;
}

.hero-carousel img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.quick-links {
  margin: 28px 0;
  padding: 22px;
  background: var(--pares-bg);
  border: 1px solid var(--pares-line);
  border-radius: 8px;
}

.quick-links a {
  display: block;
  padding: 7px 0;
  color: var(--pares-blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.quick-links a:hover {
  color: var(--pares-green);
}

.section-title {
  color: var(--pares-blue-dark);
  font-weight: 800;
  margin-bottom: 20px;
}

.home-card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--pares-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(21, 93, 128, 0.08);
}

.home-card img,
.team-card img {
  width: 154px;
  height: 154px;
  object-fit: cover;
  border: 7px solid #fff;
  box-shadow: 0 0 0 1px var(--pares-line), 0 12px 24px rgba(33, 123, 167, 0.16);
}

.btn-pares {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--pares-blue);
  --bs-btn-border-color: var(--pares-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--pares-blue-dark);
  --bs-btn-hover-border-color: var(--pares-blue-dark);
  font-weight: 700;
}

.partners {
  padding: 44px 0;
  background: var(--pares-bg);
}

.partner-logo {
  max-height: 72px;
  max-width: 160px;
  object-fit: contain;
  filter: saturate(0.95);
}

.page-hero {
  padding: 44px 0 24px;
  background: linear-gradient(180deg, #f7fbfd 0%, #fff 100%);
  border-bottom: 1px solid var(--pares-line);
}

.content-section {
  padding: 46px 0;
}

.content-section p,
.content-section li {
  color: #3f4f5b;
  line-height: 1.75;
}

.feature-panel {
  padding: 24px;
  border-left: 4px solid var(--pares-green);
  background: var(--pares-bg);
  border-radius: 8px;
}

.service-list li {
  margin-bottom: 10px;
}

.download-list {
  display: grid;
  gap: 10px;
}

.download-item,
.page-content-area a {
  display: block;
  padding: 13px 16px;
  color: var(--pares-blue-dark);
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  background: var(--pares-bg);
  border-left: 4px solid var(--pares-green);
  border-radius: 6px;
  margin-bottom: 10px;
}

.download-item::before,
.page-content-area a::before {
  content: "\00bb ";
  color: var(--pares-blue);
}

.download-item:hover,
.download-item:focus,
.page-content-area a:hover,
.page-content-area a:focus {
  color: #fff;
  background: var(--pares-blue);
}

.download-item:hover::before,
.download-item:focus::before,
.page-content-area a:hover::before,
.page-content-area a:focus::before {
  color: #fff;
}

.contact-panel {
  padding: 28px;
  border: 1px solid var(--pares-line);
  border-radius: 8px;
  background: #fff;
}

.form-control,
.form-select {
  border-radius: 6px;
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 24px 0;
  color: #d9e8ef;
  font-size: 12px;
  background: var(--pares-blue-dark);
}

.site-footer a {
  color: #fff;
}

.restricted-header {
  background: #fff;
  border-top: 6px solid #087f89;
  box-shadow: 0 8px 18px rgba(33, 123, 167, 0.08);
}

.restricted-topbar {
  min-height: 50px;
  padding: 0;
  background: #09a3ad;
}

.restricted-topbar .container {
  min-height: 50px;
}

.restricted-menu {
  gap: 16px;
}

.restricted-menu .nav-link {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.restricted-menu .nav-link:hover,
.restricted-menu .nav-link:focus {
  color: #e5fbfd;
}

.restricted-user-menu .btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  border: 0;
}

.restricted-user-menu .btn:hover,
.restricted-user-menu .btn:focus {
  color: #fff;
}

.restricted-user-icon {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
}

.restricted-user-icon::before,
.restricted-user-icon::after {
  position: absolute;
  left: 50%;
  content: "";
  background: #fff;
  transform: translateX(-50%);
}

.restricted-user-icon::before {
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.restricted-user-icon::after {
  bottom: 0;
  width: 13px;
  height: 7px;
  border-radius: 8px 8px 1px 1px;
}

.restricted-brand-bar {
  display: flex;
  justify-content: center;
  padding: 42px 18px 38px;
}

.restricted-brand-bar img {
  width: 330px;
  max-width: 76vw;
  height: auto;
}

.dashboard-main {
  min-height: 420px;
  background: #fff;
}


.auth-page {
  min-height: 100vh;
  padding-top: 0;
  background: #fff;
}

.auth-shell {
  flex: 1 0 auto;
}

.auth-brand {
  display: flex;
  justify-content: center;
  padding: 34px 18px 30px;
}

.auth-brand img {
  width: 390px;
  max-width: 78vw;
  height: auto;
}

.auth-title-band {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 14px 18px;
  background: #f6fbfd;
  border-top: 1px solid var(--pares-line);
  border-bottom: 1px solid var(--pares-line);
}

.auth-title-band h1 {
  margin: 0;
  color: var(--pares-blue-dark);
  font-size: 1.72rem;
  font-weight: 700;
}

.auth-card {
  position: relative;
  width: min(430px, calc(100vw - 36px));
  margin: 34px auto 52px;
  padding: 34px 34px 30px;
  background: #fff;
  border: 1px solid var(--pares-line);
  border-top: 4px solid var(--pares-blue);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(21, 93, 128, 0.12);
}

.auth-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  overflow: hidden;
  background: #f6fbfd;
  border: 3px solid #42aeba;
  border-radius: 50%;
}

.auth-avatar-head,
.auth-avatar-body {
  position: absolute;
  left: 50%;
  display: block;
  background: #55b6c0;
  transform: translateX(-50%);
}

.auth-avatar-head {
  top: 12px;
  width: 27px;
  height: 30px;
  border-radius: 42% 42% 46% 46%;
}

.auth-avatar-body {
  bottom: -16px;
  width: 65px;
  height: 44px;
  border-radius: 50% 50% 18px 18px;
}

.auth-card .tml {
  max-width: none;
  color: #667;
}

.auth-card .tml-field-wrap {
  margin-bottom: 18px;
}

.auth-card .tml-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-card .tml-field {
  width: 100%;
  min-height: 48px;
  padding: 9px 0;
  color: var(--pares-ink);
  font-size: 1rem;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #b9dbe6;
  border-radius: 0;
  outline: none;
}

.auth-card .tml-field:focus {
  border-color: var(--pares-blue);
  box-shadow: none;
}

.auth-card .tml-submit-wrap {
  margin-top: 10px;
  margin-bottom: 0;
}

.auth-card .tml-button,
.auth-card input[type="submit"].tml-button {
  width: 100%;
  min-height: 50px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  background: var(--pares-blue);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(33, 123, 167, 0.18);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.auth-card .tml-button:hover,
.auth-card .tml-button:focus {
  background: var(--pares-blue-dark);
  box-shadow: 0 12px 26px rgba(21, 93, 128, 0.22);
}

.auth-card .tml-button:active {
  transform: translateY(1px);
}

.auth-card .tml-rememberme-wrap {
  display: none;
}

.auth-card .tml-links {
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.auth-card .tml-links a {
  color: var(--pares-blue-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.auth-card .tml-links a:hover {
  text-decoration: underline;
}

.auth-card .tml-errors,
.auth-card .tml-messages {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.auth-card .tml-error,
.auth-card .tml-message,
.auth-card .tml-success {
  margin: 0 0 14px;
  padding: 11px 12px;
  color: #52616a;
  font-size: 0.9rem;
  line-height: 1.45;
  background: #f5fbfc;
  border-left: 4px solid var(--pares-blue);
  border-radius: 6px;
  box-shadow: none;
}

.auth-card .tml-error {
  color: #8a3030;
  background: #fff4f4;
  border-left-color: #d94f4f;
}

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

.restricted-welcome h2 {
  margin: 0 0 10px;
  color: var(--pares-blue-dark);
  font-size: 1.55rem;
  font-weight: 800;
}

.restricted-welcome p {
  margin-bottom: 22px;
  color: var(--pares-muted);
}

.dashboard-main {
  min-height: 52vh;
  background: #f6fbfc;
}


.dashboard-actions {
  padding: 34px 0 56px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-card {
  display: flex;
  align-items: center;
  min-height: 116px;
  padding: 22px;
  color: var(--pares-blue-dark);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--pares-line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(21, 93, 128, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover,
.dashboard-card:focus {
  color: var(--pares-blue-dark);
  border-color: rgba(33, 123, 167, 0.35);
  box-shadow: 0 14px 30px rgba(21, 93, 128, 0.08);
  transform: translateY(-2px);
}

.dashboard-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-right: 16px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--pares-blue);
  border-radius: 8px;
}

.dashboard-card-icon .bi {
  font-size: 1.5rem;
  line-height: 1;
}

.dashboard-card-clinical .dashboard-card-icon {
  background: var(--pares-green);
}

.dashboard-card-admin .dashboard-card-icon {
  background: #5f6f7a;
}

.dashboard-card-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-card-copy strong {
  font-size: 1rem;
  line-height: 1.2;
}

.dashboard-card-copy span {
  color: var(--pares-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ── Solicitação de Antimicrobianos ── */
.anti-toolbar .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pares-muted);
}

.anti-filter-group {
  display: flex;
  flex-direction: column;
}

.anti-datepicker {
  width: 130px;
}

.anti-table {
  font-size: 0.9rem;
  border: 1px solid var(--pares-line);
  border-radius: 8px;
  overflow: hidden;
}

.anti-table thead th {
  background: var(--pares-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  padding: 10px 12px;
}

.anti-table tbody td {
  vertical-align: middle;
  padding: 10px 12px;
  border-color: var(--pares-line);
}

.anti-table tbody tr:hover td {
  background: #f5f9fc;
}

.btn-xs {
  padding: 2px 10px;
  font-size: 0.78rem;
}

/* ── end antimicrobiano ── */

/* ── Usuários ── */
.usuarios-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--pares-blue);
  color: #fff;
}

.usuarios-cargo-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #e6f2f8;
  color: var(--pares-blue-dark);
}
/* ── end usuários ── */

/* ── Verificar Documento ── */
.verify-wrap {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0 40px;
}

.verify-form {
  max-width: 420px;
  margin: 0 auto;
}

.verify-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.verify-result h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #444;
  margin: 0;
}

.verify-icon svg {
  width: 130px;
  height: 130px;
  margin-bottom: 12px;
}

.verify-icon-x svg circle,
.verify-icon-x svg line {
  stroke: #d9534f;
}

.verify-invalid .verify-icon {
  font-size: 80px;
  color: #aaa;
  line-height: 1;
  margin-bottom: 12px;
}
/* ── end verificar-documento ── */

.dashboard-empty {
  max-width: 560px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--pares-line);
  border-radius: 8px;
}

.dashboard-empty h2 {
  margin: 0 0 8px;
  color: var(--pares-blue-dark);
  font-size: 1.2rem;
  font-weight: 800;
}

.dashboard-empty p {
  margin: 0;
  color: var(--pares-muted);
}

.clinical-module {
  max-width: 1120px;
  margin: 42px auto 56px;
  padding: 0 18px;
}

.clinical-module-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.clinical-eyebrow {
  margin: 0 0 6px;
  color: var(--pares-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.clinical-module h2,
.clinical-confirmation h2 {
  margin: 0;
  color: var(--pares-blue-dark);
  font-size: 1.65rem;
  font-weight: 800;
}

.clinical-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: var(--pares-green);
  border-radius: 6px;
}

.clinical-button:hover,
.clinical-button:focus {
  color: #fff;
  background: var(--pares-blue-dark);
}

.clinical-button-secondary {
  background: var(--pares-blue);
}

.clinical-notice,
.clinical-confirmation {
  padding: 22px;
  color: var(--pares-muted);
  background: #fff;
  border: 1px solid var(--pares-line);
  border-left: 4px solid var(--pares-blue);
  border-radius: 8px;
}

.clinical-confirmation {
  max-width: 680px;
  margin: 48px auto;
}

.clinical-confirmation p {
  margin: 12px 0 20px;
}

.clinical-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--pares-line);
  border-radius: 8px;
}

.clinical-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.clinical-table th,
.clinical-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--pares-line);
  text-align: left;
  vertical-align: middle;
}

.clinical-table th {
  color: var(--pares-blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #f6fbfc;
}

.clinical-table tr:last-child td {
  border-bottom: 0;
}

.clinical-filter {
  display: grid;
  grid-template-columns: 180px minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--pares-line);
  border-radius: 8px;
}

.clinical-form label,
.clinical-filter label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--pares-blue-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.clinical-form input,
.clinical-form select,
.clinical-form textarea,
.clinical-filter input,
.clinical-filter select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: #263b48;
  font: inherit;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--pares-line);
  border-radius: 6px;
}

.clinical-form textarea {
  min-height: 112px;
  resize: vertical;
}

.clinical-form-section {
  margin-bottom: 22px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--pares-line);
  border-radius: 8px;
}

.clinical-form-section h3 {
  margin: 0 0 18px;
  color: var(--pares-blue-dark);
  font-size: 1.08rem;
  font-weight: 800;
}

.clinical-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.clinical-repeat-table {
  display: grid;
  gap: 10px;
}

.clinical-repeat-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, minmax(100px, 1fr));
  gap: 10px;
  align-items: center;
}

.clinical-repeat-head {
  color: var(--pares-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.clinical-form-actions {
  display: flex;
  justify-content: flex-end;
}

.clinical-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
}

.clinical-status-0 {
  background: #b45d58;
}

.clinical-status-1 {
  background: var(--pares-green);
}

.clinical-status-2 {
  background: #b9882a;
}

.clinical-inline-link {
  color: var(--pares-blue);
  font-weight: 800;
  text-decoration: none;
}

.clinical-inline-link:hover,
.clinical-inline-link:focus {
  color: var(--pares-green);
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 68px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-logo {
    width: 176px;
  }

  .restricted-topbar {
    padding: 8px 0;
  }

  .restricted-menu {
    gap: 2px;
    padding-top: 12px;
  }

  .restricted-user-menu {
    padding: 10px 0 4px;
  }

  .restricted-brand-bar {
    padding: 30px 18px;
  }
}

@media (max-width: 575.98px) {
.dashboard-actions {
    padding: 24px 0 42px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    min-height: 104px;
    padding: 18px;
  }

  .clinical-module-header {
    align-items: stretch;
    flex-direction: column;
  }

  .clinical-filter,
  .clinical-form-grid,
  .clinical-repeat-row {
    grid-template-columns: 1fr;
  }

  .clinical-repeat-head {
    display: none;
  }

  .auth-brand {
    padding-top: 22px;
  }

  .auth-title-band h1 {
    font-size: 1.55rem;
  }

  .auth-card {
    margin-top: 26px;
    padding: 32px 24px 28px;
  }
}

/* Sidebar menu de navegação de recursos com Bootstrap Pills */
.sidebar-menu-card {
  background: #fff;
  border: 1px solid var(--pares-line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(21, 93, 128, 0.04);
}

.sidebar-menu-title {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--pares-muted);
}

.sidebar-menu-card .nav-pills .nav-link {
  color: var(--pares-blue-dark);
  border-radius: 8px;
  transition: all 0.25s ease-in-out;
  background: transparent;
}

.sidebar-menu-card .nav-pills .nav-link .bullet {
  color: var(--pares-blue);
  transition: transform 0.2s ease-in-out;
}

/* Hover e Focus */
.sidebar-menu-card .nav-pills .nav-link:hover,
.sidebar-menu-card .nav-pills .nav-link:focus {
  background: var(--pares-bg);
  color: var(--pares-green);
}

.sidebar-menu-card .nav-pills .nav-link:hover .bullet,
.sidebar-menu-card .nav-pills .nav-link:focus .bullet {
  transform: translateX(3px);
  color: var(--pares-green);
}

/* Estado Ativo */
.sidebar-menu-card .nav-pills .nav-link.active {
  background: var(--pares-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(33, 123, 167, 0.2);
}

.sidebar-menu-card .nav-pills .nav-link.active .bullet {
  color: #fff;
}

/* Custom Accordion Styling matching the Brand */
#materialsAccordion .accordion-item {
  border: 1px solid var(--pares-line) !important;
  border-radius: 8px !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(21, 93, 128, 0.03);
}

#materialsAccordion .accordion-button {
  background-color: var(--pares-blue);
  color: #fff;
  font-weight: 700;
  border-radius: 8px !important;
  padding: 16px 20px;
  transition: all 0.2s ease-in-out;
  border: 0;
}

#materialsAccordion .accordion-button::after {
  filter: brightness(0) invert(1); /* Torna a seta do Bootstrap branca */
}

#materialsAccordion .accordion-button:not(.collapsed) {
  background-color: var(--pares-blue-dark);
  color: #fff;
  box-shadow: none;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

#materialsAccordion .accordion-button:hover {
  background-color: var(--pares-blue-dark);
}

#materialsAccordion .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(33, 123, 167, 0.15);
}

#materialsAccordion .list-group-item {
  border-bottom: 1px dashed var(--pares-line) !important;
  transition: all 0.2s ease;
  font-weight: 600;
  color: var(--pares-blue-dark);
}

#materialsAccordion .list-group-item:last-child {
  border-bottom: 0 !important;
}

#materialsAccordion .list-group-item:hover {
  background-color: var(--pares-bg);
  color: var(--pares-green) !important;
  padding-left: 14px !important;
}

#materialsAccordion .list-group-item .text-info {
  color: var(--pares-blue) !important;
  transition: transform 0.2s ease;
}

#materialsAccordion .list-group-item:hover .text-info {
  color: var(--pares-green) !important;
  transform: translateX(3px);
}

/* ── Single Antimicrobiano – Formulário de Edição ────────────────────────── */
.anti-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.anti-card-header {
  background: var(--pares-blue);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
}
.anti-card-body {
  padding: 1.25rem;
  background: #fff;
}
.anti-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: .35rem;
}
.anti-row {
  background: #fff;
}
.anti-row:nth-child(even) {
  background: #f8fafc;
}

/* ── Repeater de antimicrobianos – colunas flexíveis ────────────────────── */
.anti-row .row.flex-nowrap { flex-wrap: nowrap !important; }
.anti-col-nome   { flex: 0 0 28%; min-width: 0; }
.anti-col-sm     { flex: 0 0 13%; min-width: 0; }
.anti-col-xs     { flex: 0 0 8%;  min-width: 0; }
.anti-col-date   { flex: 0 0 18%; min-width: 0; }
.anti-col-action { flex: 0 0 44px; display: flex; align-items: flex-end; }

/* ── Card de Análise – acesso restrito a analistas ───────────────────────── */
.border-analise {
  border-color: #0d9488;
  box-shadow: 0 0 0 1px rgba(13,148,136,.2), 0 2px 8px rgba(13,148,136,.1);
}
.anti-card-header--analise {
  background: #0d9488;
}
.anti-check .form-check-input:checked {
  background-color: #0d9488;
  border-color: #0d9488;
}
.anti-check .form-check-label {
  font-size: .85rem;
  color: #334155;
}
