html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f8f9fa;
}
.navbar {
  background-color: var(--tertulias-cor-primaria, #789A98) !important;
}
#menuPrincipal{
  height: 60px;
}
.progress-container {
  height: 5px;
  background-color: #ccc;
  position: relative;
  width: 100%;
}
.progress-bar {
  height: 15px;
  width: 20%;
  background-color: #6bbf59;
}
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}
.nivelDeAtividade{
  background-color: var(--tertulias-cor-primaria, #789A98);
  opacity: 50%;
  height: 62px;
  padding: 15px 0px 15px 0px;
}
.nivelDeVideosComplementares{
  background-color: var(--tertulias-cor-primaria, #789A98);
  opacity: 50%;
  height: 62px;
  padding-top: 5px;
}
.nivelDeEnviarAtividades{
  background-color: var(--tertulias-cor-primaria, #789A98);
  opacity: 50%;
  height: 62px;
  padding-top: 5px;
}

.breadcrumb-custom span {
  font-weight: bold;
}
.breadcrumb-custom .active {
  color: #198754;
}
.alert-obrigatorio {
  background: #dc3545;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
}
/* .video-container {
  max-width: 600px;
  margin: auto;
} */
.nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--tertulias-cor-primaria, #789A98);
  padding: 30px 10px 30px 10px;
  border-radius: 8px;  
  /* EFEITO 3D */
  box-shadow: 4px 6px 0 #5d7f7d, 0 6px 10px rgba(0,0,0,0.2);
  transition: all 0.1s ease-in-out;
}
.nav-btn i {
  font-size: 24px;
  color: white;
}

#AtividadeNum{
  max-width: 160px;
  display: flex;
  align-items: center;
  padding: 10px;
}

.breadcrumb #PeriodoNum{
  float: right;
  padding: 10px;
  max-width: 200px;
}

#tituloAtividades{
  width: 300px;
  text-align: left;
}

/*Videos complementares*/

.video-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.main-video {
  flex: 3;
  text-align: center;
}

.video-list {
  flex: 1;
  max-width: 250px;
  overflow-y: auto;
}

.video-list .video-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.video-list .video-item:hover {
  background: #f1f1f1;
}

.video-list img {
  width: 100px;
  border-radius: 5px;
}

.video-list p {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .video-container {
      flex-direction: column;
  }

  .video-list {
      max-width: 100%;
  }
}


a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}
.navbar-brand {
  width: 49px !important;
}

a {
  color: #0077cc;
}

nav .nav-link, nav a{
  color: white !important;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

#atividadeProgresso{
  height: 45px;
}


.card {
  min-width: 100% !important;
  align-self: stretch;
}

/*Fix o padding da tabela lista de usuarios*/
.container:has(#usuariosList) {
  margin: 0px 10px 0px 10px !important;
}
@media (max-width: 768px) {
  table {
      display: block;
      overflow-x: auto;
      white-space: nowrap;
  }
}

/*btn Piscando*/
 /* Estilizando o botão */
 .btn-piscando {
  background-color: var(--tertulias-cor-primaria, #789A98); /* Fundo do botão */
  border: none;
  color: white;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

/* Botão piscando (somente no texto dentro do span) */
.texto-piscando {
  animation: piscar 1s infinite alternate;
}
/* .texto-piscando-azul {
  animation: piscarAzul 1s infinite alternate;
} */
/* Animação de piscar */
@keyframes piscar {
  0% { color: white; }
  100% { color: red; }
}
@keyframes piscarAzul {
  0% { color: white; }
  100% { color: blue; }
}

#breadcrumb{
  background-color: var(--tertulias-cor-primaria, #789A98) !important;
  color: white;
  border-radius: 10px;
}
.aumentoEscala {
  transform: scale(0.75);
  transform-origin: top center;
}

/* Desabilita em telas menores que 768px (celulares) */
@media (max-width: 767.98px) {
  .aumentoEscala {
    transform: none;
  }
}
.breadcrumb-active{
  background-color: #000000 !important;
  border-radius: 10px !important;
  padding: 0.1% 1% 0.1% 1% !important;
} 

.breadcrumb-active, 
.breadcrumb-active #periodoNum, 
.breadcrumb-active #aulaNum{
  color: var(--tertulias-cor-primaria, #789A98) !important;
}
/*Animação*/
.blinking-text {
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.bg-tertulias {
  background-image: url('/img/tertuliasX.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  width: 60%; /* Ajuste conforme necessário */
  max-width: 600px; /* Limita o tamanho para telas grandes */
  padding: 20px;
  
  /* Centralizar na tela */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  /* Adicionar sombra */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

#avaliacaoContainer {
  margin-top: 1.5rem !important;
}

#envioEmail {
  margin-top: -30px !important;
}

/*Menu principal*/
.navbar-nav .nav-link {
  transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: #7af0c4 !important;
  transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
  border-bottom: 2px solid #7af0c4;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: #000 !important;
}

.pagination .page-link {
    color: #0d6efd !important;/* azul Bootstrap */
    font-size: 1rem;
}
.pagination .active .page-link {
    color: white !important;
}
#btnPaginaAnterior, #btnProximaPagina {
    z-index: 999;
}

@media (max-width: 575.98px) {
  #envioEmail.envio-mobile {
    /* margin-top: 3rem !important; */
    margin-bottom: 5rem !important;
    /* padding-top: 3rem !important; */
    padding-bottom: 3rem !important;
  }
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.6); /* leve transparência */
    display: none; /* Escondido por padrão */
    justify-content: center;
    align-items: center;
    z-index: 1050;
    display: flex; /* Flex container! */
}
/* #videoFlutuante {
    position: fixed;
    top: 100px; 
    left: 50%;
    width: 320px;
    height: 180px;
    z-index: 1050;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 10px;
} */
/* #controleAulaTabs {
    background-color: black;
}


#controleAulaTabs .container.mt-4 {
    background-color: black;
}
.card-body {
    background-color: black;
} */

#alertContainer{
    padding: 0 10px;
    width: 100%;
}
/*Tema esculo nos controles do professor*/

#acompanhamentoTabs .nav-tabs .nav-item.show .nav-link.active {
    color: white !important;
    background-color: #000000;
    border-color: #dee2e6 #dee2e6 #fff;
}

#controleAulaTabs a.nav-link.active {
    background-color: black;
    color: white !important;
}

#acompanhamentoTabs body.bg-dark {
    background-color: #121212 !important;
}

#acompanhamentoTabs .nav-pills .nav-link.active {
    background-color: black !important;
    color: #fff !important;
}

#acompanhamentoTabs .bg-body-secondary {
    background-color: #1e1e1e !important;
}

ul li {
    margin-bottom: 0.5rem;
}

input[name$="Comportamento"][value="0"]:checked {
  background-color: red !important; 
  /* cor do Bootstrap para success */
  border-color: red !important;
}

input[name$="Comportamento"][value="1"]:checked {
  background-color: green !important; 
  /* cor do Bootstrap para success */
  border-color: green !important;
}

input[name$="Status"][value="0"]:checked {
  background-color: red !important; 
  /* cor do Bootstrap para success */
  border-color: red !important;
}

input[name$="Status"][value="1"]:checked {
  background-color: green !important; 
  /* cor do Bootstrap para success */
  border-color: green !important;
}
/*Configuração em colunas*/
.duas-colunas {
    column-count: 2;
    column-gap: 2rem;
}

.item-criterio {
    break-inside: avoid;
    margin-bottom: 1rem;
}

.grupo-atividade {
    break-inside: avoid;
    margin-bottom: 2rem;
}

.desktop{
  display: block;
}

.celular{
  display: none;
}

.desktopDatilologia{
  max-width: 600px;
  max-height: 300px;
}



.larguraInputMenuCelular{
  max-width: 250px;
}


@media (max-width: 768px) {
    .duas-colunas {
        column-count: 1;
    }
    .desktop{
      display: none;
    }
    
    .celular{
      display: block;
    }

    .celularDatilologia{
      width: 100%;
    }

    #videoFlutuante {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      max-width: 100vw;
      height: 200px;
      z-index: 9999;
      border: none;
    }
    nav#breadcrumb {
      margin-top: 15%;
    }
    .larguraInputMenuCelular{
      max-width: 100%;
    }
    .texto-piscando-celular{      
      animation: piscarAzul 1s infinite alternate;
    }
    .ratio-16x9-datilologia {
      aspect-ratio: auto !important; /* ou remova o estilo personalizado */
      --bs-aspect-ratio: none;
    }
}

/* input:invalid {
  border: 2px solid red;
} */

input:invalid:focus {
  outline: none;
  box-shadow: 0 0 5px red;
}

@media (min-width: 768px) {
  .ratio-16x9-datilologia {
    --bs-aspect-ratio: calc(9 / 16 * 100%);
  }
}

/* Toque sutil de hover */
.transition { 
  transition: transform .15s ease, 
  box-shadow .15s ease; 
}
.transition:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important; 
}

/*Alertas Home*/
/* metade da tela com rolagem própria */
.col-scroll {
  height: 45vh;            /* metade da altura da viewport */
  overflow: auto;          /* rolagem só dentro da coluna */
}
/* opcional: suaviza o scroll e evita corte de sombra */
.col-scroll::-webkit-scrollbar { width: .6rem; }
.col-scroll::-webkit-scrollbar-thumb { background: #ccc; border-radius: .5rem; }

/*zoom na presença aluno*/
.zoomable {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.zoomed {
    transform: scale(5.0); /* 150% = zoom de 50% */
    z-index: 1000;
    position: relative;
}
@media (max-width: 576px) {
  /* força o navegador a respeitar larguras nas células */
  .t-alunos { table-layout: fixed; width: 100%; }

  /* 1ª coluna: 25% da tela (ou troque para 25% se preferir do table) */
  .t-alunos th:first-child,
  .t-alunos td:first-child {
    width: 25vw !important;      /* use 25% se quiser relativo à tabela */
    max-width: 30vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Container geral da sessão */
.birthday-section {
    background: radial-gradient(circle at top left, #fff7e6, #ffffff);
    border-radius: 1.25rem;
    padding: 1.75rem 2rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.08);
}

/* Cabeçalho */
.birthday-header {
    border-bottom: 1px dashed rgba(0,0,0,.08);
    padding-bottom: .75rem;
}

.birthday-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    box-shadow: 0 0.3rem 0.8rem rgba(0,0,0,.15);
    animation: birthday-pulse 2.2s infinite;
}

.birthday-icon {
    color: #ffffff;
    font-size: 1.3rem;
}

/* Badge contador */
.bg-gradient-primary {
    background: linear-gradient(135deg, #4e73df, #1cc88a);
}

.birthday-counter {
    font-weight: 600;
    box-shadow: 0 0.2rem 0.6rem rgba(0,0,0,.15);
}

/* Card dos aniversariantes */
.birthday-card {
    transition: transform .2s ease, box-shadow .2s ease, translate .2s ease;
    border-radius: 1.25rem;
    background: #ffffff;
}

.birthday-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0.9rem 1.8rem rgba(0,0,0,.12);
}

/* Destaque para quem faz aniversário HOJE */
.birthday-card.is-today {
    box-shadow: 0 0 0 2px #ffc107;
    animation: birthday-glow 1.8s ease-in-out infinite;
}

.birthday-ribbon {
    position: absolute;
    top: 0.75rem;
    right: -0.4rem;
    background: #ffc107;
    color: #212529;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px 0 0 999px;
    box-shadow: 0 0.3rem 0.6rem rgba(0,0,0,.15);
}

/* Foto */
.birthday-photo-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 180deg, #4e73df, #1cc88a, #f6c23e, #e74a3b, #4e73df);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: birthday-ring-spin 6s linear infinite;
}

.birthday-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    background: #f8f9fc;
}

/* Badge “tipo” suave */
.bg-soft-primary {
    background-color: rgba(78,115,223,0.12);
    border-radius: 999px;
}

/* Animações */
@keyframes birthday-pulse {
    0%   { transform: scale(1);   box-shadow: 0 0.2rem 0.6rem rgba(0,0,0,.15); }
    50%  { transform: scale(1.08); box-shadow: 0 0.4rem 1rem rgba(0,0,0,.18); }
    100% { transform: scale(1);   box-shadow: 0 0.2rem 0.6rem rgba(0,0,0,.15); }
}

@keyframes birthday-glow {
    0%   { box-shadow: 0 0 0 0 rgba(255,193,7,.8); }
    70%  { box-shadow: 0 0 0 8px rgba(255,193,7,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,193,7,0); }
}
/* 
@keyframes birthday-ring-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} */

/* Responsivo: diminuir padding em telas menores */
@media (max-width: 576px) {
    .birthday-section {
        padding: 1.25rem 1.25rem;
    }
}
.upload-dropzone{
    display:block;
    padding: 14px 14px;
    border: 1px dashed rgba(0,0,0,.25);
    border-radius: 16px;
    background: rgba(0,0,0,.02);
    cursor: pointer;
    transition: all .15s ease-in-out;
}
.upload-dropzone:hover{
    background: rgba(13,110,253,.06);
    border-color: rgba(13,110,253,.55);
}
.upload-dropzone.dragover{
    background: rgba(25,135,84,.08);
    border-color: rgba(25,135,84,.6);
}
.upload-icon{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: rgba(13,110,253,.10);
    color: #0d6efd;
    flex: 0 0 auto;
}
.select-readonly {
    pointer-events: none;
    background-color: #e9ecef; /* mesmo tom de disabled */
}

/* ===========================
   Popup de notificações na Home
   =========================== */
.home-notif-title {
  font-size: 1.2rem;
}
.home-notif-desc {
  font-size: 1.05rem;
  line-height: 1.5;
}

.home-chamado-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-popup-modal {
  font-family: 'Segoe UI', 'Source Sans Pro', system-ui, sans-serif;
}
.home-popup-content {
  border-radius: 1rem;
  overflow: hidden;
}
.home-popup-header {
  padding: 1.25rem 1.5rem 0;
}
.home-popup-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.home-popup-body {
  padding: 0 1.5rem 1.5rem;
}
.home-popup-desc,
.home-popup-desc-only {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #333;
}
.home-popup-carousel {
  padding: 0;
}
.home-popup-midia-wrapper {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  min-height: 320px;
}
.home-popup-midia-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  /* Altura fixa para que o modal fique sempre com a mesma área de mídia,
     independentemente do tamanho original das imagens/vídeos */
  height: 420px;
}
.home-popup-img-error {
  padding: 1rem;
}
.home-popup-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.home-popup-video {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}
.home-popup-legenda {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #f0f2f5;
  border-radius: 0.5rem;
  min-height: 3rem;
}
.home-popup-legenda-text {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #333;
}
.home-popup-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.2s;
}
.home-popup-arrow:hover {
  background: rgba(0,0,0,0.75);
  color: #fff;
}
.home-popup-arrow-prev {
  margin-right: 0.5rem;
}
.home-popup-arrow-next {
  margin-left: 0.5rem;
}
.home-popup-nav-prev,
.home-popup-nav-next {
  width: 56px;
  height: 56px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.75rem;
  opacity: 1;
  z-index: 10;
}
.home-popup-nav-prev {
  left: -28px;
}
.home-popup-nav-next {
  right: -28px;
}
.home-popup-nav-prev:hover,
.home-popup-nav-next:hover {
  background: rgba(0,0,0,0.7);
  color: #fff;
}
.btn-close-lg {
  font-size: 1.25rem;
  padding: 0.5rem;
}
@keyframes homePopupFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.home-popup-modal .modal-dialog {
  animation: homePopupFade 0.3s ease;
}

/* Notificações na coluna da home (InicioHome) – mídia nos cards */
.home-notif-carousel {
  position: relative;
  height: 200px;
  background: #e9ecef;
}
.home-notif-carousel .carousel-inner,
.home-notif-carousel .carousel-item {
  height: 100%;
}
.home-notif-midia-wrap {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
  overflow: hidden;
}
.home-notif-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-notif-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-notif-legenda {
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}
.home-notif-carousel-btn {
  width: 32px;
  height: 32px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: rgba(0,0,0,0.4);
  border: none;
  border-radius: 50%;
  opacity: 1;
  font-size: 1rem;
  padding: 0;
  z-index: 5;
}
.home-notif-carousel-btn:hover {
  background: rgba(0,0,0,0.6);
  color: #fff;
}
.home-notif-carousel-btn.carousel-control-prev { left: 4px; }
.home-notif-carousel-btn.carousel-control-next { right: 4px; }

/* Notificações Inicio (várias): linha de cards lado a lado, montada em JS */
.home-notif-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  min-height: 300px;
  -webkit-overflow-scrolling: touch;
}
.home-notif-row::-webkit-scrollbar {
  height: 8px;
}
.home-notif-row::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.home-notif-row::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
.home-notif-col-js {
  flex: 0 0 280px;
  min-width: 280px;
}
.home-notif-card-js {
  height: 300px;
  display: flex;
  flex-direction: column;
}
.home-notif-card-clickable {
  cursor: pointer;
}
.home-notif-card-js .home-notif-midia-wrap-js {
  position: relative;
  flex: 1;
  min-height: 0;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
  overflow: hidden;
}
.home-notif-card-js .home-notif-midia-wrap-js::before,
.home-notif-card-js .home-notif-midia-wrap-js::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
}
.home-notif-card-js .home-notif-midia-wrap-js::after {
  background: rgba(255, 255, 255, 0.6);
}
.home-notif-card-js .home-notif-midia-wrap-js::before {
  content: "\F52A";
  font-family: "bootstrap-icons";
  font-size: 2.5rem;
  color: #212529;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-notif-card-js:hover .home-notif-midia-wrap-js::before,
.home-notif-card-js:hover .home-notif-midia-wrap-js::after {
  opacity: 1;
}
.home-notif-card-js .home-notif-midia-placeholder {
  min-height: 180px;
}
/* Carrossel interno no card (várias mídias) */
.home-notif-inner-carousel {
  position: relative;
  flex: 1;
  min-height: 0;
  height: 180px;
  display: flex;
  flex-direction: column;
}
.home-notif-inner-slides {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.home-notif-inner-slide {
  display: none;
  height: 100%;
  flex-direction: column;
}
.home-notif-inner-slide.active {
  display: flex;
}
.home-notif-inner-slide-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.home-notif-inner-slide .home-notif-midia-wrap-js {
  flex: 1;
  min-height: 0;
}
.home-notif-inner-slide .home-notif-legenda {
  flex: 0 0 auto;
}
.home-notif-inner-prev,
.home-notif-inner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 0.9rem;
  padding: 0;
  z-index: 5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-notif-inner-prev:hover,
.home-notif-inner-next:hover {
  background: rgba(0,0,0,0.7);
  color: #fff;
}
.home-notif-inner-prev { left: 4px; }
.home-notif-inner-next { right: 4px; }
.home-notif-card-js .home-notif-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-notif-card-js .home-notif-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-notif-card-js .home-notif-legenda {
  flex: 0 0 auto;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}
.home-notif-card-js .card-body {
  flex: 0 0 auto;
  padding: 0.5rem 0.75rem;
  overflow: hidden;
}
.home-notif-card-js .home-notif-title {
  font-size: 0.95rem;
  margin-bottom: 0.25rem !important;
}
.home-notif-card-js .home-notif-desc {
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Modal de detalhe da notificação (mesmo tamanho/estilo do popup para imagens bem ajustadas) */
#modalVerNotificacaoContent .home-notif-midia-wrap-js,
#modalVerNotificacaoContent .home-notif-inner-carousel {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 0.75rem;
  overflow: hidden;
}
#modalVerNotificacaoContent .home-notif-img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
#modalVerNotificacaoContent .home-notif-video {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}
#modalVerNotificacaoContent .home-notif-inner-slide .home-notif-midia-wrap-js {
  min-height: 420px;
}

/* Login (Identity) — foto de fundo em toda a largura/viewport; formulário sem painel branco */
.tertulias-login-page {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}

.tertulias-login-page[style*="background-image"] {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

@media (min-width: 768px) {
  .tertulias-login-page[style*="background-image"] {
    background-attachment: fixed;
  }
}

.card.tertulias-login-card--transparent {
  background-color: transparent !important;
}