@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


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

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

.bg-filtrando {
  background-color: rgba(28, 200, 138, .4);
  /* background-color: #FFF; */
  background-image: linear-gradient(180deg, rgba(28, 200, 138, .3) 10%, rgba(19, 133, 92, .3) 100%);
  background-size: cover;
}

.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(--color-primary);
  border: 1px solid var(--color-primary);
  cursor: pointer;
}

#pager .stepper-before:hover,
#pager .stepper-next:hover,
#pager .stepper:hover,
#pager .stepper-active {
  color: var(--color-primary-contrast);
  background-color: var(--color-primary);
}

/* Login */
.logo-masterhub {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 71px;
}

.logo-masterhub img {
  width: 80%;
  object-fit: contain;
}

.card-restrito {
  padding: 36px;
}

.card-restrito .form-control {
  padding: 13px !important;
  border-radius: 5px !important;
}

.card-restrito .btn {
  border-radius: 5px !important;
}

.bg-onboard {
  background-color: #063279;
}

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

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

.footer-login p {
  color: #FFFFFF;
  font-size: small;
}

.footer-login img {
  height: 23px;
}

#olho-senha {
  width: 20px;
  margin-right: 14px;
  margin-left: 0px;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 0px;
  color: #555;
  transform: translateY(-50%);
}


::-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);
}

/* usuarios START */

.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;
}

.restrito-title {
  font-family: Inter;
  font-weight: 700;
  font-size: 27px;
  color: #063279;
}

.restrito-text {
  font-family: Inter;
  font-weight: 700;
  font-size: 17px;
  color: #423E48;
}

.restrito-input-title {
  font-family: Inter;
  font-weight: 400;
  font-size: 15px;
  color: #423E48;
}

/* usuarios END */
/* usuarios END */


/* Navbar Cliente|Engenheiro */

.navbar-user {
  display: flex;
  padding: 22px 32px;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  box-shadow: 0px 0px 4px 0px #00000040;
}

.navbar-user h1 {
  font-family: Montserrat;
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: var(--Texto-Principal, #281F1F);
  margin: 0;
}

.navbar-user .dropdown-button {
  font-family: Montserrat;
  font-weight: 500;
  font-style: Medium;
  font-size: 13px;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: uppercase;
  color: var(--Texto-Principal, #281F1F);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
}

/* Chevron icons - default state shows down, expanded state shows up */
.navbar-user .dropdown-button .chevron-up {
  display: none;
}

.navbar-user .dropdown-button .chevron-down {
  display: inline-block;
}

.navbar-user .dropdown-button[aria-expanded="true"] .chevron-down {
  display: none;
}

.navbar-user .dropdown-button[aria-expanded="true"] .chevron-up {
  display: inline-block;
}

/* Dropdown menu styling */
.navbar-user .minha-conta-dropdown .minha-conta-menu {
  width: 160px;
  min-width: 160px;
  padding: 21px 10px;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  border: none;
  margin-top: 4px;
}

/* Dropdown items */
.navbar-user .minha-conta-item {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 14px;
  color: var(--Texto-Principal, #281F1F);
  padding: 0;
  margin-bottom: 16px;
  background: transparent;
  border: none;
  text-decoration: none;
  display: block;
  cursor: pointer;
  line-height: 16px;
  transition: opacity 0.2s ease;
}

.navbar-user .minha-conta-item:last-child {
  margin-bottom: 0;
}

.navbar-user .minha-conta-item:hover {
  opacity: 0.7;
  background: transparent;
}

/* Exit item with icon */
.navbar-user .minha-conta-item-exit {
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar-user .minha-conta-item-exit .exit-icon {
  flex-shrink: 0;
}

.navbar-user .minha-conta-item-exit span {
  line-height: 16px;
}

.navbar-user.mobile {
  display: none;
  background: var(--Azul-Master-Hub, #063279);
}

.navbar-user.mobile.pdf {
  border-bottom: 1px solid var(--Texto-Principal, #281F1F);
  background: var(--Branco-Master-Hub, #FFF);
  box-shadow: 0 4px 4px 0 rgba(56, 98, 172, 0.22);
}

.navbar-user.mobile.pdf button {
  border: unset;
  background: unset;
}

.navbar-user.mobile.pdf .logo p {
  color: #000;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 0;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 200px;
}

.container-fluid {
  padding-top: 20px;
}

/* Exceção para página de mentoria - sem padding */
.container-fluid.mentoria-page,
.container-fluid:has(.mentoria-page) {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .navbar-user.desktop {
    display: none;
  }

  .navbar-user.mobile {
    position: fixed;
    width: 100%;
    display: flex;
    z-index: 1000;
  }

  .container-fluid {
    margin-top: 81px;
    padding-top: 20px;
    height: calc(100vh - 169px);
    overflow-y: auto;
    overflow-x: hidden;
  }
}

.mobile-menu-button {
  display: block;
  background-color: transparent;
  border: none;
  font-size: 20px;
  color: white;
  width: 30px;
}

.toggled-mobile-menu {
  display: none;
}

.mobile-menu-button:hover {
  opacity: 0.8;
  color: white;
}

.mobile-menu {
  display: none;
}

.mobile-menu.toggled {
  display: flex;
  position: fixed;
  top: 81px;
  width: 100%;
  height: calc(100vh - 81px);
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
  background: #ffffff;
}

.mobile-menu.toggled ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu.toggled ul li a {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #281F1F;
  text-decoration: none;
}

.navbar-user.mobile.pdf,
.nav__default.is-pdf-page {
  display: none !important;
}

.navbar-user.mobile.pdf.is-pdf-page {
  display: flex !important;
}

@media (min-width: 768px) {

  .navbar-user.mobile.pdf.is-pdf-page .logo {
    margin-right: auto;
    margin-left: 21px;
  }

  .navbar.navbar-user.desktop.is-pdf-page {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }
}


#legislacao #pager .stepper-before i,
#legislacao #pager .stepper-next i,
#documento #pager .stepper-before i,
#documento #pager .stepper-next i,
#template #pager .stepper-before i,
#template #pager .stepper-next i,
.cursos #pager .stepper-before i,
.cursos #pager .stepper-next i {
  display: none;
}

#legislacao #pager,
#documento #pager,
#template #pager,
.cursos #pager {
  gap: 0;
  padding: 16px 28px 51px;
}


#legislacao #pager .stepper-before,
#legislacao #pager .stepper-next,
#documento #pager .stepper-before,
#documento #pager .stepper-next,
#template #pager .stepper-before,
#template #pager .stepper-next,

.cursos #pager .stepper-before,
.cursos #pager .stepper-next {
  border: 0.2px solid #42424226;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #063279 !important;
  font-weight: 400;
}




#legislacao .stepper,
#documento .stepper,
#template .stepper,
.cursos .stepper {
  width: 30px;
  height: 38px;
  opacity: 1;
  border-width: 0.2px !important;
  border: 0.2px solid #42424226 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;

  font-family: Inter !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  color: #063279 !important;
}


#legislacao .stepper-active b,
#legislacao .stepper-active,
#documento .stepper-active b,
#documento .stepper-active,
#template .stepper-active b,
#template .stepper-active,

.cursos .stepper-active b,
.cursos .stepper-active {
  background: #063279 !important;
  color: #fff !important;
  font-weight: 400 !important;
}

.richText-btn {
  padding: 0 11px !important;
}

.richText-btn span {
  font-size: 10px;
  color: #000;
}

/* Mentoria IA -------------------------------------------------- */
.mentoria-page {
  padding: 0;
  color: #281F1F;
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

/* Garantir que não haja scroll na página no desktop e ocupar espaço do footer */
#content-wrapper:has(.mentoria-page) {
  overflow: hidden;
  height: calc(100vh - 90px);
  max-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
}

#content:has(.mentoria-page) {
  overflow: hidden;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  margin: 0;
}

/* Remover padding do container-fluid na página de mentoria */
.container-fluid.mentoria-page {
  padding: 0 !important;
  margin: 0 !important;
  height: 100%;
  flex: 1;
  min-height: 0;
}

/* Remover margin do navbar na página de mentoria */
#content:has(.mentoria-page) .navbar,
#content:has(.mentoria-page) .topbar {
  margin-bottom: 0;
}


/* Remover padding do container-fluid na página de mentoria */
.mentoria-page.container-fluid,
.container-fluid .mentoria-page {
  padding: 0;
  margin: 0;
  height: 100%;
}

/* Perfil do IA */
.mentoria-profile-card {
  text-align: center;
  padding: 24px 20px 16px;
  margin-bottom: 16px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  background: var(--Cinza-claro, #F7F7F7);
}

.mentoria-profile-header-stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.mentoria-profile-avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.mentoria-profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #063279;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(6, 50, 121, 0.2);
}

.mentoria-profile-avatar i {
  font-size: 48px;
  color: #ffffff;
}

.mentoria-online-dot {
  position: absolute;
  bottom: -1px;
  right: -6px;
  width: 24px;
  height: 24px;
  background: #00C950;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.mentoria-profile-name {
  color: #101828;
  text-align: center;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  }

.mentoria-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #063279;
  font-weight: 500;
  margin: 12px auto 16px;
  background: #E3F2FD;
  padding: 6px 16px;
  border-radius: 20px;
}

.mentoria-online-dot-small {
  width: 8px;
  height: 8px;
  background: #28a745;
  border-radius: 50%;
  display: inline-block;
}

.mentoria-profile-description {
  font-family: Montserrat;
  font-weight: 500;
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: #4A5565;
  text-align: center;
}

/* Container do chat */
.mentoria-chat-container {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(15, 15, 15, 0.08);
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  position: relative;
  overflow: hidden;
  /* Ocupar todo o espaço disponível, incluindo o espaço do footer */
  min-height: calc(100vh - 160px);
}

.mentoria-header-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(6, 50, 121, 0.08);
}

.mentoria-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 50, 121, 0.08);
  color: #063279;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mentoria-description {
  margin-top: 12px;
  color: #4F4F4F;
  max-width: 720px;
}

.mentoria-btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 10px 20px;
}

.mentoria-content {
  margin-top: 32px;
}

.mentoria-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 15, 15, 0.08);
  height: 100%;
}

.mentoria-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.mentoria-card-header h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  color: #063279;
}

.mentoria-card-header small {
  color: #7B7B7B;
  display: block;
}

.mentoria-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mentoria-history-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid #E4E4E4;
  border-radius: 16px;
  background: #F9FAFD;
  align-items: center;
}

.mentoria-history-item strong {
  display: block;
  font-size: 14px;
  color: #281F1F;
}

.mentoria-history-item span {
  display: block;
  font-size: 12px;
  color: #7B7B7B;
}

.mentoria-history-empty {
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed #D0D0D0;
  color: #7B7B7B;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mentoria-tips-list {
  padding-left: 18px;
  color: #4F4F4F;
  line-height: 1.5;
  margin-bottom: 16px;
}

.mentoria-disclaimer {
  font-size: 12px;
  color: #7B7B7B;
  background: #F5F7FB;
  border-left: 4px solid #063279;
  padding: 12px 16px;
  border-radius: 12px;
}

.mentoria-chat {
  border: none;
  border-radius: 24px;
  overflow: hidden;
}

.mentoria-chat-header {
  padding: 24px;
  border-bottom: 1px solid #EEF0F6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.mentoria-chat-label {
  margin: 0;
  font-weight: 600;
  color: #063279;
}

.mentoria-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(6, 50, 121, 0.1);
  color: #063279;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.mentoria-chat-messages {
  padding: 20px 24px;
  background: #FAFBFF;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0; /* Permite que o flex funcione corretamente */
}

.mentoria-chat-messages::-webkit-scrollbar {
  width: 8px;
}

.mentoria-chat-messages::-webkit-scrollbar-track {
  background: #F0F0F0;
  border-radius: 4px;
}

.mentoria-chat-messages::-webkit-scrollbar-thumb {
  background: #C0C0C0;
  border-radius: 4px;
}

.mentoria-chat-messages::-webkit-scrollbar-thumb:hover {
  background: #A0A0A0;
}

.mentoria-message {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
}

.mentoria-message:last-child {
  margin-bottom: 0;
}

/* Mensagem de boas-vindas centralizada */
.mentoria-message-welcome {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 12px auto;
  max-width: 600px;
  background: transparent;
}

.mentoria-message-welcome .mentoria-message-body {
  max-width: 100%;
  text-align: center;
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Badge do robô na mensagem de boas-vindas (menor, sem dot) */
.mentoria-welcome-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #063279;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto;
}

.mentoria-welcome-avatar svg {
  width: 32px;
  height: 32px;
}

/* Mensagem de saudação com estilo diferente */
.mentoria-welcome-greeting {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #364153;
  margin: 0;
  text-align: center;
}

/* Texto descritivo */
.mentoria-welcome-description {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #6a7282;
  margin: 0;
  text-align: center;
  max-width: 440px;
}

/* User à direita, Assistant à esquerda */
.mentoria-message-user {
  justify-content: flex-end;
}

.mentoria-message-user .mentoria-message-avatar {
  order: 2; /* Avatar do user fica à direita */
}

.mentoria-message-user .mentoria-message-body {
  order: 1; /* Body do user fica à esquerda do avatar */
}

.mentoria-message-assistant {
  justify-content: flex-start;
}

.mentoria-message-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  background: #063279;
  flex-shrink: 0;
}

.mentoria-message-avatar i {
  font-size: 20px;
}

.mentoria-message-user .mentoria-message-avatar {
  background: #281F1F;
}

.mentoria-message-body {
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  max-width: 70%;
  min-width: 200px;
}

.mentoria-message-user .mentoria-message-body {
  background: #E7EDFF;
}

.mentoria-message-author {
  font-weight: 600;
  color: #063279;
  margin-bottom: 6px;
}

.mentoria-message-body .mentoria-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #063279;
  text-decoration: none;
  gap: 4px;
}

.mentoria-message-body .mentoria-link::after {
  content: '\2197';
  font-size: 12px;
}

.mentoria-message-body .mentoria-link:hover {
  text-decoration: underline;
}

.mentoria-message-user .mentoria-message-author {
  color: #281F1F;
}

/* Formatação de conteúdo da IA */
.mentoria-message-content {
  line-height: 1.6;
  color: #333;
}

.mentoria-message-content p {
  margin: 0 0 12px 0;
}

.mentoria-message-content p:last-child {
  margin-bottom: 0;
}

.mentoria-message-content ul,
.mentoria-message-content ol {
  margin: 12px 0;
  padding-left: 24px;
}

.mentoria-message-content li {
  margin: 6px 0;
  line-height: 1.5;
}

.mentoria-message-content strong {
  font-weight: 600;
  color: #063279;
}

.mentoria-message-content em {
  font-style: italic;
}

.mentoria-message-content code {
  background: #F5F5F5;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #063279;
}

.mentoria-message-content a {
  color: #063279;
  text-decoration: underline;
  font-weight: 500;
}

.mentoria-message-content a:hover {
  color: #052a6b;
}

.mentoria-message-content h2,
.mentoria-message-content h3,
.mentoria-message-content h4 {
  margin: 16px 0 8px;
  color: #052a6b;
  font-weight: 700;
}

.mentoria-message-content h2 {
  font-size: 20px;
}

.mentoria-message-content h3 {
  font-size: 18px;
}

.mentoria-message-content h4 {
  font-size: 16px;
}

.mentoria-message-content hr {
  border: none;
  border-top: 1px solid #E4E4E4;
  margin: 16px 0;
}

.mentoria-message-content blockquote {
  border-left: 4px solid #063279;
  padding-left: 12px;
  margin: 12px 0;
  color: #4a4a4a;
  background: #F3F6FF;
}

.mentoria-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
}

.mentoria-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 320px;
}

.mentoria-table-wrapper th,
.mentoria-table-wrapper td {
  border: 1px solid #E4E4E4;
  padding: 10px 12px;
  text-align: left;
}

.mentoria-table-wrapper th {
  background: #f0f4ff;
  font-weight: 600;
  color: #052a6b;
}

.mentoria-table-wrapper tr:nth-child(even) td {
  background: #fafafa;
}

.mentoria-chat-input {
  padding: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  flex-shrink: 0;
  position: relative;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Container que envolve os botões e o input */
.mentoria-input-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
}

.mentoria-input-wrapper {
  flex: 1;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px 16px;
  min-height: 42px;
  display: flex;
  align-items: center;
  margin: 0 1rem;
}

.mentoria-attach-btn,
.mentoria-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mentoria-attach-btn {
  background: transparent;
  color: #7B7B7B;
  margin-right: 0;
}

.mentoria-attach-btn i {
  font-size: 16px;
}

.mentoria-attach-btn:hover {
  background: #E4E4E4;
  color: #063279;
}

.mentoria-send-btn {
  background: #063279;
  color: #ffffff;
  margin-left: 0;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.mentoria-send-btn i {
  font-size: 16px;
}

.mentoria-send-btn:hover {
  background: #052a6b;
  transform: scale(1.05);
}

.mentoria-input-wrapper textarea {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  resize: none;
  min-height: 18px;
  max-height: 200px;
  overflow-y: auto;
  color: #717182;
  line-height: normal;
}

.mentoria-input-wrapper textarea::placeholder {
  color: #717182;
}

.mentoria-input-wrapper textarea:focus {
  outline: none;
}

/* Botões de ação rápida */
.mentoria-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 448px;
}

.mentoria-quick-action-btn {
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  color: #364153;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mentoria-quick-action-btn:hover {
  background: #f9fafb;
  color: #364153;
  border-color: #d1d5db;
}

/* Indicador de digitação */
.mentoria-typing-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.mentoria-typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #063279;
  animation: mentoria-typing 1.4s infinite ease-in-out;
}

.mentoria-typing-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.mentoria-typing-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes mentoria-typing {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.mentoria-input-hint {
  display: block;
  margin-top: 0;
  text-align: center;
  color: #6a7282;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

/* Preview de arquivos */
.mentoria-files-preview {
  padding: 12px 24px;
  background: #F9FAFD;
  border-bottom: 1px solid #EEF0F6;
}

.mentoria-files-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mentoria-file-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #E4E4E4;
  border-radius: 12px;
  font-size: 13px;
  transition: all 0.2s ease;
}

.mentoria-file-item:hover {
  border-color: #063279;
  box-shadow: 0 2px 8px rgba(6, 50, 121, 0.1);
}

/* Preview de imagem */
.mentoria-file-item-image {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.mentoria-file-image-preview {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: #F5F5F5;
}

.mentoria-file-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mentoria-file-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s ease;
  border-radius: 12px;
}

.mentoria-file-item-image:hover .mentoria-file-overlay {
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
}

.mentoria-file-item-image .mentoria-file-remove {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: #dc3545;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 14px;
}

.mentoria-file-item-image .mentoria-file-remove:hover {
  background: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mentoria-file-item-image .mentoria-file-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 8px;
  color: #ffffff;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mentoria-file-item-image:hover .mentoria-file-info {
  opacity: 1;
}

.mentoria-file-item-image .mentoria-file-name {
  color: #ffffff;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.mentoria-file-item-image .mentoria-file-size {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  display: block;
  margin-top: 2px;
}

/* Arquivo normal */
.mentoria-file-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F6FF;
  border-radius: 8px;
  color: #063279;
  flex-shrink: 0;
}

.mentoria-file-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.mentoria-file-name {
  color: #063279;
  font-weight: 500;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mentoria-file-size {
  color: #7B7B7B;
  font-size: 11px;
}

.mentoria-file-remove {
  background: transparent;
  border: none;
  color: #7B7B7B;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mentoria-file-remove:hover {
  background: #FFE5E5;
  color: #dc3545;
}


/* Links de arquivos nas mensagens */
.mentoria-message-files {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mentoria-file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #F3F6FF;
  border: 1px solid #E7EDFF;
  border-radius: 12px;
  color: #063279;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mentoria-file-link:hover {
  background: #E7EDFF;
  border-color: #063279;
  color: #052a6b;
}

.mentoria-file-link i {
  font-size: 12px;
}

@media (max-width: 991.98px) {
  .mentoria-page {
    min-height: calc(100vh - 60px);
    padding: 0;
    margin-bottom: 0;
  }


  .mentoria-header-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .mentoria-profile-card {
    padding: 16px 12px 12px;
    margin-bottom: 12px;
  }

  .mentoria-profile-header-stacked {
    margin-bottom: 12px;
  }

  .mentoria-profile-avatar {
    width: 80px;
    height: 80px;
  }

  .mentoria-profile-avatar i {
    font-size: 32px;
  }

  .mentoria-profile-avatar-wrapper {
    margin-bottom: 8px;
  }

  .mentoria-profile-name {
    font-size: 20px;
    margin: 0 0 8px 0;
  }

  .mentoria-status-pill {
    margin: 0;
    font-size: 12px;
    padding: 4px 12px;
    background: #E3F2FD;
    color: #063279;
  }

  .mentoria-profile-description {
    font-size: 14px;
    line-height: 1.5;
  }

  .mentoria-chat-container {
    border-radius: 0;
    flex: 1;
    min-height: calc(100vh - 120px);
  }

  .mentoria-chat-messages {
    padding: 12px 10px;
    gap: 12px;
  }

  .mentoria-chat-input {
    padding: 10px;
  }

  .mentoria-input-container {
    gap: 8px;
  }

  .mentoria-input-wrapper {
    padding: 10px 14px;
    min-height: 40px;
  }

  .mentoria-attach-btn,
  .mentoria-send-btn {
    width: 40px;
    height: 40px;
  }

  .mentoria-message {
    margin-bottom: 12px;
    gap: 8px;
  }

  .mentoria-message-body {
    max-width: 85%;
    min-width: 150px;
    padding: 12px 14px;
  }

  .mentoria-message-avatar {
    width: 40px;
    height: 40px;
  }

  .mentoria-message-welcome {
    max-width: 100%;
    margin: 8px auto;
  }

  .mentoria-welcome-avatar {
    width: 56px;
    height: 56px;
  }

  .mentoria-welcome-avatar svg {
    width: 28px;
    height: 28px;
  }

  .mentoria-welcome-greeting {
    font-size: 15px;
    line-height: 22px;
  }

  .mentoria-welcome-description {
    font-size: 13px;
    line-height: 18px;
    max-width: 100%;
  }

  .mentoria-quick-actions {
    gap: 8px;
    margin-top: 0;
    max-width: 100%;
  }

  .mentoria-quick-action-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .mentoria-page {
    height: calc(100vh - 50px);
    max-height: calc(100vh - 50px);
    margin-bottom: 0;
    overflow: hidden;
  }

  .mentoria-chat-container {
    height: 100%;
    max-height: 100%;
    min-height: calc(100vh - 100px);
  }

  #content-wrapper:has(.mentoria-page) {
    height: calc(100vh - 50px);
    max-height: calc(100vh - 50px);
  }

  .mentoria-profile-card {
    padding: 12px 10px 8px;
    margin-bottom: 8px;
  }

  .mentoria-profile-header-stacked {
    margin-bottom: 10px;
  }

  .mentoria-profile-avatar {
    width: 60px;
    height: 60px;
  }

  .mentoria-profile-avatar i {
    font-size: 24px;
  }

  .mentoria-profile-avatar-wrapper {
    margin-bottom: 6px;
  }

  .mentoria-profile-name {
    font-size: 16px;
    margin: 0 0 6px 0;
  }

  .mentoria-status-pill {
    margin: 0;
    font-size: 11px;
    padding: 3px 10px;
    background: #E3F2FD;
    color: #063279;
  }

  .mentoria-profile-description {
    font-size: 12px;
    line-height: 1.4;
  }

  .mentoria-chat-container {
    min-height: calc(100vh - 100px);
  }

  .mentoria-chat-messages {
    padding: 10px 8px;
    gap: 10px;
  }

  .mentoria-message {
    margin-bottom: 10px;
    gap: 6px;
  }

  .mentoria-message-body {
    max-width: 90%;
    min-width: 120px;
    padding: 10px 12px;
  }

  .mentoria-message-avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .mentoria-message-avatar i {
    font-size: 16px;
  }

  .mentoria-message-welcome {
    margin: 6px auto;
  }

  .mentoria-welcome-avatar {
    width: 48px;
    height: 48px;
  }

  .mentoria-welcome-avatar svg {
    width: 24px;
    height: 24px;
  }

  .mentoria-welcome-greeting {
    font-size: 14px;
    line-height: 20px;
  }

  .mentoria-welcome-description {
    font-size: 12px;
    line-height: 16px;
  }

  .mentoria-quick-actions {
    flex-direction: column;
    width: 100%;
    gap: 6px;
    margin-top: 8px;
  }

  .mentoria-quick-action-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
  }

  .mentoria-chat-input {
    padding: 8px;
  }

  .mentoria-input-container {
    gap: 6px;
  }

  .mentoria-input-wrapper {
    padding: 8px 12px;
    min-height: 38px;
  }

  .mentoria-attach-btn,
  .mentoria-send-btn {
    width: 36px;
    height: 36px;
  }

  .mentoria-input-hint {
    font-size: 11px;
  }
}

.richText-toolbar,
.richText-toolbar a {
  background: unset !important;
  border: unset !important;
}

.richText-toolbar {
  width: fit-content;
  margin-top: -29px;
  margin-left: auto;
  position: absolute !important;
  right: 0;
  max-width: 100%;
  overflow: scroll;
}

.richText {
  margin-top: 17px;
}

@media screen and (min-width: 768px) {
  .richText-toolbar {
    margin-top: -14px;
  }

  .richText {
    margin-top: 0;
  }

}


.richText {
  background: #fff !important;
  border-radius: 10px;
  border: 1px solid var(--Monocromtico-Texto-Secundario, #424242) !important;
  padding: 10px;
}

.richText-toolbar ul {
  gap: 1px;
  display: flex;
}

.richText-toolbar li {
  border: 1px solid rgba(0, 0, 0, 0.50);
  border-radius: 5px;
  background: #fff;
}

.novo-curso-bnt {
  background: #063279;
}

#lista-clientes thead td,
#lista-engenheiros thead td,
#historico-pagamentos thead td,
#lista-cursos-engenheiro thead td,
#lista-projetos thead td {
  font-family: Inter;
  font-size: 14px;
  color: #0F0F0F;
  font-weight: 700;
}

#lista-clientes tbody tr,
#lista-engenheiros tbody tr,
#historico-pagamentos tbody tr,
#lista-cursos-engenheiro tbody tr,
#lista-projetos tbody tr {
  font-family: Inter;
  font-weight: 400;
  font-size: 14px;
  color: #0F0F0F;
}

#lista-clientes tbody tr:nth-child(odd),
#lista-engenheiros tbody tr:nth-child(odd),
#historico-pagamentos tbody tr:nth-child(odd),
#lista-cursos-engenheiro tbody tr:nth-child(odd),
#lista-projetos tbody tr:nth-child(odd) {
  background-color: #E4E4E4;
}

#lista-clientes tbody tr:nth-child(even),
#lista-engenheiros tbody tr:nth-child(even),
#historico-pagamentos tbody tr:nth-child(even),
#lista-cursos-engenheiro tbody tr:nth-child(even),
#lista-projetos tbody tr:nth-child(even) {
  background-color: #FFFFFF;
}

.filters-container label,
.form-group label{
  font-family: Inter;
  font-size: 16px;
  color: #424242;
  font-weight: 700;
}

.filters-container input,
.filters-container select,
.form-group input,
.form-group select {
  font-family: Inter;
  font-weight: 500;
  border-color: #063279;
}

.text-titulo {
  font-family: Inter;
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  color: #0F0F0F !important;
}

.projetos-titulo {
  font-family: Inter;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  color: #0F0F0F !important;
}

/* Estilos para documentos de aprovação */
.documentos-aprovacao {
  margin-top: 10px;
}

.documento-item {
  display: inline-block;
  vertical-align: top;
}

.documento-preview {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.documento-preview:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.inner-text {
  font-family: Inter;
  font-weight: 700;
  font-size: 16px;
  color: #424242;
}

.historico-pagamentos-container {
  background-color: #FFFFFF;
  overflow: hidden;
  border-radius: 0;
  margin-top: 16px;
}

.historico-pagamentos-header {
  background-color: #063279;
  padding: 0;
  border-bottom-right-radius: 79.5px;
  width: 548px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
}

.historico-pagamentos-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #FFFFFF;
  margin: 0;
  line-height: 1;
}

#historico-pagamentos {
  margin: 0 !important;
  background-color: #FFFFFF !important;
  border-collapse: collapse !important;
  width: 100% !important;
  border: none !important;
}

#historico-pagamentos thead {
  background-color: #b0b0b0 !important;
}

#historico-pagamentos thead td,
#historico-pagamentos thead th {
  background-color: #b0b0b0 !important;
  color: #ffffff !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  padding: 8px 12px !important;
  text-align: center !important;
  border: none !important;
  vertical-align: middle !important;
}

#historico-pagamentos tbody tr {
  background-color: #ffffff !important;
}

#historico-pagamentos tbody tr:hover {
  background-color: #ffffff !important;
}

#historico-pagamentos tbody tr:nth-child(odd) {
  background-color: #ffffff !important;
}

#historico-pagamentos tbody tr:nth-child(even) {
  background-color: #ffffff !important;
}

#historico-pagamentos tbody td,
#historico-pagamentos tbody th {
  padding: 12px !important;
  border-bottom: 1px solid #afafaf !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  color: #000000 !important;
  text-align: center !important;
  vertical-align: middle !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

#historico-pagamentos tbody tr:last-child td,
#historico-pagamentos tbody tr:last-child th {
  border-bottom: none !important;
}

.historico-pagamentos-content {
  background-color: #FFFFFF;
  padding: 0;
  overflow-x: auto;
  width: 100%;
  padding-top: 1.5rem;
}

.btn-cobrar-pagamento {
  background-color: #063279;
  color: #e4e4e4;
  border: none;
  border-radius: 5px;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  width: 67px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  line-height: 1;
}

.btn-cobrar-pagamento:hover {
  background-color: #05205a;
}

#lista-cursos-engenheiro {
  margin: 0;
  width: 100%;
  border-collapse: collapse;
}

#lista-cursos-engenheiro thead td,
#lista-cursos-engenheiro thead th {
  text-align: center;
  padding: 10px;
  border: none;
}

#lista-cursos-engenheiro tbody td,
#lista-cursos-engenheiro tbody th {
  text-align: center;
  padding: 10px;
  border: none;
}

.richText .richText-editor:focus {
  border: unset !important;
}




.richText-editor::-webkit-scrollbar,
.richText-editor::-webkit-scrollbar-track,
.richText-editor::-webkit-scrollbar-thumb,
.richText-editor::-webkit-scrollbar-thumb:hover,
.richText-toolbar::-webkit-scrollbar,
.richText-toolbar::-webkit-scrollbar-track,
.richText-toolbar::-webkit-scrollbar-thumb,
.richText-toolbar::-webkit-scrollbar-thumb:hover {
  background: unset;
  width: 0px;
  height: 0px;
}

.tab-item {
  font-family: Inter;
  font-weight: 600;
  font-size: 14px;
  color: #063279;
  padding: .25rem .5rem;
  border-top-right-radius: .5rem;
  border-top-left-radius: .5rem;
  border: 1px solid #063279;
  border-bottom: none;
}

.tab-item:hover {
  text-decoration: none;
}


.tab-item.active {
  background: #063279;
  color: #FFFFFF;
}

/* Cards de Projetos */
.card-projeto {
  border: 1px solid #E4E4E4;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  background-color: #FFFFFF;
}

.card-projeto-preview-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem
}

.card-projeto-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-projeto-preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F5F5F5;
  color: #9E9E9E;
}

.card-projeto .card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-projeto-nome {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  color: #4D4646;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-projeto-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.card-projeto-info {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  flex: 1;
}

.card-projeto-status-badge {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #4D4646;
  background-color: transparent;
  padding: 0;
  border: none;
  display: inline-block;
}

/* Progress Dial para cards de projetos */
.card-projeto-progress-dial {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, white 79%, transparent 80% 100%),
    conic-gradient(#063279 calc(var(--value) * 1%), #E4E4E4 0);
  flex-shrink: 0;
}

.card-projeto-progress-value {
  font-family: Montserrat;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  color: #063279;
  text-align: center;
}

.btn-detalhes-projeto {
  font-family: Montserrat;
  font-weight: 600;
  font-size: 14px;
  line-height: 257%;
  background-color: #063279;
  border-color: #063279;
  color: #FFFFFF;
  border-radius: 30px;
  padding: 2px 6px;
  height: 40px;
  min-width: 113px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-detalhes-projeto:hover {
  background-color: #052a6b;
  border-color: #052a6b;
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(6, 50, 121, 0.3);
}

.btn-detalhes-projeto i {
  font-size: 12px;
}

/* Botão de retry para timeout */
.mentoria-retry-button {
  margin-top: 12px;
  padding: 8px 16px;
  background: #063279;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mentoria-retry-button:hover:not(:disabled) {
  background: #052a6b;
}

.mentoria-retry-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.mentoria-retry-button i {
  font-size: 12px;
}

/* Botão de atualizar chat */
.mentoria-refresh-button {
  padding: 4px 8px;
  background: #063279;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mentoria-refresh-button:hover:not(:disabled) {
  background: #052a6b;
}

.mentoria-refresh-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.mentoria-refresh-button i {
  font-size: 10px;
}

/* ======================= */
/* FOOTER                  */
/* ======================= */
footer.sticky-footer {
  padding: 0;
  position: relative;
  background: transparent;
}

footer.sticky-footer .footer-content-wrapper {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  padding: 1.5rem 0;
}

footer.sticky-footer .copyright {
  line-height: 1.5;
  font-size: 0.875rem;
  color: #4D4646;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

footer.sticky-footer .footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  vertical-align: middle;
}

footer.sticky-footer .footer-logo-link:hover {
  opacity: 0.8;
  text-decoration: none;
  color: #999999;
}

footer.sticky-footer .footer-logo {
  height: 20px;
  width: auto;
  filter: grayscale(100%) brightness(0.7);
  opacity: 1;
  transition: opacity 0.2s ease;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

footer.sticky-footer .footer-logo-link:hover .footer-logo {
  opacity: 1;
}

footer.sticky-footer .footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  vertical-align: middle;
  justify-content: center;
}

footer.sticky-footer .footer-brand-name {
  font-size: 0.875rem;
  color: #999999;
  font-weight: 400;
  line-height: 1.2;
}

footer.sticky-footer .footer-brand-tagline {
  font-size: 0.75rem;
  color: #999999;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 1px;
}

footer.sticky-footer .footer-brand sup {
  font-size: 0.7em;
  vertical-align: super;
}

#content-wrapper:has(.mentoria-page) footer.sticky-footer {
  display: none;
}

/* Fix para selects em projetos - evitar corte de texto */
.form-group select.form-control {
  line-height: 1.5 !important;
  /* padding-top: 20px !important;
  padding-bottom: 13px !important; */
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  /* height: auto !important;
  min-height: 48px !important; */
}

.form-group select.form-control option {
  padding: 10px !important;
  line-height: 1.5 !important;
  white-space: normal !important;
}
/*
#lista-permissoes .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #063279;
  border-color: #063279;
}

#lista-permissoes .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(6, 50, 121, 0.25);
} */

/* #lista-permissoes th {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #000000;
} */
/*
#lista-permissoes th:last-child {
  white-space: nowrap;
} */

.permissoes-toggle-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #4d4646;
}
/*
#lista-permissoes tbody tr:first-child td {
  border-bottom: 1px solid #afafaf;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
} */

select.form-control {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}