/* tabela cobranças */

.table-container{
  padding:20px;
}


.custom-table{
  border-collapse: separate;
  border-spacing:0;
  width:100%;
}

.custom-table thead th{
  color:#24466f;
  font-weight:500;
  font-size:12px;
  line-height: 15px;
  padding:18px 16px;
  border-bottom:1px solid #e5e9ef;
  white-space:nowrap;
}


.custom-table tbody td{
  padding:18px 16px;
  vertical-align:middle;
  font-size:12px;
  line-height: 15px;
  border-bottom:1px solid #e8edf3;
  color:#163a64;
}


.custom-table tbody tr:hover{
  background:#fafcff;
}

.theme-dark .custom-table thead th {
  color: #ced4da;
  border-bottom-color: #555;
}

.theme-dark .custom-table tbody td {
  color: #f1f3f5;
  border-bottom-color: #555;
}

.theme-dark .custom-table tbody tr:hover {
  background: #2c2d2e;
}


/* Status */

.status{
  padding:8px 14px;
  border-radius:30px;
  font-size:12px;
  line-height: 15px;
}


.aprovado{
  background:#dff5eb;
  color:#00855a;
}


.rejeitado{
  background:#fde7e7;
  color:#c52222;
}

.aguardando{
  background:#ffeed2;
  color:#ee9200;
}

.cancelado{
  background:#f1f1f1;
  color:#666666;
}


/* Cartão */

.mastercard{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:500;
}


.mastercard i{
  width:20px;
  height:20px;
  display:inline-block;
  position:relative;
}


.mastercard i:before,
.mastercard i:after{
  content:"";
  position:absolute;
  width:14px;
  height:14px;
  border-radius:50%;
  top:3px;
}


.mastercard i:before{
  background:#eb001b;
  left:0;
}


.mastercard i:after{
  background:#f79e1b;
  right:0;
}



/* Pix */

.pix{
  display:flex;
  align-items:center;
  gap:10px;
  color:#00a88f;
  font-weight:600;
}


.pix-icon{
  width:18px;
  height:18px;
  background:#00bfa5;
  transform:rotate(45deg);
  border-radius:4px;
}


/* nota */

.note{
  color:#0aa4b5;
  font-size:20px;
}


@media(max-width:768px){

.table-container{
  padding:10px;
}


.custom-table{
  min-width:1000px;
}


}


/* fim tabela cobranças /*


/* começo calendário */

.calendar-wrapper{
position:relative;
width:380px;
}

.date-trigger{
border:none;
background:#ffffff;
display:flex;
align-items:center;
gap:12px;
cursor:pointer;
padding: 2px 7px;
}

.date-trigger i{
font-size:15px;
}

.calendar-box{
width:380px;
background:#fff;
border-radius:12px;
padding:22px;
margin-top:14px;
box-shadow:0 5px 20px rgba(0,0,0,.10);
display:none;
user-select:none;
position:absolute;
z-index:999;
}

.calendar-box.active{
display:block;
}

.calendar-title{
font-size:14px;
color:#555;
margin-bottom:14px;
font-weight:600;
}

.calendar-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:22px;
}

.calendar-header button{
border:none;
background:none;
font-size:28px;
color:#4b5563;
cursor:pointer;
}

.month-year{
font-size:18px;
font-weight:700;
color:#374151;
}

.week-days,
.calendar-days{
display:grid;
grid-template-columns:repeat(7,1fr);
gap:4px;
text-align:center;
}

.week-days div{
font-size:14px;
color:#6b7280;
padding-bottom:10px;
}

.day{
height:50px;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
position:relative;
font-size:18px;
color:#374151;
border-radius:0;
transition:.2s;
}

.day:hover{
background:#f3f4f6;
}

.day.in-range{
background:#0b7c88;
color:#fff;
}

.day.start{
border-top-left-radius:30px;
border-bottom-left-radius:30px;
}

.day.end{
border-top-right-radius:30px;
border-bottom-right-radius:30px;
}

.day.single{
border-radius:50%;
}

.empty{
height:50px;
}

/* fim calendário */

.accordion-flush .accordion-item:first-child {
  border-top: 0;
}

.accordion-flush .accordion-item {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.accordion-item:first-of-type {
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
}

.accordion-item {
  background-color: #fff;
  /*border: 1px solid rgba(0, 0, 0, .125);*/
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-flush .accordion-item .accordion-button {
  border-radius: 0;
}

.accordion-item:first-of-type .accordion-button {
  border-top-left-radius: calc(.25rem - 1px);
  border-top-right-radius: calc(.25rem - 1px);
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
}

.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background: url('../images/arrow-down.svg') no-repeat right center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform .2s ease-in-out;
}

.accordion-button > h2 {
  flex: 1;
  min-width: 0;
  margin-right: 0.5rem;
}

.accordion-button:not(.collapsed)::after {
  background-image: url('../images/arrow-down.svg');
  transform: rotate(-180deg);
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
}

.accordion-flush .accordion-collapse {
  border-width: 0;
}

.accordion-body {
  padding: 1rem 1.25rem;
}

.theme-dark .accordion-item {
  background-color: #212223;
  border-color: #555;
}

.theme-dark .accordion-button {
  background-color: #212223;
  color: #ddd;
  border-color: #555;
}

.theme-dark .accordion-button.border {
  border-color: #555 !important;
}

.theme-dark .accordion-button::after {
  filter: invert(1);
  opacity: 0.85;
}

.theme-dark .accordion-button:not(.collapsed) {
  background-color: #212223;
  color: #fff;
  box-shadow: none;
}

.theme-dark .accordion-button:focus {
  box-shadow: none;
  border-color: #555;
}

.theme-dark .accordion-button.border:focus {
  border-color: #555 !important;
}

.theme-dark .accordion .bg-white {
  background-color: #212223 !important;
  border-color: #757576 !important;
}

.theme-dark .form-control {
  color: #ddd;
}

.theme-dark .form-control:focus {
  color: #fff;
  background-color: #333 !important;
}

.theme-dark .form-control::placeholder {
  color: #999;
  opacity: 1;
}

.theme-dark label,
.theme-dark .form-check-label,
.theme-dark .form-label {
  color: #eee;
}

/* =========================
         OFFCANVAS BOTTOM
      ========================= */

      .offcanvas{
          position: fixed;
          bottom: 0;
          left: 0;
          right: 0;

          z-index: 1055;
          pointer-events: none;

          background: #fff;

          visibility: hidden;

          transform: translateY(100%);

          transition: transform .3s ease-in-out;

          border-top: 1px solid #ececec;

          box-shadow: 0 -5px 20px rgba(0,0,0,.06);
      }

      .offcanvas.show{
          visibility: visible;
          transform: translateY(0);
          pointer-events: auto;
      }

      .offcanvas-bottom{
          height: 90px;
      }

      #cronometroBottom.offcanvas-bottom{
          height: 70px;
          max-height: 70px;
      }

      .offcanvas-backdrop{
          display: none !important;
      }

      .cronometro-wrapper{
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 20px;
          padding: 0 20px;
          flex-wrap: nowrap;
          min-width: 0;
      }

      .cronometro-title-label{
          font-size: 22px;
          font-weight: 700;
          color: #1f2937;
          margin: 0;
          white-space: nowrap;
          flex-shrink: 0;
      }

      .cronometro-title{
          font-size: 28px;
          font-weight: 700;
          color: #1f2937;
          margin: 0;
      }

      .cronometro-notify-stepper{
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 8px;
          flex-shrink: 0;
      }

      .cronometro-step-btn{
          border: none;
          background: transparent;
          box-shadow: none;
          padding: 0 4px;
          margin: 0;
          min-width: 28px;
          font-size: 28px;
          font-weight: 600;
          line-height: 1;
          color: #6b7280;
          cursor: pointer;
          user-select: none;
          -webkit-user-select: none;
          touch-action: none;
          opacity: 1;
      }

      .cronometro-step-btn:hover,
      .cronometro-step-btn:focus{
          color: #a33b27;
          outline: none;
          background: transparent;
          border: none;
          box-shadow: none;
      }

      .cronometro-step-btn:active{
          color: #8c3221;
      }

      #cronometroBottom.is-running .cronometro-step-btn{
          opacity: 0;
          pointer-events: none;
      }

      .notify-text{
          font-size: 16px;
          color: #666;
          margin-bottom: 12px;
      }

      .timer-display{
          font-size: 24px;
          font-weight: 700;
          color: #a33b27;
          min-width: 110px;
          text-align: center;
          font-variant-numeric: tabular-nums;
          flex-shrink: 0;
          white-space: nowrap;
      }

      .cronometro-elapsed{
          display: flex;
          flex-direction: column;
          align-items: flex-start;
          justify-content: center;
          white-space: nowrap;
          flex-shrink: 0;
          font-size: 13px;
          font-weight: 400;
          color: #6b7280;
          line-height: 1.25;
          margin-top: 0 !important;
      }

      .cronometro-elapsed-caption,
      .cronometro-elapsed-time{
          font-weight: 400;
      }

      .cronometro-elapsed-time{
          font-size: 15px;
          color: #4b5563;
          font-variant-numeric: tabular-nums;
      }

      .cronometro-actions{
          display: flex;
          align-items: center;
          gap: 10px;
          flex-shrink: 0;
      }

      .btn-encerrar,
      .btn-iniciar{
          width: 44px;
          height: 44px;
          padding: 0;
          border-radius: 10px;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          flex-shrink: 0;
          line-height: 1;
      }

      .btn-encerrar{
          border: 1px solid #d9d9d9;
          background: #fff;
          color: #555;
      }

      .btn-encerrar:hover,
      .btn-encerrar:focus{
          border-color: #a33b27;
          color: #a33b27;
          outline: none;
      }

      .btn-iniciar{
          border: none;
          background: #a33b27;
          color: #fff;
      }

      .btn-iniciar:hover,
      .btn-iniciar:focus{
          background: #8c3221;
          color: #fff;
          outline: none;
      }

      .btn-encerrar i,
      .btn-iniciar i,
      .btn-encerrar .cronometro-icon,
      .btn-iniciar .cronometro-icon{
          display: block;
          width: 18px;
          height: 18px;
          line-height: 1;
      }

      .btn-iniciar .cronometro-icon{
          margin-left: 1px;
      }

      .close-btn{
          background: transparent;
          border: none;
          font-size: 34px;
          color: #777;
          cursor: pointer;
          line-height: 1;
          flex-shrink: 0;
      }

      @media (max-width: 768px) {
          .offcanvas-bottom#cronometroBottom{
              height: 60px;
              max-height: 60px;
              min-height: 60px;
              padding: 0;
          }

          .cronometro-wrapper{
              gap: 10px;
              padding: 0 12px;
              justify-content: center;
          }

          .cronometro-title-label{
              display: none;
          }

          .cronometro-step-btn{
              font-size: 24px;
              min-width: 24px;
          }

          .timer-display{
              font-size: 18px;
              min-width: 88px;
          }

          .cronometro-elapsed{
              font-size: 12px;
          }

          .cronometro-elapsed-time{
              font-size: 13px;
          }

          .btn-encerrar,
          .btn-iniciar{
              width: 40px;
              height: 40px;
          }

          .close-btn{
              font-size: 28px;
              padding: 0 4px;
          }
      }

      @media (max-width: 480px) {
          .cronometro-wrapper{
              gap: 8px;
          }

          .timer-display{
              font-size: 16px;
              min-width: 78px;
          }

          .cronometro-elapsed{
              font-size: 11px;
          }

          .cronometro-elapsed-time{
              font-size: 12px;
          }

          .cronometro-step-btn{
              font-size: 22px;
              min-width: 22px;
          }
      }

      .floating-actions {
  position: fixed;
  right: 0;
  top: 45%;
  transform: translateY(-50%);
  z-index: 999;
  pointer-events: none;
}

.btn-cronometrar-estudo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #a33b27;
  color: #a33b27;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-cronometrar-estudo:hover,
.btn-cronometrar-estudo:focus {
  background: rgba(163, 59, 39, 0.08);
  color: #a33b27;
  border-color: #a33b27;
  outline: none;
}

.btn-cronometrar-estudo i {
  font-size: 16px;
}

/* SweetAlert2 — botões na paleta do site (#a33b27), sem roxo padrão */
.swal2-actions .btn-swal-outline-ak {
  background: transparent !important;
  border: 1px solid #a33b27 !important;
  color: #a33b27 !important;
  box-shadow: none !important;
}

.swal2-actions .btn-swal-outline-ak:hover,
.swal2-actions .btn-swal-outline-ak:focus {
  background: rgba(163, 59, 39, 0.08) !important;
  color: #a33b27 !important;
}

.swal2-actions .btn-swal-fill-ak {
  background: #a33b27 !important;
  border: 1px solid #a33b27 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.swal2-actions .btn-swal-fill-ak:hover,
.swal2-actions .btn-swal-fill-ak:focus {
  background: #8c3221 !important;
  border-color: #8c3221 !important;
  color: #fff !important;
}

/* BOTÃO */
.floating-btn {
  width: 72px;
  height: 60px;
  border: none;
  border-radius: 30px 0 0 30px;
  background: #666666;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-left: 22px;
  cursor: pointer;
  overflow: hidden;
  pointer-events: auto;

  transition:
      width 0.35s ease,
      background 0.25s ease;
}

/* Expandido (hover / teclado) */
.floating-btn:hover,
.floating-btn:focus-visible {
  width: 213px;
  background: #666666;
  outline: none;
}

/* Ícone */
.floating-btn i {
  font-size: 28px;
  min-width: 28px;
}

/* Texto */
.btn-text {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;

  transition: opacity 0.2s ease;
}

/* Texto aparece quando abre */
.floating-btn:hover .btn-text,
.floating-btn:focus-visible .btn-text {
  opacity: 1;
}

/* =========================
         OFFCANVAS BOTTOM
      ========================= */



/* CALENDÁRIO */

:root{

  --bg:#f5f7fb;
  --card:#ffffff;
  --border:#e7eaf3;

  --text:#111827;
  --muted:#7b8191;

  --purple:#6d5cff;
  --purple-soft:#f1eeff;

  --pink:#ff5cab;
  --pink-soft:#fff0f7;

  --green:#28c76f;
  --green-soft:#eefbf4;

}

.border-green {
border: 1px solid #46c284 !important;
}

.plan-item {
  border:1px solid #e2e2e2;
  border-radius: 0.3rem !important;
}

.plan-item:hover{
  border-color:#46c284;
}

.plan-item input[type="radio"]{
  margin:0;
}

/* Destaca o item selecionado */
.plan-item:has(input:checked){
  border-color:#46c284;
  box-shadow:0 0 0 2px rgba(25,135,84,.15);
}

.btn-check:checked + .plan-item{
  border-color:#46c284;
  box-shadow:0 0 0 2px rgba(25,135,84,.15);
}


/* WRAPPER */

.schedule-wrapper{
  background:#fff;
  border-radius: 0.3rem !important;
  padding:35px;
  border:1px solid var(--border);
  box-shadow:0 10px 40px rgba(16,24,40,.04);
}

/* TOP */

.schedule-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:15px;
  gap:20px;
  flex-wrap:wrap;
}

.week-btn{
  border:1px solid var(--border);
  background:#fff;
  border-radius: 0.3rem !important;
  padding:16px 24px;
  font-weight:600;
  color:var(--purple);
  transition:.2s;
}

.week-btn:hover{
  background:#f8f8ff;
}

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

.week-date{
  font-size:42px;
  font-weight:700;
  margin-bottom:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}

/* LEGEND */

.legend{
  display:flex;
  justify-content:center;
  gap:35px;
  flex-wrap:wrap;
}

.legend-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:500;
  color:#374151;
}

.legend-dot{
  width:14px;
  height:14px;
  border-radius:50%;
}

.dot-study{
  background:var(--purple);
}

.dot-review{
  background:var(--pink);
}

.dot-exercise{
  background:var(--green);
}

/* GRID */

.week-grid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:15px;
}

/* COLUMN */

.day-column{
  border:1px solid var(--border);
  border-radius: 0.3rem !important;
  padding:15px;
}

.theme-dark .day-column{
  border:none;
  border-radius: 0.3rem !important;
  background: #262728;
  padding:15px;
}

.day-column.active{
  border:1px solid #a33b27;
}

.day-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:15px;
}

.day-name{
  font-size:30px;
  font-weight:700;
  line-height:1;
  margin-bottom:10px;
}

.day-date{
  color:var(--muted);
  font-size:15px;
}

.day-badge{
  width:30px;
  height:30px;
  border-radius:50%;
  background:#f3f4f8;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  color:#5f6472;
}

.theme-dark .day-badge{
  width:30px;
  height:30px;
  border-radius:50%;
  background:#3c3c3c;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  color:#5f6472;
}

/* CARD */

.study-card{
  border-radius: 0.3rem !important;
  padding:18px;
  margin-bottom:18px;
}

.card-study{
  background:var(--purple-soft);
}

.card-review{
  background:var(--pink-soft);
}

.card-exercise{
  background:var(--green-soft);
}

.card-tag{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:50px;
  font-size:12px;
  font-weight:700;
  margin-bottom:18px;
}

.tag-simulado{
  background:#cee3fb;
  color:#0e4b90;
}

.tag-estudo{
  background:#ddd6ff;
  color:#5d47ff;
}

.tag-atrasado{
  background:#fddfc3;
  color:#d86e0a;
}

.tag-revisao{
  background:#ffd3ea;
  color:#cf2b82;
}

.tag-exercicio{
  background:#c9f4db;
  color:#149b52;
}

.card-title{
  font-size:20px;
  font-weight:700;
  margin-bottom:14px;
}

.card-description{
  color:#374151;
  line-height:1.6;
  margin-bottom:22px;
}

.time-badge{
  background:#fff;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:50px;
  padding:10px 14px;
  font-size:13px;
  font-weight:700;
  box-shadow:0 4px 10px rgba(0,0,0,.04);
}

/* ADD */

.add-task{
  border:2px dashed #ddd6fe;
  border-radius:20px;
  padding:18px;
  text-align:center;
  color:var(--purple);
  font-weight:600;
  transition:.2s;
  cursor:pointer;
}

.add-task:hover{
  background:#faf9ff;
}

.cronograma-metas .owl-nav {
position: absolute;
top: -14px;
right: 0px;
}

.cronograma-metas .owl-nav button.owl-prev {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f4f8;
  align-items: center;
  justify-content: center;
}

.cronograma-metas .owl-nav button.owl-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f4f8;
  align-items: center;
  justify-content: center;
}

.navigation .sidebar-menu i.feather-chevron-right::before {
font-size: 16px;
}

/* RESPONSIVE */

@media(max-width:1600px){

  .week-grid{
      grid-template-columns:repeat(3,1fr);
  }

}

@media(max-width:1100px){

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

}

@media(max-width:768px){

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

  .schedule-top{
      flex-direction:column;
      align-items:stretch;
  }

  .center-top{
      order:-1;
  }

  .week-date{
      font-size:30px;
  }

}

/* FIM CALENDÁRIO */



/*LOGIN E CADASTRO */

/* ===== RESET BASE ===== */
body.login {
height: 100vh;
margin: 0;
background-color: #f5f7f6;
}

/* ===== LAYOUT ===== */
.login .auth-container {
height: 100vh;
}

.login .left-side {
background: url('../images/img-4854567.png') no-repeat center center;
background-size: cover;
}

.login .right-side {
display: flex;
align-items: center;
justify-content: center;
}

/* ===== BOX ===== */
.login .auth-box {
width: 100%;
max-width: 420px;
}

/* ===== LOGO ===== */
.login .logo {
font-size: 28px;
font-weight: bold;
text-align: center;
color: #2b3a3f;
}

.login .logo span {
color: #20b2a6;
}

/* ===== TITULOS ===== */
.login .title {
text-align: center;
color: #20b2a6;
font-weight: 600;
margin: 15px 0 20px;
}

.login .subtitle {
text-align: center;
font-size: 14px;
color: #666;
margin-bottom: 25px;
}

/* ===== INPUTS ===== */
.login .form-control {
height: 48px;
border-radius: 8px;
}

.login .btn-google {
border: 1px solid #ddd;
height: 48px;
border-radius: 8px;
background: #fff;
}

/* ===== DIVIDER ===== */
.login .divider {
text-align: center;
margin: 20px 0;
position: relative;
font-size: 13px;
color: #999;
}

.login .divider::before,
.login .divider::after {
content: "";
height: 1px;
width: 35%;
background: #ddd;
position: absolute;
top: 50%;
}

.login .divider::before {
left: 0;
}

.login .divider::after {
right: 0;
}

.login .divider span {
background: #f5f7f6;
padding: 0 10px;
}

/* ===== TEXTOS AUXILIARES ===== */
.login .small-text {
font-size: 14px;
text-align: center;
}

.login .terms {
font-size: 12px;
color: #777;
text-align: center;
margin-top: 15px;
}

/* ===== CHECKBOX ===== */
.login .form-check-label {
font-size: 14px;
}

/* ===== LOGIN DARK MODE ===== */
body.login.theme-dark {
background-color: #1a1b1c;
}

body.login.theme-dark .right-side {
background-color: #1a1b1c;
}

body.login.theme-dark .logo {
color: #f5f7f6;
}

body.login.theme-dark .subtitle,
body.login.theme-dark .small-text,
body.login.theme-dark .terms,
body.login.theme-dark .small-link,
body.login.theme-dark .form-check-label,
body.login.theme-dark .divider {
color: #adb5bd;
}

body.login.theme-dark .small-link a {
color: #f5f7f6;
}

body.login.theme-dark .btn-google {
background: #212223;
border-color: #3a3b3c;
color: #f5f7f6;
}

body.login.theme-dark .divider::before,
body.login.theme-dark .divider::after {
background: #3a3b3c;
}

body.login.theme-dark .divider span {
background: #1a1b1c;
}

/* LOGIN E CADASTRO */


/* MENU SANFONA */
/* Especificidade maior que `.navigation .nav-content ul { display: flex }` do tema */
.navigation .nav-content ul.submenu {
  display: none;
  padding: 0 0 6px 52px;
  margin: 0;
  flex-direction: column;
}

.navigation .nav-content ul.submenu li:not(.logo) {
  margin: 0;
  list-style: none;
}

/* Links do submenu: compactos, sem o bloco do item principal (height 58px + padding) */
.navigation .nav-content ul.submenu li:not(.logo) a {
  height: auto;
  min-height: 0;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  background: transparent !important;
  border-radius: 0;
  overflow: visible;
}

.navigation .nav-content ul.submenu li:not(.logo) a:hover,
.navigation .nav-content ul.submenu li:not(.logo) a:hover span {
  color: var(--theme-color);
  background: transparent !important;
}

/* Ativo: só destaque de cor, sem gradiente/bloco */
.navigation .nav-content ul.submenu li > a.active,
.navigation .nav-content ul.submenu li > a.active:hover {
  background: transparent !important;
  color: var(--theme-color);
}

.navigation .nav-content ul.submenu li > a.active span,
.navigation .nav-content ul.submenu li > a.active:hover span {
  color: var(--theme-color) !important;
}

/* seta */
.sidebar-menu .arrow {
  transition: transform 0.3s ease;
  position: static;
  top: auto;
  flex-shrink: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-menu .has-submenu.active > a .arrow {
  transform: rotate(90deg);
}

.progresso-edital .accordion .accordion-button {
padding: 5px;
}

/* botão do item com submenu: ícone, título e seta no mesmo eixo vertical */
.sidebar-menu .has-submenu > a.nav-content-bttn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-menu .menu-left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.sidebar-menu .menu-left span {
  margin-right: auto;
}

/* MENU SANFONA */

.bg-tarja-voltar {
background: #111111;
}

i.passo-ativo {
color: #a6d971;
font-size: 25px; 
}

i.passo-inativo {
color: #bbbbbb;
font-size: 25px;
}

.theme-dark .bg-cinza-60 {
background: #212223;
}

.theme-dark .text-red-900 {
  color: #a33b27 !important;
}

.theme-dark a.text-red-900:hover {
  color: #ffffff !important;
}

.theme-dark .links-conteudos .border-top {
  border-top: 1px solid #333333 !important;
}

.theme-dark .text-warning {
  color: #FE9431 !important;
}

.bg-cinza-60 {
background: #e2e2e2;
}

.circulo-destaques {
  width: 225px;
  height: 225px;
  border-radius: 50%;
  background: #f9f9f9;
  border: 1px solid #E1E1F0;
  flex-direction: column; 
}

.theme-dark .circulo-destaques {
  border: 0 !important;
  background-color: #1a1b1c !important;
}

.course-card .card-image .video-bttn:after {
display: none;
}

.course-card .card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  height: auto;
}

.logo-ak {
width: 50%;
}

.logo-dark {
  display: none;
}

.theme-dark .logo-light {
  display: none;
}

.theme-dark .logo-dark {
  display: inline-block;
}

.numeros-ak h2 {
color: #a33b27 !important;
}

.h-list {
align-items: stretch;
}

.height-turmas {
min-height: 155px;
}

.h-bottom {
justify-content: flex-end;
}

.bg-plano-ativo {
background: #f1f1f1;
border: 1px solid #ffffff !important;
}

.theme-dark .bg-plano-ativo {
border: 1px solid #ffffff !important;
}

.matchheight {
display: grid;
// Essentially switch the default axis
grid-auto-flow: column;
}

.matchheight-2 {
display: grid;
grid-auto-flow: column;

// Ensure content elements fill up the .column
.element {
  height: 100%;
}
}

.theme-dark .color-resete .text-success {
  color: #10d876 !important;
}

.theme-dark .color-resete .text-warning {
  color: #FE9431 !important;
}

.theme-dark .color-resete .text-primary {
  color: #1E74FD !important;
}

.theme-dark .color-resete .text-danger {
  color: #a33b27 !important;
} 

.theme-dark .text-grey-900,
.theme-dark .text-grey-800 {
  color: #f1f3f5 !important;
}

.theme-dark .text-grey-700,
.theme-dark .text-grey-600 {
  color: #ced4da !important;
}

.bg-lightblue {
  background-color: #f0f0f0 !important;
}

.theme-dark .bg-lightblue {
  background-color: #2c2d2e !important;
}

.theme-dark .bg-white {
  background-color: #212223 !important;
}

.theme-dark .border {
  border-color: #555 !important;
}

.theme-dark .card-estudos {
border: 1px solid #757576 !important;
}

.theme-dark .card-estudos a.text-grey-800,
.theme-dark .card-estudos .text-grey-800 {
  color: #ffffff !important;
}

.theme-dark .card-estudos p.text-grey-600 {
  color: #c5c8cc !important;
}

.theme-dark .card-estudos .color-resete .text-info {
  color: #e8eaed !important;
}

.theme-dark .resposta-me span {
color: #ffffff;
}

.slide-simulados .btn-round-xl {
line-height: 85px;
}

.slide-simulados .item .card {
background: #e9ecef; 
}

.breadcrumb-2 ul li {
padding-right: 15px;
}

.bg-cinza-ak {
  background-color: #f9f9f9 !important;
}

.theme-dark .bg-cinza-ak {
  border: 0 !important;
  background-color: #1a1b1c !important;
}

.theme-dark .bg-black-ak {
  border: 0 !important;
  background-color: #1a1b1c !important;
}

.form-check-input {
  margin-top: 0.5rem !important;
}

.bg-success-2 {
  background-color: #3ac07d !important;
}

.form-control {
  line-height: 45px;
  height: 45px;
}

.quantidade .form-control {
  line-height: 40px;
  height: 40px;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #a33b27;
  border-color: #a33b27;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #a33b27;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #a33b27;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.theme-dark .page-link {
  color: #e8eaed;
  background-color: #1a1b1c;
  border-color: #3a3d42;
}

.theme-dark .page-link:hover {
  color: #fff;
  background-color: #2a2d31;
  border-color: #4a4e54;
}

.theme-dark .page-item.active .page-link {
  color: #fff;
  background-color: #a33b27;
  border-color: #a33b27;
}

.theme-dark .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #1a1b1c;
  border-color: #2a2d31;
  pointer-events: none;
}

.theme-dark .page-link:focus {
  color: #fff;
  background-color: #2a2d31;
  border-color: #a33b27;
  box-shadow: 0 0 0 0.15rem rgba(163, 59, 39, 0.35);
}


input[type="radio"],
input[type="checkbox"] {
accent-color: #46c284; /* Substitua pela cor desejada */
}

/* Flip Flashcards */

.flashcard {
perspective: 1000px;
margin-left: auto;
margin-right: auto;
width: 100%;
max-width: 800px;
}

.flashcard.is-sliding {
pointer-events: none;
}

.flashcard.slide-next {
animation: flashcard-slide-next 0.42s ease;
}

.flashcard.slide-prev {
animation: flashcard-slide-prev 0.42s ease;
}

@keyframes flashcard-slide-next {
0% {
opacity: 1;
transform: translateX(0);
}
45% {
opacity: 0;
transform: translateX(-56px);
}
55% {
opacity: 0;
transform: translateX(56px);
}
100% {
opacity: 1;
transform: translateX(0);
}
}

@keyframes flashcard-slide-prev {
0% {
opacity: 1;
transform: translateX(0);
}
45% {
opacity: 0;
transform: translateX(56px);
}
55% {
opacity: 0;
transform: translateX(-56px);
}
100% {
opacity: 1;
transform: translateX(0);
}
}

@media (prefers-reduced-motion: reduce) {
.flashcard.slide-next,
.flashcard.slide-prev {
animation: none;
}
}

.flashcard-stage {
display: flex !important;
flex-direction: column;
align-items: center;
}

.flashcard-stage .flashcard {
width: 100%;
max-width: 800px;
}

.flashcard-stage .card-inner {
width: 100%;
max-width: 800px;
}

.flashcard-scroll {
overflow-y: auto;
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}

#flashcard-front,
#flashcard-back {
font-size: 1.125rem;
line-height: 1.45;
text-align: center;
width: 100%;
}

.card-inner {
width: 100%;
max-width: 800px;
height: min(450px, calc(100vh - 220px));
min-height: 320px;
position: relative;
transform-style: preserve-3d;
transition: transform 0.6s ease;
}

.card-inner.flip {
transform: rotateY(180deg);
}

.card-front, .card-back {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
backface-visibility: hidden;
background: white;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
padding: 20px;
box-sizing: border-box;
overflow: hidden;
display: flex;
flex-direction: column;
}

.card-front {
justify-content: space-between;
}

.theme-dark .card-front {
background: #2c2d2e;
}

.theme-dark .card-front p {
color: #ced4da !important;
}

.theme-dark .card-front h4 {
color: #f1f3f5 !important;
}

.card-back {
transform: rotateY(180deg);
background: #1f2937;
color: white;
justify-content: space-between;
}

.card-front > button,
.card-back > .back-btn,
.rating-section {
flex-shrink: 0;
}

.card-front button,
.card-back button {
background: #a33b27;
color: white;
border: none;
padding: 10px;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
transition: 0.3s;
}

.card-front button.bg-lightblue,
.card-back button.bg-lightblue {
  color: #a33b27;
}

.card-front button:hover,
.card-back button:hover {
opacity: 0.9;
}

.rating-section {
margin-top: 15px;
}

.rating-title {
margin-bottom: 10px;
font-size: 14px;
}

.rating-buttons {
display: flex;
justify-content: space-between;
gap: 8px;
}

.rating-buttons button {
width: 45px;
background: #788ea0;
}

.rating-buttons button.active {
background: #3ac07d;
}

.back-btn {
margin-top: 10px;
background: #6b7280;
}

@media (max-width: 768px) {
.card-inner {
height: calc(100vh - 180px);
max-height: 450px;
min-height: 280px;
}

.card-front, .card-back {
padding: 12px;
}

#flashcard-front,
#flashcard-back {
font-size: 1rem;
}

.rating-section {
margin-top: 10px;
}

.rating-title {
margin-bottom: 8px;
font-size: 13px;
}

.rating-buttons {
gap: 6px;
}

.rating-buttons button {
flex: 1;
width: auto;
min-width: 0;
max-width: 48px;
}

.card-front button,
.card-back button {
padding: 8px;
}
}

/* Flip Flashcards */

.question{
max-width:100%;
display:flex;
flex-direction:column;
gap:12px;
font-family:Arial;
}

.option{
display:flex;
align-items:center;
gap:12px;
padding:10px 14px;
border-radius:40px;
border:1px solid #ddd;
cursor:pointer;
transition:0.2s;
position:relative;
}

.questao-card[data-type="me"] .option{
padding-left:42px;
}

.btn-cut-alternativa{
position:absolute;
left:8px;
top:50%;
width:24px;
height:24px;
padding:0;
margin:0;
border:0;
border-radius:50%;
background:#a33b27;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
opacity:0;
transform:translate(-10px, -50%);
transition:opacity 0.2s ease, transform 0.2s ease;
z-index:2;
line-height:1;
box-shadow:0 1px 3px rgba(0,0,0,0.12);
}

.btn-cut-alternativa::after{
content:"";
position:absolute;
left:100%;
top:50%;
width:10px;
height:0;
border-top:1px dotted #b0b0b0;
transform:translateY(-50%);
pointer-events:none;
}

.btn-cut-alternativa i{
font-size:12px;
line-height:1;
}

.option:hover .btn-cut-alternativa,
.option.is-cut .btn-cut-alternativa{
opacity:1;
transform:translate(0, -50%);
}

.option.is-cut{
opacity:0.45;
}

.option.is-cut > .font-xsss{
text-decoration:line-through;
}

.option.is-cut:hover{
background:#f5f5f5;
}

.resp-correta {
display:flex;
align-items:center;
gap:12px;
padding:10px 14px;
border-radius:40px;
background-color: #effaf5 !important;
border-color: #b4eed4 !important;
cursor:pointer;
transition:0.2s;
}

.resp-incorreta {
display:flex;
align-items:center;
gap:12px;
padding:10px 14px;
border-radius:40px;
background-color: #fcf0ed !important;
border-color: #f7dbd5 !important;
cursor:pointer;
transition:0.2s;
}

.resp-incorreta .letter{
width:34px;
height:34px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
background-color: #bf4028 !important;
border-color: #b53820 !important;
color: #fff !important;
font-weight:bold;
}

.item-travado {
display:flex;
align-items:center;
gap:12px;
padding:10px 14px;
border-radius:40px;
border:1px solid #ddd;
cursor:pointer;
transition:0.2s;
}

.item-travado .no-letter{
width:34px;
height:34px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
border:2px solid #666666;
color:#666666;
font-weight:bold;
}

.resp-correta .letter{
width:34px;
height:34px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
background-color: #36aa76 !important;
border-color: #36aa76 !important;
color: #fff !important;
font-weight:bold;
}

.option:hover{
background:#f5f5f5;
}

.letter{
width:34px;
height:34px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
border:2px solid #a33b27;
color:#a33b27;
font-weight:bold;
}

.option.selected{
background:#f2f2f2;
}

.option.selected .letter{
background:#a33b27;
color:white;
}

/* Imagens responsivas — enunciado, alternativas, texto-base e gabarito */
.questao-card .questao-enunciado img,
.questao-card .question .option img,
.questao-card .question .resp-correta img,
.questao-card .question .resp-incorreta img,
.questao-card .question .item-travado img,
.js-base-text-modal .modal-body img,
.comentarios-questoes .texto-leitura img {
  max-width: 100% !important;
  height: auto !important;
  cursor: zoom-in;
  touch-action: pan-x pan-y;
}

.questao-card .question .option > div:not(.letter),
.questao-card .question .resp-correta > div:not(.letter),
.questao-card .question .resp-incorreta > div:not(.letter),
.questao-card .question .item-travado > div:not(.letter):not(.no-letter) {
  min-width: 0;
  flex: 1;
}

#questaoImageZoomModal {
  z-index: 1100;
  overscroll-behavior: none;
}

#questaoImageZoomModal .questao-image-zoom-content {
  background-color: rgba(0, 0, 0, 0.92);
}

#questaoImageZoomModal .modal-header {
  position: relative;
  z-index: 2;
  padding: 1rem 1rem 0.5rem;
}

/* Site CSS é BS4 (.close); modais novos usam .btn-close do BS5 sem stylesheet */
.btn-close {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
  border: 0;
  border-radius: 0.375rem;
  opacity: 0.5;
  cursor: pointer;
}

.btn-close:hover {
  color: #000;
  text-decoration: none;
  opacity: 0.75;
}

.btn-close:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  opacity: 1;
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

#questaoImageZoomModal .btn-close {
  width: 1.25em;
  height: 1.25em;
  padding: 0.5em;
  opacity: 0.9;
}

#questaoImageZoomModal .btn-close:hover {
  opacity: 1;
}

#questaoImageZoomModal .questao-image-zoom-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100vh - 3rem);
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

#questaoImageZoomModal .questao-image-zoom-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  cursor: grab;
  transform-origin: center center;
  transition: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

#questaoImageZoomModal .modal-dialog {
  margin: 0;
  max-width: 100%;
  height: 100%;
}

/* Dark mode — enunciado e alternativas de questões/simulados */
.theme-dark .questao-card .bg-greylight {
  background-color: #2a2d31 !important;
}

.theme-dark .questao-card .questao-enunciado,
.theme-dark .questao-card .questao-enunciado *:not(a) {
  color: #e9ecef !important;
}

.theme-dark .questao-card .questao-enunciado a {
  color: #7eb6ff !important;
}

/* Neutraliza background/color inline da Fábrica de Provas no HTML importado */
.theme-dark .questao-card .questao-enunciado *:not(img),
.theme-dark .question .option *:not(.letter):not(.btn-cut-alternativa):not(img),
.theme-dark .question .resp-correta *:not(.letter):not(img),
.theme-dark .question .resp-incorreta *:not(.letter):not(img),
.theme-dark .question .item-travado *:not(.letter):not(.no-letter):not(img),
.theme-dark .js-base-text-modal .modal-body *:not(img) {
  background: transparent !important;
  background-color: transparent !important;
}

.theme-dark .comentarios-questoes .texto-leitura,
.theme-dark .comentarios-questoes .texto-leitura *:not(a) {
  color: #e9ecef !important;
}

.theme-dark .comentarios-questoes .texto-leitura a {
  color: #7eb6ff !important;
}

.theme-dark .comentarios-questoes .texto-leitura *:not(img) {
  background: transparent !important;
  background-color: transparent !important;
}

.theme-dark .editor-questoes .note-editor.note-frame {
  background-color: #272727 !important;
  border-color: #343434 !important;
}

.theme-dark .editor-questoes .note-toolbar {
  background-color: transparent !important;
  border-bottom-color: #343434 !important;
  color: #e9ecef !important;
}

.theme-dark .editor-questoes .note-toolbar * {
  color: inherit;
}

.theme-dark .editor-questoes .note-editable {
  background-color: transparent !important;
  color: #e9ecef !important;
}

.theme-dark .editor-questoes .note-btn {
  background-color: transparent !important;
  border-color: #343434 !important;
  color: #e9ecef !important;
}

.theme-dark .editor-questoes .note-btn:hover,
.theme-dark .editor-questoes .note-btn:focus,
.theme-dark .editor-questoes .note-btn.active {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: #555 !important;
  color: #fff !important;
}

.theme-dark .editor-questoes .dropdown-menu,
.theme-dark .editor-questoes .note-dropdown-menu {
  background-color: #272727 !important;
  border-color: #343434 !important;
  color: #e9ecef !important;
}

.theme-dark .editor-questoes .dropdown-menu .note-palette-title,
.theme-dark .editor-questoes .note-dropdown-menu .note-palette-title {
  color: #e9ecef !important;
  border-bottom-color: #343434 !important;
}

.theme-dark .btn-light {
  background-color: #343434 !important;
  border-color: #555 !important;
  color: #e9ecef !important;
}

.theme-dark .btn-light:hover,
.theme-dark .btn-light:focus,
.theme-dark .btn-light.focus,
.theme-dark .btn-light:not(:disabled):not(.disabled):active,
.theme-dark .btn-light:not(:disabled):not(.disabled).active,
.theme-dark .show > .btn-light.dropdown-toggle {
  background-color: #3d3d3d !important;
  border-color: #666 !important;
  color: #fff !important;
}

.theme-dark .comentarios-questoes .perfil-comentario {
  border-color: #555 !important;
}

.theme-dark .question .option,
.theme-dark .question .item-travado {
  background-color: #2a2d31 !important;
  border-color: #555 !important;
  color: #e9ecef !important;
}

.theme-dark .question .option:hover {
  background-color: #343a40 !important;
}

.theme-dark .question .option.selected {
  background-color: #3d2a26 !important;
  border-color: #a33b27 !important;
}

.theme-dark .question .option .text-grey-800,
.theme-dark .question .option *:not(.letter):not(.btn-cut-alternativa),
.theme-dark .question .item-travado *:not(.letter):not(.no-letter),
.theme-dark .question .resp-correta *:not(.letter),
.theme-dark .question .resp-incorreta *:not(.letter) {
  color: #e9ecef !important;
}

.theme-dark .btn-cut-alternativa,
.theme-dark .btn-cut-alternativa i {
  background: #a33b27 !important;
  color: #fff !important;
}

.theme-dark .btn-cut-alternativa i {
  background: transparent !important;
}

.theme-dark .btn-cut-alternativa::after {
  border-top-color: #777;
}

.theme-dark .question .letter {
  border-color: #e07a68 !important;
  color: #e07a68 !important;
  background-color: transparent !important;
}

.theme-dark .question .option.selected .letter {
  background: #a33b27 !important;
  border-color: #a33b27 !important;
  color: #fff !important;
}

.theme-dark .question .resp-correta {
  background-color: #1e3d32 !important;
  border-color: #2f8f63 !important;
}

.theme-dark .question .resp-incorreta {
  background-color: #3d2420 !important;
  border-color: #bf4028 !important;
}

.theme-dark .question .resp-correta .letter {
  background-color: #36aa76 !important;
  border-color: #36aa76 !important;
  color: #fff !important;
}

.theme-dark .question .resp-incorreta .letter {
  background-color: #bf4028 !important;
  border-color: #b53820 !important;
  color: #fff !important;
}

.theme-dark .resposta-me .button-label,
.theme-dark .resposta-vf .button-label {
  color: #e9ecef !important;
}

/* Radiobutton V e F */

.resposta-vf .button-wrap {
position: relative;
@media (max-width: $small) {margin-top: -1.5em;}
}

.resposta-vf  .button-label {
display: inline-block;
padding: 10px 15px;
margin: 0.5em;
cursor: pointer;
color: #292929;
border-radius: 0.25em;
background: #788ea0;
transition: 0.3s;
user-select: none;
h1 {
  font-size: 1em;
  color: #ffffff;
  font-family: $font-stack;
}
&:hover {
  background: darken(#788ea0, 10%);
  color: darken(#292929, 10%);
}
&:active {
  transform: translateY(2px);
}
@media (max-width: $small) {
  padding: 0em 1em 3px;
  margin: 0.25em;
}
}

.resposta-vf  #yes-button:checked + .button-label {
background: #56a980;
color: #788ea0;
&:hover {
  background: darken(#56a980, 5%);
  color: darken(#788ea0, 5%);
}
}

.resposta-vf  #no-button:checked + .button-label {
background: #a33b27;
color: #788ea0;
&:hover {
  background: darken(#a33b27, 5%);
  color: darken(#788ea0, 5%);
}
}

.resposta-vf  #maybe-button:checked + .button-label {
background: #4183D7;
color: #788ea0;
&:hover {
  background: darken(#4183D7, 5%);
  color: darken(#788ea0, 5%);
}
}

.resposta-vf  .hidden {
display: none;
}

/* Radiobutton V e F */

/* Radiobutton multipla escolha */

.resposta-me .button-wrap {
position: relative;
@media (max-width: $small) {margin-top: -1.5em;}
}

.resposta-me  .button-label {
display: inline-block;
padding: 10px 15px;
margin: 0.5em;
cursor: pointer;
color: #292929;
border-radius: 0.25em;
background: #788ea0;
transition: 0.3s;
user-select: none;
h1 {
  font-size: 1em;
  color: #ffffff;
  font-family: $font-stack;
}
&:hover {
  background: darken(#788ea0, 10%);
  color: darken(#292929, 10%);
}
&:active {
  transform: translateY(2px);
}
@media (max-width: $small) {
  padding: 0em 1em 3px;
  margin: 0.25em;
}
}

.resposta-me  #yes-button:checked + .button-label {
background: #56a980;
color: #788ea0;
&:hover {
  background: darken(#56a980, 5%);
  color: darken(#788ea0, 5%);
}
}
.resposta-me  #resposta-a:checked + .button-label {
background: #56a980;
color: #788ea0;
&:hover {
  background: darken(#56a980, 5%);
  color: darken(#788ea0, 5%);
}
}
.resposta-me  #resposta-b:checked + .button-label {
background: #56a980;
color: #788ea0;
&:hover {
  background: darken(#56a980, 5%);
  color: darken(#788ea0, 5%);
}
}
.resposta-me  #resposta-c:checked + .button-label {
background: #56a980;
color: #788ea0;
&:hover {
  background: darken(#56a980, 5%);
  color: darken(#788ea0, 5%);
}
}
.resposta-me  #resposta-d:checked + .button-label {
background: #56a980;
color: #788ea0;
&:hover {
  background: darken(#56a980, 5%);
  color: darken(#788ea0, 5%);
}
}
.resposta-me  #resposta-e:checked + .button-label {
background: #56a980;
color: #788ea0;
&:hover {
  background: darken(#56a980, 5%);
  color: darken(#788ea0, 5%);
}
}

.resposta-me  #no-button:checked + .button-label {
background: #a33b27;
color: #788ea0;
&:hover {
  background: darken(#a33b27, 5%);
  color: darken(#788ea0, 5%);
}
}

.resposta-me  #maybe-button:checked + .button-label {
background: #4183D7;
color: #788ea0;
&:hover {
  background: darken(#4183D7, 5%);
  color: darken(#788ea0, 5%);
}
}

.resposta-me  .hidden {
display: none;
}

/* Radiobutton V e F */

.owl-theme.nav-none .owl-nav {
  display:block !important;
}

.simulados-home .owl-nav .owl-prev {
position: absolute;
left: -6px;
top: 76px;
background: #a33b27 !important;
color: #ffffff !important; 
}
.simulados-home .owl-nav .owl-next {
position: absolute;
right: -6px;
top: 76px;
background: #a33b27 !important;
color: #ffffff !important; 
}

.turmas-home .owl-nav .owl-prev {
position: absolute;
left: -5px;
top: 180px;
background: #a33b27 !important;
color: #ffffff !important; 
}
.turmas-home .owl-nav .owl-next {
position: absolute;
right: -3px;
top: 180px;
background: #a33b27 !important;
color: #ffffff !important; 
}

.comentarios-questoes .owl-nav .owl-prev {
background: #a33b27 !important;
color: #ffffff !important; 
}
.comentarios-questoes .owl-nav .owl-next {
background: #a33b27 !important;
color: #ffffff !important; 
}

.balao-alerta {
background-color: #a33b27;
color: #ffffff;
margin-left: 5px;
padding: 2px 4px;
}

.tarja {
background: #e9ecef;
border-radius: 10px;
padding: 5px 10px;
margin-bottom: 15px;
}

.tarja span {
margin-top: 4px;
margin-left: 10px;
}

.tarja img {
width: 30px;
}

.logo-simulados {
text-align: right;
}

.logo-simulados img {
border-radius: 100%;
background: #ffffff;
padding: 10px;
margin-top: 45px;
margin-right: 25px;
}

.bloqueado::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0.3rem !important;
  border: 1px solid #2754e6;
  background-size: cover;
  background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent black color */
  /* The background color and image will blend using background-blend-mode if desired, 
  or the color acts as the overlay */
  opacity: 1; /* Opacity of the pseudo-element itself (not necessary if using RGBA) */
  z-index: 2; /* Puts the background layer behind the content */
}

.bloqueado .bloqueado-texto {
  position: relative; 
  z-index: 3; /* Ensures content is above the background layer */
  text-align: center;
  top: 100px;
}

.bloqueado .bloqueado-texto h3 {
font-weight: 600;
}

.form-group .style1-select {
  line-height: 45px;
  height: 45px;
  color: #666666 !important;
}

.main-content .middle-sidebar-header {
height: 70px;
}

.main-content .middle-sidebar-bottom .middle-sidebar-right {
  z-index:auto;
  overflow-x: hidden;
}

/* BOTÃO DO CHAT */
.chat-toggle{
  position:fixed;
  bottom:20px;
  right:20px;
  width:60px;
  height:60px;
  border-radius:50%;
  background:#a33b27;
  color:white;
  border:none;
  font-size:26px;
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
  z-index: 99999;
}

.app-footer img{
  height:30px;
  object-fit:cover;
}

.chat-toggle--has-avatar{
  background:transparent;
  padding:0;
  line-height:0;
}

.chat-toggle__avatar{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:50%;
  display:block;
}

/* JANELA DO CHAT */
.chatbox{
  position:fixed;
  bottom:90px;
  right:20px;
  width:330px;
  height:480px;
  background:white;
  border-radius:12px;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
  display:none;
  flex-direction:column;
  overflow:hidden;
  z-index: 99999;
}

/* HEADER */
.chat-header{
  background:#a33b27;
  color:white;
  padding:12px 15px;
  font-weight:600;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.chat-header-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
}

.chat-header-actions{
  display:flex;
  align-items:center;
  gap:4px;
}

.chat-header-btn{
  appearance:none;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.12);
  color:#fff;
  width:28px;
  height:28px;
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
  padding:0;
}

.chat-header-btn:hover{
  background:rgba(255,255,255,.22);
  color:#fff;
  text-decoration:none;
}

.chat-header-subtitle{
  display:block;
  font-size:11px;
  font-weight:400;
  opacity:.85;
}

.ak-ia-recents{
  border-bottom:1px solid #eee;
  background:#fff;
  max-height:180px;
  overflow:auto;
  padding:8px 10px;
}

.ak-ia-recents-title,
.ak-ia-recents-link{
  font-size:11px;
  font-weight:600;
  color:#666;
}

.ak-ia-recents-list{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:6px 0;
}

.ak-ia-recents-item,
.ak-ia-recents-empty{
  appearance:none;
  border:0;
  background:#f3f3f3;
  color:#333;
  text-align:left;
  border-radius:6px;
  padding:7px 9px;
  font-size:12px;
  cursor:pointer;
}

.ak-ia-recents-item:hover{
  background:#e8e8e8;
}

.ak-ia-recents-link{
  display:inline-block;
  margin-top:2px;
}

/* MENSAGENS */
.chat-body{
  flex:1;
  padding:15px;
  overflow-y:auto;
  background:#fafafa;
}

/* MENSAGEM BOT */
.bot-msg{
  background:#eee;
  padding:10px 12px;
  border-radius:10px;
  margin-bottom:10px;
  max-width:80%;
  white-space:normal;
  word-break:break-word;
  line-height:1.45;
}
.bot-msg > :first-child{
  margin-top:0;
}
.bot-msg > :last-child{
  margin-bottom:0;
}
.bot-msg h1,
.bot-msg h2,
.bot-msg h3{
  font-size:1.05em;
  font-weight:700;
  margin:0.65em 0 0.35em;
  line-height:1.3;
  color:inherit;
}
.bot-msg h1{ font-size:1.15em; }
.bot-msg p{
  margin:0 0 0.55em;
}
.bot-msg ul,
.bot-msg ol{
  margin:0.35em 0 0.55em;
  padding-left:1.25em;
}
.bot-msg li{
  margin-bottom:0.25em;
}
.bot-msg strong{
  font-weight:700;
}
.bot-msg code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:0.92em;
  padding:0.1em 0.35em;
  border-radius:4px;
  background:rgba(0,0,0,.06);
}

/* MENSAGEM USER */
.user-msg{
  background:#8e6ccf;
  color:white;
  padding:10px 12px;
  border-radius:10px;
  margin-bottom:10px;
  margin-left:auto;
  max-width:80%;
  white-space:pre-wrap;
  word-break:break-word;
}

.ak-ia-pending{
  opacity:.75;
  font-style:italic;
}

/* INPUT */
.chat-footer{
  padding:10px;
  border-top:1px solid #eee;
}

.theme-dark .chatbox {
  background: #212223;
}
.theme-dark .chat-body {
  background: #1a1b1c;
}
.theme-dark .bot-msg {
  background: #2c2d2e;
  color: #e8e8e8;
}
.theme-dark .bot-msg code {
  background: rgba(255,255,255,.08);
}
.theme-dark .chat-footer {
  border-top-color: rgba(255, 255, 255, 0.12);
  background: #212223;
}
.theme-dark .ak-ia-recents {
  background: #212223;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.theme-dark .ak-ia-recents-item,
.theme-dark .ak-ia-recents-empty {
  background: #2c2d2e;
  color: #e8e8e8;
}
.theme-dark .ak-ia-recents-title,
.theme-dark .ak-ia-recents-link {
  color: #cfcfcf;
}

/* Página dedicada AKIA */
.akia-page{
  display:grid;
  grid-template-columns:280px minmax(0, 1fr);
  gap:16px;
  min-height:calc(100vh - 140px);
  margin:12px 0 40px;
}

.akia-sidebar,
.akia-main{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:12px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:0;
}

.akia-sidebar-header,
.akia-main-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid #eee;
}

.akia-title{
  font-size:22px;
  font-weight:700;
  margin:0;
  color:#a33b27;
}

.akia-subtitle,
.akia-empty-hint{
  font-size:12px;
  color:#777;
}

.akia-sidebar-tools{
  padding:8px 16px;
  border-bottom:1px solid #eee;
}

.akia-link-btn,
.akia-icon-btn,
.akia-folder-toggle{
  appearance:none;
  border:0;
  background:transparent;
  color:#a33b27;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  padding:0;
}

.akia-sidebar-scroll{
  overflow:auto;
  padding:10px 12px 16px;
  flex:1;
}

.akia-group{
  margin-bottom:14px;
}

.akia-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:6px;
}

.akia-group-title{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#888;
  font-weight:700;
}

.akia-folder-actions{
  display:flex;
  gap:4px;
}

.akia-icon-btn{
  width:22px;
  height:22px;
  border-radius:4px;
  color:#666;
}

.akia-icon-btn:hover{
  background:#f1f1f1;
}

.akia-conversation-list{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.akia-conversation-item{
  appearance:none;
  border:0;
  background:#f5f5f5;
  color:#333;
  text-align:left;
  border-radius:8px;
  padding:9px 10px;
  font-size:13px;
  cursor:pointer;
}

.akia-conversation-item:hover{
  background:#ececec;
}

.akia-conversation-item.is-active{
  background:rgba(163,59,39,.12);
  color:#a33b27;
  font-weight:600;
}

.akia-main-heading{
  min-width:0;
}

.akia-conversation-title{
  font-size:18px;
  font-weight:700;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.akia-main-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}

.akia-folder-select{
  width:160px;
  height:32px;
  padding:0 8px;
}

.akia-messages{
  flex:1;
  min-height:320px;
}

.akia-composer{
  background:#fff;
}

.theme-dark .akia-sidebar,
.theme-dark .akia-main,
.theme-dark .akia-composer{
  background:#212223;
  border-color:rgba(255,255,255,.08);
}

.theme-dark .akia-sidebar-header,
.theme-dark .akia-main-header,
.theme-dark .akia-sidebar-tools{
  border-bottom-color:rgba(255,255,255,.12);
}

.theme-dark .akia-conversation-item{
  background:#2c2d2e;
  color:#e8e8e8;
}

.theme-dark .akia-conversation-item.is-active{
  background:rgba(163,59,39,.28);
  color:#fff;
}

.theme-dark .akia-conversation-title,
.theme-dark .akia-title{
  color:#f0f0f0;
}

.theme-dark .akia-subtitle,
.theme-dark .akia-empty-hint,
.theme-dark .akia-group-title{
  color:#b5b5b5;
}

@media (max-width: 991px){
  .akia-page{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .akia-sidebar{
    max-height:280px;
  }

  .akia-main-header{
    flex-direction:column;
    align-items:stretch;
  }

  .akia-folder-select{
    width:100%;
  }
}

/* simulacao select */

.select-container{
position:relative;
}

.select-container.is-open{
z-index:1050;
}

.select-container .select-button{
width:100%;
background:white;
border:1px solid #cfd6e4;
border-radius:8px;
line-height: 1.3;
min-height: 45px;
height: auto;
padding: 8px 14px;
text-align:left;
display:flex;
justify-content:space-between;
align-items:center;
gap:8px;
cursor:pointer;
}

.select-container .select-placeholder{
flex:1 1 auto;
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.select-container.has-tags .select-placeholder{
display:none;
}

.select-container .select-tags{
display:none;
flex:1 1 auto;
flex-wrap:wrap;
align-items:center;
gap:6px;
min-width:0;
}

.select-container.has-tags .select-tags{
display:flex;
}

.select-container .select-tag{
display:inline-flex;
align-items:center;
gap:4px;
max-width:100%;
padding:4px 6px 4px 8px;
border-radius:6px;
background:#eef2f8;
border:1px solid #d7deea;
color:#4a5568;
font-size:11px;
font-weight:600;
line-height:1.2;
}

.select-container .select-tag-label{
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
max-width:180px;
}

.select-container .select-tag-remove{
display:inline-flex;
align-items:center;
justify-content:center;
border:0;
background:transparent;
padding:0;
margin:0;
line-height:1;
color:#718096;
cursor:pointer;
}

.select-container .select-tag-remove:hover{
color:#2d3748;
}

.select-container .select-tag-remove i{
font-size:12px;
}

.select-container .arrow{
font-size:14px;
flex:0 0 auto;
align-self:center;
}

.select-container .select-dropdown{
position:absolute;
top:110%;
left:0;
width:100%;
background:white;
border-radius:8px;
box-shadow:0 8px 20px rgba(0,0,0,0.1);
padding:10px;
display:none;
z-index:1050;
}

.select-container .search{
width:100%;
border:1px solid #ddd;
border-radius:6px;
padding:8px 10px;
margin-bottom:10px;
}

.select-container .options{
max-height:260px;
overflow-y:auto;
}

.select-container .option{
display:flex;
align-items:flex-start;
gap:10px;
padding:8px;
cursor:pointer;
border-radius:6px;
line-height: 17px;
}

.select-container .option:hover{
background:#f5f7fb;
}

.select-container .option input{
margin-top:2px;
}

.select-container.is-locked{
opacity:.7;
pointer-events:none;
}

.select-container.is-locked .option{
cursor:not-allowed;
}

.select-container.is-locked .select-button{
cursor:not-allowed;
}

.select-container .topic-discipline-label{
padding:8px 8px 4px;
text-transform:uppercase;
letter-spacing:.02em;
}

.select-container .topic-tree{
list-style:none;
margin:0;
padding:0;
}

.select-container .topic-tree .topic-tree{
margin:0;
padding:0;
}

.select-container .select-dropdown{
transition: all .2s ease;
}

.theme-dark .select-container .select-button,
.theme-dark .select-container .select-dropdown {
  background: #212223;
  border-color: #555;
  color: #eee;
}

.theme-dark .select-container .search {
  background: #333;
  border-color: #555;
  color: #eee;
}

.theme-dark .select-container .option:hover {
  background: #2a2b2c;
}

.theme-dark .select-container .select-tag {
  background: #2a2b2c;
  border-color: #555;
  color: #eee;
}

.theme-dark .select-container .select-tag-remove {
  color: #bbb;
}

.theme-dark .select-container .select-tag-remove:hover {
  color: #fff;
}

.theme-dark .select-container .text-grey-700,
.theme-dark .select-container .text-grey-800,
.theme-dark .select-container .select-button {
  color: #eee !important;
}

/* simulação select */

/* OVERLEY UPGRADE */

.card-upgrade{
  position: relative;
  overflow: hidden;
}

.upgrade-overlay{
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.75);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  z-index: 2;
}

/* OVERLEY UPGRADE */


/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
.login .left-side {
  display: none;
}

.login .auth-box {
  padding: 20px;
}

.chat-toggle{
  bottom:70px;
  }
}


@media (max-width: 576px)  {
.rel-numeros-ak {
  display: none;
}

.titulo-questao {
  display: inline !important; 
}

.titulo-disciplina {
  display: inline !important;
}

.titulo-questao .info {
  width: 100% !important;
}

.titulo-disciplina .info {
  width: 100% !important;
}

.bt-editar a {
  float: none !important;
  width: 100% !important;
}

.product-info-tab .list-inline-item {
  padding: 5px !important;
  width: 100%;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  margin-bottom: 10px;
  text-align: center;
}

.product-info-tab .list-inline-item:not(:last-child) {
  margin-right: 0rem !important;
}

.product-info-tab .list-inline-item a {
  margin: 0px !important;
}

.comentarios-questoes .perfil-comentario {
  display: inline-block !important;
  border: 1px solid #e2e2e2;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  width: 100%;
}

.comentarios-questoes .perfil-comentario img {
  display: inherit;
}

.comentarios-questoes .perfil-comentario .perfil-dados {
  display: inline-block !important;
}

.comentarios-questoes .perfil-comentario .perfil-dados .info {
  width: 100% !important;
  margin: 0px;
}

.comentarios-questoes .perfil-comentario .perfil-dados .info p {
  font-size: 12px !important;
}

.comentarios-questoes .texto-leitura .font-xsss {
  font-size: 13px !important;
  line-height: 15px;
}

}

.editor-questoes .note-editor.note-frame {
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #fff;
}

.editor-questoes .note-toolbar {
  background: #f7f7f7;
  border-bottom: 1px solid #e5e5e5;
  padding: 4px 6px;
}

.editor-questoes .note-editable {
  min-height: 100px;
  font-size: 14px;
  line-height: 1.45;
}

.editor-questoes .note-statusbar {
  display: none;
}

.js-comment-body p {
  margin-bottom: 0.35em;
}

.js-comment-body p:last-child {
  margin-bottom: 0;
}

.btn-comment-action {
  cursor: pointer;
}

.modal.js-base-text-modal,
.modal.installments-modal {
  z-index: 1080;
}

.installments-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #d0d5dd;
  border-radius: .65rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.installments-trigger:hover,
.installments-trigger:focus {
  border-color: #98a2b3;
  box-shadow: none;
  outline: none;
}

.installments-trigger-label {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
}

.installments-trigger-chevron {
  color: #98a2b3;
  font-size: 1rem;
  line-height: 1;
  margin-left: .75rem;
  flex-shrink: 0;
}

.installments-modal .modal-body {
  padding: 0;
}

.installments-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  border: 0;
  border-bottom: 1px solid #eaecf0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.installments-option-row:last-child {
  border-bottom: 0;
}

.installments-option-row:hover,
.installments-option-row.is-selected {
  background: #f9fafb;
}

.installments-option-main {
  font-size: .95rem;
  color: #1f2937;
}

.installments-option-main strong {
  font-weight: 700;
  margin-right: .25rem;
}

.installments-option-chevron {
  color: #98a2b3;
  font-size: .95rem;
}

.theme-dark .installments-trigger {
  background: #212223 !important;
  border-color: #555 !important;
  color: #e8e8e8 !important;
}

.theme-dark .installments-trigger:hover,
.theme-dark .installments-trigger:focus {
  border-color: #777 !important;
}

.theme-dark .installments-trigger-label,
.theme-dark .installments-trigger-label.text-grey-700 {
  color: #e8e8e8 !important;
}

.theme-dark .installments-trigger-chevron {
  color: #98a2b3 !important;
}

.theme-dark .installments-modal .modal-content {
  background-color: #212223 !important;
  color: #e8e8e8 !important;
}

.theme-dark .installments-modal .modal-header {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.theme-dark .installments-modal .modal-title {
  color: #fff !important;
}

.theme-dark .installments-modal .btn-close {
  filter: invert(1) grayscale(100%);
  opacity: 0.75;
}

.theme-dark .installments-option-row {
  background: #212223 !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
  color: #e8e8e8 !important;
}

.theme-dark .installments-option-row:hover,
.theme-dark .installments-option-row.is-selected {
  background: #2a2d31 !important;
}

.theme-dark .installments-option-main {
  color: #e8e8e8 !important;
}

.theme-dark .installments-option-chevron {
  color: #98a2b3 !important;
}

.theme-dark .js-base-text-modal .modal-content {
  background-color: #212223 !important;
  color: #e8e8e8 !important;
}

.theme-dark .js-base-text-modal .modal-header,
.theme-dark .js-base-text-modal .modal-footer {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.theme-dark .js-base-text-modal .modal-title {
  color: #fff !important;
}

.theme-dark .js-base-text-modal .modal-body,
.theme-dark .js-base-text-modal .modal-body *:not(a) {
  color: #e8e8e8 !important;
}

.theme-dark .js-base-text-modal .modal-body a {
  color: #7eb6ff !important;
}

.theme-dark .js-base-text-modal .btn-close {
  filter: invert(1) grayscale(100%);
  opacity: 0.75;
}

.theme-dark .js-base-text-modal .modal-footer .btn {
  color: #e8e8e8 !important;
  border-color: #555 !important;
  background-color: transparent !important;
}

.theme-dark .js-base-text-modal .modal-footer .btn:hover {
  background-color: #2a2d31 !important;
}

.modal-backdrop {
  z-index: 1070;
}

@media (min-width: 991px) {
  .middle-wrap {
    max-width: 1140px;
  }

  .middle-sidebar-bottom .container:has(.middle-wrap) {
    max-width: 1140px;
  }
}

.custom-table tbody td.text-nowrap,
.table td.text-nowrap {
  white-space: nowrap;
}

/* SweetAlert2 — o tema limita o título a 16em sem centralizar; o sweetalert2.css é carregado depois deste arquivo, por isso a especificidade maior */
.swal2-container .swal2-modal.swal2-popup h2.swal2-title {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-sizing: border-box;
}

/* SweetAlert2 — modo dark */
.theme-dark .swal2-popup {
  background-color: #212223 !important;
  color: #e8e8e8 !important;
}

.theme-dark .swal2-title,
.theme-dark .swal2-popup h2.swal2-title {
  color: #fff !important;
}

.theme-dark .swal2-html-container,
.theme-dark .swal2-content,
.theme-dark .swal2-popup .swal2-html-container {
  color: #cfcfcf !important;
}

.theme-dark .swal2-footer {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: #b0b0b0;
}

.theme-dark .swal2-close {
  color: #cfcfcf;
}

.theme-dark .swal2-close:hover {
  color: #fff;
}

.theme-dark .swal2-input,
.theme-dark .swal2-textarea,
.theme-dark .swal2-select,
.theme-dark .swal2-file {
  background-color: #1a1b1c !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #e8e8e8 !important;
}

.theme-dark .swal2-input:focus,
.theme-dark .swal2-textarea:focus,
.theme-dark .swal2-select:focus,
.theme-dark .swal2-file:focus {
  border-color: rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.08) !important;
}

.theme-dark .swal2-validation-message {
  background-color: #2a2b2c;
  color: #e8e8e8;
}

.theme-dark .swal2-timer-progress-bar {
  background: rgba(255, 255, 255, 0.4);
}

.theme-dark .swal2-popup.swal2-toast {
  background-color: #212223 !important;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.45);
}

/* bg-grey + text-grey-800: no dark o texto fica claro e o fundo cinza claro some o label */
.theme-dark .btn.bg-grey,
.theme-dark .btn.bg-lightblue {
  background-color: #3a3b3c !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #f1f3f5 !important;
}

.theme-dark .btn.bg-grey:hover,
.theme-dark .btn.bg-lightblue:hover {
  background-color: #4a4b4c !important;
}

/* Preloader dark mode */
.theme-dark .preloader {
  background-color: #1a1b1c;
  background-image: url(../images/preloader-dark.svg);
}

/* Notifications dropdown: click-only (not hover); closed must not intercept clicks */
.main-content .middle-sidebar-header .right-menu-icon li {
  position: relative;
}
.main-content .middle-sidebar-header .right-menu-icon li .menu-dropdown,
.main-content .middle-sidebar-header .right-menu-icon li a:hover .menu-dropdown {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background-color: #fff;
  width: 300px;
  padding: 25px 30px;
  box-shadow: 0px 15px 125px rgba(0, 0, 0, 0.22);
  border-radius: 6px;
  z-index: 999;
  border: 0;
  position: absolute;
  top: 120%;
  right: -5px;
  text-align: left;
  transition: opacity 0.2s ease;
}
.main-content .middle-sidebar-header .right-menu-icon li .menu-dropdown:after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 15px 10px;
  border-color: transparent transparent #fff transparent;
  position: absolute;
  top: -10px;
  right: 10px;
  display: inline-block;
}
.main-content .middle-sidebar-header .right-menu-icon li.is-open .menu-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.theme-dark .main-content .middle-sidebar-header .right-menu-icon li .menu-dropdown:after {
  border-color: transparent transparent #1a1b1c transparent;
}
