@import url(https://fonts.googleapis.com/css?family=Montserrat:400,800);
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap);

@font-face { font-family: Archivo; src: url(/static/media/Archivo-Bold.2330f220d7fda723f277.ttf); }
@font-face { font-family: Archivo; src: url(/static/media/Archivo-Medium.0fcf8e00cb9df274ed1a.ttf); }
@font-face { font-family: Archivo; src: url(/static/media/Archivo-Regular.3feff0811b2bcf69e932.ttf); }
@font-face { font-family: Archivo; src: url(/static/media/Archivo-SemiBold.571f8baae97a08c039ee.ttf); }
@font-face { font-family: HoghFish; src: url(/static/media/HogfishDEMO.9b5a616c31861a39a5a2.otf); }
@font-face { font-family: Thunderhouse; src: url(/static/media/thunderhouse.ef3b1c30de3784696b1d.otf)}
@font-face { font-family: sanlouis; src: url(/static/media/sanlouis.815b4d2d1e7dbd5934f8.otf);}
@font-face { font-family: A750; src: url(/static/media/A750-SansRegular.7d9277aef8c428cddd38.ttf); }

/* Adicionando largura e altura ao html e body */
html, body {
  width: 100%;
  height: 100%;
  font-family: Archivo;
}



/* Corrigindo layout da aplicação principal */
.app {
  margin: 0 auto;
  max-width: 1200px; /* Define a largura máxima da aplicação */
  padding: 20px; /* Espaçamento interno confortável */
  position: relative; /* Garante que o fluxo permaneça natural */
}

/* Correção para grids */
.news-grid, .second-grid {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
}

.news-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsividade */
}

.second-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Configuração semelhante */
}

* {
  box-sizing: border-box;
}

.Login-body {
  background: #f6f5f7;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  height: 100vh;
  margin: -20px 0 50px;
}

.Login-body h1 {
  font-weight: bold;
  margin: 0;
}

.Login-body p {
  font-size: 14px;
  font-weight: 100;
  line-height: 20px;
  letter-spacing: 0.5px;
  margin: 20px 0 30px;
}

.Login-body span {
  font-size: 12px;
}

.Login-body a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
  margin: 15px 0;
}

.Login-body button {
  border-radius: 20px;
  border: 1px solid #FF4B2B;
  background-color: #FF4B2B;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
}

.Login-body button:active {
  transform: scale(0.95);
}

.Login-body button:focus {
  outline: none;
}

.Login-body button.Login-ghost {
  background-color: transparent;
  border-color: #FFFFFF;
}

.Login-body form {
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 50px;
  height: 100%;
  text-align: center;
}

.Login-body input {
  background-color: #eee;
  border: none;
  padding: 12px 15px;
  margin: 8px 0;
  width: 100%;
}

.Login-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
    0 10px 10px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  width: 768px;
  max-width: 100%;
  min-height: 480px;
}

.Login-form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}

.Login-sign-in-container {
  left: 0;
  width: 50%;
  z-index: 2;
}

.Login-container.Login-right-panel-active .Login-sign-in-container {
  transform: translateX(100%);
}

.Login-sign-up-container {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
}

.Login-container.Login-right-panel-active .Login-sign-up-container {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: Login-show 0.6s;
}

@keyframes Login-show {
  0%,
  49.99% {
    opacity: 0;
    z-index: 1;
  }

  50%,
  100% {
    opacity: 1;
    z-index: 5;
  }
}

.Login-overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
  z-index: 100;
}

.Login-container.Login-right-panel-active .Login-overlay-container {
  transform: translateX(-100%);
}

.Login-overlay {
  background: #FF416C;
  background: linear-gradient(to right, #FF4B2B, #FF416C);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  color: #FFFFFF;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.Login-container.Login-right-panel-active .Login-overlay {
  transform: translateX(50%);
}

.Login-overlay-panel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  top: 0;
  height: 100%;
  width: 50%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.Login-overlay-left {
  transform: translateX(-20%);
}

.Login-container.Login-right-panel-active .Login-overlay-left {
  transform: translateX(0);
}

.Login-overlay-right {
  right: 0;
  transform: translateX(0);
}

.Login-container.Login-right-panel-active .Login-overlay-right {
  transform: translateX(20%);
}

.Login-social-container {
  margin: 20px 0;
}

.Login-social-container a {
  border: 1px solid #DDDDDD;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  height: 40px;
  width: 40px;
}

.Login-footer {
  background-color: #222;
  color: #fff;
  font-size: 14px;
  bottom: 0;
  position: fixed;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 999;
}

.Login-footer p {
  margin: 10px 0;
}

.Login-footer i {
  color: red;
}

.Login-footer a {
  color: #3c97bf;
  text-decoration: none;
}




@media (max-width: 1024px) {
  .Login-container {
    width: 90%;
    min-height: 400px;
  }

  .Login-body h1 {
    font-size: calc(24px + 1vw);
  }

  .Login-body p {
    font-size: calc(12px + 0.5vw);
  }

  .Login-body button {
    font-size: calc(10px + 0.5vw);
    padding: calc(10px + 0.5vw) calc(30px + 1vw);
  }

  .Login-body input {
    padding: calc(10px + 0.5vw);
  }

  .Login-overlay-panel {
    padding: 0 calc(20px + 1vw);
  }
}

@media (max-width: 768px) {
  .Login-container {
    flex-direction: column;
    width: 100%;
    min-height: 40%;
  }

  .Login-body h1 {
    font-size: calc(20px + 1vw);
  }

  .Login-body p {
    font-size: calc(10px + 0.5vw);
  }

  .Login-body a {
    font-size: calc(8px + 0.5vw);
  }

  .Login-body button {
    font-size: calc(8px + 0.5vw);
    padding: calc(8px + 0.5vw) calc(20px + 1vw);
  }

  .Login-body input {
    padding: calc(6px + 0.5vw);
    font-size: calc(8px + 0.5vw);
  }

  .Login-body form {
    padding: 0 calc(25px + 1vw);
  }

  .Login-overlay-panel {
    padding: 0 calc(15px + 1vw);
  }
}

@media (max-width: 480px) {
  .Login-body h1 {
    font-size: calc(18px + 1vw);
  }

  .Login-body span {
    font-size: calc(8px + 0.5vw);
  }

  .Login-body p {
    font-size: calc(8px + 0.5vw);
  }

  .Login-body button {
    font-size: calc(6px + 0.5vw);
    padding: calc(6px + 0.5vw) calc(15px + 1vw);
  }

  .Login-body input {
    padding: calc(6px + 0.5vw);
    font-size: calc(8px + 0.5vw);
  }

  .Login-body form {
    padding: 0 calc(10px + 1vw);
  }

  .Login-overlay-panel {
    padding: 0 calc(10px + 1vw);
  }
}
/* ====== Configuração Geral ====== */
.body-admin {
    background: #f6f5f7;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    margin: -20px 0 50px;
}

/* ====== Layout Principal ====== */
.admin-container {
    display: grid;
    grid-template-columns: auto 1fr; /* Sidebar auto */
    grid-template-rows: 100vh;
    height: 100vh;
    transition: grid-template-columns 0.3s ease; /* Transição suave */
}

/* ====== Sidebar Modernizada ====== */
.sidebar {
    background-color: #1e1e2f; /* Cor de fundo */
    width: 80px; /* Largura retraída */
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #2a2a3a;
    overflow-x: hidden; /* Garante que o conteúdo extra seja ocultado horizontalmente */
    transition: width 0.3s ease;
    position: relative;
}

.sidebar:hover {
    width: 260px; /* Expande ao hover */
}

/* ====== Seção do Perfil na Sidebar ====== */
.profile-section {
    text-align: center;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
    padding: 1rem 0;
}

.profile-picture {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid #ffffff33;
    transition: width 0.3s ease, height 0.3s ease, border 0.3s ease;
}

.sidebar:hover .profile-picture {
    border: 3px solid #ffffff66;
}

.profile-name {
    font-weight: bold;
    color: #ddd;
    opacity: 0;
    visibility: hidden;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar:hover .profile-name {
    opacity: 1;
    visibility: visible;
}

/* ====== Menu da Sidebar ====== */
.menu ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Ícones sempre alinhados à esquerda */
    padding: 0.8rem 1rem;
    color: #aaa;
    font-size: 1rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Os ícones sempre ficam visíveis */
.menu-item svg {
    width: 24px;
    height: 24px;
    min-width: 24px; /* Garante que os ícones tenham um tamanho fixo */
    color: #aaa;
    transition: transform 0.3s ease, color 0.3s ease;
}

.menu-item:hover svg {
    color: white;
    transform: scale(1.1); /* Aumenta levemente no hover */
}

.menu-item:hover {
    background: #25253a;
    color: #ffffff;
}

.menu-item.active {
    background: linear-gradient(90deg, #4f46e5 0%, #312e81 100%);
    color: white;
    font-weight: bold;
} 

.menu-item i {
    width: 40px;
    min-width: 40px; /* Garante que o espaço do ícone não mude */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-item i img {
    width: 24px;
    filter: brightness(0.8);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.menu-item:hover i img {
    filter: brightness(1);
    transform: scale(1.1);
}

.menu-item .menu-text {
    margin-left: 10px; /* Espaço entre o texto e o ícone */
}

/* Mostra os textos quando a sidebar estiver expandida */
.sidebar:hover .menu-item .menu-text {
    opacity: 1;
    visibility: visible;
}


.toggle-btn {
    background: #25253a;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    position: absolute;
    bottom: 20px;
    right: 10px;
    transition: all 0.3s ease;
  }
  .toggle-btn:hover {
    background: #4f46e5;
  }

/* Texto do Menu */
.menu-item .menu-text {
    display: none; /* Esconde completamente quando a sidebar está retraída */
    margin-left: 10px; /* Espaço entre o ícone e o texto */
    transition: display 0.3s ease;
}

.sidebar:hover .menu-item .menu-text {
    display: inline-block; /* Exibe o texto apenas quando a sidebar está expandida */
}

/* ====== Botão de Logout ====== */
.logout-btn {
    margin-top: auto;
    padding: 0.9rem 1rem;
    background: transparent;
    color: white;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    width: 100%;
}

.logout-btn:hover {
    background: #ff4d4d;
    color: white;
}

.logout-btn i img {
    width: 26px;
    transform: rotate(180deg);
}

/* Indicadores (exemplo de notificação) */
.notification-badge {
    background: red;
    color: white;
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 10px;
    position: absolute;
    right: 15px;
    font-weight: bold;
}

.sidebar:hover .notification-badge {
    right: 20px;
}


/* ====== Conteúdo Principal ====== */
.main-content {
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
    background-color: #121212;
    overflow-y: scroll;
}

.admin-container .sidebar:hover ~ .main-content {
    margin-left: 1px;
}

/* ====== Grid de Widgets ====== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 1rem;
    gap: 1rem;
    margin-top: 1rem;
}

.content-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.content-box:hover {
    transform: scale(1.05);
}

.dashboard-container {
  height: 100%;
  padding: 20px;
  text-align: center;
  color: #FFF;
}

.dashboard-container * {
  color: #FFF;
}

.dashboard-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Ajusta conforme o espaço disponível */
  grid-template-rows: repeat(auto-fit, minmax(300px, auto)); /* Evita expansão excessiva */
  grid-column-gap: 8px;
  grid-row-gap: 8px;
}

.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 1 / 2 / 2 / 3; }
.div3 { grid-area: 1 / 3 / 2 / 4; }
.div4 { grid-area: 1 / 4 / 2 / 5; }
.div5 { grid-area: 2 / 3 / 3 / 4; }
.div6 { grid-area: 2 / 4 / 4 / 4; }
.div7 { grid-area: 3 / 3 / 3 / 4; }
.div8 { grid-area: 3 / 4 / 4 / 5; }
.div9 { grid-area: 3 / 1 / 4 / 3; }
.div10 { grid-area: 2 / 1 / 3 / 3; }

.dashboard-widget {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard-widget:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

.stats-widget {
  font-size: 18px;
  font-weight: bold;
}

.dashboard3-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
}

.dashboard3-modal-content {
  background: #1f2937;
  border: 1px solid rgba(59, 130, 246, 0.5);
  padding: 15px;
  border-radius: 10px;
  width: 70%;
  height: 85%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.dashboard3-modal-content h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #60a5fa;
}

.ds3-chart1 canvas {
  width: 100% !important;
  height: auto !important;
  border-radius: 10px;
}

.ds3-chart2 canvas {
  width: 60% !important;
  height: auto !important;
  border-radius: 10px;
}

/* From Uiverse.io by javierBarroso */
.dashboard3-close-btn {
  position: relative;
  width: 4em;
  height: 4em;
  border: none;
  background: rgba(180, 83, 107, 0.546);
  border-radius: 5px;
  transition: background 0.5s;
}

.X {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2em;
  height: 1.5px;
  background-color: rgb(255, 255, 255);
  transform: translateX(-50%) rotate(45deg);
}

.Y {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2em;
  height: 1.5px;
  background-color: #c5e5ff;
  transform: translateX(-50%) rotate(-45deg);
}

.close {
  position: absolute;
  display: flex;
  padding: 0.8rem 1.5rem;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  top: -70%;
  left: 50%;
  width: 3em;
  height: 1.7em;
  font-size: 12px;
  background-color: rgb(19, 22, 24);
  color: rgb(187, 229, 236);
  border: none;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
}

.dashboard3-close-btn:hover {
  background-color: rgb(211, 21, 21);
}

.dashboard3-close-btn:active {
  background-color: rgb(130, 0, 0);
}

.dashboard3-close-btn:hover > .close {
  animation: close 0.2s forwards 0.25s;
}

@keyframes close {
  100% {
    opacity: 1;
  }
}

.dashboard3-information-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  margin-bottom: 20px;
}

.dashboard3-info-box {
  background: #374151;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.dashboard3-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  margin-bottom: 20px;
}

.dashboard3-chart-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #374151;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.3);
}


.donut-chart-wrapper {
  position: relative;
  width: 250px;
  height: 250px;
  margin: auto;
}

.donut-center {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 34px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

.donut-center span {
  display: block;
  font-size: 14px;
  color: #777;
}

/* Estilo do modal */
.dashboard-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 50%;
  text-align: center;
}

.close-btn {
  margin-top: 15px;
  padding: 10px 15px;
  background: #e11d48;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

input[type="month"] {
  padding: 8px;
  margin: 10px 0;
  font-size: 16px;
  color: #1e1e1e;
}

/* Graficos */
.div3 {
  display: flex;
  flex-direction: column;
}

.donut-chart-container {
  position: relative;
  height: auto;
}

.donut-chart-container canvas {
  width: 100% !important;
  height: auto !important;
  border-radius: 10px;
}

.div5 h3 {
  font-size: 18px;
  font-weight: 100;
  margin-bottom: 0;
}

.month-name {
  font-size: 18px;
  color: #9b9b9b;
  font-weight: 100;
  margin-bottom: 20px;
  margin-top: 0;
}

/* Estilo geral do modal */
.dashboard5-modal-content {
    padding: 20px;
    background: #272c34;
    border-radius: 10px;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


.ds5-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Se ajusta automaticamente */
    grid-gap: 20px;
    gap: 20px; /* Espaçamento entre os elementos */
    padding: 20px;
    background: rgb(67, 67, 67);
    border-radius: 10px;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Seção de filtros */
.ds5-modal-notice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Área do gráfico de categorias */
.ds5-modal-categories {
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Para gráficos e tabelas */
.ds5-chart, .ds5-table {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Garantir que os gráficos fiquem ajustados */
.ds5-chart canvas {
    max-width: 100%;
    height: auto !important;
}

/* Botões do modal */
.ds5-actions {
    grid-column: span 2; /* Ocupa 2 colunas */
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .dashboard5-modal-content {
        grid-template-columns: 1fr; /* Apenas uma coluna em telas menores */
    }
    
    .ds5-actions {
        grid-column: span 1; /* Volta a ocupar apenas uma linha */
        justify-content: center;
    }
}




/* Estilização da div10 - Origem dos Acessos */
.dashboard-widget.div10 {
  position: relative;
  display: flex;
  width: 100%;
  height: 450px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

/* Efeito hover para realce */
.dashboard-widget.div10:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Ajuste para o título */
.dashboard-widget.div10 h3 {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

/* Contêiner do mapa */
.dashboard-widget.div10 .map-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ajuste para o mapa dentro da div */
.dashboard-widget.ds10-map-container svg {
  width: 100%;
  height: 100%;
}

/* Estilização do tooltip */
.tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

/* Mostrar tooltip quando necessário */
.dashboard-widget.div10:hover .tooltip {
  visibility: visible;
  opacity: 1;
}


.ds10-map-container {
  width: 60%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds10-bar-chart {
  width: 40%;
  height: 100%;
}

/* 📌 Layout flexível para Mapa e Gráfico */
.map-chart-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

/* 📌 Estilização do gráfico de barras */
.bar-chart-container {
  height: 400px;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* 📌 Ajuste do mapa */
.map-container {
  width: 60%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-bars-chart {
  display: flex;
  flex-direction: column;
  width: 40%;
  gap: 50px;
}

.bar-chart-container-modal {
  width: 100%;
  height: 400px;
  padding: 10px;
  background: #374151;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  border: 1px solid rgba(59, 130, 246, 0.3);
  justify-content: center;
}

.city-chart {
  width: 100%;
  height: 50%;
}

.country-chart {
  width: 100%;
  height: 50%;
}

.ds4-chart {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.ds4-chart canvas {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 10px;  
}

.chartjs-legend li {
  color: #ffffff !important; /* 🔥 Força a cor branca nos textos da legenda */
}


/* Estilização do loader */

/* ================================
   📱 RESPONSIVIDADE - DASHBOARD
   ================================ */

   @media (max-width: 1024px) {
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Ajusta conforme o espaço disponível */
      grid-template-rows: repeat(auto-fit, minmax(300px, auto)); /* Evita expansão excessiva */
      grid-column-gap: 8px;
      grid-row-gap: 8px;
    }
    
    .div1 { grid-area: 1 / 1 / 2 / 2; }
    .div2 { grid-area: 1 / 2 / 2 / 3; }
    .div3 { grid-area: 2 / 1 / 3 / 2; }
    .div4 { grid-area: 2 / 2 / 3 / 3; }
    .div10 { grid-area: 3 / 1 / 4 / 3; }
    .div5 { grid-area: 4 / 1 / 5 / 2; }
    .div6 { grid-area: 4 / 2 / 5 / 3; }
    .div7 { grid-area: 5 / 1 / 6 / 3; }
    .div8 { grid-area: 6 / 1 / 7 / 3; }
    .div9 { grid-area: 7 / 1 / 8 / 3; }
    
  }
  
  @media (max-width: 768px) {
    .dashboard-grid {
      display: flex;
      flex-direction: column;
    }

    .dashboard-widget h3 {
      font-size: calc(1.1rem + 0.5vw);
      margin-top: 0;
    }
    
    .dashboard-title {
      font-size: 20px;
    }
  
    .stats-widget {
      font-size: 16px;
    }
  
    .dashboard3-modal-content h2 {
      font-size: 20px;
    }
  
    .dashboard-widget {
      padding: 15px;
    }
  
    .dashboard3-close-btn {
      width: 2.5em;
      height: 2.5em;
    }
  
    .X, .Y {
      width: 1.2em;
    }
  
    .close {
      font-size: 10px;
      width: 2.5em;
      height: 1.5em;
    }
  
    .donut-center {
      font-size: 26px;
    }
  
    .donut-center span {
      font-size: 12px;
    }
  
    .ds5-actions {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
  }
  
  @media (max-width: 480px) {
    .dashboard-grid {
      display: flex;
      flex-direction: column;
    }

    .dashboard-widget h3 {
      font-size: calc(1.1rem + 0.5vw);
      margin-top: 0;
    }
    
    .dashboard-title {
      font-size: 20px;
    }
  
    .stats-widget {
      font-size: 16px;
    }
  
    .dashboard3-modal-content h2 {
      font-size: 20px;
    }
  
    .dashboard-widget {
      padding: 15px;
    }
  
    .dashboard3-close-btn {
      width: 2.5em;
      height: 2.5em;
    }
  
    .X, .Y {
      width: 1.2em;
    }
  
    .close {
      font-size: 10px;
      width: 2.5em;
      height: 1.5em;
    }
  
    .donut-center {
      font-size: 26px;
    }
  
    .donut-center span {
      font-size: 12px;
    }
  
    .ds5-actions {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
  }
  


  /* Responsividade adicional para telas muito pequenas */
  @media (max-width: 360px) {
    .dashboard-container {
      padding: 10px;
    }

    .dashboard-title {
      font-size: 18px;
    }

    .dashboard-widget {
      padding: 10px;
      font-size: 14px;
    }

    .dashboard3-modal-content {
      width: 95%;
      padding: 10px;
    }

    .dashboard3-information-grid,
    .dashboard3-charts-grid {
      grid-template-columns: 1fr;
    }

    .ds5-modal-grid {
      grid-template-columns: 1fr;
    }

    .ds5-actions {
      flex-direction: column;
      align-items: center;
      gap: 5px;
    }

    .dashboard-widget.div10 {
      flex-direction: column;
      height: auto;
    }

    .ds10-map-container, .ds10-bar-chart {
      width: 100%;
      height: auto;
    }

    .container-bars-chart {
      flex-direction: column;
      width: 100%;
      gap: 10px;
    }

    .bar-chart-container {
      justify-content: center;
      height: 250px;
    }

    .dashboard-widget h3 {
      font-size: 16px;
    }

    .stats-widget {
      font-size: 14px;
    }

    .donut-center {
      font-size: 20px;
    }

    .donut-center span {
      font-size: 10px;
    }
  }

.order-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    overflow-y: scroll;
    background-color: #1b1b1b;
}

.order-container::-webkit-scrollbar   {
    width: 15px;
}

.order-container::-webkit-scrollbar-track   {
    background-color: #000000;
    border-radius: 11px;
}

.order-container::-webkit-scrollbar-corner {
    width: 20px;
}

.order-container::-webkit-scrollbar-thumb {
    background-color: #e68900;
    border-radius: 11px;
    border: 5px solid #000000;
}

/* 🔹 Grid principal */
.order-news-grid {
    display: grid;
    grid-template-columns: 3fr 1.5fr 1.5fr;
    grid-gap: 1rem;
    gap: 1rem;
    margin: 0 auto;
    padding-top: 30px;
}

/* 🔹 Notícia principal (grande) */
.order-main-article {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    position: relative;
    width: 100%;
    height: 400px; /* Definição fixa para manter padrão */
    cursor: grab;
    overflow: hidden;
    border-radius: 8px;
}

/* 🔹 Imagem da notícia grande (sempre ocupa toda a div) */
.order-main-article img {
    position: absolute; /* Permite ajustar à div */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que preencha o espaço sem distorção */
}

/* 🔹 Container das notícias laterais */
.order-side-articles {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-gap: 1rem;
    gap: 1rem;
}

/* 🔹 Estilização das notícias laterais */
.order-article {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: grab;
    height: 200px; /* Mantendo altura padronizada */
}

/* 🔹 Imagens das notícias laterais */
.order-article img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 🔹 Categoria */
.order-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4b4b;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}

/* 🔹 Título da notícia (principal e laterais) */
.order-title {
    margin-bottom: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    color: white;
    font-weight: bold;
    padding: 10px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.534);
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: inset -1px -8px 59px 0px rgba(0,0,0,0.75);
    font-size: calc(0.1rem + 0.5vw); /* Tamanho do texto responsivo */
}

/* 🔹 Botão de salvar */
.order-save-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background: #ff9100;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.order-save-button:hover {
    background: #ffae00;
}

.news-selection h3{
    color: white;
}

/* 🔹 Botão de destaque */
.highlight-button {
    margin-top: 10px;
    padding: 8px 12px;
    background: #ff9800;
    color: white;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.highlight-button:hover {
    background: #e68900;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Ajusta o número de colunas conforme o tamanho da tela */
    grid-gap: 50px 20px;
    gap: 50px 20px;
}

/* 🔹 Responsividade */
/* 🔹 Responsividade */

/* Telas médias (tablets) */
@media (max-width: 1024px) {
    .order-container {
        padding: 15px;
    }

    .order-news-grid {
        grid-template-columns: 1fr; /* Duas colunas para tablets */
        grid-template-rows: auto; /* Ajusta a altura automaticamente */
    }

    .order-main-article {
        height: 350px; /* Ajuste a altura conforme necessário */
    }

    .order-side-articles {
        grid-column: 1 / 3; /* Ocupa toda a largura */
        grid-template-columns: repeat(2, 1fr); /* Duas colunas para tablets */
        grid-template-rows: repeat(2, auto); /* Duas linhas para as notícias laterais */
    }

    .order-article {
        height: 180px; /* Ajuste a altura conforme necessário */
    }
}

/* Telas pequenas (smartphones) */
@media (max-width: 768px) {
    .order-container {
        padding: 10px;
    }

    .order-news-grid {
        grid-template-columns: 1fr; /* Uma coluna para telas pequenas */
        grid-template-rows: auto; /* Ajusta a altura automaticamente */
    }

    .order-main-article {
        height: 300px; /* Ajuste a altura conforme necessário */
    }

    .order-side-articles {
        grid-column: 1 / 2; /* Ocupa toda a largura */
        grid-template-columns: 1fr; /* Uma coluna para telas pequenas */
        grid-template-rows: repeat(4, auto); /* Quatro linhas para as notícias laterais */
    }

    .order-article {
        height: 150px; /* Ajuste a altura conforme necessário */
    }

    .news-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Ajusta o número de colunas conforme o tamanho da tela */
        gap: 50px 10px; /* Ajusta o espaçamento entre os itens */
    }
}
:root {
  --toastify-color-light: #fff;
  --toastify-color-dark: #121212;
  --toastify-color-info: #3498db;
  --toastify-color-success: #07bc0c;
  --toastify-color-warning: #f1c40f;
  --toastify-color-error: hsl(6, 78%, 57%);
  --toastify-color-transparent: rgba(255, 255, 255, 0.7);

  --toastify-icon-color-info: var(--toastify-color-info);
  --toastify-icon-color-success: var(--toastify-color-success);
  --toastify-icon-color-warning: var(--toastify-color-warning);
  --toastify-icon-color-error: var(--toastify-color-error);

  --toastify-container-width: fit-content;
  --toastify-toast-width: 320px;
  --toastify-toast-offset: 16px;
  --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
  --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
  --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
  --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
  --toastify-toast-background: #fff;
  --toastify-toast-padding: 14px;
  --toastify-toast-min-height: 64px;
  --toastify-toast-max-height: 800px;
  --toastify-toast-bd-radius: 6px;
  --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  --toastify-font-family: sans-serif;
  --toastify-z-index: 9999;
  --toastify-text-color-light: #757575;
  --toastify-text-color-dark: #fff;

  /* Used only for colored theme */
  --toastify-text-color-info: #fff;
  --toastify-text-color-success: #fff;
  --toastify-text-color-warning: #fff;
  --toastify-text-color-error: #fff;

  --toastify-spinner-color: #616161;
  --toastify-spinner-color-empty-area: #e0e0e0;
  --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
  --toastify-color-progress-dark: #bb86fc;
  --toastify-color-progress-info: var(--toastify-color-info);
  --toastify-color-progress-success: var(--toastify-color-success);
  --toastify-color-progress-warning: var(--toastify-color-warning);
  --toastify-color-progress-error: var(--toastify-color-error);
  /* used to control the opacity of the progress trail */
  --toastify-color-progress-bgo: 0.2;
}

.Toastify__toast-container {
  z-index: 9999;
  z-index: var(--toastify-z-index);
  -webkit-transform: translate3d(0, 0, 9999);
  -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
  position: fixed;
  width: fit-content;
  width: var(--toastify-container-width);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.Toastify__toast-container--top-left {
  top: max(16px, env(safe-area-inset-top));
  top: var(--toastify-toast-top);
  left: max(16px, env(safe-area-inset-left));
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--top-center {
  top: max(16px, env(safe-area-inset-top));
  top: var(--toastify-toast-top);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--top-right {
  top: max(16px, env(safe-area-inset-top));
  top: var(--toastify-toast-top);
  right: max(16px, env(safe-area-inset-right));
  right: var(--toastify-toast-right);
  align-items: end;
}
.Toastify__toast-container--bottom-left {
  bottom: max(16px, env(safe-area-inset-bottom));
  bottom: var(--toastify-toast-bottom);
  left: max(16px, env(safe-area-inset-left));
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--bottom-center {
  bottom: max(16px, env(safe-area-inset-bottom));
  bottom: var(--toastify-toast-bottom);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--bottom-right {
  bottom: max(16px, env(safe-area-inset-bottom));
  bottom: var(--toastify-toast-bottom);
  right: max(16px, env(safe-area-inset-right));
  right: var(--toastify-toast-right);
  align-items: end;
}

.Toastify__toast {
  --y: 0;
  position: relative;
  touch-action: none;
  width: 320px;
  width: var(--toastify-toast-width);
  min-height: 64px;
  min-height: var(--toastify-toast-min-height);
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: 14px;
  padding: var(--toastify-toast-padding);
  border-radius: 6px;
  border-radius: var(--toastify-toast-bd-radius);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  box-shadow: var(--toastify-toast-shadow);
  max-height: 800px;
  max-height: var(--toastify-toast-max-height);
  font-family: sans-serif;
  font-family: var(--toastify-font-family);
  /* webkit only issue #791 */
  z-index: 0;
  /* inner swag */
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  word-break: break-word;
}

@media only screen and (max-width: 480px) {
  .Toastify__toast-container {
    width: 100vw;
    left: env(safe-area-inset-left);
    margin: 0;
  }
  .Toastify__toast-container--top-left,
  .Toastify__toast-container--top-center,
  .Toastify__toast-container--top-right {
    top: env(safe-area-inset-top);
    transform: translateX(0);
  }
  .Toastify__toast-container--bottom-left,
  .Toastify__toast-container--bottom-center,
  .Toastify__toast-container--bottom-right {
    bottom: env(safe-area-inset-bottom);
    transform: translateX(0);
  }
  .Toastify__toast-container--rtl {
    right: env(safe-area-inset-right);
    left: auto;
    left: initial;
  }
  .Toastify__toast {
    --toastify-toast-width: 100%;
    margin-bottom: 0;
    border-radius: 0;
  }
}

.Toastify__toast-container[data-stacked='true'] {
  width: 320px;
  width: var(--toastify-toast-width);
}

.Toastify__toast--stacked {
  position: absolute;
  width: 100%;
  transform: translate3d(0, var(--y), 0) scale(var(--s));
  transition: transform 0.3s;
}

.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,
.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
  transition: opacity 0.1s;
}

.Toastify__toast--stacked[data-collapsed='false'] {
  overflow: visible;
}

.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {
  opacity: 0;
}

.Toastify__toast--stacked:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--g) * 1px);
  bottom: 100%;
}

.Toastify__toast--stacked[data-pos='top'] {
  top: 0;
}

.Toastify__toast--stacked[data-pos='bot'] {
  bottom: 0;
}

.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {
  transform-origin: top;
}

.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {
  transform-origin: bottom;
}

.Toastify__toast--stacked:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  transform: scaleY(3);
  z-index: -1;
}

.Toastify__toast--rtl {
  direction: rtl;
}

.Toastify__toast--close-on-click {
  cursor: pointer;
}

.Toastify__toast-icon {
  margin-inline-end: 10px;
  width: 22px;
  flex-shrink: 0;
  display: flex;
}

.Toastify--animate {
  animation-fill-mode: both;
  animation-duration: 0.5s;
}

.Toastify--animate-icon {
  animation-fill-mode: both;
  animation-duration: 0.3s;
}

.Toastify__toast-theme--dark {
  background: #121212;
  background: var(--toastify-color-dark);
  color: #fff;
  color: var(--toastify-text-color-dark);
}

.Toastify__toast-theme--light {
  background: #fff;
  background: var(--toastify-color-light);
  color: #757575;
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--default {
  background: #fff;
  background: var(--toastify-color-light);
  color: #757575;
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--info {
  color: #fff;
  color: var(--toastify-text-color-info);
  background: #3498db;
  background: var(--toastify-color-info);
}

.Toastify__toast-theme--colored.Toastify__toast--success {
  color: #fff;
  color: var(--toastify-text-color-success);
  background: #07bc0c;
  background: var(--toastify-color-success);
}

.Toastify__toast-theme--colored.Toastify__toast--warning {
  color: #fff;
  color: var(--toastify-text-color-warning);
  background: #f1c40f;
  background: var(--toastify-color-warning);
}

.Toastify__toast-theme--colored.Toastify__toast--error {
  color: #fff;
  color: var(--toastify-text-color-error);
  background: hsl(6, 78%, 57%);
  background: var(--toastify-color-error);
}

.Toastify__progress-bar-theme--light {
  background: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
  background: var(--toastify-color-progress-light);
}

.Toastify__progress-bar-theme--dark {
  background: #bb86fc;
  background: var(--toastify-color-progress-dark);
}

.Toastify__progress-bar--info {
  background: #3498db;
  background: var(--toastify-color-progress-info);
}

.Toastify__progress-bar--success {
  background: #07bc0c;
  background: var(--toastify-color-progress-success);
}

.Toastify__progress-bar--warning {
  background: #f1c40f;
  background: var(--toastify-color-progress-warning);
}

.Toastify__progress-bar--error {
  background: hsl(6, 78%, 57%);
  background: var(--toastify-color-progress-error);
}

.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
  background: rgba(255, 255, 255, 0.7);
  background: var(--toastify-color-transparent);
}

.Toastify__close-button {
  color: #fff;
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  outline: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s ease;
  z-index: 1;
}

.Toastify__toast--rtl .Toastify__close-button {
  left: 6px;
  right: auto;
  right: initial;
}

.Toastify__close-button--light {
  color: #000;
  opacity: 0.3;
}

.Toastify__close-button > svg {
  fill: currentColor;
  height: 16px;
  width: 14px;
}

.Toastify__close-button:hover,
.Toastify__close-button:focus {
  opacity: 1;
}

@keyframes Toastify__trackProgress {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

.Toastify__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
  transform-origin: left;
}

.Toastify__progress-bar--animated {
  animation: Toastify__trackProgress linear 1 forwards;
}

.Toastify__progress-bar--controlled {
  transition: transform 0.2s;
}

.Toastify__progress-bar--rtl {
  right: 0;
  left: auto;
  left: initial;
  transform-origin: right;
  border-bottom-left-radius: 0;
  border-bottom-left-radius: initial;
}

.Toastify__progress-bar--wrp {
  position: absolute;
  overflow: hidden;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-bottom-left-radius: 6px;
  border-bottom-left-radius: var(--toastify-toast-bd-radius);
  border-bottom-right-radius: 6px;
  border-bottom-right-radius: var(--toastify-toast-bd-radius);
}

.Toastify__progress-bar--wrp[data-hidden='true'] {
  opacity: 0;
}

.Toastify__progress-bar--bg {
  opacity: 0.2;
  opacity: var(--toastify-color-progress-bgo);
  width: 100%;
  height: 100%;
}

.Toastify__spinner {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100%;
  border-color: #e0e0e0;
  border-color: var(--toastify-spinner-color-empty-area);
  border-right-color: #616161;
  border-right-color: var(--toastify-spinner-color);
  animation: Toastify__spin 0.65s linear infinite;
}

@keyframes Toastify__bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    transform: translate3d(10px, 0, 0);
  }
  90% {
    transform: translate3d(-5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutRight {
  20% {
    opacity: 1;
    transform: translate3d(-20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInLeft {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutLeft {
  20% {
    opacity: 1;
    transform: translate3d(20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  75% {
    transform: translate3d(0, 10px, 0);
  }
  90% {
    transform: translate3d(0, -5px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes Toastify__bounceOutUp {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes Toastify__bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, 5px, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutDown {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 2000px, 0);
  }
}

.Toastify__bounce-enter--top-left,
.Toastify__bounce-enter--bottom-left {
  animation-name: Toastify__bounceInLeft;
}

.Toastify__bounce-enter--top-right,
.Toastify__bounce-enter--bottom-right {
  animation-name: Toastify__bounceInRight;
}

.Toastify__bounce-enter--top-center {
  animation-name: Toastify__bounceInDown;
}

.Toastify__bounce-enter--bottom-center {
  animation-name: Toastify__bounceInUp;
}

.Toastify__bounce-exit--top-left,
.Toastify__bounce-exit--bottom-left {
  animation-name: Toastify__bounceOutLeft;
}

.Toastify__bounce-exit--top-right,
.Toastify__bounce-exit--bottom-right {
  animation-name: Toastify__bounceOutRight;
}

.Toastify__bounce-exit--top-center {
  animation-name: Toastify__bounceOutUp;
}

.Toastify__bounce-exit--bottom-center {
  animation-name: Toastify__bounceOutDown;
}

@keyframes Toastify__zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}

@keyframes Toastify__zoomOut {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 0;
  }
}

.Toastify__zoom-enter {
  animation-name: Toastify__zoomIn;
}

.Toastify__zoom-exit {
  animation-name: Toastify__zoomOut;
}

@keyframes Toastify__flipIn {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}

@keyframes Toastify__flipOut {
  from {
    transform: translate3d(0, var(--y), 0) perspective(400px);
  }
  30% {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }
  to {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

.Toastify__flip-enter {
  animation-name: Toastify__flipIn;
}

.Toastify__flip-exit {
  animation-name: Toastify__flipOut;
}

@keyframes Toastify__slideInRight {
  from {
    transform: translate3d(110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInLeft {
  from {
    transform: translate3d(-110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInUp {
  from {
    transform: translate3d(0, 110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInDown {
  from {
    transform: translate3d(0, -110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideOutRight {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutLeft {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(-110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutDown {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, 500px, 0);
  }
}

@keyframes Toastify__slideOutUp {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, -500px, 0);
  }
}

.Toastify__slide-enter--top-left,
.Toastify__slide-enter--bottom-left {
  animation-name: Toastify__slideInLeft;
}

.Toastify__slide-enter--top-right,
.Toastify__slide-enter--bottom-right {
  animation-name: Toastify__slideInRight;
}

.Toastify__slide-enter--top-center {
  animation-name: Toastify__slideInDown;
}

.Toastify__slide-enter--bottom-center {
  animation-name: Toastify__slideInUp;
}

.Toastify__slide-exit--top-left,
.Toastify__slide-exit--bottom-left {
  animation-name: Toastify__slideOutLeft;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-right,
.Toastify__slide-exit--bottom-right {
  animation-name: Toastify__slideOutRight;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-center {
  animation-name: Toastify__slideOutUp;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--bottom-center {
  animation-name: Toastify__slideOutDown;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

@keyframes Toastify__spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    overflow-y: auto; /* Adiciona rolagem vertical */
    min-height: 100vh; /* Garante que o conteúdo ocupe pelo menos a altura da tela */
    color: #ddd;
}

.news-container::-webkit-scrollbar   {
    width: 15px;
}

.news-container::-webkit-scrollbar-track   {
    background-color: #000000;
    border-radius: 11px;
}

.news-container::-webkit-scrollbar-corner {
    width: 20px;
}

.news-container::-webkit-scrollbar-thumb {
    background-color: #e68900;
    border-radius: 11px;
    border: 5px solid #000000;
}

.news-filter select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #333; /* Cor de fundo do seletor */
    color: #fff; /* Cor do texto do seletor */
    font-size: 16px;
    margin-bottom: 20px;
}

.news-filter select:hover {
    background-color: #444; /* Cor de fundo ao passar o mouse */
    cursor: pointer;
}


/* Seção onde as notícias serão exibidas */
.news-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Layout flexível */
    grid-gap: 20px;
    gap: 20px;
    justify-content: center;
}

/* Cada item de notícia */
.news-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    border-radius: 8px;
    background-color: #252525;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito hover */
.news-item:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Título da notícia */
.news-item h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Parágrafo */
.news-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #bbbbbb;
}

/* Link da notícia */
.news-item a {
    display: inline-block;
    margin-top: 10px;
    color: #ff9800;
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
}

.news-item a:hover {
    text-decoration: underline;
}

/* Imagens das notícias */
.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover; /* Mantém o aspecto correto sem distorção */
    border-radius: 8px 8px 0 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .news-results {
        grid-template-columns: 1fr; /* Uma coluna em telas menores */
    }

    .news-item h2 {
        font-size: 1.2em;
    }

    .news-item img {
        height: 150px;
    }
}

/* ==============================
  Estilo Geral
============================== */
/* Container principal */


.publish-news-container {
  display: flex;
  flex-direction: column;
  padding-left: 30px; 
  height: 100%;
  justify-content: center;
}

/* Responsividade geral */
@media (max-width: 1024px) {
  .editor-preview {
   flex-direction: column;
   align-items: center;
  }

  .news-editor,
  .news-preview {
   width: 100%;
   max-width: 100%;
  }

  .row-fields {
   flex-direction: column;
   gap: 10px;
  }

  .publish-button {
   max-width: 300px;
  }
}

/* ==============================
  Editor e Preview
============================== */
/* Editor e Preview lado a lado */

.news-details {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.Container-editor {
  border-radius: 10px;
  max-width: 1500px;
  width: 100%;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
}

#editor-container {
  background-color: #f9f9f9;
}

#editor-container::-webkit-scrollbar {
  width: 10px;
}

#editor-container::-webkit-scrollbar-thumb {
  width: 3px;
  background-color: #262626;
  border-radius: 5px;
}

#editor-container::-webkit-scrollbar-corner {
  background-color: transparent;
  border-radius: 5px;
}

/* Editor de Notícia */

#editorjs {
  min-height: 300px;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  background-color: #fff;
  cursor: text;
}

.codex-editor__placeholder {
  -webkit-user-select: none;
          user-select: none; /* Impede que o placeholder seja selecionado */
  pointer-events: none; /* Impede interação com o placeholder */
  color: #b0b0b0; /* Deixa o placeholder visualmente mais discreto */
}


.news-editor {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: start;
  justify-content: center;
}

.news-editor h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

/* Preview de Notícia */
.news-preview {
  flex: 1.5 1;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.news-preview h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.preview-content h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.preview-content h3 {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 25px;
}

.preview-content p {
  font-size: 1rem;
  margin: 15px 0;
  color: #555;
}

/* ==============================
  Campos e Botões
============================== */
/* Campos lado a lado */

.title-field { 
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-direction: column;
}

.title-field label {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

.title-field input {
  padding: 10px;
  font-size: 1rem;
  background-color: #fff;
  border-radius: 5px;
  margin-top: 10px;
}

.autor-fields {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.autor-fields label {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

.autor-fields input {
  padding: 10px;
  font-size: 1rem;
  background-color: #fff;
  border-radius: 5px;
  margin-top: 10px;
}

.row-fields {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 20px;
}

.row-fields label {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

.row-fields input,
.row-fields select {
  padding: 10px;
  font-size: 1rem;
  background-color: #fff;
  border-radius: 5px;
  margin-top: 10px;
}

/* Botão de Publicar */
.publish-button {
  font-family: inherit;
  font-size: 20px;
  background: #6409e3;
  color: white;
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  margin: 10px auto;
}

.publish-button span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
}

.publish-button svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

.publish-button:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

.publish-button:hover svg {
  transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

.publish-button:hover span {
  transform: translateX(5em);
}

.publish-button:active {
  transform: scale(0.95);
}

@keyframes fly-1 {
  from {
    transform: translateY(0.1em);
  }

  to {
    transform: translateY(-0.1em);
  }
}



select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

select:focus {
  border-color: #4CAF50;
  outline: none;
}

/* ==============================
  Editor.js Customizado
============================== */
/* Campo de texto para o Editor */

.editorjs, .ce-paragraph {
  font-family: consolas, monospace;
}


/* ==============================
  Barra de Ferramentas
============================== */
/* Barra de ferramentas do Editor */

.menu-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  background-color: #f9f9f9;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.menu-bar button {
  background-color: #ffae00;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.menu-bar button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.menu-bar button.is-active {
  background-color: #0056b3;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.menu-bar button:disabled {
  background-color: #ddd;
  color: #aaa;
  cursor: not-allowed;
}

/* ==============================
  Estilo de Elementos do Editor.js
============================== */
/* Estilo adicional para H1-H6 */

.ce-header {
  font-weight: 0;
}

/* ==============================
  Estilo do Texto Editado
============================== */

.cdx-text-color {
  font-size: inherit; /* Mantém o tamanho do texto */
  line-height: inherit; /* Mantém a altura da linha */
}

.cdx-block__content {
  font-size: 16px; /* Ajuste o tamanho da fonte conforme necessário */
}

.cdx-inline-tool-input {
  font-size: 16px; /* Ajuste o tamanho da fonte conforme necessário */
}
/* Remover estilo bold padrão */
.cdx-block  {
  font-weight: normal;
}


.ce-paragraph b {
  line-height: 1.5;
}


/* Responsividade para telas grandes */
@media (max-width: 1584px) {
  .publish-news-container {

    padding: 15px;
    margin-top: 50px;
  }

  .news-editor {
    gap: 50px;
  }

  .news-preview {
    margin-top: 20px;
  }

  .news-details {
    flex-direction: column;
    align-items: center;
    text-align: center;

    .autor-fields,
    .row-fields,
    .title-field {
      flex-direction: row;
      justify-content: space-between;
      width: 100%;
    }
    
    .autor-fields input, .row-fields select {
      font-size: calc(0.55rem + 0.5vw);
    }
  }


  .menu-bar {
    flex-direction: column;
    gap: 5px;
  }

  .title-field,
  .autor-fields,
  .row-fields {
    flex-direction: column;
    gap: 10px;
  }

  .publish-button {
    max-width: none;
  }
}

/* Responsividade para telas medias */
@media (max-width: 1024px) {
  .news-editor {
    grid-template-columns: 1fr;
  }

  .publish-news-container {
    flex-direction: column;
    padding: 15px;
    margin-top: 50px;
  }

  .news-preview {
    margin-top: 20px;
  }

  .news-details {
    flex-direction: column;
    align-items: center;
    text-align: center;

    .autor-fields,
    .row-fields,
    .title-field {
      flex-direction: row;
      justify-content: space-between;
      width: 100%;
    }
    
    .autor-fields input, .row-fields select {
      font-size: calc(0.55rem + 0.5vw);
    }
  }


  .menu-bar {
    flex-direction: column;
    gap: 5px;
  }

  .title-field,
  .autor-fields,
  .row-fields {
    flex-direction: column;
    gap: 10px;
  }

  .publish-button {
    max-width: none;
  }
}




/* Responsividade para telas pequenas */
@media (max-width: 768px) {
  .publish-news-container {
    flex-direction: column;
    padding: 15px;
    margin-top: 50px;
  }

  .news-editor {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .news-preview {
    margin-top: 20px;
  }

  .news-details {
    flex-direction: column;
    align-items: center;
    text-align: center;

    .autor-fields,
    .row-fields,
    .title-field {
      flex-direction: row;
      justify-content: space-between;
      width: 100%;
    }
    
    .autor-fields input, .row-fields select {
      font-size: calc(0.55rem + 0.5vw);
    }
  }


  .menu-bar {
    flex-direction: column;
    gap: 5px;
  }

  .title-field,
  .autor-fields,
  .row-fields {
    flex-direction: column;
    gap: 10px;
  }

  .publish-button {
    max-width: none;
  }
}

@media (max-width: 480px) {

  .publish-news-container {
    flex-direction: column;
    padding: 15px;
    margin-top: 140px;
  }

  .title-field label {
    font-size: 0.8rem;
  }

  .autor-fields input, .row-fields select {
    width: 95%;
  }

  .news-editor h2,
  .news-preview h2 {
    font-size: 1.5rem;
  }

  .preview-content h1 {
    font-size: 1.5rem;
  }

  .preview-content h3 {
    font-size: 1.2rem;
  }

  .preview-content p {
    font-size: 0.9rem;
  }
}
.news-container-custom {
    padding: 20px;
    font-family: Arial, sans-serif;
    overflow-y: scroll;
}

.news-container-custom::-webkit-scrollbar   {
  width: 15px;
}

.news-container-custom::-webkit-scrollbar-track   {
  background-color: #000000;
  border-radius: 11px;
}

.news-container-custom::-webkit-scrollbar-corner {
  width: 20px;
}

.news-container-custom::-webkit-scrollbar-thumb {
  background-color: #e68900;
  border-radius: 11px;
  border: 5px solid #000000;
}

.news-title {
    text-align: center;
    margin-bottom: 20px;
    color: #FFF;
  }
  
  .news-description {
    text-align: center;
    margin-bottom: 20px;
    color: #FFF;
}

.news-grid-custom {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    grid-gap: 20px;
    gap: 20px;
}

.news-item-custom {
    padding: 20px;
    border-radius: 5px;
    background-color: #2d2d2d;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.news-item-custom p {
  color: #FFF;
}

.news-item-title {
    margin-top: 0;
    color: #FFF;
}

.news-item-author,
.news-item-category,
.news-item-date {
    margin: 10px 0;
}

.edit-button {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.edit-button:hover {
    background-color: #faa72a;
}

.delete-button {
    position: absolute;
    top: 10px;
    right: 50px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: none;
    cursor: pointer;
}

.news-item-custom:hover .delete-button {
    display: block;
}

.Edit-img img {
  width: 100%;
  height: 300px;
  background-size: cover;
}

.modal-title {
    margin-bottom: 20px;
}

.modal-program,
.modal-category {
    margin-bottom: 10px;
}

.modal-label {
    display: block;
    margin-bottom: 10px;
}

.modal-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 5px;
}

.editor-container {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
    height: 50rem;
    overflow: scroll;
}

.save-button,
.cancel-button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.save-button:hover,
.cancel-button:hover {
    opacity: 0.8;
}

.bin-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgb(255, 68, 68);
    cursor: pointer;
    border: 2px solid rgb(255, 201, 201);
    transition-duration: 0.3s;
    position: absolute;
    right: 10px;
    overflow: hidden;
    padding: 0;
}

  .bin-bottom {
    width: 15px;
    z-index: 2;
  }
  .bin-top {
    width: 17px;
    transform-origin: right;
    transition-duration: 0.3s;
    z-index: 2;
  }
  .bin-button:hover .bin-top {
    transform: rotate(45deg);
  }
  .bin-button:hover {
    background-color: rgb(255, 0, 0);
  }
  .bin-button:active {
    transform: scale(0.9);
  }
  .garbage {
    position: absolute;
    width: 14px;
    height: auto;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s;
  }
  .bin-button:hover .garbage {
    animation: throw 0.4s linear;
  }
  @keyframes throw {
    from {
      transform: translate(-400%, -700%);
      opacity: 0;
    }
    to {
      transform: translate(0%, 0%);
      opacity: 1;
    }
  }
  

  .Toastify__toast-container {
    z-index: 9999 !important; /* Garante que o toast seja exibido sobre todos os elementos */
  }
  

  .modal-delete {
    background: rgb(36, 36, 36);
    padding: 20px;
    border-radius: 8px;
    width: 350px;
    text-align: center;
    color: #FFF;
  }
  
  .overlay-delete {
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal-delete-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .modal-delete-text {
    font-size: 16px;
    margin-bottom: 20px;
    color: #FFF;
  }
  
  .modal-delete-buttons {
    display: flex;
    justify-content: space-around;
  }
  
  .delete-confirm-button {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
  }
  
  .delete-cancel-button {
    background-color: rgb(0, 0, 0);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
  }
  
  .delete-confirm-button:hover {
    background-color: #ffa928;
  }
  
  .delete-cancel-button:hover {
    background-color: darkgray;
  }
  

  @media (max-width: 1200px) {
    .news-grid-custom {
      grid-template-columns: repeat(auto-fill, minmax(300px, 2fr));
    }

    .news-item-custom {
      padding: 15px;
      font-size: calc(0.5rem + 0.5vw);
      width: 100%;
    }

    .news-item-custom h3 {
      font-size: calc(1rem + 0.5vw);
    }

    .news-container-custom p {
      margin: 0;
    }

    
    .Edit-img {
      height: 200px;
    }

    .Edit-img img {
      height: 100%;
      width: 100%;
      object-fit: cover;
    }

    .edit-button,
    .delete-confirm-button,
    .delete-cancel-button {
      padding: 8px 16px;
    }

    .editor-container {
      height: 40rem;
    }
  }

  @media (max-width: 768px) {
    .news-grid-custom {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .news-container-custom {
      padding: 15px;
    }

    .news-item-custom {
      padding: 10px;
      font-size: calc(0.5rem + 0.5vw);
    }

    .news-item-custom h3 {
      font-size: calc(1rem + 0.5vw);
    }

    .news-container-custom p {
      margin: 0;
    }

    .modal-title {
      font-size: calc(1rem + 0.5vw);
    }

    .modal-category, .modal-program {
      font-size: calc(0.8rem + 0.5vw);
    }

    .modal-label {
      font-size: calc(0.8rem + 0.5vw);
    }

    .modal-label select {
      font-size: calc(0.5rem + 0.5vw);
    }

    .edit-button,
    .delete-confirm-button,
    .delete-cancel-button {
      padding: 6px 12px;
    }

    .Edit-img {
      height: 200px;
    }

    .Edit-img img {
      height: 100%;
      width: 100%;
      object-fit: cover;
    }

    .editor-container {
      height: 30rem;
    }

    .modal-delete {
      width: 90%;
    }
  }

  @media (max-width: 480px) {
    .news-grid-custom {
      grid-template-columns: 1fr;
    }

    .news-container-custom {
      padding: 10px;
    }

    .news-title,
    .news-description {
      font-size: 16px;
    }

    .edit-button,
    .delete-confirm-button,
    .delete-cancel-button {
      padding: 5px 10px;
      font-size: 14px;
    }

    .editor-container {
      height: 20rem;
    }

    .modal-delete {
      padding: 15px;
    }

    .modal-delete-title {
      font-size: 18px;
    }

    .modal-delete-text {
      font-size: 14px;
    }
  }
/* Administração de Usuários */
.administration-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 20px 20px;
}

h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.message {
  margin: 10px 0;
  color: green;
}

/* Colunas de Usuários */
.user-columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.user-column {
  flex: 1 1;
  background-color: transparent;
  border-radius: 10px;
  padding: 20px;
  max-height: 800px;
  height: 800px;
}

.user-column h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
  color: #FFF;
}

.column-users {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 700px;
  overflow-y: auto;
  background-color: #1e1e1e;
}

.tabela-usuarios {
  width: 100%;
  padding: 20px;
  overflow-x: auto;
}

.tabela-usuarios h1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-left: 15rem;
  color: #fff;
}

.admin-user-table {
  max-width: 80%;
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #292929;
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.admin-user-table th,
.admin-user-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #333;
}

.admin-user-table th {
  background-color: #1c1c1c;
  font-weight: bold;
}

.edit-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 10px;
  background-color: #5658C6;
  border-radius: 13px;
}

.edit-btn img {
  width: 32px;
  height: 32px;
  filter: brightness(1.5);
  padding: 5px;
}


/* Modal de Edição */
/* Modal Container */
.admin-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Modal Card */
.modal-user-card {
  background: #1e1e1e;
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  padding: 30px;
  gap: 40px;
  max-width: 900px;
  width: 90%;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  animation: slideIn 0.3s ease;
}

/* Animação de entrada */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Coluna esquerda - Perfil */
.modal-left {
  flex: 1 1;
  text-align: center;
  border-right: 1px solid #333;
  padding-right: 20px;
}

.user-profile-pic {
  width: 130px;
  height: 130px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #555;
}

.user-profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-left h2 {
  margin: 10px 0 5px;
  font-size: 1.5rem;
}

.modal-left p {
  margin: 6px 0;
  font-size: 0.95rem;
  color: #ccc;
}

/* Coluna direita - Edição */
.modal-right {
  flex: 2 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-right h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

/* Labels e inputs */
.modal-right label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: #ccc;
}

.modal-right input,
.modal-right select {
  margin-top: 5px;
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  background-color: #2c2c2c;
  color: #fff;
  font-size: 0.95rem;
}

.modal-right select option {
  background-color: #2c2c2c;
  color: #fff;
}

/* Botões */
.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
}

.button {
  padding: 10px 18px;
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.button:hover {
  background-color: #43a047;
}

.button.cancel {
  background-color: #f44336;
}

.button.cancel:hover {
  background-color: #e53935;
}


/* Responsividade */
@media (max-width: 768px) {
  .user-columns {
    flex-direction: column;
    align-items: center;
  }

  .user-box {
    width: 90%;
  }

  .modal-content {
    width: 90%;
  }
}


.dashboard-administration {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.dashboard-administration h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}

.admin-ds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  gap: 10px;
  width: 80%;
}
  
/* 
  A classe .admin-ds-div1 usa a propriedade grid-area para definir sua posição 
  dentro de um layout de CSS Grid. Os valores '1 / 1 / 2 / 2' especificam o seguinte:
  - Começa na linha de linha 1
  - Começa na linha de coluna 1
  - Termina na linha de linha 2
  - Termina na linha de coluna 2
  Isso efetivamente coloca o elemento na célula superior esquerda da grade.
*/
*/
.admin-ds-div1 { /* users */
  grid-column: 1; 
  grid-row: 1;
}
.admin-ds-div6 {  /* categorias e programas */
  grid-column: 2 / 4;
  grid-row: 1;
}
.admin-ds-div3 { /* relatorios */
 grid-column: 1 / 2;
}
.admin-ds-div4 { /* receita */
  grid-column: 2 /4;
  grid-row: 2;
}
.admin-ds-div5 { /*4anuncios */
  grid-column: 2 / 4;
  grid-row: 3;
}
.admin-ds-div7 { /* anuncios */
  grid-column: 1 / 2;
  grid-row: 3;
}

.dashboard-box {
  background-color: #252525;
  border: 1px solid #000000;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dashboard-box h3 {
  color: #FFF;
  text-align: center;
}

.doughnut-chart-container-admin {
  position: relative;
  width: 250px;
  height: 250px;
  margin: auto;
}

.doughnut-center-admin {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
}

.doughnut-center-admin p {
  font-size: 3rem;
  margin-bottom: 0;
}

.doughnut-center-admin b {
  display: block;
  margin: 0;
  font-size: 14px;
  color: #ffffff;
}


.admin-ds-div6 h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.admin-ds-div6 .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.admin-ds-div6 .form-group input,
.admin-ds-div6 .form-group select {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.admin-ds-div6 .form-group .button {
  padding: 10px;
  font-size: 1rem;
  color: #fff;
  background-color: #5658C6;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.admin-ds-div6 .form-group .button:hover {
  background-color: #4e50d1;
}

.categories-programs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}


.relatorio-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.relatorio-form label {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  color: #ccc;
}

.relatorio-form input,
.relatorio-form select {
  margin-top: 5px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #444;
  background-color: #2c2c2c;
  color: #fff;
  font-size: 1rem;
}

.relatorio-form select option {
  background-color: #2c2c2c;
  color: #fff;
}

.relatorio-form .button {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background-color: #5658C6;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.relatorio-form .button:hover {
  background-color: #4e50d1;
}

/* Estilo da tabela de relatórios */
.tabela-relatorios {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 14px;
}


.tabela-relatorios thead {
  background-color: #333;
  color: #fff;
}

.tabela-relatorios thead:hover {
  background-color: #333;
  color: #fff;
}

.tabela-relatorios th,
.tabela-relatorios td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #444;
}

.tabela-relatorios tr {
  color: #FFF;
}

.tabela-relatorios tr:hover {
  background-color: #222;
}

.tabela-relatorios td a.button {
  padding: 6px 12px;
  background-color: #5658C6;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.tabela-relatorios td a.button:hover {
  background-color: #4e50d1;
}


.tabela-relatorios tbody {
  display: block;
  max-height: 250px; /* Adjust the height as needed */
  overflow-y: auto;
}

.tabela-relatorios tbody::-webkit-scrollbar {
  width: 8px;
}

.tabela-relatorios tbody::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 10px;
}

.tabela-relatorios tbody::-webkit-scrollbar-thumb {
  background: #5658C6;
  border-radius: 10px;
}

.tabela-relatorios tbody::-webkit-scrollbar-thumb:hover {
  background: #4e50d1;
}



.tabela-relatorios thead,
.tabela-relatorios tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.archive-date {
  padding-left: 50px;
}




.admin-ds-div7 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 400px;
  overflow: scroll;
  overflow-x: hidden;
}

/* Custom Scrollbar Styling */
.admin-ds-div7::-webkit-scrollbar {
  width: 8px;
}

.admin-ds-div7::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 10px;
}

.admin-ds-div7::-webkit-scrollbar-thumb {
  background: #5658C6;
  border-radius: 10px;
}

.admin-ds-div7::-webkit-scrollbar-thumb:hover {
  background: #4e50d1;
}

.admin-ds-div7 h3 {
  font-size: 1.5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 15px;
}

.admin-ds-div7 .form-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.admin-ds-div7 .form-group label {
  font-size: 1rem;
  color: #ccc;
}

.admin-ds-div7 .form-group input,
.admin-ds-div7 .form-group select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #444;
  background-color: #2c2c2c;
  color: #fff;
  font-size: 1rem;
}

.admin-ds-div7 .form-group select option {
  background-color: #2c2c2c;
  color: #fff;
}

.admin-ds-div7 .form-group .button {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background-color: #5658C6;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.admin-ds-div7 .form-group .button:hover {
  background-color: #4e50d1;
}

/* controle de anuncios */


/* Estilos para a div de controle de anúncios */
.admin-ds-div5 {
  grid-column: 2 / 4;
  grid-row: 3;
  background-color: #252525;
  border: 1px solid #000000;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.admin-ds-div5 h3 {
  color: #FFF;
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Estilos para a tabela de anúncios */
.admin-anuncios-table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
  font-size: 0.9rem;
}

.admin-anuncios-table tbody {
  display: block;
  max-height: 250px; /* Ajuste a altura conforme necessário */
  overflow-y: auto;
}

.admin-anuncios-table thead, .admin-anuncios-table tbody tr {
  display: table;
  width: 97%;
  table-layout: fixed;
}

.admin-anuncios-table thead {
  background-color: #1c1c1c;
  display: table;
  width: 100%;
  table-layout: fixed;
}

.admin-anuncios-table th,
.admin-anuncios-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #333;
}

.admin-anuncios-table th {
  font-weight: bold;
}

.admin-anuncios-table tbody tr:nth-child(even) {
  background-color: #292929;
}

.admin-anuncios-table tbody td a {
  color: #5658C6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.admin-anuncios-table tbody td a:hover {
  color: #4e50d1;
}

.admin-anuncios-table tbody td .button {
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
  color: #fff;
  background-color: #4caf50; /* Cor padrão do botão */
}

.admin-anuncios-table tbody td .button:hover {
  background-color: #43a047;
}

.admin-anuncios-table tbody td .button.cancel {
  background-color: #f44336; /* Estilo para o botão de desativar */
}

.admin-anuncios-table tbody td .button.cancel:hover {
  background-color: #e53935;
}

.admin-anuncios-table tbody td:last-child {
  text-align: center;
}

.actions {
  text-align: center !important;
}

.contrat {
  
}


.button-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}


/* Modal de Edição de Anúncio */
.modal-content {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  animation: slideIn 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
  max-height: 80vh;
}

/* Custom Scrollbar Styling for Modal Content */
.modal-content::-webkit-scrollbar {
  width: 10px;
}

.modal-content::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #5658C6;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #4e50d1;
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: #fff;
}

.modal-content label {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 5px;
}

.modal-content input,
.modal-content select {
  padding: 10px;
  border-radius: 6px;
  border: none;
  background-color: #2c2c2c;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 15px;
}

.modal-content select option {
  background-color: #2c2c2c;
  color: #fff;
}

.modal-content img {
  max-width: 200px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #444;
}

.modal-content a {
  color: #4caf50;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.modal-content a:hover {
  color: #43a047;
}

.modal-content p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 10px;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.modal-buttons .button {
  padding: 10px 18px;
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-buttons .button:hover {
  background-color: #43a047;
}

.modal-buttons .button.cancel {
  background-color: #f44336;
}

.modal-buttons .button.cancel:hover {
  background-color: #e53935;
}



@media (max-width: 768px) {
  .administration-container {
    padding: 0 10px;
  }

  .dashboard-administration {
    overflow: hidden;
    width: 100%;
  }

  .admin-ds {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    padding: 10px;
  }

  .admin-ds-div1,
  .admin-ds-div3,
  .admin-ds-div4,
  .admin-ds-div5,
  .admin-ds-div6,
  .admin-ds-div7 {
    grid-column: auto;
    grid-row: auto;
    width: 93%;
  }

  .admin-ds-div5 {
    overflow-x: auto;
    display: block;
  }

  .dashboard-box {
    padding: 15px;
    font-size: calc(0.7rem + 0.2vw);
  }

  .doughnut-center-admin p{
    font-size: calc(1.5rem + 0.2vw);
  }

  .doughnut-center-admin b {
    font-size: calc(0.9rem + 0.2vw);
  }

  .relatorio-form label, .relatorio-form input, .relatorio-form select {
    font-size: calc(0.7rem + 0.2vw);
  }

  .admin-anuncios-table {
    font-size: 0.8rem;
  }

  .modal-user-card {
    flex-direction: column;
    padding: 20px;
  }

  .modal-left {
    border-right: none;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .modal-right {
    gap: 10px;
  }

  .user-columns {
    flex-direction: column;
    gap: 15px;
  }

  .user-column {
    height: auto;
    max-height: none;
  }

  .tabela-usuarios h1 {
    padding-left: 0;
    text-align: center;
  }

  .admin-user-table {
    max-width: 95%;
    overflow-x: auto;
    display: block;
  }

  .admin-ds-div7 {
    max-height: none;
    overflow: visible;
  }

  .admin-user-table th{
    font-size: calc(0.5rem + 0.2vw);
  }

  .admin-user-table td{
    font-size: calc(0.5rem + 0.2vw);
  }

  .relatorio-form .button {
    font-size: calc(0.5rem + 0.2vw);
    margin: 0 auto;
  }

  .admin-ds-div4 h3 {
    font-size: calc(0.9rem + 0.2vw);
  }

  .tabela-relatorios {
    font-size: calc(0.5rem + 0.2vw);
  }

  .tabela-relatorios th, .tabela-relatorios td {
    font-size: calc(0.4rem + 0.2vw);
  }

  .archive-name {
    width: 20% !important;
    overflow-x: hidden
  }

  .admin-ds-div6 h2 {
    font-size: calc(0.9rem + 0.2vw);
  }

  .admin-ds-div6 .form-group input, .admin-ds-div6 .form-group select {
    font-size: calc(0.7rem + 0.2vw);
    padding: 8px;
    width: 100%;
  }

  .admin-ds-div6 .form-group .button {
    font-size: calc(0.5rem + 0.2vw);
  }
  
  .admin-anuncios-table {
    font-size: calc(0.5rem + 0.2vw);
  }

  .admin-ds-div7 h3, .admin-ds-div5 h3 {
    font-size: calc(0.9rem + 0.2vw);
  }

  .admin-ds-div7 .form-group label {
    font-size: calc(0.5rem + 0.2vw);
  }

  .admin-ds-div7 .form-group select {
    font-size: calc(0.5rem + 0.2vw);
  }

  .admin-ds-div7 .form-group input {
    font-size: calc(0.5rem + 0.2vw);
  }
  
}


@media (max-width: 480px) {
  .administration-container {
    padding: 0 5px;
  }

  

  .admin-ds {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    padding: 20px;
  }

  .admin-ds-div1,
  .admin-ds-div3,
  .admin-ds-div4,
  .admin-ds-div5,
  .admin-ds-div6,
  .admin-ds-div7 {
    grid-column: auto;
    grid-row: auto;
    width: calc(100% - 110px);
  }

  .dashboard-box {
    padding: 10px;
  }

  .modal-user-card {
    padding: 15px;
  }

  .modal-left {
    margin-bottom: 15px;
  }

  .admin-ds-div7 .form-group input {
    font-size: 1rem;
  }
}

/* Layout principal */
.user-dashboard {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #121212;
  color: white;
  padding: 15px;
}

.user-dashboard h1 {
  font-size: 2rem;
  padding-left: 30px;
}

/* Sidebar */
.sidebar-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* Painel principal */
.user-dashboard-main {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
  padding: 20px;
  height: 100%;
}

/* GRID PRINCIPAL */
.user-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(7, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin-top: 20px;
}

/* Definição de alturas diferentes para cada coluna */
.user-dashboard-grid > .profile-card {
grid-column: 1;
grid-row: 1 / 3;
}

.user-dashboard-grid > .trophy-card {
  grid-column: 1;
  grid-row: 3 / 5;
}

.user-dashboard-grid > .points-card {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
}

.user-dashboard-grid > .level-card {
  grid-column: 4;
  grid-row: 1 / 3;
}

.user-dashboard-grid > .quests-card {
  grid-column: 2 / 4;
  grid-row: 3 / 5;
}

.user-dashboard-grid > .reward-card {
  grid-column: 4;
  grid-row: 3 / 5;
}


.user-dashboard-grid > .stats-card {
  grid-column: 1;
  grid-row: 5 / 7;
}

.user-dashboard-grid > .tokens-card {
  grid-column: 2;
  grid-row: 5 / 7;
}

.user-dashboard-grid > .energy-card {
  grid-column: 3;
  grid-row: 5 / 7;
}

.user-dashboard-grid > .endorsements-card {
  grid-column: 4;
  grid-row: 5 / 7;
}


/* Estilização dos cartões */
.user-profile-card {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

/* Botões */
.customize-btn, .info-btn, .collect-btn, .spend-btn, .browse-btn {
  margin-top: 10px;
  padding: 8px 12px;
  background: #ff9800;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Barra de progresso */
progress {
  width: 100%;
  height: 5px;
  background: #444;
  border-radius: 5px;
}


.nivel-icon {
  margin-left: 8px;
  padding-right: 10px;
  font-size: 1.2rem;
}

.user-role {
  font-size: 1rem;
  color: #bbb;
  margin-top: 5px;
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  color: white;
  width: 450px;
  position: relative;
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.1);
}

.drop-zone {
  width: 100%;
  height: 150px;
  border: 2px dashed #bbb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: #aaa;
  transition: all 0.3s;
  cursor: pointer;
  text-align: center;
  position: relative;
}

.drop-zone.dragging {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.drop-zone p {
  font-size: 16px;
}

.file-upload-input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.image-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff9800;
  margin-top: 5px;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  font-size: 14px;
  color: #ccc;
  display: block;
  margin-bottom: 5px;
}

.name-input {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 5px;
  background: #333;
  color: white;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
}

.save-btn {
  background: #4caf50;
  padding: 10px;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.cancel-btn {
  background: #f44336;
  padding: 10px;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}



/* Responsividade */
@media (max-width: 1200px) {
  .user-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .user-dashboard-grid > .profile-card,
  .user-dashboard-grid > .trophy-card,
  .user-dashboard-grid > .points-card,
  .user-dashboard-grid > .level-card,
  .user-dashboard-grid > .quests-card,
  .user-dashboard-grid > .reward-card,
  .user-dashboard-grid > .stats-card,
  .user-dashboard-grid > .tokens-card,
  .user-dashboard-grid > .energy-card,
  .user-dashboard-grid > .endorsements-card {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .user-dashboard {
    flex-direction: column;
  }
  
  .user-dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
  }

  .user-dashboard-grid > .profile-card,
  .user-dashboard-grid > .trophy-card,
  .user-dashboard-grid > .points-card,
  .user-dashboard-grid > .level-card,
  .user-dashboard-grid > .quests-card,
  .user-dashboard-grid > .reward-card,
  .user-dashboard-grid > .stats-card,
  .user-dashboard-grid > .tokens-card,
  .user-dashboard-grid > .energy-card,
  .user-dashboard-grid > .endorsements-card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .sidebar-profile {
    padding: 10px;
  }

  .avatar {
    width: 80px;
    height: 80px;
  }

  .card {
    padding: 15px;
  }

  .customize-btn, .info-btn, .collect-btn, .spend-btn, .browse-btn {
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .modal-content {
    width: 90%;
  }
}
/* Container principal com conteúdo centralizado */
.noticia-page-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Conteúdo da notícia */
.noticia-page {
    max-width: 800px;
    flex: 1 1;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.noticia-page h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #0a0a0a;
}

.noticia-page a {
    color: #ff0000;
    text-decoration: none;
}

.noticia-page .autor {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
}

.noticia-page .conteudo {
    font-size: 1.1em;
    color: #444;
}

.noticia-page .conteudo h1,
.noticia-page .conteudo h2,
.noticia-page .conteudo h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}

.noticia-page .conteudo p {
    margin-bottom: 15px;
    font-weight: 200;
}

.noticia-page .conteudo img {
    max-width: 100%;
    height: auto;
    margin: 20px 0 0 0;
    border-radius: 8px;
}

.noticia-page .conteudo ul,
.noticia-page .conteudo ol {
    margin: 20px 0;
    padding-left: 20px;
}

.noticia-page li {
    font-weight: bold;
}

.noticia-page .conteudo blockquote {
    margin: 20px 0;
    padding: 10px 20px;
    background-color: #f9f9f9;
    border-left: 5px solid #ccc;
    color: #555;
}

.noticia-page .conteudo blockquote cite {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: #999;
}

/* Anúncios verticais na lateral */
.anuncios-verticais {
    width: 250px;
    top: 420px;
    margin: 300px auto;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Propagandas horizontais */
.propaganda-banner {
    text-align: center;
    margin: 30px 0;
}

.propaganda-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.propaganda-google {
    margin: 30px 0;
    text-align: center;
    width: 100%;
    min-height: 250px;
}

/* Responsividade */
@media (max-width: 1024px) {

    .noticia-page h1 {
        font-size: 2em;
    }
    .noticia-page-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .anuncios-verticais {
        position: static;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .propaganda-google, .propaganda-banner {
        width: 100%;
        margin: 20px auto;
    }

    .noticia-page {
        max-width: 90%;
    }
}


@media (max-width: 768px) {

    .noticia-page h1 {
        font-size: 1.5em;
    }

    .noticia-page .autor  {
        font-size: 0.8em;
    }

    .noticia-page-wrapper {
        padding: 10px;
    }

    .anuncios-verticais {
        flex-direction: column;
        width: 100%;
        position: static;
    }

    .propaganda-google, .propaganda-banner {
        width: 100%;
        margin: 15px auto;
    }

    .noticia-page {
        max-width: 95%;
    }
}

body {
  margin: 0;
  padding: 0;
}

.header-body {
  padding-top: 70px;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #f8f8f8;
  border-bottom: 1px solid #616161;
  position: fixed; /* 🔄 TROCA AQUI */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}


.menu,
.search-bar {
  flex: 1 1;
    display: flex
;
    justify-content: space-around;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo img {
  width: 160px;
}

.hamburger-menu {
  font-size: 1.5rem;
  border: none;
  background: none;
}

.search-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
}



/* From Uiverse.io by satyamchaudharydev */ 
/* From uiverse.io by @satyamchaudharydev */
/* removing default style of button */

.form button {
  border: none;
  background: none;
  color: #8b8ba7;
}
/* styling of whole input container */
.form {
  --timing: 0.3s;
  --width-of-input: 200px;
  --height-of-input: 40px;
  --border-height: 2px;
  --input-bg: #fff;
  --border-color: #2f2ee9;
  --border-radius: 30px;
  --after-border-radius: 1px;
  position: relative;
  width: var(--width-of-input);
  height: var(--height-of-input);
  display: flex;
  align-items: center;
  padding-inline: 0.8em;
  border-radius: var(--border-radius);
  transition: border-radius 0.5s ease;
  background: #fff;
  background: var(--input-bg,#fff);
}
/* styling of Input */
.input {
  font-size: 0.9rem;
  background-color: transparent;
  width: 100%;
  height: 100%;
  padding-inline: 0.5em;
  padding-block: 0.7em;
  border: none;
}
/* styling of animated border */
.form:before {
  content: "";
  position: absolute;
  background: var(--border-color);
  transform: scaleX(0);
  transform-origin: center;
  width: 100%;
  height: var(--border-height);
  left: 0;
  bottom: 0;
  border-radius: 1px;
  transition: transform var(--timing) ease;
}
/* Hover on Input */
.form:focus-within {
  border-radius: var(--after-border-radius);
}

input:focus {
  outline: none;
}
/* here is code of animated border */
.form:focus-within:before {
  transform: scale(1);
}
/* styling of close button */
/* == you can click the close button to remove text == */
.reset {
  border: none;
  background: none;
  opacity: 0;
  visibility: hidden;
}
/* close button shown when typing */
input:not(:placeholder-shown) ~ .reset {
  opacity: 1;
  visibility: visible;
}
/* sizing svg icons */
.form svg {
  width: 17px;
  margin-top: 3px;
}

.hamburger {
  width: 30px;
  height: 25px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.hamburger span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #333;
  left: 0;
  transition: 0.3s ease-in-out;
}F

.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-40%);
}
.hamburger span:nth-child(3) {
  bottom: 0;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 5px);
  border-radius: 5px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -5px);
  border-radius: 5px;
}

.menu-container {
  position: relative;
  display: inline-block;
}

.dropdown-menu-niveis {
  position: absolute;
  top: 140%;
  left: 0;
  display: flex;
  background-color: #222;
  padding: 0;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 1000;
}

.menu-principal {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #ff5858;
  min-width: 180px;
}

.menu-principal li {
  padding: 12px 20px;
  color: white;
  cursor: pointer;
  border-top: 1px solid #00000057;
  border-bottom: 1px solid #00000057;
  transition: background 0.2s;
  position: relative;
}

.menu-principal li:hover {
  background-color: #fa3636;
}

.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #bd1717;
  min-width: 200px;
  display: none;
  flex-direction: column;
  position: absolute;
  left: 180px;
  top: 0;
  border-radius: 0 4px 4px 0;
}

.submenu.show {
  display: flex;
}

.submenu li {
  padding: 12px 16px;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
  border-top: 1px solid #00000057;
  border-bottom: 1px solid #00000057;
}

.submenu li:hover {
  background-color: #ff4d4d;
}

.submenu a {
  color: white;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}



/* Responsividade - Tablet */
@media (max-width: 1024px) {
  .header-body {
    padding-top: 68px;
  }

  .portal-header {
    padding: 1rem;
  }

  .logo img {
    width: 120px;
  }

  .menu,
  .search-bar {
    flex: 1 1;
    justify-content: space-around;
  }

  .hamburger-menu {
    font-size: 1.2rem;
  }
  .form {
    --width-of-input: 150px;
    --height-of-input: 35px;
  }
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
  .header-body {
    padding-top: 45px;
  }

  .portal-header {
    padding: 0.5rem;
  }

  .logo img {
    width: 100px;
  }

  .menu {
    flex: 1 1;
    justify-content: space-between;
  }

  .search-bar {
    flex: 1 1;
    justify-content: flex-end;
  }

  .reset{
    display: none;
  }

  .hamburger-menu {
    font-size: 1rem;
  }
  .form {
    --width-of-input: 120px;
    --height-of-input: 30px;
  }
  .form button {
    font-size: 0.2rem;
  }
  .form::placeholder {
    font-size: 0.2rem;
  }
 
}

.navbar {
    display: flex;
    gap: 2rem;
    justify-content: center;
    background-color: #d13f3f;
    border-bottom: 1px solid #616161;
    width: 100%;
    color: #FFF;
    text-transform: uppercase;
  }
  
  .nav-item {
    position: relative;
    text-align: center;
    padding-bottom: 10px;
    padding-top: 15px;
  }
  
  
  .name-navbar {
    font-size: 1rem;
    font-weight: bold;
    /* transform: translate(-50%, -50%); */
    pointer-events: none;
    margin-bottom: 5px;
  }

  /* Responsividade - Tablet */
@media (max-width: 1024px) {
    .navbar {
        gap: 1rem;
    }
    .nav-item {
        font-size: 0.9rem;
    }
    .name-navbar {
        font-size: 0.8rem;
    }
    
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
    .navbar {
        gap: 0.6rem;
    }
    .nav-item {
        font-size: 0.8rem;
    }
    .name-navbar {
        font-size: 0.7rem;
    }
    .nav-item:hover::after {
        width: 100%;
        height: 2px;
        background-color: #616161;
    }
}


#root {
    background-color: #e5e5e5;
}
.ver-todos-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.ver-todos-titulo {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

/* Última postada */
.ultima-postada {
  display: block;
  margin-bottom: 20px;
  text-align: center;
  background-color: rgb(234, 234, 234);
  padding-bottom: 15px;
  padding: 15px;
  text-align: left;
  color: black;
  text-decoration: none;
  border-radius: 15px;
}

.ultima-postada img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

.ultima-postada h3 {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 400;
}

.ultima-postada h3, .ultima-postada p {
  padding-left: 15px;
}

.ultima-postada p {
  width: 90%;
  font-weight: 200;
  color: #383838;
}

/* Propaganda horizontal */
.propaganda-horizontal,
.propaganda-horizontal-full {
  margin: 30px 0;
  text-align: center;
}

.propaganda-horizontal img,
.propaganda-horizontal-full img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

/* Lista de notícias */
.noticias-lista {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.noticia-linha {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.noticia-linha-esquerda {
  display: flex;
  gap: 15px;
  flex: 1 1;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.linha-esquerda-img {
  max-width: 200px;
  width: 100%;
  height: 120px;
  overflow: hidden;
  border-radius: 8px;
}

.noticia-linha-esquerda img {
  max-width: 220px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.noticia-linha-esquerda img:hover {
  transform: scale(1.1);
}

.noticia-linha-esquerda .info {
  max-width: 600px;
}

.noticia-linha-esquerda h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 300;
}

.noticia-linha-esquerda p {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 300;
  color: #555;
}

.noticia-linha-esquerda span {
  font-size: 12px;
  color: #777;
}

/* Propaganda vertical */
.propaganda-vertical {
  width: 150px;
  position: absolute;
  height: 400px;
  right: 31%;
  transform: translateX(50%);
}

.propaganda-vertical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* ========================================
   PRIVACIDADE MODAL - MODERN DESIGN
======================================== */

.privacidade-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.privacidade-modal-content {
  background: rgba(23, 23, 23, 0.98);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(220, 53, 69, 0.2);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
.privacidade-modal-content > h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: -0.5px;
}

/* Body */
.privacidade-modal-body {
  flex: 1 1;
  padding: 2rem;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.8);
}

.privacidade-modal-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
  margin-top: 0;
}

.privacidade-modal-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #dc3545;
  margin: 1.5rem 0 0.75rem 0;
  margin-top: 1.5rem;
}

.privacidade-modal-body p {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.privacidade-modal-body b {
  color: #ff6b7a;
  font-weight: 600;
}

.privacidade-modal-body ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.privacidade-modal-body li {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.privacidade-modal-body li::marker {
  color: #dc3545;
}

/* Scrollbar customizado */
.privacidade-modal-body::-webkit-scrollbar {
  width: 8px;
}

.privacidade-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.privacidade-modal-body::-webkit-scrollbar-thumb {
  background: rgba(220, 53, 69, 0.4);
  border-radius: 10px;
}

.privacidade-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 53, 69, 0.6);
}

/* Footer com Botões */
.privacidade-modal-footer {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 0 16px 16px;
}

.privacidade-modal-btn {
  flex: 1 1;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.privacidade-modal-btn-accept {
  background: linear-gradient(135deg, #dc3545, #a02830);
  color: #fff;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.privacidade-modal-btn-accept:hover {
  background: linear-gradient(135deg, #ff4d5e, #dc3545);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.privacidade-modal-btn-accept:active {
  transform: translateY(0);
}

.privacidade-modal-btn-decline {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.privacidade-modal-btn-decline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.privacidade-modal-btn-decline:active {
  background: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .privacidade-modal-overlay {
    padding: 0.5rem;
  }

  .privacidade-modal-content {
    max-height: 90vh;
    border-radius: 12px;
  }

  .privacidade-modal-content > h2 {
    font-size: 1.25rem;
    padding: 1.5rem 1.5rem 1rem;
  }

  .privacidade-modal-body {
    padding: 1.5rem;
  }

  .privacidade-modal-body h3 {
    font-size: 1.1rem;
  }

  .privacidade-modal-body h4 {
    font-size: 0.95rem;
  }

  .privacidade-modal-footer {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
  }

  .privacidade-modal-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .privacidade-modal-content > h2 {
    font-size: 1.1rem;
    padding: 1.25rem 1rem 0.75rem;
  }

  .privacidade-modal-body {
    padding: 1rem;
  }

  .privacidade-modal-body h3 {
    font-size: 1rem;
  }

  .privacidade-modal-body p {
    font-size: 0.9rem;
  }

  .privacidade-modal-footer {
    padding: 0.75rem 1rem;
  }

  .privacidade-modal-btn {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
}

/* ========================================
   CANDIDATURA VAGAS - ESTILO IGUAL À IMAGEM
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fundo Escuro com Gradiente Sutil */
.candidatura-container {
  min-height: 100vh;
  background: #050505; /* Fundo preto quase total */
  background: radial-gradient(circle at top right, #1a0505 0%, #000000 40%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #fff;
  position: relative;
  overflow-x: hidden;
}

/* Header */
.candidatura-header {
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.container-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  /* Justify content removido pois só temos a logo agora */
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo span {
  color: #dc3545; /* Vermelho vibrante */
}

/* Main Layout */
.candidatura-main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr; /* Dividido meio a meio como na imagem */
  grid-gap: 4rem;
  gap: 4rem;
  align-items: start;
}

/* Coluna Esquerda */
.candidatura-left-content {
  padding-top: 8rem;
}

.badge-contratando {
  display: inline-block;
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ff6b6b;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.main-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.gradient-text {
  color: #dc3545; /* Vermelho sólido para destacar como na imagem */
  background: linear-gradient(90deg, #dc3545, #ff4d4d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-description {
  font-size: 1.1rem;
  color: #a0a0a0;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 90%;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s;
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: #dc3545;
}

.benefit-card i {
  font-size: 1.5rem;
  color: #dc3545;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.benefit-card p {
  font-size: 0.85rem;
  color: #888;
}

/* Coluna Direita - Formulário */
.form-card {
  background: #121212; /* Fundo bem escuro para o cartão */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-title i {
  color: #dc3545;
}

/* Inputs e Labels */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.input-wrapper {
  position: relative;
}

.input-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 0.9rem;
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.8rem;
  background: #0a0a0a; /* Fundo preto nos inputs */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  border-color: #dc3545;
}

.input-wrapper input::placeholder {
  color: #444;
}

.input-error {
  border-color: #ff4444 !important;
}

.form-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
}

/* Uploads */
.uploads-container {
  margin: 1.5rem 0;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.upload-group label:first-child {
  font-size: 0.85rem;
  color: #ccc;
  display: block;
  margin-bottom: 0.5rem;
}

.upload-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.2rem;
  background: #0a0a0a;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.upload-area:hover {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.05);
}

.upload-area i {
  font-size: 1.2rem;
  color: #666;
}

.upload-area .icon-success {
  color: #28a745;
}

.upload-area span {
  font-size: 0.9rem;
  color: #888;
}

.error-border {
  border-color: #ff4444;
}

/* Termos */
.terms-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.terms-group input {
  accent-color: #dc3545;
  width: 16px;
  height: 16px;
}

.terms-group label {
  font-size: 0.85rem;
  color: #aaa;
}

.terms-link {
  color: #dc3545;
  cursor: pointer;
  text-decoration: underline;
}

/* Botão Enviar */
.submit-button {
  width: 100%;
  padding: 1rem;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: background 0.3s;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.submit-button:hover:not(:disabled) {
  background: #c82333;
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Responsividade */
@media (max-width: 900px) {
  .candidatura-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .candidatura-left-content {
    padding-top: 1rem;
  }
  
  .main-title {
    font-size: 2.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}
/* Login Vagas Styles */

.loginvagas-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 1.5rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.loginvagas-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  padding: 2rem;
  border: 2px solid #dc3545;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.loginvagas-header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #000;
}

.loginvagas-header h1 b {
  color: #dc3545;
}

.loginvagas-header p {
  margin: 0.35rem 0 1.5rem;
  color: #555;
  font-size: 0.95rem;
}

.loginvagas-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.loginvagas-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #000;
}

.loginvagas-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: #fff;
  color: #333;
}

.loginvagas-input:focus {
  outline: none;
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.loginvagas-input:disabled {
  background: #f1f1f1;
  cursor: not-allowed;
}

.loginvagas-button {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.95rem;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #dc3545 0%, #a02830 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.loginvagas-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(220, 53, 69, 0.35);
}

.loginvagas-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .loginvagas-card {
    padding: 1.5rem;
  }

  .loginvagas-header h1 {
    font-size: 1.5rem;
  }
}

/* =========================================
   RESET & BASE - DARK THEME
========================================= */
.lista-container {
  background-color: #000000;
  min-height: 100vh;
  padding: 40px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #fff;
}

/* =========================================
   HEADER
========================================= */
.lista-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.header-title-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* A linha vertical vermelha ao lado do título */
.title-decoration {
  width: 4px;
  height: 45px;
  background-color: #D32F2F; /* Vermelho escuro */
  border-radius: 2px;
}

.header-title-area h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
}

.header-title-area p {
  color: #888;
  font-size: 0.9rem;
  margin: 5px 0 0 0;
}

/* Stats no canto superior direito */
.header-stats {
  display: flex;
  gap: 15px;
}

.stat-box {
  background: #111;
  border: 1px solid #333;
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  min-width: 100px;
}

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #D32F2F; /* Vermelho do número */
}

.stat-desc {
  font-size: 0.65rem;
  color: #666;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================================
   FILTROS (Barra Cinza Escura)
========================================= */
.filtros-container {
  background-color: #111; /* Fundo do container de filtros */
  padding: 20px 25px;
  border-radius: 12px;
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-end;
  border: 1px solid #222;
}

.filtro-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-group {
  flex: 2 1; /* A busca ocupa mais espaço */
}

.filtro-group label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-search {
  position: relative;
  width: 100%;
}

.input-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.input-search input,
.filtro-group select {
  width: 100%;
  background-color: #000; /* Inputs pretos */
  border: 1px solid #333;
  padding: 10px 15px 10px 35px; /* Padding extra esquerda p/ icone */
  border-radius: 6px;
  color: #ddd;
  font-size: 0.9rem;
  outline: none;
  height: 42px;
}

.filtro-group select {
  padding-left: 15px;
  cursor: pointer;
}

.input-search input:focus,
.filtro-group select:focus {
  border-color: #D32F2F;
}

/* =========================================
   GRID DE CARDS
========================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.candidate-card {
  background-color: #111;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.candidate-card:hover {
  transform: translateY(-3px);
  border-color: #333;
}

/* Topo do Card (Avatar + Nome) */
.card-top-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.candidate-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #333;
}

.header-info {
  display: flex;
  flex-direction: column;
}

.candidate-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.candidate-role {
  font-size: 0.8rem;
  color: #888;
  margin: 2px 0 0 0;
}

/* Detalhes (Email, Tel, Data) */
.card-details {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #888;
  font-size: 0.85rem;
}

.detail-item i {
  width: 16px;
  text-align: center;
  color: #444; /* Ícones escuros */
}

/* Botão */
.btn-ver-curriculo {
  width: 100%;
  background-color: #1a1a1a;
  color: #ccc;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-ver-curriculo:hover:not(:disabled) {
  background-color: #D32F2F;
  color: #fff;
}

.btn-ver-curriculo:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================================
   MODAIS & UTILITÁRIOS
========================================= */
.loading-state {
  text-align: center;
  color: #D32F2F;
  font-size: 2rem;
  padding: 50px;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-curriculo {
  width: 90%;
  height: 90%;
  background: #111;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.curriculo-iframe {
  flex: 1 1;
  border: none;
  background: #fff;
}

.close-modal {
  margin-top: 10px;
  background: #D32F2F;
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  font-weight: bold;
}

.modal-img-full {
  max-height: 90vh;
  max-width: 90vw;
  border: 5px solid #fff;
}

/* Responsivo */
@media (max-width: 768px) {
  .lista-header {
    flex-direction: column;
    gap: 20px;
  }
  .filtros-container {
    flex-direction: column;
    align-items: stretch;
  }
  .search-group { flex: auto; }
}
/* Estilos principais para o grid */
.news-grid {
    display: grid;
    grid-template-columns: 3fr 1.5fr 1.5fr;
    grid-template-rows: 1fr;
    grid-row-gap: 0;
    row-gap: 0;
    margin: 0 auto;
    width: 60%;
    padding-top: 30px;
}

/* Estilo do artigo principal */
.main-article {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-article img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o espaço */
    transition: transform 0.3s ease-in-out;
}

.main-article:hover img {
    transform: scale(1.1); /* Animação de zoom */
}

.main-article .tag_category_news_main {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4b4b;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}

.main-article .title_news_main {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px 10px 10px 10px;
    color: white;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
}

/* Estilo dos artigos laterais */
.side-articles {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Duas colunas */
    grid-gap: 1rem;
    gap: 1rem;
}

.article {
    position: relative;
    width: 100%;
    max-height: 230px;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o espaço */
    transition: transform 0.3s ease-in-out;
}

.article:hover img {
    transform: scale(1.1); /* Animação de zoom */
}

.article .tag_category_news_side {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4b4b;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}

.article .title_news_side {
    position: absolute;
    width: 100%;
    bottom: 0;
    color: white;
    padding: 10px 10px 10px 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
}


/* 🔹 Estilos do Skeleton Loader */
.skeleton-main-article,
.skeleton-article {
    background: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skeleton-main-article {
    width: 100%;
    height: 400px;
}

.skeleton-article {
    width: 100%;
    height: 180px;
    margin-bottom: 10px;
}

.skeleton-image {
    width: 100%;
    height: 100%;
    background: #ddd;
    animation: loading 1.5s infinite;
}

.skeleton-tag {
    width: 30%;
    height: 15px;
    background: #bbb;
    margin: 10px auto;
    border-radius: 4px;
    animation: loading 1.5s infinite;
}

.skeleton-title {
    width: 80%;
    height: 20px;
    background: #ccc;
    margin: 10px auto;
    border-radius: 4px;
    animation: loading 1.5s infinite;
}

/* 🔹 Animação de loading */
@keyframes loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: 200px 0;
    }
}


/* Responsividade - Desktop pequenos */
@media (max-width: 1580px) {
    .news-grid {
        display: grid;
        grid-template-columns: 3fr 1.5fr 1.5fr;
        grid-template-rows: 1fr;
        grid-row-gap: 0;
        row-gap: 0;
        margin: 0 auto;
        width: 70%;
        padding-top: 30px;
    }

    .article {
        max-height: 160px;
    }


    .title_news_main,
    .title_news_side {
        font-size: 1rem;
    }

    .main-article .title_news_main {
        margin: 20px;
    }
}

/* Responsividade - Desktop médios */
@media (max-width: 1280px) {
    .news-grid {
        grid-template-columns: 2.5fr 1.5fr 1.5fr;
        width: 80%;
    }

    .article {
        max-height: 150px;
    }

    .title_news_main,
    .title_news_side {
        font-size: 1rem;
    }

    .main-article .title_news_main {
        margin: 20px;
    }
}


/* Responsividade - Tablet */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
        width: 80%;
    }


    .article {
        max-height: 200px;
    }

    .title_news_main,
    .title_news_side {
        width: 100%;
    }

    .side-articles {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        margin-top: 15px;
    }
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        width: 95%;
    }

    .main-article {
        grid-column: 1 / -1;
        height: 250px; /* Ajuste opcional para manter proporção legal */
        margin-bottom: 15px;
    }

    .side-articles {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }

    .side-articles .tag_category_news_side {
        font-size: 0.7rem;
        top: 5px;
        left: 5px;
    }

    .article {
        height: 180px;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto;
    width: 60%;
    border-top: 1.5px solid #2929295a;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #292929;
}

.section-header a {
    text-decoration: none;
    color: #292929;
    font-size: 1rem;
}


/* Responsividade - Tablet */
@media (max-width: 1024px) {
    .section-header {
        width: 80%;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .section-header a {
        font-size: 0.9rem;
    }
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
    .section-header {
        width: 90%;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .section-header a {
        font-size: 0.8rem;
    }
}

/* Estilos para o SecondGrid */
.second-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Quatro colunas */
    grid-gap: 1rem;
    gap: 1rem; /* Espaçamento entre os itens */
    margin: 2rem auto; /* Margem superior/inferior e centralização horizontal */
    width: 60%; /* Largura da seção */
}

.grid-item {
    background-color: #ffffff; /* Fundo branco */
    border: 1px solid #ddd; /* Borda sutil */
    border-radius: 8px; /* Cantos arredondados */
    overflow: hidden; /* Garante que o conteúdo respeite os cantos arredondados */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.208); /* Sombra leve */
    text-align: center;
    position: relative; /* Necessário para posicionamento da tag */
    text-decoration: none;
}

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

/* Estilo para o container da imagem */
.image-container {
    position: relative;
    overflow: hidden; /* Garante que o zoom da imagem não vaze */
}

.image-container img {
    width: 100%; /* A imagem ocupa toda a largura do container */
    height: 200px;
    transition: transform 0.3s ease-in-out; /* Transição suave */
}

.image-container:hover img {
    transform: scale(1.1); /* Zoom na imagem */
}

/* Tag sobre a imagem */
.image-container .tag_category_second {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4b4b;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 1; /* A tag sempre visível */
    transition: opacity 0.3s ease-in-out; /* Transição suave */
    z-index: 2;
}

.image-container:hover .tag_category_second {
    opacity: 1; /* Mantém a tag visível no hover */
    z-index: 2;
}

/* Título abaixo da imagem */
.grid-item .title_news_second {
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: 300; /* Peso leve */
    color: #333;
    text-align: center;
}


/* Responsividade - Desktop pequenos */
@media (max-width: 1580px) {
    .second-grid {
        grid-template-columns: repeat(4, 1fr); /* Três colunas */
        width: 80%; /* Largura da seção */
    }
    .grid-item {
        height: 100%; /* Altura total do item */
    }
}

/* Responsividade - Desktop médios */
@media (max-width: 1280px) {
    .second-grid {
        grid-template-columns: repeat(2, 1fr); /* Três colunas */
        width: 70%; /* Largura da seção */
    }
    .grid-item {
        height: 100%; /* Altura total do item */
    }
}


/* Responsividade - Tablet */
@media (max-width: 1024px) {
    .second-grid {
        grid-template-columns: repeat(2, 1fr); /* Duas colunas */
        width: 80%; /* Largura da seção */
    }
    .grid-item {
        height: 100%; /* Altura total do item */
    }
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
    .second-grid {
        grid-template-columns: 1fr; /* Uma coluna */
        width: 90%; /* Largura da seção */
    }
    .grid-item {
        height: 100%; /* Altura total do item */
    }
}

.third-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 2rem;
    gap: 2rem;
    width: 60%;
    margin: 2rem auto;
}

.section_header_news_third_primary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto;
    width: 100%;
    border-top: 1.5px solid #2929295a;
}

.section_header_news_third_primary h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #292929;
}

.section_header_news_third_primary a {
    text-decoration: none;
    color: #292929;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

/* Coluna esquerda e direita */
.left-column .grid-item2  {
    display: grid;
    grid-template-columns: 1.7fr 0.4fr;
    grid-gap: 1rem;
    gap: 1rem;
    align-items: center;
    text-decoration: none;
    color: #000;
    background-color: #ffffff;
    border-bottom: 1px solid #29292928;
    overflow: hidden;
    padding: 1rem;
    transition: box-shadow 0.3s ease-in-out;
    margin-bottom: 10px;
    text-align: left;
}

.right-column .grid-item2 {
    display: grid;
    grid-template-columns: 2fr 0.6fr;
    grid-gap: 1rem;
    gap: 1rem;
    align-items: center;
    text-decoration: none;
    color: #000;
    background-color: #ffffff;
    border-bottom: 1px solid #29292928;
    overflow: hidden;
    padding: 1rem;
    transition: box-shadow 0.3s ease-in-out;
    text-align: left;
}

.left-column .grid-item:hover,
.right-column .grid-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Wrapper for images */
.image-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 120px;
}

.left-image {
    width: 100%;
    height: 100%;
}

.left-image img {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.right-image img {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.left-image img:hover,
.right-image img:hover {
    transform: scale(1.1);
}

/* Conteúdo da notícia */
.content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 80%;
}

/* Estilos universais para todas as tags de categoria */
.tag_category_third_primary,
.tag_category_third_secondary {
    display: inline-block;
    font-size: 0.8rem;
    color: white;
    background-color: #ff4b4b;
    padding: 3px 8px;
    border-radius: 4px;
    width: auto; /* Apenas o tamanho do texto */
}

.content_news_third_item .title_news_third {
    font-size: 1rem;
    font-weight: 300;
    text-align: left;
    margin: 0;

}

.content_news_third_item .subtitle_news_third {
    font-size: 0.9rem;
    font-weight: 300;
    color: #555;
    padding-left: 5px;
    margin: 0;
}

/* Estilo do anúncio */
.ad {
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

.ad img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.ad-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.ad-link {
    color: #ff4b4b;
    text-decoration: none;
    font-weight: bold;
}


.section_header_news_third_secondary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 90%;
    border-top: 1.5px solid #2929295a;
}

.section_header_news_third_secondary h2 {
    font-size: 1rem;
    font-weight: bold;
    color: #292929;
}

.section_header_news_third_secondary a {
    text-decoration: none;
    color: #292929;
    font-size: 1rem;
}


.ver-mais-btn {
    width: 140px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    position: relative;
    background-color: transparent;
    transition: .2s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0.6;
    margin: 0 auto;
  }
  
  .ver-mais-btn::after {
    content: '';
    border-bottom: 3px double rgb(210, 73, 73);
    width: 0;
    height: 100%;
    position: absolute;
    margin-top: -5px;
    top: 0;
    left: 5px;
    visibility: hidden;
    opacity: 1;
    transition: .2s linear;
  }
  
  .ver-mais-btn .icon {
    transform: translateX(0%);
    transition: .2s linear;
    animation: attention 1.2s linear infinite;
  }
  
  .ver-mais-btn:hover::after {
    visibility: visible;
    opacity: 0.7;
    width: 90%;
  }
  
  .ver-mais-btn:hover {
    letter-spacing: 2px;
    opacity: 1;
  }
  
  .ver-mais-btn:hover > .icon {
    transform: translateX(30%);
    animation: none;
  }
  
  @keyframes attention {
    0% {
      transform: translateX(0%);
    }
  
    50% {
      transform: translateX(30%);
    }
  }
  

/* Responsividade - Tablet */
@media (max-width: 1024px) {
    .third-grid {
        grid-template-columns: 1fr;
        width: 80%;
    }

    .section_header_news_third_primary h2{
        font-size: 1.1rem;
        width: 70%;
    }

    .section_header_news_third_primary,
    .section_header_news_third_secondary {
        width: 80%;
        gap: 10px;
    }

    .left-column .grid-item2,
    .right-column .grid-item2 {
        display: grid;
        grid-template-columns: 2fr 1fr; /* Textos maiores à esquerda, imagem menor à direita */
        align-items: center;
        grid-gap: 1rem;
        gap: 1rem;
    }

    .left-image img,
    .right-image img {
        width: 100%;
        height: auto;
    }
}


/* Responsividade - Mobile */
@media (max-width: 768px) {
    .third-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .section_header_news_third_primary h2{
        font-size: 1.1rem;
        width: 70%;
    }

    .section_header_news_third_primary,
    .section_header_news_third_secondary {
        width: 80%;
        gap: 10px;
    }

    .left-column .grid-item2,
    .right-column .grid-item2 {
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start; /* 👈 Alinha imagem e texto ao topo */
        gap: 1rem;
        padding: 1rem 0.5rem; /* 👈 Remove o espaço interno que afastava do topo */
    }

    .content {
        padding-right: 10px;
    }



    .image-wrapper {
        width: 45%; /* 👈 Tamanho mediano */
        height: auto;
        overflow: hidden;
    }

    .left-image img,
    .right-image img {
        width: 100%;
        height: auto;
        object-fit: cover; /* 👈 Garante que a imagem não fique esticada */
    }
}



/* ===== Font Setting ===== */

.festival-inscricao-page {
  --bg-color: #FBF8F1;
  --card-bg: #EAE6DD;
  --input-bg: #DFDACE;
  --text-main: #2E2E2E;
  --text-muted: #6B7280;
  
  --green-main: #007612;
  --green-light: #90d890;
  --green-dark: #124d1a;
  
  --yellow-light: #ffe57f;
  --yellow-dark: #7a5c00;
  
  --blue-light: #99c2ff;
  --blue-dark: #003399;
  --blue-btn: #1B44A6;
  
  --error-red: #D93025;
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  box-sizing: border-box;
}

.festival-inscricao-page *,
.festival-inscricao-page *::before,
.festival-inscricao-page *::after {
  box-sizing: inherit;
}

/* ===== Layout Blocks ===== */

.festival-inscricao-page {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-color);
}

.festival-inscricao-page .festival-glow-bg {
  position: absolute;
  top: -100px;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(246, 230, 163, 0.45) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* ===== Header ===== */
.festival-inscricao-page .festival-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
}

.festival-inscricao-page .festival-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-main);
  margin: 0;
}

.festival-inscricao-page .festival-nav {
  display: flex;
  gap: 32px;
}

.festival-inscricao-page .festival-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.festival-inscricao-page .festival-nav a:hover {
  color: var(--text-main);
}

.festival-inscricao-page .festival-nav a.active {
  color: var(--green-main);
  border-bottom: 2px solid var(--green-main);
  padding-bottom: 4px;
}

.festival-inscricao-page .btn-entrar {
  background-color: var(--green-main);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.festival-inscricao-page .btn-entrar:hover {
  background-color: #00600d;
}

/* ===== Main / Hero ===== */
.festival-inscricao-page .festival-main {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 80px 20px;
}

.festival-inscricao-page .festival-hero {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.festival-inscricao-page .festival-hero h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 16px 0;
  color: var(--text-main);
}

.festival-inscricao-page .talentos-text {
  color: var(--green-main);
  font-style: italic;
}

.festival-inscricao-page .hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
}

.festival-inscricao-page .decorative-dashes {
  display: flex;
  gap: 6px;
  margin-top: 24px;
}

.festival-inscricao-page .decorative-dashes span {
  display: inline-block;
  height: 4px;
  border-radius: 2px;
}

.festival-inscricao-page .dash-yellow { width: 32px; background-color: #D4B01E; }
.festival-inscricao-page .dash-green { width: 16px; background-color: var(--green-main); }
.festival-inscricao-page .dash-blue { width: 16px; background-color: #4285F4; }

/* ===== Form Structure ===== */
.festival-inscricao-page .festival-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.festival-inscricao-page .form-section {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 32px;
}

.festival-inscricao-page .form-section-dashed {
  background-color: transparent;
  border: 1px dashed #CABFAB;
  position: relative;
}

.festival-inscricao-page .form-section-dashed::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(241, 237, 224, 0.5);
  z-index: -1;
  border-radius: 12px;
}

.festival-inscricao-page .festival-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.festival-inscricao-page .festival-section-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.festival-inscricao-page .icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.festival-inscricao-page .icon-green { background-color: var(--green-light); color: var(--green-dark); }
.festival-inscricao-page .icon-yellow { background-color: var(--yellow-light); color: var(--yellow-dark); }
.festival-inscricao-page .icon-blue { background-color: var(--blue-light); color: var(--blue-dark); }

/* ===== Inputs ===== */
.festival-inscricao-page .inputs-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.festival-inscricao-page .input-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 24px;
  gap: 24px;
}

.festival-inscricao-page .festival-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.festival-inscricao-page .festival-input-group.full-width {
  width: 100%;
}

.festival-inscricao-page .festival-input-group label {
  font-size: 12px;
  font-weight: 600;
  color: #4B5563;
}

.festival-inscricao-page .festival-input-group input[type="text"],
.festival-inscricao-page .festival-input-group input[type="email"],
.festival-inscricao-page .festival-input-group select,
.festival-inscricao-page .festival-input-group textarea {
  background-color: var(--input-bg);
  border: none;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
  width: 100%;
  transition: box-shadow 0.2s ease;
}

.festival-inscricao-page .festival-input-group input::placeholder,
.festival-inscricao-page .festival-input-group textarea::placeholder {
  color: #A39D90;
}

.festival-inscricao-page .festival-input-group input:focus,
.festival-inscricao-page .festival-input-group select:focus,
.festival-inscricao-page .festival-input-group textarea:focus {
  box-shadow: 0 0 0 2px rgba(0, 118, 18, 0.2);
}

.festival-inscricao-page .festival-input-group textarea {
  resize: vertical;
}

/* Error State Customization */
.festival-inscricao-page .error-message {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--error-red);
  font-size: 10px;
  font-weight: 600;
  margin-top: 2px;
}

/* Select */
.festival-inscricao-page .select-wrapper {
  position: relative;
}
.festival-inscricao-page .select-container {
  position: relative;
}
.festival-inscricao-page .select-container select {
  appearance: none;
  cursor: pointer;
}
.festival-inscricao-page .select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8C8675;
  pointer-events: none;
}
.festival-inscricao-page .hint-text {
  font-size: 10px;
  color: #8C8675;
  margin-top: 2px;
}

/* Radios */
.festival-inscricao-page .radio-group-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.festival-inscricao-page .radio-group {
  display: flex;
  gap: 24px;
  align-items: center;
  height: 45px;
}
.festival-inscricao-page .radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #4B5563;
  cursor: pointer;
}
.festival-inscricao-page .radio-label input {
  display: none;
}
.festival-inscricao-page .radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--input-bg);
  position: relative;
  display: inline-block;
  transition: all 0.2s ease;
}
.festival-inscricao-page .radio-label input:checked + .radio-custom {
  box-shadow: inset 0 0 0 5px var(--green-main);
  background-color: transparent;
}


/* ===== Upload Box ===== */
.festival-inscricao-page .upload-box {
  background-color: #fff;
  border: 1px dashed #CABFAB;
  border-radius: 8px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.festival-inscricao-page .upload-icon {
  color: var(--blue-btn);
  margin-bottom: 16px;
}
.festival-inscricao-page .upload-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px 0;
}
.festival-inscricao-page .upload-box p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 24px 0;
}
.festival-inscricao-page .btn-upload {
  background-color: var(--blue-btn);
  color: white;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.2s;
}
.festival-inscricao-page .btn-upload:hover {
  background-color: #143585;
}
.festival-inscricao-page .btn-upload input {
  display: none;
}

.festival-inscricao-page .portfolio-file-name {
  margin-top: 10px;
  font-size: 12px;
  color: #475467;
  font-weight: 600;
}

/* ===== Form Footer ===== */
.festival-inscricao-page .form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
  text-align: center;
}
.festival-inscricao-page .checkbox-agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #4B5563;
  margin-bottom: 24px;
  cursor: pointer;
}
.festival-inscricao-page .check-icon {
  color: var(--green-main);
}
.festival-inscricao-page .btn-submit {
  background-color: var(--green-main);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  width: auto;
  min-width: 200px;
}
.festival-inscricao-page .btn-submit:hover {
  background-color: #00600d;
}

.festival-inscricao-page .btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.festival-inscricao-page .submit-feedback {
  margin: 0 0 12px 0;
  font-size: 12px;
  font-weight: 600;
}

.festival-inscricao-page .submit-feedback-error {
  color: #b42318;
}

.festival-inscricao-page .submit-feedback-success {
  color: #027a48;
}
.festival-inscricao-page .form-footer .hint-text {
  margin-top: 12px;
}

/* ===== Images Gallery ===== */
.festival-inscricao-page .image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-top: 60px;
}
.festival-inscricao-page .gallery-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background-color: #e5e5e5;
}
.festival-inscricao-page .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}
.festival-inscricao-page .gallery-item:hover img {
  filter: grayscale(0%);
}

/* ===== Footer ===== */
.festival-inscricao-page .festival-site-footer {
  background-color: #F8F9FA;
  border-top: 1px solid #EBEBEB;
  padding: 30px 20px;
  width: 100%;
}

.festival-inscricao-page .footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.festival-inscricao-page .footer-left {
  display: flex;
  flex-direction: column;
  background-color: #F8F9FA; 
}
.festival-inscricao-page .footer-left h3 {
  color: var(--green-main);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px 0;
}
.festival-inscricao-page .footer-left p {
  color: #9CA3AF;
  font-size: 11px;
  margin: 0;
}

.festival-inscricao-page .footer-links {
  display: flex;
  gap: 24px;
}
.festival-inscricao-page .footer-links a {
  color: #6B7280;
  font-size: 12px;
  text-decoration: none;
  font-weight: 500;
}

.festival-inscricao-page .footer-socials {
  display: flex;
  gap: 12px;
}
.festival-inscricao-page .social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #E5E7EB;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.2s;
}
.festival-inscricao-page .social-btn:hover {
  background-color: #E5E7EB;
  color: #374151;
}

/* ===== Success State ===== */
.festival-inscricao-page .success-state {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #F8F6EF;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background Floating Elements */
.success-state .success-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.success-state .shape-diamond {
  position: absolute;
  top: 5%;
  left: 10%;
  width: 80px;
  height: 80px;
  border: 2px solid #D0E4C8;
  background-color: #E2ECD8;
  transform: rotate(45deg);
  border-radius: 8px;
  opacity: 0.8;
}

.success-state .shape-music-top {
  position: absolute;
  top: 8%;
  left: 35%;
  color: #E7DBA5;
  opacity: 0.8;
}

.success-state .shape-moon {
  position: absolute;
  top: 8%;
  left: 55%;
  color: #B9C6E2;
  opacity: 0.8;
}

.success-state .shape-gift {
  position: absolute;
  top: 8%;
  right: 25%;
  color: #C0DEBB;
  opacity: 0.8;
}

.success-state .shape-floating-square-sm {
  position: absolute;
  top: 25%;
  right: 12%;
  width: 50px;
  height: 50px;
  background-color: #E2E4E8;
  border: 1px solid #D0D4DF;
  transform: rotate(15deg);
  border-radius: 6px;
  opacity: 0.7;
}

.success-state .shape-floating-square-lg {
  position: absolute;
  bottom: 25%;
  right: -5%;
  width: 250px;
  height: 250px;
  background-color: #ECE9DE;
  border: 1px solid #DEDAC8;
  transform: rotate(-10deg);
  border-radius: 20px;
  opacity: 0.9;
}

.success-state .shape-music-blue {
  position: absolute;
  top: 30%;
  left: 48%;
  color: #2F5ECE;
}

.success-state .banner-image-container {
  position: absolute;
  bottom: 8%;
  left: 5%;
  width: 180px;
  height: 180px;
  transform: rotate(-15deg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 5;
}

.success-state .banner-image-lights {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* Success Content */
.success-state .success-content-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -60px;
}

.success-state .success-icon-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.success-state .success-icon-box {
  width: 80px;
  height: 80px;
  background-color: #68E568;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-10deg);
  box-shadow: 0 8px 24px rgba(104, 229, 104, 0.4);
}

.success-state .success-icon-check {
  color: #0E480E;
  transform: rotate(10deg);
}

.success-state .success-sparkles {
  position: absolute;
  top: -15px;
  right: -15px;
  color: #8C6500;
  fill: #8C6500;
}

.success-state .success-title {
  font-size: 42px;
  font-weight: 800;
  color: #2A2422;
  margin: 0 0 32px 0;
  letter-spacing: -0.5px;
}

.success-state .success-card {
  background-color: #EFECE1;
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.02);
  margin-bottom: 24px;
}

.success-state .success-message {
  font-size: 16px;
  color: #55524B;
  line-height: 1.6;
  margin: 0 0 32px 0;
}

.success-state .text-green-bold {
  color: #007612;
  font-weight: 700;
}

.success-state .info-box {
  background-color: #F8F6EF;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 16px;
  width: 85%;
  margin: 0 auto;
}

.success-state .info-box-icon {
  background-color: #FBD020;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2E2E2E;
  flex-shrink: 0;
}

.success-state .info-box-text h4 {
  margin: 0 0 4px 0;
  font-size: 13px;
  font-weight: 700;
  color: #2E2E2E;
}

.success-state .info-box-text p {
  margin: 0;
  font-size: 12px;
  color: #797669;
}

.success-state .highlight-text {
  color: #9C7E3A;
  font-weight: 600;
}

.success-state .success-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.success-state .btn-home-action {
  background-color: #007A19;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}

.success-state .btn-home-action:hover {
  background-color: #00600d;
}

.success-state .btn-candidato-action {
  background-color: #FBD020;
  color: #2E2E2E;
  border: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.success-state .btn-candidato-action:hover {
  background-color: #e5b900;
}

/* Bottom Banner */
.success-state .success-banner-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, rgba(162, 199, 194, 0.9) 0%, rgba(138, 184, 186, 0.9) 50%, rgba(112, 169, 175, 0.9) 100%);
  overflow: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-state .success-banner-bottom::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.1) 10px,
      rgba(255, 255, 255, 0.1) 20px
    ),
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.2) 100%);
  opacity: 0.3;
  pointer-events: none;
}

.success-state .banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 10;
}

.success-state .banner-icons {
  display: flex;
  gap: 20px;
  color: rgba(0,0,0,0.5);
}

.success-state .banner-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(0,0,0,0.4);
  text-transform: uppercase;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
  .festival-inscricao-page .input-pair {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .festival-inscricao-page .festival-nav {
    display: none;
  }
  .festival-inscricao-page .image-gallery {
    gap: 8px;
  }
  .festival-inscricao-page .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .success-state .shape-floating-square-lg {
    display: none;
  }
  .success-state .success-title {
    font-size: 32px;
  }
  .success-state .success-card {
    padding: 24px;
    margin: 16px;
  }
  .success-state .success-actions {
    flex-direction: column;
  }
}

/* src/festival/styles/LoginCandidato.css */

.login-candidato-page {
  min-height: 100vh;
  background-color: #F8F6EF;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.login-candidato-page .bg-shapes {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.login-candidato-page .shape {
  position: absolute;
}

.login-candidato-page .shape-top-left-bg {
  top: 2%;
  left: 3%;
  width: 250px;
  height: 250px;
  background-color: #E6EAD6;
  transform: rotate(-30deg);
  opacity: 0.8;
  z-index: 1;
}

.login-candidato-page .shape-top-left {
  top: 8%;
  left: 6%;
  width: 200px;
  height: 200px;
  background-color: transparent;
  border: 1px solid #D1D8C4;
  transform: rotate(15deg);
  opacity: 0.6;
  z-index: 2;
  background-color: #E9EDDF;
}

.login-candidato-page .shape-bottom-right {
  bottom: 8%;
  right: 5%;
  width: 280px;
  height: 280px;
  background-color: #EBE8E0;
  transform: rotate(35deg);
  opacity: 0.9;
}

.login-candidato-page .login-container {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  padding: 40px 20px;
}

.login-candidato-page .login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-candidato-page .icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: #82F282;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 14px rgba(130, 242, 130, 0.4);
}

.login-candidato-page .music-icon {
  color: #1A531A;
}

.login-candidato-page .login-header h1 {
  color: #007612;
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: -1px;
}

.login-candidato-page .login-header p {
  color: #6B7280;
  font-size: 15px;
  margin: 0;
}

.login-candidato-page .login-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.login-candidato-page .input-group {
  margin-bottom: 24px;
}

.login-candidato-page .input-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #8C8675;
  margin-bottom: 8px;
}

.login-candidato-page .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.login-candidato-page .input-icon {
  position: absolute;
  left: 16px;
  color: #9CA3AF;
}

.login-candidato-page .input-wrapper input {
  width: 100%;
  padding: 16px 16px 16px 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: #F8F6EF;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s ease;
  font-family: inherit;
}

.login-candidato-page .input-wrapper input::placeholder {
  color: #A39D90;
}

.login-candidato-page .input-wrapper input:focus {
  outline: none;
  border-color: #007612;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 118, 18, 0.1);
}

.login-candidato-page .btn-entrar {
  width: 100%;
  background-color: #007A19;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-bottom: 24px;
}

.login-candidato-page .btn-entrar:hover {
  background-color: #005a0e;
}

.login-candidato-page .link-forgot-password {
  display: block;
  text-align: center;
  color: #9C7E3A;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 32px;
}

.login-candidato-page .link-forgot-password:hover {
  text-decoration: underline;
}

.login-candidato-page .divider {
  height: 1px;
  background-color: #F8F6EF;
  margin-bottom: 24px;
  width: 100%;
}

.login-candidato-page .signup-text {
  text-align: center;
  font-size: 11px;
  color: #8C8675;
  line-height: 1.6;
  margin: 0;
}

.login-candidato-page .link-signup {
  color: #007A19;
  font-weight: 600;
  text-decoration: none;
}

.login-candidato-page .link-signup:hover {
  text-decoration: underline;
}

.login-candidato-page .pagination-dots {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.login-candidato-page .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.login-candidato-page .dot-yellow { background-color: #D4B01E; opacity: 0.5; }
.login-candidato-page .dot-green { background-color: #73EA73; opacity: 0.8; }
.login-candidato-page .dot-blue { background-color: #99C2FF; opacity: 0.7; }

.login-candidato-page .login-footer {
  text-align: center;
  padding: 24px;
  font-size: 10px;
  font-weight: 500;
  color: #8C8675;
  letter-spacing: 0.5px;
  border-top: 1px solid #EAE6DD;
  width: 100%;
  background-color: #F8F6EF;
}

@media (max-width: 480px) {
  .login-candidato-page .login-card {
    padding: 24px;
  }
}

body {
  margin: 0;
  padding: 0;
  background-color: #F8F5EB;
}

.candidate-area-page,
.candidate-area-page * {
  box-sizing: border-box;
}

.candidate-area-page img {
  max-width: 100%;
  display: block;
}

.candidate-area-page button,
.candidate-area-page input,
.candidate-area-page textarea,
.candidate-area-page select {
  font: inherit;
}

.candidate-area-page {
  min-height: 100vh;
  background-color: #F8F5EB;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  color: #333;
}

.candidate-layout {
  display: flex;
  position: relative;
  height: 100vh;
}

/* --- SIDEBAR --- */
.candidate-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  height: 100vh;
  background-color: #F8F5EB;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  padding: 30px 0;
  overflow: hidden;
  z-index: 100;
}

.sidebar-logo {
  padding: 0 30px;
  margin-bottom: 25px;
}

.sidebar-logo h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  color: #7B692A;
  line-height: 1.1;
  margin: 0 0 5px 0;
}

.sidebar-logo p {
  font-size: 9px;
  font-weight: 600;
  color: #8C8C8C;
  letter-spacing: 0.5px;
  margin: 0;
  text-transform: uppercase;
}

.sidebar-divider {
  height: 1px;
  background-image: linear-gradient(to right, transparent 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 8px 100%;
  margin: 0 0 25px 0;
}

.sidebar-user-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 30px;
  margin-bottom: 30px;
}

.mini-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mini-info h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #1a6b32;
}

.mini-info span {
  font-size: 10px;
  color: #999;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 600;
  color: #4a4a4a;
  text-decoration: none;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-item:hover {
  background-color: rgba(26, 107, 50, 0.05);
  color: #1a6b32;
}

.nav-item.active {
  background-color: #1a6b32;
  color: white;
  border-radius: 0 20px 20px 0;
  margin-right: 20px;
  width: calc(100% - 20px);
}

.nav-item.active svg {
  color: white;
}

.sidebar-bottom {
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-yellow {
  background-color: #FFDE00;
  color: #333;
  font-weight: 700;
  font-size: 12px;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: center;
}

.btn-yellow:hover {
  background-color: #f0d000;
}

.bottom-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 5px 0;
  cursor: pointer;
}

.bottom-link.red {
  color: #d13030;
}

/* --- MAIN CONTENT --- */
.candidate-main {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 20px 0 0 20px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.02);
  overflow-y: auto;
  overflow-x: hidden;
  margin-left: 260px;
  height: 100vh;
}

.main-header {
  padding: 30px 40px 20px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.header-title-area h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1a6b32;
  margin: 0 0 5px 0;
  text-transform: uppercase;
}

.header-title-area p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

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

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(26, 107, 50, 0.14);
  border-radius: 12px;
  background: #fff;
  color: #1a6b32;
  cursor: pointer;
  flex: 0 0 auto;
}

.status-badge-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.status-badge {
  background-color: #1a6b32;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.fase-text {
  font-size: 11px;
  font-weight: 600;
  color: #666;
}

.bell-btn {
  background: transparent;
  border: none;
  color: #333;
  cursor: pointer;
  padding: 5px;
}

.main-divider {
  height: 1px;
  background-image: linear-gradient(to right, transparent 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 8px 100%;
  margin: 0 40px;
}

.content-grid {
  padding: 30px 40px;
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-gap: 30px;
  gap: 30px;
}

/* --- CARDS GENERAL --- */
.card {
  background-color: #Eeeadd;
  border-radius: 12px;
  padding: 25px;
  position: relative;
  overflow: hidden;
}

/* --- PERFIL CARD --- */
.perfil-card {
  background-color: #Eeeadd;
  margin-bottom: 20px;
}

.card-decor-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.4) 50%);
}

.perfil-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #333;
}

.perfil-header h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.perfil-avatar-container {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
}

.perfil-avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.perfil-avatar-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.edit-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #1a6b32;
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #666;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.form-input {
  background-color: #DCD8CA;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  width: 100%;
  box-sizing: border-box;
}

.btn-green-full {
  background-color: #1a6b32;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 14px;
  width: 100%;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.2s;
}

.btn-green-full:hover {
  background-color: #145928;
}

/* --- APRESENTACAO CARD --- */
.apresentacao-card {
  background-color: #0d5c19;
  border-radius: 12px;
  padding: 25px;
  color: white;
}

.apresentacao-card h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 20px 0;
}

.apresentacao-icon-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
}

.apresentacao-icon-row svg {
  color: #FFDE00;
}

.palco-info {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.palco-info span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.palco-info strong {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  font-style: italic;
}

/* --- RIGHT COLUMN --- */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- DESEMPENHO CARD --- */
.desempenho-card {
  background-color: #Eeeadd;
}

.desempenho-header {
  margin-bottom: 30px;
}

.desempenho-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #7B692A;
  margin: 0 0 5px 0;
  text-transform: uppercase;
}

.desempenho-header p {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.voto-popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #d1ead8;
  padding: 20px 30px;
  border-radius: 0 0 0 40px;
  text-align: center;
}

.voto-popular-badge span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #1a6b32;
  margin-bottom: 4px;
}

.voto-popular-badge strong {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #1a6b32;
}

.score-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.score-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 15px;
  border-left: 4px solid;
}

.score-item:nth-child(1) { border-left-color: #1a6b32; }
.score-item:nth-child(2) { border-left-color: #7B692A; }
.score-item:nth-child(3) { border-left-color: #1355a6; }

.score-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 0 0 4px 0;
}

.score-info p {
  font-size: 12px;
  color: #666;
  margin: 0;
  max-width: 350px;
}

.score-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.score-value strong {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1a6b32;
}

.score-item:nth-child(2) .score-value strong { color: #7B692A; }
.score-item:nth-child(3) .score-value strong { color: #1355a6; }

.score-value span {
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.desempenho-divider {
  border-top: 1px dashed rgba(0,0,0,0.1);
  margin: 30px 0;
}

.media-final-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.media-final-area span {
  font-size: 13px;
  font-weight: 700;
  color: #666;
  letter-spacing: 0.5px;
}

.media-bar-container {
  flex: 1 1;
  margin: 0 20px;
  height: 8px;
  background-color: #d1ead8;
  border-radius: 4px;
  overflow: hidden;
}

.media-bar-fill {
  background-color: #1a6b32;
  height: 100%;
}

.media-final-score {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1a6b32;
}

/* --- STATUS CARDS --- */
.status-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
}

.status-card {
  padding: 25px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.status-card.active-status {
  background-color: white;
  border: 2px solid #1a6b32;
}

.status-card.eliminated-status {
  background-color: #Eeeadd;
  opacity: 0.7;
}

.status-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.active-status .status-icon-circle {
  background-color: #e8f5ed;
  color: #1a6b32;
}

.eliminated-status .status-icon-circle {
  background-color: rgba(0,0,0,0.05);
  color: #999;
}

.status-info h5 {
  font-size: 10px;
  font-weight: 700;
  color: #1a6b32;
  margin: 0 0 2px 0;
  text-transform: uppercase;
}

.eliminated-status .status-info h5 {
  color: #999;
}

.status-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4px 0;
  color: #333;
}

.eliminated-status .status-info h4 {
  color: #999;
}

.status-info p {
  font-size: 11px;
  color: #666;
  margin: 0;
  line-height: 1.3;
}

/* --- DUVUDAS CARD --- */
.duvidas-card {
  background-color: #2159B3;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.duvidas-text {
  max-width: 400px;
}

.duvidas-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.duvidas-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.4;
}

.btn-white {
  background-color: white;
  color: #2159B3;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-white:hover {
  background-color: #f0f0f0;
}

/* --- FOOTER --- */
.site-footer {
  background-color: #F8F5EB;
  padding: 40px;
  text-align: center;
  align-self: center;
  width: 100%;
  margin-top: auto;
}

.footer-diamonds {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.diamond {
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
}

.diamond.green { background-color: #1a6b32; }
.diamond.yellow { background-color: #FFDE00; }
.diamond.blue { background-color: #1355a6; }
.diamond.red { background-color: #b52c1d; }

.site-footer h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #7B692A;
  margin: 0 0 20px 0;
}

.site-footer p {
  font-size: 11px;
  color: #888;
  letter-spacing: 1px;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.footer-links a {
  font-size: 10px;
  font-weight: 600;
  color: #888;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links button {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 10px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #333;
}

.candidate-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 18px;
}

.candidate-modal {
  width: min(860px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.candidate-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.candidate-modal-header h3 {
  margin: 0;
  color: #1a6b32;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
}

.candidate-modal-close {
  border: none;
  background: #eef2f7;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.candidate-photo-preview-row {
  background: #f8f5eb;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.candidate-photo-preview {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #ffffff;
}

.candidate-photo-preview-row strong {
  display: block;
  margin-bottom: 2px;
}

.candidate-photo-preview-row p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.35;
}

.candidate-photo-upload-button {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a6b32;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.candidate-photo-upload-input {
  display: none;
}

.candidate-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.candidate-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.candidate-modal-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.candidate-modal-field-full {
  grid-column: 1 / -1;
}

.candidate-modal-field label {
  font-size: 12px;
  color: #334155;
  font-weight: 700;
}

.candidate-modal-field input {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}

.candidate-modal-field input:disabled {
  background: #f1f5f9;
  color: #64748b;
}

.candidate-modal-help {
  font-size: 12px;
  color: #92400e;
}

.candidate-modal-error {
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

.candidate-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.candidate-modal-cancel,
.candidate-modal-save {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.candidate-modal-cancel {
  background: #e2e8f0;
  color: #334155;
}

.candidate-modal-save {
  background: #1a6b32;
  color: #fff;
}

.candidate-modal-cancel:disabled,
.candidate-modal-save:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.candidate-sidebar-backdrop {
  display: none;
}

@media (max-width: 1100px) {
  .candidate-layout {
    display: block;
    height: auto;
  }

  .candidate-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1190;
  }

  .candidate-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    width: min(84vw, 320px);
    height: 100vh;
    transform: translateX(-102%);
    transition: transform 0.28s ease;
    box-shadow: 18px 0 32px rgba(0, 0, 0, 0.18);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 0;
    background: #F8F5EB;
    padding: 20px 0 16px;
    overflow: hidden;
  }

  .candidate-sidebar.mobile-open {
    transform: translateX(0);
  }

  .candidate-main {
    border-radius: 20px 20px 0 0;
    min-height: 0;
    margin-left: 0;
    height: auto;
  }

  .sidebar-logo,
  .sidebar-user-mini,
  .sidebar-bottom,
  .main-header,
  .content-grid,
  .notas-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .sidebar-nav {
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding: 0;
    gap: 5px;
  }

  .nav-item {
    width: 100%;
    border-radius: 0 18px 18px 0;
    margin-right: 20px;
  }

  .nav-item.active {
    width: calc(100% - 20px);
  }

  .sidebar-bottom {
    padding-top: 0;
  }

  .btn-yellow,
  .bottom-link {
    justify-content: center;
  }

  .content-grid,
  .notas-kpi-row,
  .status-comp-body {
    grid-template-columns: 1fr;
  }

  .status-comp-body {
    display: grid;
  }

  .status-right-column {
    display: grid;
    grid-template-columns: 1fr;
  }

  .status-cards-row,
  .evolucao-cards {
    grid-template-columns: 1fr;
  }

  .notas-header-section,
  .status-comp-header,
  .header-top,
  .duvidas-card,
  .media-final-area,
  .score-item,
  .candidate-photo-preview-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  .status-badge-container {
    align-items: flex-start;
  }

  .status-card,
  .evolucao-card,
  .candidate-photo-preview-row {
    width: 100%;
  }

  .notas-status-card {
    width: 100%;
    justify-content: flex-start;
  }

  .duvidas-card,
  .score-item,
  .media-final-area {
    gap: 14px;
  }

  .media-bar-container {
    margin: 0;
    width: 100%;
  }

  .score-info p,
  .notas-title-box p,
  .duvidas-text,
  .status-info p,
  .prep-item-text p {
    max-width: none;
  }

  .candidate-modal {
    padding: 18px;
  }

  .candidate-modal-actions {
    flex-direction: column;
  }

  .candidate-modal-cancel,
  .candidate-modal-save,
  .btn-white,
  .btn-download-notas,
  .btn-recorrer {
    width: 100%;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .header-actions {
    gap: 10px;
  }

  .status-badge-container {
    order: 2;
  }

  .bell-btn {
    order: 3;
  }

  .apresentacao-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .apresentacao-empty-state {
    padding: 40px 30px;
  }

  .apresentacao-header h2 {
    font-size: 28px;
  }

  .apresentacao-checklist {
    padding: 25px;
  }

  .checklist-item {
    padding: 16px;
    gap: 14px;
  }
}

@media (max-width: 820px) {
  .candidate-modal-grid {
    grid-template-columns: 1fr;
  }

  .candidate-modal-field-full {
    grid-column: auto;
  }

  .main-header,
  .content-grid,
  .notas-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .main-divider {
    margin: 0 18px;
  }

  .sidebar-logo,
  .sidebar-user-mini,
  .sidebar-bottom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-title-area h2 {
    font-size: 24px;
  }

  .content-grid,
  .notas-container {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .card,
  .apresentacao-card,
  .desempenho-card,
  .media-geral-card,
  .criterios-card,
  .status-card,
  .duvidas-card,
  .status-timeline-card,
  .prep-card,
  .info-card,
  .candidate-modal {
    border-radius: 16px;
  }

  .voto-popular-badge {
    position: static;
    width: fit-content;
    margin: 0 0 18px auto;
  }

  .voto-popular-badge strong {
    font-size: 28px;
  }

  .media-geral-value strong {
    font-size: 42px;
  }

  .status-comp-header,
  .notas-header-section {
    gap: 16px;
  }

  .status-comp-badge-card,
  .notas-status-card {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .sidebar-logo h1 {
    font-size: 20px;
  }

  .sidebar-bottom,
  .sidebar-logo,
  .sidebar-user-mini,
  .main-header,
  .content-grid,
  .notas-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .candidate-main {
    border-radius: 16px 16px 0 0;
  }

  .header-top {
    gap: 16px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .status-badge-container {
    flex: 1 1;
  }

  .header-title-area h2,
  .notas-title-box h3,
  .status-comp-title h2 {
    font-size: 22px;
    line-height: 1.15;
  }

  .header-title-area p,
  .notas-title-box p,
  .status-comp-title p,
  .duvidas-text p,
  .prep-item-text p,
  .score-info p,
  .status-info p,
  .candidate-photo-preview-row p {
    font-size: 13px;
  }

  .content-grid,
  .notas-container {
    gap: 18px;
  }

  .card,
  .apresentacao-card,
  .desempenho-card,
  .media-geral-card,
  .criterios-card,
  .status-card,
  .duvidas-card,
  .status-timeline-card,
  .prep-card,
  .info-card,
  .candidate-modal {
    padding: 18px;
  }

  .perfil-avatar-wrapper {
    width: 88px;
    height: 88px;
  }

  .media-final-area {
    align-items: flex-start;
  }

  .media-final-score,
  .score-value strong,
  .media-geral-value strong {
    font-size: 32px;
  }

  .score-item {
    padding-left: 12px;
  }

  .evolucao-card,
  .status-card {
    padding: 16px;
  }

  .candidate-photo-preview-row {
    text-align: left;
  }

  .candidate-photo-preview {
    width: 56px;
    height: 56px;
  }

  .candidate-modal-header h3 {
    font-size: 20px;
  }

  .candidate-modal-field input {
    font-size: 16px;
  }

  .notas-actions p,
  .duvidas-text,
  .prep-dica p,
  .status-info p {
    line-height: 1.5;
  }

  .apresentacao-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .apresentacao-header h2 {
    font-size: 24px;
  }

  .apresentacao-checklist {
    padding: 20px;
  }

  .apresentacao-info-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- MINHAS NOTAS VIEW --- */
.notas-container {
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.notas-header-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.notas-title-box {
  flex: 1 1;
}

.notas-title-box h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #1a6b32;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.notas-title-box p {
  font-size: 14px;
  color: #555;
  margin: 0;
  max-width: 480px;
  line-height: 1.5;
}

.notas-title-box p strong {
  color: #7B692A;
}

.notas-status-card {
  background-color: #e5e2d6;
  border-radius: 8px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 4px solid #1a6b32;
}

.status-icon {
  background: #1355a6;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-text {
  display: flex;
  flex-direction: column;
}

.status-text span {
  font-size: 10px;
  font-weight: 700;
  color: #666;
  letter-spacing: 0.5px;
}

.status-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #1a6b32;
}

.notas-kpi-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-gap: 20px;
  gap: 20px;
}

.media-geral-card {
  background-color: #0d5c19;
  border-radius: 12px;
  padding: 25px;
  color: white;
  position: relative;
  overflow: hidden;
}

.media-geral-header {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.media-geral-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 10px;
}

.media-geral-value strong {
  font-family: 'Outfit', sans-serif;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}

.media-geral-value span {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.8;
}

.media-geral-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 15px;
}

.media-geral-desc {
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.9;
}

.media-geral-decor {
  position: absolute;
  right: -10px;
  top: 10px;
  font-size: 140px;
  color: rgba(0,0,0,0.1);
  line-height: 1;
  font-family: serif;
}

.criterios-card {
  background-color: #Eeeadd;
  border-radius: 12px;
  padding: 25px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.criterios-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #333;
  margin: 0;
}

.criterio-bar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.criterio-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.criterio-bar-label span {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.criterio-bar-label strong {
  font-size: 14px;
  font-weight: 800;
  color: #1a6b32;
}

.criterio-bar-bg {
  background-color: #dcd8ca;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.criterio-bar-fill {
  height: 100%;
}

.criterio-bar-fill.green { background-color: #1a6b32; }
.criterio-bar-fill.olive { background-color: #7B692A; }
.criterio-bar-fill.blue { background-color: #1355a6; }

.evolucao-section h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #333;
  margin: 0 0 20px 0;
}

.evolucao-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
}

.evolucao-card {
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.evolucao-card.grey { background-color: #e8e3d5; }
.evolucao-card.green { background-color: #e5ecd6; border: 1px solid #c2d6a5; }

.evolucao-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.evolucao-card.grey .evolucao-icon { background: #dcd8cb; color: #666; }
.evolucao-card.green .evolucao-icon { background: #d1ead8; color: #1a6b32; }

.evolucao-info { flex: 1 1; }

.evolucao-info h5 {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin: 0 0 2px 0;
}

.evolucao-info p {
  font-size: 11px;
  color: #666;
  margin: 0;
}

.evolucao-score {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #666;
}

.evolucao-card.green .evolucao-score { color: #1a6b32; }

.comentarios-section h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #333;
  margin: 0 0 20px 0;
}

.comentarios-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comentario-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.comentario-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.comentario-badge.olive { background-color: #7B692A; }
.comentario-badge.blue { background-color: #1355a6; }

.jurado-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comentario-body {
  flex: 1 1;
}

.comentario-body p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin: 0 0 15px 0;
}

.comentario-author {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comentario-author.olive { color: #7B692A; }
.comentario-author.blue { color: #1355a6; }

.notas-actions {
  text-align: center;
  padding: 20px 0 40px;
}

.notas-actions p {
  font-size: 12px;
  color: #666;
  margin: 0 auto 20px auto;
  max-width: 400px;
  line-height: 1.5;
}

.notas-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-download-notas {
  background-color: #0d5c19;
  color: white;
  border: none;
  font-weight: 700;
  font-size: 13px;
  padding: 14px 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-download-notas:hover {
  background-color: #145928;
}

.btn-recorrer {
  background-color: #dcd8ca;
  color: #333;
  border: none;
  font-weight: 700;
  font-size: 13px;
  padding: 14px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-recorrer:hover {
  background-color: #cecabf;
}

/* --- STATUS COMPETICAO VIEW --- */
.status-comp-container {
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.status-comp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.status-comp-title {
  flex: 1 1;
}

.status-comp-title h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #1a6b32;
  margin: 0 0 10px 0;
}

.status-comp-title p {
  font-size: 14px;
  color: #555;
  margin: 0;
  max-width: 480px;
  line-height: 1.5;
}

.status-comp-badge-card {
  background-color: #e8ecd7;
  border-radius: 8px;
  padding: 15px 25px 15px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 4px solid #1a6b32;
}

.badge-icon {
  background: #c3d6c7;
  color: #1a6b32;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-info span {
  font-size: 10px;
  font-weight: 700;
  color: #666;
  letter-spacing: 0.5px;
}

.badge-info strong {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #1a6b32;
}

.status-comp-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-gap: 30px;
  gap: 30px;
}

/* Timeline Left Column */
.status-timeline-card {
  background-color: #Eeeadd;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.timeline-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #333;
  margin: 0;
}

.timeline-container {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 15px;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 20px;
}

.timeline-marker {
  position: absolute;
  left: -15px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-marker.concluded {
  background-color: #1a6b32;
  color: white;
  border: 4px solid #c2d6a5;
  left: -19px;
  width: 32px;
  height: 32px;
}

.timeline-marker.next {
  background-color: #dcd8ca;
  color: #888;
  border: 2px solid #888;
  left: -15px;
}

.timeline-content {
  flex: 1 1;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  position: relative;
}

.timeline-content.concluded-card {
  background-color: #e5ead8;
  border: 1px solid #c2d6a5;
}

.timeline-content.next-card {
  background-color: white;
  border: 1px dashed #aaa;
}

.timeline-line {
  position: absolute;
  left: 0;
  top: 30px;
  bottom: 0px;
  width: 2px;
  background-color: #b3c2a6;
  z-index: 1;
  height: calc(100% - 30px);
}

.timeline-line-bottom {
  position: absolute;
  left: 0;
  top: 40px; /* start below second marker roughly */
  height: 60px;
  width: 2px;
  background-color: #aaa;
  z-index: 1;
}

.timeline-item:last-child .timeline-content {
  margin-bottom: 0;
}

.step-status {
  font-size: 9px;
  font-weight: 800;
  color: #1a6b32;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  display: block;
}

.step-status.next-status {
  color: #888;
}

.timeline-content h4 {
  font-size: 16px;
  font-weight: 800;
  color: #333;
  margin: 0 0 8px 0;
}

.timeline-content.next-card h4 {
  font-size: 18px;
}

.timeline-content p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.step-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #1a6b32;
}

.step-date.next-date {
  color: #7B692A;
}


/* Right Area Card */
.status-right-column {
  display: flex;
  flex-direction: column;
}

.prep-card {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.prep-hero {
  height: 180px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.prep-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.prep-hero h3 {
  position: relative;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.prep-content {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  gap: 30px;
}

.prep-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.prep-item-icon {
  width: 40px;
  height: 40px;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.prep-item-icon > svg {
  transform: rotate(-45deg);
}

.prep-item-icon.olive { background: #7B692A; color: white;}
.prep-item-icon.green { background: #1a6b32; color: white;}

.prep-item-text h4 {
  font-size: 16px;
  font-weight: 800;
  color: #333;
  margin: 0 0 10px 0;
}

.prep-item-text p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.prep-dica {
  margin-top: 15px;
  padding: 15px;
  border: 1px dashed #b3c2a6;
  border-radius: 8px;
  background-color: #fcfcf9;
}

.prep-dica span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #7B692A;
  margin-bottom: 5px;
}

.prep-dica p {
  font-style: italic;
  font-size: 12px;
  color: #666;
  margin: 0;
}

/* New Prep Hero Standalone */
.prep-hero-standalone {
  height: 160px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 30px;
  overflow: hidden;
}

.prep-hero-standalone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.prep-hero-standalone h3 {
  position: relative;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin: 0;
}

/* Prep Items Grid */
.prep-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 30px;
}

.prep-item-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.prep-item-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.prep-item-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: white;
}

.prep-item-card-icon.olive {
  background: linear-gradient(135deg, #7B692A, #9d8b42);
}

.prep-item-card-icon.green {
  background: linear-gradient(135deg, #1a6b32, #248040);
}

.prep-item-card-body {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

.prep-item-card-body h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #333;
  margin: 0 0 10px 0;
}

.prep-item-card-body p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Prep Session Info */
.prep-session-info {
  background: linear-gradient(135deg, #f8f5eb, #efe9d8);
  border-left: 4px solid #1a6b32;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.prep-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.prep-info-header span {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #1a6b32;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prep-info-header svg {
  color: #1a6b32;
}

.prep-info-datetime {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px 0;
}

.prep-info-status {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Bottom Row */
.status-bottom-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  gap: 20px;
}

.info-card {
  padding: 25px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #333;
}

.info-card.blue-card {
  background-color: #8db1ff;
  color: #113271;
}

.info-card.yellow-card {
  background-color: #FFDE00;
  color: #4a4100;
}

.info-card.beige-card {
  background-color: #e8e3d5;
  color: #444;
}

.card-lbl {
  font-size: 10px;
  font-weight: 800;
  margin-top: auto;
  letter-spacing: 0.5px;
}

.card-val {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

/* --- APRESENTAÇÃO VIEW --- */
.apresentacao-container {
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.apresentacao-header {
  margin-bottom: 20px;
}

.apresentacao-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #1a6b32;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.apresentacao-header p {
  font-size: 14px;
  color: #555;
  margin: 0;
  max-width: 600px;
}

.apresentacao-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.apresentacao-empty-state {
  background: linear-gradient(135deg, #f8f5eb, #efe9d8);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  border: 2px dashed #d1ead8;
}

.empty-state-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #1a6b32;
  opacity: 0.6;
}

.apresentacao-empty-state h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1a6b32;
  margin: 0 0 12px 0;
}

.apresentacao-empty-state p {
  font-size: 15px;
  color: #666;
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.empty-state-info {
  font-size: 13px;
  color: #888;
  font-style: italic;
  margin-top: 16px !important;
}

.apresentacao-checklist {
  background-color: white;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.apresentacao-checklist h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #333;
  margin: 0 0 25px 0;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checklist-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  background-color: #f8f5eb;
  border-radius: 12px;
  border-left: 4px solid #1a6b32;
}

.checklist-checkbox {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a6b32, #248040);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checklist-text {
  flex: 1 1;
}

.checklist-text span {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #333;
  margin-bottom: 6px;
}

.checklist-text p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.apresentacao-info-card {
  background: linear-gradient(135deg, #e8f5ed, #d1ead8);
  border-left: 4px solid #1a6b32;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-card-icon {
  color: #1a6b32;
  flex-shrink: 0;
}

.info-card-content h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #1a6b32;
  margin: 0 0 8px 0;
}

.info-card-content p {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* Keep Minhas Notas stacked on smaller screens.
   These rules are intentionally placed at the end so they win the cascade. */
@media (max-width: 1100px) {
  .notas-header-section {
    flex-direction: column;
    align-items: stretch;
  }

  .notas-kpi-row,
  .evolucao-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .notas-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .notas-status-card,
  .media-geral-card,
  .criterios-card,
  .evolucao-card,
  .comentario-card {
    width: 100%;
  }

  /* Status Competição responsive fixes */
  .status-comp-container {
    padding: 20px 24px;
  }

  .status-comp-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .status-timeline-card,
  .prep-card,
  .status-bottom-cards {
    width: 100%;
  }

  .prep-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .prep-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .prep-item-card {
    padding: 20px;
  }

  .prep-item-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }

  .prep-item-card-body h4 {
    font-size: 15px;
  }

  .status-bottom-cards {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 20px;
  }

  .prep-hero {
    height: 150px;
  }

  .prep-hero h3 {
    font-size: 26px;
  }

  .prep-hero-standalone {
    height: 140px;
    margin-bottom: 24px;
  }

  .prep-hero-standalone h3 {
    font-size: 24px;
  }

  .prep-session-info {
    padding: 20px;
  }
}

@media (max-width: 820px) {
  .status-comp-container {
    padding: 18px 18px;
  }

  .status-comp-title h2 {
    font-size: 28px;
  }

  .timeline-header h3 {
    font-size: 16px;
  }

  .prep-item-text h4 {
    font-size: 15px;
  }

  .prep-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .prep-item-card {
    padding: 18px;
  }

  .prep-item-card-body h4 {
    font-size: 14px;
  }

  .prep-hero-standalone {
    height: 140px;
    margin-bottom: 24px;
  }

  .prep-hero-standalone h3 {
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  .status-comp-container {
    padding: 16px 16px;
  }

  .status-comp-title h2 {
    font-size: 22px;
    line-height: 1.15;
  }

  .status-comp-badge-card {
    width: 100%;
  }

  .timeline-container {
    padding-left: 0;
  }

  .timeline-marker {
    left: -12px;
  }

  .timeline-marker.concluded {
    left: -16px;
  }

  .timeline-content {
    padding: 12px 16px;
    margin-bottom: 20px;
  }

  .timeline-content h4 {
    font-size: 15px;
  }

  .timeline-content p {
    font-size: 12px;
  }

  .prep-content {
    padding: 16px;
  }

  .prep-item-text h4 {
    font-size: 14px;
  }

  .prep-item-text p,
  .prep-dica p {
    font-size: 12px;
  }

  .prep-dica {
    padding: 12px;
    margin-top: 12px;
  }

  .info-card {
    padding: 16px;
  }

  .card-val {
    font-size: 18px;
  }

  .card-lbl {
    font-size: 9px;
  }

  .prep-items-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .prep-item-card {
    padding: 18px;
  }

  .prep-item-card-icon {
    width: 44px;
    height: 44px;
  }

  .prep-item-card-body h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .prep-item-card-body p {
    font-size: 12px;
  }

  .prep-hero-standalone {
    height: 130px;
    margin-bottom: 20px;
  }

  .prep-hero-standalone h3 {
    font-size: 20px;
  }

  .prep-session-info {
    padding: 18px;
    margin-top: 20px;
  }

  .prep-info-header {
    gap: 8px;
    margin-bottom: 12px;
  }

  .prep-info-header span {
    font-size: 12px;
  }

  .prep-info-datetime {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .prep-info-status {
    font-size: 12px;
  }

  .apresentacao-container {
    padding-left: 16px;
    padding-right: 16px;
    gap: 20px;
  }

  .apresentacao-header h2 {
    font-size: 22px;
    line-height: 1.15;
  }

  .apresentacao-header p {
    font-size: 13px;
  }

  .apresentacao-empty-state {
    padding: 35px 20px;
    border-radius: 12px;
  }

  .empty-state-icon {
    margin-bottom: 16px;
  }

  .empty-state-icon svg {
    width: 48px;
    height: 48px;
  }

  .apresentacao-empty-state h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .apresentacao-empty-state p,
  .empty-state-info {
    font-size: 12px;
  }

  .apresentacao-checklist {
    padding: 18px;
  }

  .apresentacao-checklist h4 {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .checklist-items {
    gap: 14px;
  }

  .checklist-item {
    padding: 14px;
    gap: 12px;
    border-radius: 10px;
  }

  .checklist-checkbox {
    width: 36px;
    height: 36px;
  }

  .checklist-text span {
    font-size: 13px;
  }

  .checklist-text p {
    font-size: 12px;
  }

  .apresentacao-info-card {
    padding: 18px;
    border-radius: 10px;
    gap: 14px;
  }

  .info-card-icon {
    width: 32px;
    min-width: 32px;
  }

  .info-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .info-card-content h5 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .info-card-content p {
    font-size: 12px;
  }
}


/*# sourceMappingURL=main.65553f27.css.map*/