:root {
  /* Tokens Admin V1 — Instituto Tiago Camilo (Figma) */
  --primary: #1f2e53;
  --primary-rgb: 31, 46, 83;
  --primary-shade: #182440;
  --primary-tint: #35466a;

  /* Chrome do painel (sidebar / neutros escuros) */
  --secondary: #15181d;
  --secondary-rgb: 21, 24, 29;
  --secondary-shade: #0f1216;
  --secondary-tint: #2c3038;

  --brand-accent: #ef3340;
  --brand-accent-rgb: 239, 51, 64;

  --danger: #dc2626;
  --danger-rgb: 220, 38, 38;
  --success: #16a34a;
  --success-rgb: 22, 163, 74;

  --cinza-claro: #E4E4E4;

  --texto-principal: #15181d;
  --texto-secundario: #383e49;

  --background: #EFEFEF;
  --auth-card-bg: #fafafa;
}

/* BUTTONs */
a {
  color: var(--primary);
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.btn-primary {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--primary-tint);
  border-color: var(--primary-shade);
}

.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: var(--primary-tint);
  border-color: var(--primary-shade);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.5);
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: var(--primary-tint);
  border-color: var(--primary-tint);
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: var(--primary-shade);
  border-color: var(--primary-tint);
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.5);
}

.btn-secondary {
  color: #fff;
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  color: #fff;
  background-color: var(--secondary-tint);
  border-color: var(--secondary-shade);
}

.btn-secondary:focus,
.btn-secondary.focus {
  color: #fff;
  background-color: var(--secondary-tint);
  border-color: var(--secondary-shade);
  box-shadow: 0 0 0 0.2rem rgba(var(--secondary-rgb), 0.5);
}

.btn-secondary.disabled,
.btn-secondary:disabled {
  color: #fff;
  background-color: var(--secondary-tint);
  border-color: var(--secondary-tint);
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
  color: #fff;
  background-color: var(--secondary-shade);
  border-color: var(--secondary-tint);
}

.btn-secondary:not(:disabled):not(.disabled):active:focus,
.btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--secondary-rgb), 0.5);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.5);
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
  color: var(--primary);
  background-color: transparent;
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.5);
}

.btn-outline-secondary {
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-secondary:focus,
.btn-outline-secondary.focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--secondary-rgb), 0.5);
}

.btn-outline-secondary.disabled,
.btn-outline-secondary:disabled {
  color: var(--secondary);
  background-color: transparent;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active,
.btn-outline-secondary:not(:disabled):not(.disabled).active,
.show > .btn-outline-secondary.dropdown-toggle {
  color: #fff;
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--secondary-rgb), 0.5);
}

.btn .spinner-border {
  width: 1.2rem;
  height: 1.2rem;
}

.btn-link {
  color: var(--secondary);
}

.btn-link:hover {
  color: var(--secondary-shade);
}

.btn-link:focus {
  box-shadow: 0 0 0 .2rem rgba(var(--secondary-rgb), .25);
}

.btn-link:disabled, .btn-link.disabled {
  color: var(--secondary-tint);
}

/* INPUTS */
.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: var(--primary);
  background-color: var(--primary);
}

.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
  border-color: var(--primary);
  background-color: var(--primary);
}

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(var(--primary-rgb), 0.5);
}

.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {
  background-color: rgba(var(--primary-rgb), 0.5);
}

.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(var(--primary-rgb), 0.5);
}

.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(var(--primary-rgb), 0.5);
}

.form-group label {
  color: var(--texto-principal);
}

.form-control::placeholder {
  color: var(--texto-secundario);
}

.form-control {
  color: var(--texto-principal);
}

/* TEXTs */
.text-primary {
  color: var(--primary) !important;
}

a.text-primary:hover,
a.text-primary:focus {
  color: var(--primary-tint) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

a.text-secondary:hover,
a.text-secondary:focus {
  color: var(--secondary-tint) !important;
}

/* BACKGROUNDs */
.bg-gradient-primary {
  background-color: var(--primary);
  background-image: linear-gradient(180deg, var(--primary) 10%, var(--primary-shade) 100%);
  background-size: cover;
}

.bg-gradient-secondary {
  background-color: var(--secondary);
  background-image: linear-gradient(180deg, var(--secondary) 10%, var(--secondary-shade) 100%);
  background-size: cover;
}

.bg-gradient-secondary-light {
  background: linear-gradient(180deg, rgba(var(--secondary-rgb), 0) 0%, rgba(var(--secondary-rgb), 0.5) 100%);
}

.bg-filtrando {
  background-color: rgba(var(--primary-rgb), .01);
  background-image: linear-gradient(180deg, rgba(var(--primary-rgb), .01) 10%, rgba(var(--primary-rgb), .2) 100%);
  background-size: cover;
}

/* BORDERS */
.border-left-primary {
  border-left: 0.25rem solid var(--primary) !important;
}

.border-bottom-primary {
  border-bottom: 0.25rem solid var(--primary) !important;
}

.border-left-secondary {
  border-left: 0.25rem solid var(--secondary) !important;
}

.border-bottom-secondary {
  border-bottom: 0.25rem solid var(--secondary) !important;
}

/* TOPBAR NAVBAR */
.dropdown-item.active, .dropdown-item:active {
  background-color: var(--primary);
}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: var(--primary-tint);
  color: #fff;
}

/* SIDEBAR — sempre visível (sem hide/show); padrão Figma claro */
#sidebarToggle {
  display: none !important;
}

#accordionSidebar.sidebar,
.sidebar.sidebar-light {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #fafafa !important;
  background-image: none !important;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
  color: #383e49;
}

.sidebar.sidebar-light .sidebar-brand {
  min-height: 83px;
  padding: 1.25rem 1rem;
}

.sidebar.sidebar-light .sidebar-brand-logo {
  max-height: 53px;
  width: auto;
  max-width: 164px;
}

.sidebar.sidebar-light hr.sidebar-divider {
  border-top-color: rgba(0, 0, 0, 0.07);
}

.sidebar.sidebar-light .nav-item .nav-link {
  color: #383e49;
}

.sidebar.sidebar-light .nav-item .nav-link i {
  color: #383e49;
}

.sidebar.sidebar-light .nav-item .nav-link:hover {
  color: #1f2e53;
}

/* Menu grupos (Figma) */
.sidebar .menu-grupo > .menu-grupo__toggle {
  display: flex;
  align-items: center;
  border-radius: 8px;
  position: relative;
}

.sidebar .menu-grupo > .menu-grupo__toggle > span {
  flex: 1 1 auto;
  min-width: 0;
}

.sidebar .menu-grupo.active > .menu-grupo__toggle,
.sidebar .menu-grupo > .menu-grupo__toggle[aria-expanded="true"] {
  background-color: #fafafa;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
}

/* Separador abaixo do grupo (não usar ::after — é da seta) */
.sidebar .menu-grupo > .menu-grupo__toggle::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: calc(100% - 16px);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.sidebar .menu-grupo > .menu-grupo__toggle[aria-expanded="true"]::before {
  display: none;
}

/* Seta ao lado do label (direita) */
.sidebar .menu-grupo > .menu-grupo__toggle::after,
.sidebar.sidebar-light .nav-item .nav-link[data-toggle="collapse"]::after {
  display: inline-block !important;
  position: static;
  float: none;
  width: 1rem;
  margin-left: auto;
  text-align: center;
  border: 0;
  font-weight: 900;
  font-family: 'Font Awesome 5 Free';
  color: #383e49;
  content: '\f107';
  transform: none;
  left: auto;
  bottom: auto;
}

.sidebar .menu-grupo > .menu-grupo__toggle.collapsed::after,
.sidebar.sidebar-light .nav-item .nav-link[data-toggle="collapse"].collapsed::after {
  content: '\f105';
}

.sidebar .menu-grupo__collapse .menu-grupo__inner {
  background: transparent;
  padding: 0.25rem 0 0.5rem;
}

.sidebar .menu-grupo__item.collapse-item {
  display: flex;
  align-items: center;
  margin: 0.15rem 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border-left: 1px solid #dddee2;
  color: #383e49;
  font-size: 0.8rem;
  white-space: normal;
}

.sidebar .menu-grupo__item.collapse-item:hover {
  background-color: rgba(31, 46, 83, 0.12);
  color: #1f2e53;
}

.sidebar .menu-grupo__item.collapse-item.active {
  background-color: #1f2e53;
  border-left-color: #1f2e53;
  color: #fafafa;
}

/* Sair fixo no fim da coluna */
.sidebar .sidebar-footer-item {
  margin-top: auto;
  flex-shrink: 0;
  padding: 1rem 0.75rem 1rem;
  width: 100%;
}

.sidebar .sidebar-footer-item .nav-link {
  white-space: nowrap;
  border-radius: 8px;
  color: #383e49 !important;
}

.sidebar .sidebar-footer-item .nav-link i {
  color: #383e49 !important;
}

.sidebar .sidebar-footer-item .nav-link:hover {
  color: #1f2e53 !important;
}

@media (min-width: 768px) {
  body.sidebar-toggled #accordionSidebar,
  body.sidebar-toggled .sidebar,
  .sidebar.toggled {
    width: 14rem !important;
    overflow: visible !important;
  }

  .sidebar.toggled .nav-item .nav-link span,
  .sidebar.toggled .sidebar-brand-text,
  .sidebar.toggled .sidebar-heading {
    display: inline !important;
  }

  .sidebar.toggled .nav-item .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
  }

  .sidebar.toggled .nav-item .nav-link i {
    font-size: 0.85rem;
    margin-right: 0.25rem;
  }

  .sidebar.toggled .nav-item .nav-link[data-toggle="collapse"]::after {
    display: inline-block !important;
  }
}

/* FOOTER */
footer.sticky-footer {
  padding: 1rem 0;
}

/* NAVBAR TABs */
.nav-tabs.nav-tabs-primary .nav-link {
  color: var(--texto-secundario);
  background-color: transparent;
  border: 1px solid var(--cinza-claro);
}

.nav-tabs.nav-tabs-primary .nav-item.show .nav-link,
.nav-tabs.nav-tabs-primary .nav-link.active {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary-shade);
}

.nav-tabs.nav-tabs-primary .nav-link:focus,
.nav-tabs.nav-tabs-primary .nav-link:hover {
  color: #fff;
  background-color: var(--primary-tint);
  border-color: var(--primary-shade);
}

/* CARDs */
.card-header {
  background-color: #FFF;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
}

.min-h-100vh {
  min-height: 100vh !important;
}

.noresize {
  resize: none !important;
}

.text-decoration-underline {
  text-decoration: underline;
}

.card-body .dropzone {
  border: 1px solid var(--secondary);
  border-radius: .35rem;
}

.invalid-form,
.invalid-image {
  border: 1px solid #ff0000;
}

.nav-tabs {
  border-bottom: 0px;
}

#pager {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  gap: 4px;
}

#pager .stepper-before,
#pager .stepper-next,
#pager .stepper {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0.25rem 0.5rem;
  font-size: .875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  color: var(--secondary);
  border: 1px solid var(--secondary-tint);
  cursor: pointer;
}

#pager .stepper-before:hover,
#pager .stepper-next:hover,
#pager .stepper:hover,
#pager .stepper-active {
  color: var(--cinza-claro);
  background-color: var(--secondary-tint);
}

/* Login / Auth (Figma: fundo navy + card branco) */
.bg-onboard {
  background-color: var(--primary);
  background-image: none;
  background-size: cover;
  background-position: bottom;
}

/* Login split (foto + painel) — só /restrito */
.auth-login-body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.auth-login {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.auth-login__hero {
  flex: 1 1 60%;
  min-height: 100vh;
  background-color: #000;
  background-image: url('/img/login-hero.png');
  background-size: cover;
  background-position: center;
}

.auth-login__panel {
  flex: 0 0 40%;
  max-width: 561px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background-color: var(--auth-card-bg);
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1);
}

.auth-login__content {
  width: 100%;
  max-width: 355px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-login__brand {
  width: 100%;
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-login__brand img {
  max-width: 100%;
  height: auto;
  max-height: 112px;
}

.auth-login__content .auth-title {
  color: var(--texto-principal);
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 0.75rem;
  width: 100%;
}

.auth-login__content .auth-subtitle {
  color: var(--texto-secundario);
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.auth-login__content form {
  width: 100%;
}

.auth-login__content label {
  color: #858796;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.auth-login__content .form-control,
.auth-login__content .form-control-user {
  border-radius: 8px;
  border-color: #d1d3e2;
  height: 36px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.auth-login__content .btn-user {
  border-radius: 8px;
  height: 38px;
  font-size: 1rem;
}

.auth-login__content .auth-link {
  color: var(--primary);
  font-size: 0.75rem;
  text-align: center;
  display: block;
  margin-top: 1rem;
  text-decoration: underline;
  width: 100%;
}

.auth-login__content .auth-link:hover {
  color: var(--primary-tint);
}

@media (max-width: 767.98px) {
  .auth-login {
    flex-direction: column;
  }

  .auth-login__hero {
    flex: 0 0 auto;
    min-height: 180px;
    max-height: 220px;
  }

  .auth-login__panel {
    flex: 1 1 auto;
    max-width: none;
    min-height: auto;
    padding: 2rem 1.5rem;
  }
}

.auth-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.auth-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  width: 100%;
  max-width: 920px;
  padding: 3rem;
  background-color: var(--auth-card-bg);
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1);
}

.auth-card__brand {
  flex: 0 1 280px;
  text-align: center;
}

.auth-card__brand img {
  max-width: 100%;
  height: auto;
  max-height: 112px;
}

.auth-card__form {
  flex: 1 1 320px;
  max-width: 355px;
  width: 100%;
}

.auth-card__form .auth-title {
  color: var(--texto-principal);
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 0.75rem;
}

.auth-card__form .auth-subtitle {
  color: var(--texto-secundario);
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-card__form label {
  color: #858796;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.auth-card__form .form-control,
.auth-card__form .form-control-user {
  border-radius: 24px;
  border-color: #d1d3e2;
  height: 36px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.auth-card__form .btn-user {
  border-radius: 24px;
  height: 38px;
  font-size: 1rem;
}

.auth-card__form .btn-outline-primary {
  border-radius: 24px;
  height: 38px;
}

.auth-card__form .auth-link {
  color: var(--primary);
  font-size: 0.75rem;
  text-align: center;
  display: block;
  margin-top: 0.5rem;
}

.auth-card__form .auth-link:hover {
  color: var(--primary-tint);
  text-decoration: underline;
}

.auth-password-wrap {
  position: relative;
}

.auth-password-wrap .form-control {
  padding-right: 2.75rem;
}

.auth-password-wrap #olho-senha {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  margin: 0;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.bg-login-image, .bg-password-image {
  background-image: url('./img/alphacode_quadrado.jpg');
}

#login-subtitle {
  max-width: 293px;
  margin: auto;
}

.footer-login {
  margin-top: 1.5rem;
}

.footer-login p {
  color: #FFFFFF;
  font-size: small;
}
.footer-login img {
  height: 23px;
}

.div-olho-senha {
  height: 0;
}

#olho-senha {
  width: 25px;
  margin-right: 20px;
  margin-left: 0px;
  border: none;
  cursor: pointer;
  transform: translateY(-50%);
  margin-top: calc(calc(1.5em + 4rem + 2px) * -1);
}

.btn-danger {
  color: #fff;
  background-color: var(--danger);
  border-color: var(--danger);
}

.btn-danger:hover {
  color: #fff;
  background-color: #b91c1c;
  border-color: #b91c1c;
}

.btn-success {
  color: #fff;
  background-color: var(--success);
  border-color: var(--success);
}

.btn-success:hover {
  color: #fff;
  background-color: #15803d;
  border-color: #15803d;
}

form.user select.form-control-user {
  font-size: 0.8rem;
  border-radius: 10rem;
  padding: .375rem .75rem;
  height: 3.1rem;
}

::-webkit-calendar-picker-indicator {
  border-radius: 50%;
  margin-left: 0.1rem;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

::-webkit-calendar-picker-indicator:hover {
  -webkit-box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

#barra-hml {
  background-color: #ff0000;
  color: #ffffff;
  padding: 3px 10px;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* USUÁRIOS */
.img-avatar {
  position: relative;
  top: 0;
  left: 10px;
  width: 180px !important;
  height: 180px !important;
  border-radius: 50%;
  margin: 0px !important;
  cursor: pointer;
  object-fit: cover;
  margin-bottom: 30px !important;
  color: var(--primary);
}
/* FIM USUÁRIOS */

/* MULTISELECT */
span.multiselect-native-select select {
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px -1px -1px -3px !important;
  overflow: hidden !important;
  padding: 0.5rem !important;
  position: absolute !important;
  width: 1px !important;
  left: 50%;
  top: 30px;
}

select.form-control[multiple] {
  border-radius: 16px;
  background-color: #fff;
  border: 1px solid #ced4da;
}

span.multiselect-native-select .btn-group-vertical > .btn,
.btn-group > .btn {
  /* border-radius: 16px; */
  background-color: #fff;
  border: 1px solid #ced4da;
}

span.multiselect-native-select ul {
  width: 100%;
  padding: 10px 20px 0px 20px;
}

span.multiselect-native-select .multiselect-container label {
  width: 100%;
  cursor: pointer;
}

span.multiselect-native-select .btn-group-vertical > .btn,
.btn-group > .btn .disabled {
  background-color: #eaecf4;
  color: #6e707e;
}

span.multiselect-native-select .btn-group-vertical > .btn.disabled,
.btn-group > .btn.disabled {
  background-color: #eaecf4 !important;
  color: #6e707e;
  opacity: 1;
}
/* FIM MULTISELECT */

/* INPUT FILE */
input[type="file"] {
  padding: 0 0.75rem 0 0;
}

input[type="file"]::file-selector-button {
  background-color: #dde0e3;
  /* background-color: var(--primary); */
  color: #000;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: 0.3s;
  height: 100%;
  padding: 0.375rem;
  margin: 0 0.375rem 0 0;
}

input[type="file"]::file-selector-button:hover {
  background-color: #9d9fa1;
  color: #fff;
}
/* FIM INPUT FILE */

/* SWAL2 */
.swal2-styled.swal2-confirm {
  border: 0;
  border-radius: 0.25em;
  background: initial;
  background-color: var(--primary);
  color: #fff;
  font-size: 1em;
}
.swal2-styled.swal2-confirm:focus {
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.5);
}
/* FIM SWAL2 */

/* CRITERIOS SENHA */
.criterios-senha {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.criterios-senha__titulo {
  margin-bottom: 0.35rem;
  color: var(--texto-secundario);
  font-weight: 600;
}

.criterios-senha__item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
  color: var(--texto-secundario);
}

.criterios-senha__icone {
  width: 0.9rem;
  margin-top: 0.15rem;
  text-align: center;
  flex-shrink: 0;
  color: var(--texto-secundario);
}

.criterios-senha__item.is-valid,
.criterios-senha__item.is-valid .criterios-senha__icone {
  color: #1cc88a;
}

.auth-card .criterios-senha__titulo,
.auth-card .criterios-senha__item,
.auth-card .criterios-senha__icone {
  color: var(--texto-secundario);
}

.auth-card .criterios-senha__item.is-valid,
.auth-card .criterios-senha__item.is-valid .criterios-senha__icone {
  color: var(--success);
}
/* FIM CRITERIOS SENHA */

/* PROJETOS */
.projetos-pagina {
  padding-top: 8px;
  padding-bottom: 24px;
  color: #383e49;
  font-family: "Lato", "Nunito", sans-serif;
}

.projetos-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.projetos-topo__acoes .projetos-btn {
  height: 38px;
  flex-shrink: 0;
}

.projetos-topo__acoes .projetos-btn--outline {
  width: 119px;
}

.projetos-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  color: #a6acb6;
  font-family: "Fira Sans", "Nunito", sans-serif;
  font-size: 12px;
  line-height: 14px;
}

.projetos-breadcrumb .fa-chevron-right {
  font-size: 9px;
}

.projetos-breadcrumb__atual {
  color: #1f2e53;
}

.projetos-topo h1 {
  margin: 0;
  color: #383e49;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 33.6px;
}

.projetos-topo__acoes {
  display: flex;
  align-items: center;
  gap: 12px;
}

.projetos-topo__acoes-grupo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.projetos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #1f2e53;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.projetos-btn--outline {
  background: #fff;
  color: #1f2e53;
}

.projetos-btn--solid {
  background: #1f2e53;
  color: #fafafa;
}

.projetos-btn--secundario {
  min-width: 193px;
  height: 38px;
  border-color: var(--brand-accent);
  background: var(--brand-accent);
  color: #fafafa;
}

.projetos-btn--secundario:hover,
.projetos-btn--secundario:focus {
  border-color: #d42a36;
  background: #d42a36;
  color: #fafafa;
}

.projetos-btn--filtro {
  width: 138px;
  height: 38px;
  font-size: 14px;
}

.projetos-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.projetos-card {
  flex: 1 1 180px;
  min-height: 118px;
  padding: 16px 24px;
  background: #fafafa;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(58, 59, 69, 0.1);
}

.projetos-card__rotulo {
  margin: 0 0 14px;
  color: #383e49;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.projetos-card__valor {
  margin: 0;
  color: #383e49;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
}

.projetos-card__delta {
  margin: 14px 0 0;
  color: #c8cbd1;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.projetos-card__delta--alta {
  color: #10b981;
}

.projetos-card__delta--baixa {
  color: #e11d48;
}

.projetos-filtros,
.projetos-tabela {
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(58, 59, 69, 0.1);
}

.projetos-filtros {
  margin-bottom: 24px;
  padding-bottom: 24px;
}

.projetos-filtros header {
  padding: 12px 20px 13px;
  border-bottom: 1px solid #dddee2;
  color: #1b294b;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  text-transform: uppercase;
}

.projetos-filtros__grade {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  padding: 24px 20px 16px;
}

.projetos-filtros label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 276px;
  max-width: 100%;
  margin: 0;
  color: #383e49;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.projetos-filtros input,
.projetos-filtros select {
  width: 100%;
  height: 36px;
  padding: 8px 16px;
  border: 1px solid #d1d3e2;
  border-radius: 8px;
  background: #fafafa;
  color: #383e49;
  font-size: 16px;
  line-height: 20px;
}

.projetos-filtros input::placeholder {
  color: #383e49;
}

.projetos-campo {
  position: relative;
  display: block;
}

.projetos-campo input {
  padding-right: 40px;
  appearance: none;
}

.projetos-campo .fa-calendar {
  position: absolute;
  top: 8px;
  right: 14px;
  color: #383e49;
  pointer-events: none;
}

.projetos-vigencia {
  display: flex;
  align-items: center;
  gap: 8px;
}

.projetos-vigencia .projetos-campo {
  flex: 1 1 0;
  min-width: 0;
}

.projetos-vigencia .projetos-campo input {
  padding-right: 8px;
  text-align: center;
}

.projetos-vigencia__ate {
  color: #383e49;
  font-size: 14px;
  line-height: 20px;
}

.projetos-filtros__rodape {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 20px;
}

.projetos-tabela {
  overflow: hidden;
  border-radius: 16px;
}

.projetos-tabela table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-family: "Fira Sans", "Nunito", sans-serif;
}

.projetos-tabela th {
  height: 56px;
  padding: 12px 8px;
  background: #1f2e53;
  color: #fafafa;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.projetos-tabela thead td {
  height: 56px;
  padding: 12px 8px;
  background: #1f2e53;
  color: #fafafa;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: none;
}

.projetos-tabela td {
  height: 56px;
  padding: 12px 8px;
  border-bottom: 1px solid #eee;
  color: #383e49;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
  background: #fff;
}

.projetos-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.projetos-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.projetos-status--ativo {
  color: #16a34a;
}

.projetos-status--aberta {
  color: #147ef5;
}

.projetos-status--encerrado {
  color: #dc2626;
}

.projetos-status--contas {
  color: #b45309;
}

.projetos-status--cadastro {
  color: #858796;
}

.projetos-status--polo {
  color: #eb7601;
}

.projetos-status--pendente {
  color: #ca8a04;
}

.projetos-status--fornecedor {
  color: #405378;
}

.projetos-acoes {
  white-space: nowrap;
}

.projetos-acoes .projetos-acao + .projetos-acao {
  margin-left: 8px;
}

.projetos-acao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #1f2e53;
  color: #fafafa;
  cursor: pointer;
}

.projetos-acao--excluir {
  background: #ef3340;
}

.turmas-alunos .projetos-acao--excluir {
  background: #dc2626;
}

.projetos-paginacao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
  padding: 16px 20px;
}

.projetos-paginacao p {
  margin: 0;
  color: #383e49;
  font-family: "Fira Sans", "Nunito", sans-serif;
  font-size: 14px;
}

.projetos-paginacao nav {
  display: flex;
  align-items: center;
}

.projetos-paginacao button,
.projetos-paginacao a,
.projetos-paginacao span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #383e49;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.projetos-paginacao button.is-ativa,
.projetos-paginacao a.is-ativa,
.projetos-paginacao span.is-ativa {
  border-radius: 8px;
  background: #1f2e53;
  color: #fafafa;
}

a.projetos-btn,
a.projetos-btn:hover,
a.projetos-breadcrumb,
a.projetos-breadcrumb:hover {
  text-decoration: none;
}

a.projetos-btn--outline,
a.projetos-btn--outline:hover,
a.projetos-btn--outline:focus {
  color: #1f2e53;
}

a.projetos-btn--solid,
a.projetos-btn--solid:hover,
a.projetos-btn--solid:focus,
a.projetos-btn--secundario,
a.projetos-btn--secundario:hover,
a.projetos-btn--secundario:focus,
a.projetos-acao,
a.projetos-acao:hover,
a.projetos-acao:focus {
  color: #fff;
  text-decoration: none;
}

.projetos-cadastro__rodape {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 20px;
  background: #f8f9fc;
  border-top: 1px solid #e3e6f0;
  border-radius: 0 0 16px 16px;
}

.projetos-cadastro__rodape .projetos-btn--solid {
  min-width: 193px;
  height: 38px;
}

.projetos-breadcrumb a,
.projetos-breadcrumb a:hover,
.projetos-breadcrumb a:focus {
  color: #a6acb6;
}

.projetos-breadcrumb a:hover {
  color: #1f2e53;
  text-decoration: none;
}

.projetos-btn--voltar {
  width: 52px;
  padding: 8px;
}

.projetos-cadastro {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1);
}

.projetos-cadastro__corpo {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 32px;
  padding: 32px 20px 20px;
}

.projetos-cadastro__corpo--bootstrap {
  display: block;
}

.projetos-cadastro__corpo--bootstrap .projetos-cadastro__secao {
  margin-bottom: 16px;
}

.projetos-cadastro__corpo--bootstrap .row + .projetos-cadastro__secao {
  margin-top: 8px;
}

.projetos-cadastro__secao {
  grid-column: 1 / -1;
  margin: 0;
  color: #1b294b;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16.8px;
  text-transform: uppercase;
}

.projetos-cadastro label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: #858796;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.projetos-cadastro .btn-group,
.projetos-cadastro .multiselect {
  width: 100%;
}

.projetos-cadastro .multiselect {
  height: 36px;
  padding: 6px 16px;
  border: 1px solid #d1d3e2;
  border-radius: 8px;
  background: #fff;
  color: #383e49;
  font-size: 16px;
  line-height: 20px;
  text-align: left;
}

.projetos-cadastro .multiselect .caret {
  position: absolute;
  top: 15px;
  right: 16px;
}

.projetos-cadastro .form-group {
  position: relative;
  margin-bottom: 0;
  overflow: visible;
}

.projetos-cadastro .form-group > label {
  display: block;
  width: 100%;
  margin-bottom: 8px;
}

.projetos-cadastro span.multiselect-native-select,
.projetos-cadastro .form-group .btn-group {
  display: block;
  width: 100%;
}

.projetos-cadastro .btn-group.show,
.projetos-cadastro .btn-group.open {
  z-index: 30;
}

.projetos-cadastro .multiselect-container {
  width: max-content;
  min-width: 100%;
  padding: 4px 0;
}

.projetos-cadastro .multiselect-container .multiselect-all,
.projetos-cadastro .multiselect-container .multiselect-option {
  display: flex;
  align-items: center;
  padding: 0;
  white-space: nowrap;
}

.projetos-cadastro .multiselect-container .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 8px 12px;
}

.projetos-cadastro .multiselect-container .form-check-input {
  position: static;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  accent-color: #4e73df;
}

.projetos-cadastro .multiselect-container .form-check-label {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  color: #383e49;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}

.projetos-cadastro input,
.projetos-cadastro select,
.projetos-cadastro textarea {
  width: 100%;
  height: 36px;
  padding: 8px 16px;
  border: 1px solid #d1d3e2;
  border-radius: 8px;
  background: #fff;
  color: #383e49;
  font-size: 16px;
  line-height: 20px;
}

.projetos-cadastro textarea {
  height: auto;
  min-height: 96px;
}

.capacitacoes-largo {
  grid-column: 1 / -1;
}

.capacitacoes-abas {
  padding-top: 24px;
}

.capacitacoes-bloco {
  margin-top: 24px;
}

.capacitacoes-abas .capacitacoes-bloco {
  margin-top: 0;
}

.capacitacoes-bloco h2 {
  margin: 0 0 12px;
  color: #1b294b;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.projetos-tabela table.capacitacoes-questoes td {
  height: auto;
  white-space: normal;
  vertical-align: top;
  text-align: left;
}

.projetos-tabela table.capacitacoes-questoes td.capacitacoes-numero,
.projetos-tabela table.capacitacoes-questoes td.projetos-acoes {
  width: 1%;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

.capacitacoes-acoes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.capacitacoes-acoes form,
.capacitacoes-acoes .projetos-acao + .projetos-acao {
  margin: 0;
}

.projetos-tabela table.capacitacoes-questoes tr.is-editando td {
  background: #f4f7fb;
}

.capacitacoes-enunciado {
  min-width: 220px;
  max-width: 420px;
}

.capacitacoes-enunciado span {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.capacitacoes-texto {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.capacitacoes-modal {
  max-width: 920px;
  max-height: calc(100% - 2rem);
}

.capacitacoes-modal .modal-content {
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  border: 0;
  border-radius: 16px;
}

.capacitacoes-modal .modal-content > form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.capacitacoes-modal .modal-header,
.capacitacoes-modal footer {
  flex-shrink: 0;
}

.capacitacoes-modal .modal-header {
  align-items: center;
  padding: 24px 24px 0;
  border-bottom: 0;
}

.capacitacoes-modal .modal-title {
  color: #1b294b;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.capacitacoes-modal .modal-body {
  overflow-y: auto;
}

.capacitacoes-modal .projetos-cadastro__corpo {
  padding-top: 16px;
}

.capacitacoes-gabarito {
  display: grid;
  gap: 8px;
  min-width: 240px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capacitacoes-gabarito li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.capacitacoes-letra,
.capacitacoes-correta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.capacitacoes-letra {
  width: 28px;
  height: 28px;
  background: #eef1f6;
  color: #1f2e53;
}

.capacitacoes-gabarito .is-correta .capacitacoes-letra {
  background: #16a34a;
  color: #fff;
}

.capacitacoes-correta {
  margin-top: 4px;
  padding: 4px 8px;
  background: #dcfce7;
  color: #166534;
}

.capacitacoes-alternativa {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.projetos-cadastro .capacitacoes-radio {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: #15181d;
}

.projetos-cadastro .capacitacoes-radio input {
  width: auto;
  height: auto;
}

.projetos-cadastro .projetos-campo .fa-calendar {
  color: #858796;
}

.projetos-cadastro label.projetos-switch {
  flex-direction: row;
  align-items: center;
  align-self: end;
  gap: 8px;
  min-height: 36px;
  color: #15181d;
  font-family: "Open Sans", "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  cursor: pointer;
}

.projetos-cadastro label.projetos-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.projetos-switch__trilho {
  position: relative;
  display: inline-block;
  flex: 0 0 48px;
  width: 48px;
  height: 24px;
  border-radius: 999px;
  background: #d5d7de;
}

.projetos-switch__trilho::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(58, 59, 69, 0.25);
}

.projetos-switch input:checked + .projetos-switch__trilho {
  background: #1f2e53;
}

.projetos-switch input:checked + .projetos-switch__trilho::after {
  left: 26px;
}

.projetos-cadastro .projetos-status-aviso,
.projetos-status-aviso {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #f5d7a8;
  border-left: 4px solid #eb7601;
  border-radius: 8px;
  background: #fff8ef;
  color: #1f2e53;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.projetos-status-aviso > i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #eb7601;
  font-size: 16px;
  line-height: 1;
}

.projetos-status-aviso > span {
  flex: 1 1 auto;
  min-width: 0;
}

.projetos-status-aviso strong {
  font-weight: 700;
}

.projetos-cadastro footer {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 12px 20px;
  background: #f8f9fc;
  border-top: 1px solid #e3e6f0;
  border-radius: 0 0 16px 16px;
}

.projetos-btn--salvar,
.projetos-btn--alterar {
  width: 193px;
  height: 38px;
}

.prematricula-cadastro .projetos-cadastro__secao {
  color: #405378;
}

.prematricula-cadastro select:disabled {
  background: #f3f4f6;
  color: #858796;
}

.prematricula-ver .projetos-cards {
  gap: 16px;
}

.prematricula-ver .projetos-card__delta--alta {
  color: #148b40;
}

.prematricula-ver .projetos-card__delta--baixa,
.chamada-frequencia .projetos-card__delta--baixa,
.alunos-ver .projetos-card__delta--baixa {
  color: #c61f1f;
}

.alunos-ver .projetos-card__delta--alta {
  color: #148b40;
}

.alunos-ver .projetos-card__delta--aviso {
  color: #997200;
}

.alunos-ver__processo {
  color: #eb7601;
}

.responsaveis-secao,
.responsaveis-lista {
  grid-column: 1 / -1;
}

.responsaveis-secao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.responsaveis-secao .projetos-cadastro__secao {
  grid-column: auto;
}

.responsaveis-secao__adicionar {
  width: auto;
  height: 38px;
  padding: 8px 16px;
  white-space: nowrap;
}

.responsaveis-lista {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.responsavel-card {
  padding: 16px;
  background: #f4f4f5;
  border: 1px solid #dddee2;
  border-radius: 8px;
}

.responsavel-card__topo,
.responsavel-card__identificacao {
  display: flex;
  align-items: center;
  gap: 16px;
}

.responsavel-card__topo {
  justify-content: space-between;
  margin-bottom: 12px;
}

.responsavel-card__titulo {
  color: #15181d;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.projetos-cadastro label.responsavel-card__principal {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #383e49;
  font-size: 14px;
  line-height: 20px;
}

.responsavel-card__principal input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.responsavel-card__remover {
  border: 0;
  background: transparent;
  color: #ef3340;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.responsavel-card__grade {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1199.98px) {
  .responsavel-card__grade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .responsaveis-secao,
  .responsavel-card__topo,
  .responsavel-card__identificacao {
    align-items: flex-start;
    flex-direction: column;
  }

  .responsavel-card__grade {
    grid-template-columns: 1fr;
  }
}

.chamada-frequencia__data {
  position: relative;
}

.chamada-frequencia__data input {
  padding-right: 36px;
}

.chamada-frequencia__data .fa-calendar {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #1f2e53;
  transform: translateY(-50%);
  pointer-events: none;
}

.chamada-frequencia__acao {
  width: auto;
  min-width: 148px;
  height: 36px;
  padding: 6px 12px;
  font-size: 13px;
}

.chamada-frequencia .projetos-status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.prematricula-ver .projetos-detalhe__secao,
.alunos-ver .projetos-detalhe__secao {
  margin: 0 0 16px;
  color: #405378;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.prematricula-responsavel + .prematricula-responsavel {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e3e6f0;
}

.prematricula-responsavel__topo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 16px;
}

.prematricula-responsavel__topo strong {
  color: #15181d;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.prematricula-responsavel__principal {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #1f2e53;
  color: #fafafa;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.prematricula-responsavel__vazio {
  margin: 0;
  color: #858796;
  font-size: 16px;
  line-height: 24px;
}

.prematricula-responsavel .projetos-detalhe__grade {
  padding-bottom: 8px;
}

.prematricula-ver .projetos-detalhe__nome {
  margin-bottom: 24px;
  font-size: 20px;
  line-height: 24px;
}

.prematricula-ver .projetos-status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.projetos-btn--cancelar {
  width: 132px;
  height: 38px;
}

.projetos-btn--unidade {
  width: 200px;
  height: 38px;
}

.projetos-detalhe {
  margin-bottom: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1);
}

.projetos-detalhe__corpo {
  padding: 32px 20px 20px;
}

.projetos-detalhe__nome {
  margin: 0 0 16px;
  color: #15181d;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 20px;
}

.projetos-detalhe__grade {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 32px;
  padding-bottom: 20px;
}

.projetos-detalhe__campo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 276px;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 0;
}

.projetos-detalhe .row > [class*="col-"] > .projetos-detalhe__campo {
  width: 100%;
}

.projetos-detalhe__campo span {
  color: #858796;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.projetos-detalhe__campo strong {
  color: #15181d;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.projetos-detalhe .projetos-status {
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
}

.projetos-detalhe .projetos-status--ativo {
  color: #00a652;
}

.projetos-modal {
  max-width: 480px;
}

.projetos-modal .modal-content {
  padding: 32px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1);
}

.projetos-modal__titulo {
  margin: 0 0 16px;
  color: #15181d;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
}

.projetos-modal__campos {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
}

.projetos-modal__campo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  color: #858796;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.projetos-modal select,
.projetos-modal__fixo {
  width: 100%;
  height: 36px;
  padding: 8px 16px;
  border: 1px solid #d1d3e2;
  border-radius: 8px;
  background-color: #fff;
  color: #383e49;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 16px;
  line-height: 20px;
}

.projetos-modal select {
  padding-right: 40px;
}

.projetos-modal__fixo {
  display: flex;
  align-items: center;
}

.projetos-modal__acoes {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.projetos-btn--modal {
  width: 132px;
  height: 38px;
}

@media (max-width: 1199.98px) {
  .projetos-cadastro__corpo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .projetos-topo,
  .projetos-paginacao {
    align-items: flex-start;
    flex-direction: column;
  }

  .projetos-cadastro__corpo {
    grid-template-columns: 1fr;
  }

  .projetos-detalhe__campo {
    width: 100%;
  }

  .projetos-topo__acoes .projetos-btn--outline,
  .projetos-btn--alterar,
  .projetos-btn--unidade {
    width: auto;
  }
}
.turmas-cadastro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.turmas-cadastro .projetos-cadastro__secao {
  color: #405378;
}

.turmas-bloco__titulo {
  margin: 0;
  padding: 32px 24px 0;
}

.turmas-horario__grade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 24px 20px;
}

.turmas-horario__coluna {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.turmas-dia {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.projetos-cadastro .turmas-dia__check {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 1px solid #767e8a;
  border-radius: 5px;
  appearance: none;
  background: #fff;
  cursor: pointer;
}

.turmas-dia__check:checked {
  border-color: #1b294b;
  background: #1b294b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%23fff' d='M5.2 10.4 1.9 7.1l1.1-1.1 2.2 2.2 5.8-5.8 1.1 1.1z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.turmas-dia__campo {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.turmas-dia__campo > span {
  color: #858796;
  font-size: 16px;
  line-height: 24px;
}

.turmas-dia__horas {
  display: flex;
  align-items: center;
  gap: 8px;
}

.turmas-dia__ate {
  flex: 0 0 25px;
  color: #858796;
  font-size: 16px;
  line-height: 19px;
}

.turmas-hora {
  position: relative;
  flex: 1;
  min-width: 0;
}

.turmas-hora input {
  padding-right: 36px;
}

.turmas-hora input::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0;
  width: 40px;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.turmas-hora .fa-clock {
  position: absolute;
  top: 8px;
  right: 12px;
  color: #383e49;
  pointer-events: none;
}

.turmas-hora input:disabled {
  background: rgba(234, 236, 244, 0.36);
  color: #858796;
}

.turmas-hora:has(input:disabled) .fa-clock {
  color: #858796;
}

.turmas-cadastro footer {
  gap: 16px;
}

.turmas-cadastro .projetos-btn--salvar {
  width: 148px;
}

@media (max-width: 767.98px) {
  .turmas-horario__grade {
    grid-template-columns: 1fr;
  }
}

.turmas-abas {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  border-radius: 12px;
  background: #fafafa;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1);
}

.turmas-abas__item {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c8cbd1;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  cursor: default;
}

.turmas-abas__item:disabled {
  opacity: 1;
}

.turmas-abas__item:not(:disabled) {
  cursor: pointer;
}

.turmas-abas__item.is-ativa {
  border-radius: 12px;
  background: #1f2e53;
  color: #fafafa;
}

.turmas-ver {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.turmas-ver .projetos-detalhe {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 0;
}

.turmas-ver .projetos-detalhe__campo {
  width: calc(50% - 16px);
}

@media (max-width: 991.98px) {
  .turmas-ver {
    flex-direction: column;
  }

  .turmas-ver .projetos-detalhe {
    width: 100%;
  }
}

.polos-projetos {
  padding: 24px 24px 0;
}

.polos-projetos__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.polos-projetos__topo .polos-projetos__titulo {
  margin-bottom: 0;
}

.polos-projetos__titulo {
  margin: 0 0 20px;
  padding: 0;
  color: #405378;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  text-transform: uppercase;
}

.polos-projetos .table-responsive {
  border-radius: 8px;
  overflow: auto;
}

.polos-projetos .projetos-paginacao {
  padding-left: 0;
  padding-right: 0;
}

.projetos-topo__acoes [data-topo].is-oculta {
  display: none;
}

.projetos-unidades .projetos-acao--excluir {
  background: #dc2626;
}

/* FIM PROJETOS */
/* MATRIZ PERMISSÕES (Figma) */
.matriz-permissoes-wrap {
  border: 1px solid #d1d3e2;
  border-radius: 8px;
  overflow: hidden;
}

.lista-matriz-permissoes {
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
}

.lista-matriz-permissoes thead th {
  background-color: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
  border: 0;
  padding: 0.9rem 0.75rem;
}

.lista-matriz-permissoes tbody td {
  vertical-align: middle;
  border-top: 1px solid #e3e6f0;
  padding: 0.75rem;
  background-color: #fff;
}

.lista-matriz-permissoes tbody td.matriz-modulo-nome {
  background-color: #445677;
  color: #fff;
  font-weight: 600;
  width: 16%;
  border-top-color: rgba(255, 255, 255, 0.2);
}

.lista-matriz-permissoes .matriz-switch-cell .custom-switch {
  min-height: 1.5rem;
  padding-left: 2.25rem;
  margin: 0 auto;
  display: inline-block;
}

.lista-matriz-permissoes .matriz-switch-cell .custom-control-label::before,
.lista-matriz-permissoes .matriz-switch-cell .custom-control-label::after {
  cursor: pointer;
}

.lista-matriz-permissoes .custom-switch .custom-control-input:checked ~ .custom-control-label::before {
  border-color: var(--primary);
  background-color: var(--primary);
}

.lista-matriz-permissoes .btn-selecionar-todos-modulo {
  border-radius: 999px;
  border-color: var(--primary);
  color: var(--primary);
  background-color: #fff;
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  white-space: nowrap;
}

.lista-matriz-permissoes .btn-selecionar-todos-modulo:hover,
.lista-matriz-permissoes .btn-selecionar-todos-modulo:focus {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Abas pill (ver perfil) */
.perfis-abas-pill {
  background: #eaecf4;
  border-radius: 999px;
  padding: 0.25rem;
  display: inline-flex;
  flex-wrap: wrap;
}

.perfis-abas-pill .nav-link {
  border-radius: 999px;
  color: #858796;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
}

.perfis-abas-pill .nav-link.active {
  background-color: var(--primary);
  color: #fff;
}

/* Status dots */
.status-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.status-dot-ativo {
  background-color: #1cc88a;
}

.status-dot-inativo {
  background-color: #e74a3b;
}

.perfis-historico__item + .perfis-historico__item {
  margin-top: 1rem;
}

.perfis-historico__linha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.perfis-historico__tipo {
  color: #1f2e53;
  font-weight: 400;
}

.perfis-historico__msg {
  color: #767e8a;
}

.perfis-historico__meta {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #767e8a;
}
/* FIM MATRIZ PERMISSÕES */

/* TOPBAR FIGMA — Visão Geral / ITC / MTC + search + Menu */
.topbar-figma {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background-color: #fafafa !important;
  box-shadow: 0 2px 14px rgba(58, 59, 69, 0.1) !important;
  min-height: 70px;
}

.topbar-figma__left {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 1rem;
}

.topbar-figma__right {
  flex: 0 0 auto;
  flex-direction: row;
}

.nav-visao-pills {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background-color: #f5f5fa;
  border-radius: 32px;
  flex-shrink: 0;
}

.nav-visao-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 11px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--texto-principal);
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nav-visao-pill:hover {
  color: var(--texto-principal);
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.6);
}

.nav-visao-pill.is-active {
  background-color: #fff;
  border-color: #dddee2;
}

.nav-visao-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.nav-visao-pill__icon--combo {
  width: 30px;
  position: relative;
}

.nav-visao-pill__img {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.nav-visao-pill__icon--combo .nav-visao-pill__img--back {
  position: relative;
  z-index: 1;
  margin-right: -8px;
}

.nav-visao-pill__icon--combo .nav-visao-pill__img--front {
  position: relative;
  z-index: 2;
}

.nav-visao-pill__label {
  letter-spacing: 0.01em;
}

.topbar-search {
  position: relative;
  align-items: center;
  flex: 1 1 320px;
  max-width: 566px;
  height: 48px;
  background-color: #f5f5fa;
  border-radius: 8px;
  padding: 0 12px 0 42px;
}

.topbar-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  opacity: 0.7;
  pointer-events: none;
}

.topbar-search__input {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 500;
  color: var(--texto-principal);
  outline: none;
}

.topbar-search__input::placeholder {
  color: #a7abba;
}

.topbar-search__input:disabled {
  cursor: default;
  opacity: 1;
}

.topbar-alphacode-logo {
  height: 24px;
  width: auto;
  max-width: 90px;
  display: block;
}

.topbar-menu-btn.nav-link,
.topbar-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0.75rem !important;
  height: auto;
  color: var(--texto-secundario) !important;
  font-size: 12px;
  text-decoration: none !important;
  box-shadow: none !important;
}

.topbar-menu-btn.nav-link:hover,
.topbar-menu-btn.nav-link:focus,
.topbar-menu-btn:hover,
.topbar-menu-btn:focus {
  color: var(--texto-principal) !important;
}

.topbar-menu-btn.dropdown-toggle::after {
  display: none;
}

.topbar-menu-btn__label {
  font-weight: 400;
  line-height: 1;
}

.topbar-user-menu {
  min-width: 286px;
  padding: 16px 0;
  border: 0;
  border-radius: 12px;
}

.topbar-user-menu__header {
  padding: 0 16px 12px;
}

.topbar-user-menu__nome {
  font-size: 16px;
  font-weight: 700;
  color: #3a3b45;
  line-height: 1.35;
}

.topbar-user-menu__cargo {
  font-size: 12px;
  font-weight: 700;
  color: #4f5663;
  line-height: 1.35;
}

.topbar-user-menu__cargo:empty {
  display: none;
}

.topbar-user-menu__email {
  font-size: 13px;
  font-weight: 400;
  color: #858796;
  line-height: 1.35;
  margin-top: 2px;
}

.topbar-user-menu__divider {
  margin: 8px 16px;
  border-top-color: #e3e6f0;
}

.topbar-user-menu__alternar {
  padding: 0 16px 8px;
}

.topbar-user-menu__alternar-label {
  font-size: 13px;
  color: #858796;
  margin-bottom: 8px;
}

.topbar-user-menu a {
  display: flex;
  align-items: center;
  color: var(--primary);
  text-decoration: none;
  background-color: transparent;
}

.topbar-user-menu__papel {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 8px;
  color: #3a3b45;
  text-decoration: none !important;
  font-size: 15px;
  line-height: 1.4;
  background-color: transparent;
}

.topbar-user-menu__papel:last-child {
  margin-bottom: 0;
}

.topbar-user-menu__papel:hover {
  background-color: #f5f5fa;
  color: #3a3b45;
}

.topbar-user-menu__papel.is-active {
  background-color: #eef0f7;
  font-weight: 600;
}

.topbar-user-menu__papel-icon {
  color: #5a5c69;
  width: 16px;
  text-align: center;
}

.topbar-user-menu__check {
  margin-left: auto;
  color: #2e3a8c;
  font-size: 12px;
}

.topbar-user-menu .topbar-user-menu__item.dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  padding: 8px 16px !important;
  color: #3a3b45 !important;
  font-size: 14px;
  background-color: transparent !important;
}

.topbar-user-menu__item i {
  width: 16px;
  text-align: center;
  color: #5a5c69;
}

.topbar-user-menu__item:hover,
.topbar-user-menu__item:focus {
  background-color: #f5f5fa !important;
  color: #3a3b45 !important;
}

@media (max-width: 991.98px) {
  .nav-visao-pill__label {
    font-size: 12px;
  }

  .topbar-search {
    max-width: 220px;
    height: 40px;
  }

  .topbar-search__input {
    font-size: 14px;
  }
}

@media (max-width: 767.98px) {
  .topbar-figma {
    padding: 0.35rem 0.75rem;
    gap: 0.5rem;
  }

  .nav-visao-pills {
    max-width: 100%;
    overflow-x: auto;
  }

  .nav-visao-pill__label {
    display: none;
  }

  .nav-visao-pill.is-active .nav-visao-pill__label {
    display: inline;
  }
}
/* FIM TOPBAR FIGMA */

/* Professores (Pessoas) — V1 mocada */
a.turmas-abas__item {
  text-decoration: none;
  display: inline-block;
}

.professores-modo-label {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.professores-cards-detalhe {
  margin-bottom: 24px;
}

.professores-form-grade {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
}

.professores-form-grade label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  color: #5a5c69;
}

.professores-form-grade input,
.professores-form-grade select {
  width: 100%;
}

.professores-form-grade input:disabled,
.professores-form-grade select:disabled {
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}

.professores-badge-solicitacao {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff4e5;
  color: #b45309;
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}

.professores-solicitacao-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border: 1px solid #f0c36d;
  border-radius: 12px;
  background: #fff8eb;
}

.professores-solicitacao-banner__texto {
  min-width: 0;
  flex: 1 1 auto;
}

.professores-solicitacao-banner p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.professores-solicitacao-banner__justificativa {
  white-space: pre-wrap;
  word-break: break-word;
}

.professores-solicitacao-banner__acoes {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.professores-ajuda-solicitacao {
  margin: 0 0 20px;
  color: #5a5c69;
  font-size: 14px;
}

.professores-trilha-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.professores-trilha-kpis .projetos-card {
  flex: 1 1 calc(25% - 12px);
  min-width: 200px;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  background: #fafafa;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(58, 59, 69, 0.1);
}

.professores-trilha-kpis .projetos-card__rotulo {
  margin: 0;
  color: #383e49;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16.8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.professores-trilha-kpis .projetos-card__valor {
  margin: 14px 0 0;
  color: #383e49;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
}

.professores-trilha-kpis .projetos-card__delta {
  margin: 14px 0 0;
  color: #c8cbd1 !important;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.professores-trilha {
  --trilha-bolha-track: 56px;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 24px 0 28px;
  padding: 0 8px;
}

.professores-trilha::before,
.professores-trilha::after {
  content: "";
  position: absolute;
  top: calc(var(--trilha-bolha-track) / 2 - 1px);
  left: 12%;
  height: 2px;
  z-index: 0;
}

.professores-trilha::before {
  right: 12%;
  background: #e3e6f0;
}

.professores-trilha::after {
  background: #1f2e53;
  width: 0;
  max-width: 76%;
}

/* Fill navy até o nível atual (4 passos: índice 1..4 → fração / 3 do track) */
.professores-trilha--nivel-1::after {
  width: 0;
}

.professores-trilha--nivel-2::after {
  width: calc((100% - 24%) * (1 / 3));
}

.professores-trilha--nivel-3::after {
  width: calc((100% - 24%) * (2 / 3));
}

.professores-trilha--nivel-4::after {
  width: calc(100% - 24%);
}

.professores-trilha__passo {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.professores-trilha__bolha {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: calc((var(--trilha-bolha-track) - 44px) / 2) 0;
  border-radius: 50%;
  background: #fafafa;
  border: 2px solid #1f2e53;
  color: #1f2e53;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.professores-trilha__passo.is-concluido .professores-trilha__bolha,
.professores-trilha__passo.is-atual .professores-trilha__bolha {
  background: #1f2e53;
  border-color: #1f2e53;
  color: #fff;
}

.professores-trilha__passo.is-atual .professores-trilha__bolha {
  width: 56px;
  height: 56px;
  margin: 0;
  box-shadow: 0 0 0 4px rgba(31, 46, 83, 0.2);
}

.professores-trilha__passo.is-bloqueado .professores-trilha__bolha {
  border-style: dashed;
  border-color: #c8cbd1;
  color: #858796;
  background: #fafafa;
}

.professores-trilha__passo strong {
  display: block;
  color: #383e49;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.professores-trilha__passo.is-atual strong {
  color: #1f2e53;
  font-weight: 700;
}

.professores-trilha__passo.is-bloqueado strong {
  color: #858796;
  font-weight: 400;
}

.professores-trilha__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.professores-trilha__badge--concluido {
  background: #ecfdf5;
  color: #006045;
}

.professores-trilha__badge--atual {
  background: #1f2e53;
  color: #fff;
}

.professores-trilha__badge--proximo,
.professores-trilha__badge--bloqueado {
  background: transparent;
  color: #858796;
  padding: 2px 0;
}

.professores-trilha__passo small {
  color: #383e49;
  font-size: 12px;
  line-height: 1.2;
}

.professores-progresso {
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
  padding: 16px;
}

.professores-progresso__titulo {
  margin: 0 0 12px;
  color: #383e49;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
}

.professores-progresso__barra {
  height: 10px;
  margin: 0 0 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f4f4f5;
}

.professores-progresso__barra span {
  display: block;
  height: 100%;
  background: #1f2e53;
  border-radius: 999px;
}

.professores-progresso__meta {
  display: flex;
  justify-content: space-between;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 14px;
  line-height: 16px;
  color: #383e49;
}

.professores-progresso__meta span:last-child {
  color: #405378;
  font-weight: 600;
}

.professores-cap-tabela {
  width: 100%;
  border-collapse: collapse;
}

.professores-cap-tabela thead th {
  background: #1f2e53;
  color: #fff;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 14px 16px;
  border: 0;
}

.professores-cap-tabela thead th:first-child {
  border-radius: 8px 0 0 0;
}

.professores-cap-tabela thead th:last-child {
  border-radius: 0 8px 0 0;
}

.professores-cap-tabela tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #e3e6f0;
  color: #15181d;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 14px;
  vertical-align: middle;
}

.professores-cap-tabela tbody tr:last-child td {
  border-bottom: 0;
}

.professores-cap-tabela .text-center {
  text-align: center;
}

.professores-cap-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.professores-cap-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.professores-cap-status--concluido {
  color: #148b40;
}

.professores-cap-status--andamento {
  color: #1f2e53;
}

.professores-cap-status--pendente {
  color: #ca8a04;
}

@media (max-width: 767.98px) {
  .professores-trilha {
    flex-wrap: wrap;
    row-gap: 20px;
  }

  .professores-trilha::before,
  .professores-trilha::after {
    display: none;
  }

  .professores-trilha__passo {
    flex: 1 1 45%;
  }
}

.professor-detalhe__identificacao {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}

.professor-detalhe__identificacao .projetos-detalhe__nome {
  margin: 0;
  line-height: 20px;
}

.professor-detalhe__identificacao .professor-detalhe-avatar {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #dddee2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.professor-detalhe__identificacao .professor-detalhe-avatar img {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.professor-detalhe__identificacao .professor-detalhe-avatar--placeholder .fa-user {
  font-size: 14px;
  line-height: 1;
  color: #6b7280;
}

.professor-foto {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 24px;
  text-align: center;
}

.professor-foto__rotulo {
  margin: 0 0 8px;
  font-size: 14px;
  color: #5a5c69;
}

.professor-foto__circulo,
.professor-foto img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.professor-foto__circulo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  cursor: pointer;
  background: #f3f4f6;
  border: 1px dashed #cbd5e1;
}

.professor-foto__circulo .fa-image {
  font-size: 28px;
  color: #94a3b8;
}

.professor-foto__circulo input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.professor-foto__dica {
  margin: 8px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.professor-upload {
  height: 100%;
}

.professor-upload__titulo {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #15181d;
}

.professor-upload__caixa {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 160px;
  margin: 0;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  border: 1px dashed #1f2e53;
  border-radius: 4px;
}

.professor-upload__caixa i {
  font-size: 24px;
  color: #1f2e53;
}

.professor-upload__caixa > span:not(.professor-upload__ou):not(.projetos-btn) {
  font-size: 14px;
  font-weight: 700;
  color: #15181d;
}

.professor-upload__ou {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  color: #383e49;
}

.professor-upload__ou::before,
.professor-upload__ou::after {
  content: "";
  flex: 1 1 0;
  min-width: 0;
  height: 1px;
  background: #d1d5db;
}

.professor-upload__botao {
  width: 100%;
  height: 44px;
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
}

.professor-upload__caixa small {
  align-self: flex-start;
  width: 100%;
  font-size: 12px;
  color: #383e49;
  text-align: left;
}

.professor-upload__caixa input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.professor-upload__caixa input:disabled {
  cursor: not-allowed;
}

.professor-upload__caixa:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.85;
}

.professor-upload__arquivo {
  margin: 8px 0 0;
  font-size: 12px;
  color: #475569;
  word-break: break-all;
}

.professor-upload__arquivo a {
  color: #1f2e53;
  text-decoration: underline;
}

.professor-upload__card {
  display: flex;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #dddee2;
  border-radius: 4px;
}

.professor-upload__card-icone {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  width: 56px;
  border-right: 1px solid #dddee2;
  color: #1f2e53;
  font-size: 20px;
}

.professor-upload__card-corpo {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 12px;
}

.professor-upload__card-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.professor-upload__card-nome {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #15181d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.professor-upload__card-nome a {
  color: inherit;
  text-decoration: none;
}

.professor-upload__card-nome a:hover {
  text-decoration: underline;
}

.professor-upload__card-tamanho {
  margin: 0;
  font-size: 12px;
  color: #383e49;
}

.professor-upload__card-excluir {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #dc3545;
  cursor: pointer;
}

.professor-upload__card-excluir:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.professor-upload__card-excluir:not(:disabled):hover {
  color: #b02a37;
}

@media (max-width: 991.98px) {
  .professores-form-grade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .professores-solicitacao-banner {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .professores-form-grade {
    grid-template-columns: 1fr;
  }
}

.metodologia-ciclo__subtitulo {
  margin: 8px 0 0;
  color: #858796;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.metodologia-blocos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metodologia-bloco-card {
  padding: 16px;
  background: #fff;
  border: 1px solid #e3e6f0;
  border-radius: 16px;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.08);
}

.metodologia-bloco-card__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.metodologia-bloco-card__titulo {
  margin: 0;
  color: #15181d;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.metodologia-bloco-card__acoes {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.metodologia-bloco-card__acoes .projetos-acao:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.metodologia-bloco-card--resumo .metodologia-bloco-card__topo {
  margin-bottom: 0;
  align-items: flex-start;
}

.metodologia-bloco-card__meta {
  margin-top: 4px;
  color: #858796;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.metodologia-bloco-card__desc {
  margin: 8px 0 0;
  color: #5a5c69;
  font-size: 14px;
  line-height: 20px;
}

.metodologia-modal-bloco {
  max-width: 740px;
}

.metodologia-modal-bloco .modal-content {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1);
}

.metodologia-modal-bloco .modal-header {
  padding: 24px 32px 16px;
  border-bottom: 0;
}

.metodologia-modal-bloco .modal-title {
  color: #15181d;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
}

.metodologia-modal-bloco .modal-body {
  padding: 8px 32px 16px;
}

.metodologia-modal-bloco .modal-footer {
  justify-content: flex-end;
  padding: 12px 32px 24px;
}

.oportunidade-cadastro .oportunidade-origem {
  display: contents;
}

.oportunidade-cadastro .oportunidade-origem.d-none {
  display: none !important;
}

.oportunidade-cadastro .projetos-btn--cancelar {
  width: 193px;
  background: #ef3340;
  color: #fafafa;
}

.avaliacao-ver__kpis {
  margin-top: 8px;
  margin-bottom: 24px;
}

.avaliacao-ver__barra {
  margin-top: 14px;
  height: 8px;
  border-radius: 999px;
  background: #eef0f4;
  overflow: hidden;
}

.avaliacao-ver__barra-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #10b981;
  min-width: 0;
}

.avaliacao-ver__cards-dados {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}

.avaliacao-ver__cards-dados > .projetos-detalhe {
  flex: 1 1 360px;
  margin-bottom: 0;
}

.avaliacao-ver__grade-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 16px;
}

.avaliacao-ver__grade-2 .projetos-detalhe__campo {
  width: calc(50% - 8px);
  min-width: 140px;
}

.avaliacao-ver__tabela-titulo {
  padding: 16px 20px 0;
  color: #383e49;
  font-size: 14px;
  font-weight: 700;
}

.avaliacao-pedagogica-ver .avaliacao-subtotal td {
  font-weight: 700;
}

.avaliacao-pedagogica-ver .projetos-tabela {
  margin-bottom: 24px;
}

.avaliacao-abas-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 0 14px rgba(58, 59, 69, 0.1);
}

.avaliacao-abas-pill .nav-item {
  margin: 0;
}

.avaliacao-abas-pill .nav-link {
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c8cbd1;
  font-family: "Lato", "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.avaliacao-abas-pill .nav-link:hover,
.avaliacao-abas-pill .nav-link:focus {
  background: transparent;
  color: #767e8a;
}

.avaliacao-abas-pill .nav-link.active {
  border-radius: 12px;
  background: #1f2e53;
  color: #fafafa;
}

.avaliacao-ver__vazio {
  color: #767e8a;
}

.avaliacao-historico-tabela .status-dot {
  margin-right: 8px;
}

@media (max-width: 767.98px) {
  .avaliacao-ver__grade-2 .projetos-detalhe__campo {
    width: 100%;
  }
}

.chamada-indicador {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  margin: 0;
  padding: 16px 20px;
  border-radius: 12px;
  background: #fff;
  color: #383e49;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chamada-indicador strong {
  margin-left: auto;
  color: #1f2e53;
  font-size: 20px;
  line-height: 1;
}

.chamada-indicador__ponto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.chamada-indicador__ponto--presente { background: #16a34a; }
.chamada-indicador__ponto--ausente { background: #ef3340; }
.chamada-indicador__ponto--justificado { background: #f59e0b; }
.chamada-indicador__ponto--total { background: #1f2e53; }

.chamada-marcas {
  display: inline-flex;
  gap: 8px;
}

.chamada-marca {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef0f4;
  color: #858796;
  font-size: 12px;
  font-weight: 700;
}

.chamada-marca.is-ativa[data-valor="p"] { background: #16a34a; color: #fff; }
.chamada-marca.is-ativa[data-valor="a"] { background: #ef3340; color: #fff; }
.chamada-marca.is-ativa[data-valor="j"] { background: #f59e0b; color: #fff; }

.chamada-observacao {
  width: 100%;
  min-width: 180px;
  height: 36px;
  padding: 8px 16px;
  border: 1px solid #d1d3e2;
  border-radius: 8px;
  background: #fafafa;
  color: #383e49;
}

.chamada-ver__rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 20px;
}

.chamada-ver__rodape p {
  margin: 0;
  color: #858796;
}

.chamada-ver__cancelar {
  width: auto;
  margin-right: 12px;
  border-color: #ef3340;
  color: #ef3340;
  background: #fff;
}

.chamada-ver__finalizar,
.chamada-ver__salvar-ajuste,
.chamada-ver__confirmar {
  width: auto;
  min-width: 132px;
}

.chamada-ver__motivo {
  padding: 16px 20px 0;
}

.chamada-ver__motivo label {
  display: block;
  margin-bottom: 8px;
  color: #383e49;
  font-size: 14px;
}

.chamada-resumo__titulo {
  margin: 0 0 16px;
  color: #405378;
  font-family: Lato, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.chamada-resumo__status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.chamada-resumo__estatistica {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 12px;
  color: #383e49;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.chamada-resumo__estatistica:last-child {
  margin-bottom: 0;
}

.chamada-resumo__estatistica .chamada-indicador__ponto {
  display: inline-block;
  margin-right: 6px;
}

.chamada-resumo__estatistica strong {
  font-size: 20px;
  line-height: 1;
}

.chamada-resumo__estatistica--presente { background: #e8f7ee; }
.chamada-resumo__estatistica--presente strong { color: #16a34a; }
.chamada-resumo__estatistica--ausente { background: #fdecee; }
.chamada-resumo__estatistica--ausente strong { color: #ef3340; }
.chamada-resumo__estatistica--justificado { background: #fff1e0; }
.chamada-resumo__estatistica--justificado strong { color: #f59e0b; }
.chamada-resumo__estatistica--total { background: #e9ecf6; }
.chamada-resumo__estatistica--total strong { color: #1f2e53; }

.chamada-acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.chamada-frequencia__acao:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.chamada-frequencia__justificar {
  border-color: #ef3340;
  color: #ef3340;
  background: #fff;
}

/* Biblioteca Digital */
.biblioteca-secao-titulo {
  margin: 0 0 16px;
  color: #405378;
  font-family: Lato, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.biblioteca-arquivo-dropzone {
  max-width: 335px;
}

.biblioteca-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.biblioteca-status__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.biblioteca-status--ativo {
  color: #16a34a;
}

.biblioteca-status--alerta {
  color: #d97706;
}

.biblioteca-status--neutro {
  color: #767e8a;
}

.biblioteca-card .projetos-detalhe__campo {
  width: 100%;
  margin: 0;
}

.biblioteca-card .projetos-detalhe__campo span {
  display: block;
  margin-bottom: 14px;
  color: #858796;
  font-size: 16px;
  line-height: 24px;
}

.biblioteca-card .projetos-detalhe__campo strong {
  display: block;
  color: #383e49;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.biblioteca-hint {
  margin: 0 0 8px;
  color: #383e49;
  font-size: 14px;
}

.biblioteca-label {
  display: block;
  margin-bottom: 8px;
  color: #858796;
  font-size: 16px;
}

.biblioteca-dado {
  color: #383e49;
  font-size: 16px;
}

.biblioteca-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.biblioteca-chip {
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

.biblioteca-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.biblioteca-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid #d1d3e2;
  border-radius: 8px;
  background: #fff;
  color: #383e49;
  font-size: 14px;
  line-height: 1.2;
}

.biblioteca-chip.is-ativo span,
.biblioteca-chip input:checked + span {
  border-color: #1f2e53;
  background: #1f2e53;
  color: #fff;
}

.biblioteca-capa {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 12px;
  border: 1px dashed #d1d3e2;
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
  text-align: center;
}

.biblioteca-capa img {
  max-width: 100%;
  max-height: 140px;
  border-radius: 6px;
  object-fit: cover;
}

.biblioteca-capa input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.biblioteca-capa span {
  margin-top: 8px;
  color: #858796;
  font-size: 13px;
}

.biblioteca-capa-bloco {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.biblioteca-capa-bloco__titulo {
  margin: 0 0 12px;
  color: #4b4c51;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
}

.biblioteca-capa-bloco__hint {
  margin: 12px 0 0;
  color: #858796;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.biblioteca-capa--texto {
  width: 100%;
  max-width: 360px;
  min-height: 180px;
  border-style: solid;
  border-color: #dddee2;
  background: #dddee2;
  box-shadow: 0 0 3px rgba(58, 59, 69, 0.1);
}

.biblioteca-capa--texto img {
  max-height: 160px;
}

/* Shell visual do editor textual (Figma Rich Text — sem Quill no projeto) */
.biblioteca-richtext {
  width: 100%;
}

.biblioteca-richtext > label {
  display: block;
  margin-bottom: 8px;
  color: #858796;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.biblioteca-richtext__editor {
  overflow: hidden;
  border: 1px solid #d1d3e2;
  border-radius: 8px;
  background: #fff;
}

.biblioteca-richtext__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 8px 12px;
  border-bottom: 1px solid #d1d3e2;
  color: #383e49;
  pointer-events: none;
  user-select: none;
}

.biblioteca-richtext__estilo {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 170px;
  max-width: 100%;
  height: 36px;
  padding: 0 8px;
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: 1;
}

.biblioteca-richtext__estilo .fa-chevron-down {
  font-size: 12px;
  color: #858796;
}

.biblioteca-richtext__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: 1;
}

.biblioteca-richtext__btn em {
  font-style: italic;
  font-size: 18px;
}

.biblioteca-richtext__u {
  text-decoration: underline;
}

.biblioteca-richtext__area.form-control {
  min-height: 208px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 16px;
  color: #383e49;
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
}

.biblioteca-richtext__area.form-control:focus {
  box-shadow: none;
}

.biblioteca-richtext__editor:has(.biblioteca-richtext__area:disabled) .biblioteca-richtext__toolbar {
  opacity: 0.55;
}

.biblioteca-richtext__area.form-control:disabled {
  background-color: #fff;
  opacity: 1;
}

.biblioteca-videos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.biblioteca-video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 180px;
  padding: 10px;
  border: 1px solid #e3e6f0;
  border-radius: 8px;
  background: #fff;
}

.biblioteca-video-card__thumb {
  position: relative;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 6px;
  background: #eef0f4;
}

.biblioteca-video-card__img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.biblioteca-video-card__upload {
  position: absolute;
  right: 6px;
  bottom: 6px;
  margin: 0;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(31, 46, 83, 0.85);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
}

.biblioteca-video-card__upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.biblioteca-video-card__corpo {
  flex: 1;
}

.biblioteca-video-card__remover {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #ef3340;
  box-shadow: 0 0 4px rgba(58, 59, 69, 0.15);
  cursor: pointer;
}

.biblioteca-video-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  min-height: 160px;
  border: 1px dashed #d1d3e2;
  border-radius: 8px;
  background: #fafafa;
  color: #1f2e53;
  font-size: 20px;
  cursor: pointer;
}

.biblioteca-video-add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#btn-salvar:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

