@import url(https://fonts.googleapis.com/css?family=Montserrat:400,800);

@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);
  }
}
.login-festival-container {
  display: flex;
  flex-direction: column;
  justify-content: center; /* ALINHAR VERTICALMENTE */
  align-items: center;
  height: 100dvh; /* 100% da área visível de verdade */
  background-color: #1C001F;
  background-image: url(/static/media/bg-festival.e1239da7e4c0794cf135.png);
  background-repeat: no-repeat;
  background-size: cover; /* Preenche toda a área */
  background-position: center;
  overflow: hidden; /* Garante que nada estoure a tela */
}

  
.login-festival-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 850px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  gap: 1rem;

  /* CENTRALIZAÇÃO */
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}


  
  .left-column2,
  .right-column2 {
    flex: 1 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .left-column2 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .right-column-content {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .login-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .login-form button {
    width: 100%;
    padding: 0.75rem;
    background-color: #8805bc;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .login-form button:hover {
    background-color: #7203a3;
  }
  
  .signup-text {
    margin-top: 1rem;
    font-size: 0.9rem;
  }
  
  .footer-festival {
    margin-top: auto;
    text-align: center;
    padding: 0;
  }
  
  .footer-festival-logo img {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .cactus-img {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
  }
  
  .cacto-direita,
  .cacto-esquerda {
    height: auto;
  }
  
  .footer-festival-content {
    margin-top: 1rem;
    font-size: 0.85rem;
  }
  
  .footer-festival-content a {
    color: #ffffff;
    text-decoration: underline;
  }

  .link-button {
    background: none;
    border: none;
    color: #8805bc;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
  }
  

/* =================== RESPONSIVIDADE =================== */


/* Telas grandes (desktops) */
@media (min-width: 1200px) {
  .login-festival-container {
    padding: 0rem; /* Respira melhor nas beiradas */
  }

  .login-festival-content {
    gap: 3rem;
  }

  .left-column2 img {
    max-width: 100%;
    height: auto;
  }

  .right-column2 {
    padding-right: 3rem;
  }

  .right-column-content {
    max-width: 400px;
  }

  .login-form input,
  .login-form button {
    font-size: 1.2rem;
    padding: 1rem;
  }

  .signup-text {
    font-size: 1.1rem;
  }

  .footer-festival {
    width: 100%;
  }
}

/* Telas menores que 768px (tablets pequenos e celulares) */
@media (max-width: 768px) {
  .login-festival-content {
    flex-direction: column; /* Empilha as colunas */
    padding: 0;
    gap: 2rem;
    margin-top: 5rem;
  }

  .left-column2,
  .right-column2 {
    width: 100%;
    flex: none; /* Impede esticamento forçado */
  }

  .left-column2 img {
    max-width: 80%;
    height: auto;
  }

  .right-column-content {
    max-width: 100%;
  }

  .login-form input,
  .login-form button {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .signup-text {
    font-size: 0.85rem;
  }

  .cactus-img {
    flex-direction: column;
    gap: 1rem;
    display: none;
  }

  .cacto-direita,
  .cacto-esquerda {
    width: 60px;
  }
  .cacto-esquerda2 {
    margin-left: -50% !important;
    transform: translateX(-100%);
  }
}

/* Telas muito pequenas (até 480px) */
@media (max-width: 480px) {
  .login-festival-container {
    padding: 0rem; /* Respira melhor nas beiradas */
  }

  .login-festival-content {
    padding: 1rem;
    margin-top: 5rem;
  }

  .left-column2 img {
    max-width: 60%;
  }

  .login-form input,
  .login-form button {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .signup-text {
    font-size: 0.8rem;
  }

  .footer-festival-content {
    font-size: 0.75rem;
  }

  .cactus-img {
    width: 100%;
    display: none;
  }


  .cacto-esquerda2 {
    margin-left: -50% !important;
    transform: translateX(-100%);
  }

  .footer-festival-logo img {
    max-width: 100%;
  }
}

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

/* Reset básico */
* {
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.inscricao-festival {
  background: #1C001F;
  color: #fff;
  overflow-x: hidden;
}

/* === HERO SECTION === */
.hero-section {
  background: url(/static/media/bg-festival.e1239da7e4c0794cf135.png) no-repeat center center/cover;
  padding: 100px 200px 400px 100px;
  text-align: center;
  position: relative;
}

.logo-title {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 30%;
}

.logo-title img {
    width: 500px;
    max-width: 100%;
    height: auto;
}

.logo-title h1 {
  font-size: 64px;
  font-family: 'sanlouis', serif;
  font-weight: 100;
  color: #f2e0aa;
  text-shadow: 2px 2px 10px #000;
}

.logo-title span {
  display: block;
  font-size: 32px;
  margin-top: -20px;
  color: #fff;
}

.logo-title p {
  font-size: 18px;
  font-family: 'A750', serif;
  font-weight: 300;
  color: #E8CDB4;
  max-width: 400px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.btn-inscreva {
  padding: 12px 32px;
  border: 2px solid;
  border-image: linear-gradient(0deg, #B00B39, #6D1137) 1;
  border-radius: 10px;
  background: transparent;
  color: #f2e0aa;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  animation: alternate 2s infinite;
  display: inline-block;
  display: block;
  margin: 30px auto 0 auto;
} 


.btn-inscreva:hover, .btn-inscreva-mid:hover {
  background: linear-gradient(to top, #B00B39, #6D1137);
  color: #f2e0aa;
}

/* === MID SECTION === */
.mid-section {
  display: flex;
  flex-wrap: wrap;
  padding: 80px 20px;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.mid-left {
  display: flex;
  gap: 20px;
  width: 400px;
  height: 300px;
}

.mid-left img {
  width: 100%;
  border-radius: 12px;
}

.video-thumb {
  width: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
}

.mid-right {
  max-width: 400px;
}

.mid-right h2 {
  font-size: 28px;
  color: #f2e0aa;
  margin-bottom: 10px;
  text-align: center;
}

.mid-right p {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.mid-right p i {
  font-style: italic;
  font-weight: 100;
}

.btn-inscreva-mid {
  padding: 12px 32px;
  border: 2px solid;
  border-image: linear-gradient(0deg, #E8CBB3, #785f4a) 1;
  border-radius: 10px;
  background: transparent;
  color: #f2e0aa;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  animation: alternate 2s infinite;
  display: inline-block;
}

.btn-inscreva-mid:hover {
  background: linear-gradient(to top, #E8CBB3, #785f4a);
  color: #1C001F;
}

.mid-right .btn-inscreva-mid {
  display: block;
  margin: 24px auto 0 auto;
} 

/* === PREMIAÇÃO === */

.premiacao-section {
  text-align: center;
  padding:100px 20px 50px 20px;
  position: relative; /* Importante */
  z-index: 0;
  overflow: hidden;
}

.smoke-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: 100%;
  max-width: 1300px;
  pointer-events: none;
}

.smoke-bg img {
  width: 100%;
  display: block;
}

.trofeus {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: relative;
  z-index: 1; /* Para ficar acima da smoke-bg */
}

.premiacao-section h4 {
  font-size: 24px;
  color: #CDAFA1;
  font-weight: 100;
  margin-bottom: 10px;
  margin-top: 50px;
  text-align: center;
}

.premiacao-section p {
  width: 80%;
}

.premiacao-title {
  position: relative;
  z-index: 2;
}

.premiacao-title img {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 600px;
  padding-bottom: 50px;
}


.trofeu1 {
  width: 300px;
  height: auto;
}

.trofeu2 {
  width: 200px;
  height: auto;
}



.premiacao-section p {
  max-width: 600px;
  font-family: 'A750', serif;
  font-weight: 200;
  color: #CDAFA1;
  margin: 0 auto;
  font-size: 19px;
}

/* === FORMULÁRIO === */
.formulario-section {
  padding:0 20px 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.campos-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 1020px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.form-row input {
  flex: 1 1;
  min-width: 300px;
  max-width: 100%;
  padding: 16px 20px;
  background: #d2ac64;
  color: #1F0021;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

.form-row input::placeholder {
  color: #1F0021;
  font-weight: 600;
}

.form-row input[type="file"] {
  color: #1F0021;
  font-weight: normal;
  background: #d2ac64;
  padding: 14px;
  cursor: pointer;
}

/* Foto e vídeo com preview */
.file-input-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1;
  min-width: 300px;
  max-width: 100%;
}

.preview-img {
  margin-top: 10px;
  max-width: 100%;
  max-height: 160px;
  border-radius: 8px;
  object-fit: cover;
}

.preview-nome {
  margin-top: 10px;
  color: #f2e0aa;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

/* Botão */
.formulario-section button {
  margin-top: 20px;
  background: #f2e0aa;
  color: #1F0021;
  font-weight: bold;
  font-size: 16px;
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.formulario-section button:hover {
  background: #fff1c2;
}

.file-card {
  background: #f7e0b7;
  border-radius: 16px;
  padding: 20px;
  width: 420px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.file-card:hover {
  transform: scale(1.02);
}

.file-preview {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.file-card input[type="file"] {
  display: none;
}

.placeholder-icon {
  width: 64px;
  height: 64px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.preview-nome {
  font-size: 13px;
  color: #6a4c2d;
  font-weight: 600;
  text-align: center;
  word-break: break-word;
  max-width: 90%;
}



/* === FOOTER === */
footer {
  background-color: #741238;
  padding: 30px 0;
  text-align: center;
  font-size: 18px;
  font-family: 'Playfair Display', serif;
  color: #fff;
  border-top: 2px solid gradient(0deg, #ffffff, #6D1137);
}



/* Responsividade para InscricaoFestival.jsx */

/* --- HERO SECTION --- */
@media (max-width: 1200px) {
  .hero-section {
    padding: 60px 10vw 200px 10vw;
  }
  .logo-title {
    width: 60%;
  }
}

@media (max-width: 900px) {
  .hero-section {
    padding: 40px 5vw 120px 5vw;
  }
  .logo-title {
    width: 90%;
    margin: 0 auto;
  }
  .logo-title img {
    width: 90vw;
    max-width: 350px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 30px 2vw 60px 2vw;
    background: url(/static/media/bg-festival-mobile.bed68082d78b711b7902.png) no-repeat top center/cover;
  }
  .logo-title img {
    width: 100%;
    max-width: 250px;
    margin-left: 30px;
  }
  .logo-title p {
    font-size: 15px;
    max-width: 95vw;
    text-align: center;
  }
  .btn-inscreva {
    font-size: 15px;
    padding: 10px 18px;
  }
}

/* --- MID SECTION --- */
@media (max-width: 900px) {
  .mid-section {
    flex-direction: column;
    gap: 34px;
    padding: 40px 5vw;
  }
  .mid-left, .mid-right {
    width: 100%;
    max-width: 400px;
    margin: 30px 0 auto;
  }
}

@media (max-width: 600px) {
  .mid-section {
    padding: 20px 2vw;
    gap: 16px;
  }
  .mid-left {
    height: auto;
    min-width: 0;
    width: 100%;
  }
  .mid-left img {
    border-radius: 8px;
    padding-right: 30px;
  }
  .mid-right h2 {
    font-size: 32px;
    color: #E7CBB5;
    text-align: center;
  }
  .mid-right p {
    font-size: 16px;
    width: 85%;
    margin: 0 auto;
  }

  .mid-section .btn-inscreva {
    display: block;
    margin: 20px auto;
  }
}

/* --- PREMIAÇÃO --- */
@media (max-width: 900px) {
  .premiacao-section {
    padding: 60px 5vw;
  }
  .premiacao-title img {
    max-width: 350px;
    padding-bottom: 20px;
  }
  .trofeus {
    gap: 10px;
  }
  .trofeu1 {
    width: 200px;
  }

  .trofeu2 {
    width: 150px;
  }
  .premiacao-section p {
    font-size: 16px;
    max-width: 95vw;
  }
}

@media (max-width: 600px) {
  .premiacao-section {
    padding: 30px 2vw;
  }
  .premiacao-title img {
    max-width: 320px;
    padding-bottom: 10px;
  }
  .trofeus {
    gap: 10px;
  }
  .trofeu1, .trofeu2 {
    width: 110px;
  }
  .trofeu2 {
    filter: blur(1.2px);
  }
  .smoke-bg {
    top: 60%;
  }
  .premiacao-section p {
    font-size: 13px;
  }
}

@media (max-width: 500px) {
  .trofeu1 {
    width: 100px;
  }

  .trofeu2 {
    width: 80px;
  }
  
}

/* --- FORMULÁRIO --- */
@media (max-width: 1020px) {
  .campos-form {
    max-width: 98vw;
  }
}

@media (max-width: 900px) {
  .formulario-section {
    padding: 40px 5vw;
    gap: 16px;
  }
  .campos-form {
    gap: 16px;
  }
  .form-row {
    gap: 12px;
  }
  .form-row input {
    min-width: 180px;
    padding: 12px 10px;
    font-size: 15px;
  }
  .file-card {
    width: 100%;
    max-width: 320px;
    height: 180px;
    padding: 12px;
  }
  .preview-img {
    max-height: 100px;
  }
}

@media (max-width: 600px) {
  .formulario-section {
    padding: 20px 8vw;
    gap: 10px;
  }
  .campos-form {
    gap: 10px;
  }
  .form-row {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .form-row input {
    min-width: 0;
    width: 100%;
    padding: 15px 8px;
    font-size: 14px;
  }
  .file-card {
    width: 100%;
    max-width: 98vw;
    height: 120px;
    padding: 8px;
  }
  .preview-img {
    max-height: 60px;
  }
  .preview-nome {
    font-size: 12px;
  }
  .formulario-section button {
    font-size: 14px;
    padding: 10px 16px;
  }
}

/* --- FOOTER --- */
@media (max-width: 900px) {
  footer img {
    max-width: 70vw;
  }
  footer {
    font-size: 15px;
    padding: 18px 0;
  }
}

@media (max-width: 600px) {
  footer img {
    max-width: 58vw;
  }
  footer {
    font-size: 13px;
    padding: 10px 0;
  }
}

/* --- Toast responsivo --- */
@media (max-width: 600px) {
  .Toastify__toast-container {
    width: 98vw !important;
    left: 1vw !important;
    right: 1vw !important;
    font-size: 14px !important;
  }
}
  .sidebar-festival {
    width: 250px;
    height: 100%;
    background-color: #5b4f8c;
    color: white;
    position: fixed;
    padding: 20px;
  }

  .sidebar-festival ul {
    list-style: none;
    padding: 0;
  }

  .sidebar-festival li {
    margin-bottom: 15px;
    cursor: pointer;
    font-weight: bold;
  }
  
  .sidebar-festival li:hover {
    text-decoration: underline;
  }
  
  .rafael {
    width: 100%;
    height: auto;
    margin: 90px 0 50px 0;
    border-radius: 10px;
    color: #f2ea0c;
    cursor: none;
  }
.controle-jurados {
  padding: 2rem;
  color: #333;
}

.lista-jurados {
  list-style: none;
  padding: 0;
}

.lista-jurados li {
  background: #f4f4f4;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-editar {
  background-color: #5b4f8c;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-editar:hover {
  background-color: #473e70;
}

/* ===== MODAL ===== */
.modal-overlay {
  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-editar-jurado {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-editar-jurado h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.modal-editar-jurado form {
  display: flex;
  flex-direction: column;
}

.modal-editar-jurado input,
.modal-editar-jurado textarea {
  margin-bottom: 1rem;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.modal-editar-jurado label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.botoes-modal {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.botoes-modal button {
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.botoes-modal button[type="submit"] {
  background-color: #4caf50;
  color: white;
}

.botoes-modal button[type="button"] {
  background-color: #d9534f;
  color: white;
}

.controle-etapas {
  padding: 2rem;
}

.controle-etapas h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #243066;
}

.lista-etapas {
  list-style: none;
  padding: 0;
}

.lista-etapas li {
  background-color: #fff4cc;
  border-left: 5px solid #f5b700;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lista-etapas li button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

.lista-etapas li button:hover {
  background-color: #3e8e41;
}


.etapa-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fafafa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.botao-status {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.botao-status.liberar {
  background-color: #2ecc71;
  color: white;
}

.botao-status.encerrar {
  background-color: #e74c3c;
  color: white;
}

/* ===== Base (gradiente animado do protótipo) ===== */
.cand-page {
  min-height: 100vh;
  padding: 24px;
  color: #e0e0e0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background: linear-gradient(135deg, #3d1b63, #6d28d9, #4c1d95, #130a21);
  background-size: 400% 400%;
  animation: candGradient 15s ease infinite;
}
@keyframes candGradient {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}

/* ===== Glassmorphism container ===== */
.glass {
  background: rgba(110, 60, 180, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(110, 60, 180, 0.18);
  border-radius: 14px;
}

/* ===== Filtros ===== */
.cand-filters {
  position: sticky;
  top: 16px;
  z-index: 10;
  margin: 0 auto 28px auto;
  max-width: 1100px;
  padding: 16px;
  background: rgba(76, 29, 149, 0.13);
  border-radius: 14px;
}

.filters-grid {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  grid-template-columns: 1fr 220px 220px 1fr;
  align-items: center;
}
@media (max-width: 960px) {
  .filters-grid {
    grid-template-columns: 1fr;
  }
}

/* Busca */
.input-text {
  position: relative;
}
.input-text input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border-radius: 10px;
  border: 1px solid #6d28d9;
  background: rgba(76, 29, 149, 0.18);
  color: #fff;
  outline: none;
}
.input-text input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
}
.icon-search {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .7;
  font-size: 14px;
  color: #a78bfa;
}

/* Selects */
.select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #6d28d9;
  background: rgba(76, 29, 149, 0.18);
  color: #fff;
  outline: none;
}
.select:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168,85,247,.25);
}

/* Total chip */
.total-chip {
  justify-self: end;
  background: #7c3aed;
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  text-align: center;
  border: 1.5px solid #a78bfa;
}
@media (max-width: 960px) {
  .total-chip { justify-self: stretch }
}

/* ===== Grid de cards ===== */
.cand-grid {
  display: grid;
  grid-column-gap: 18px;
  grid-row-gap: 20px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 50px;
}
@media (max-width: 1280px) { .cand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .cand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .cand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .cand-grid { grid-template-columns: 1fr; } }

/* Card */
.cand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 16px;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  border-color: #a78bfa;
  background: rgba(76, 29, 149, 0.18);
  box-shadow: 0 2px 16px 0 rgba(124, 58, 237, 0.10);
}
.cand-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(124, 58, 237, .18);
  border-color: #c4b5fd;
}

/* Badge etapa */
.badge {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: #6d28d9;
  color: #fff;
  border: 1.5px solid #a78bfa;
}
.badge--eliminado { background: #a21caf !important; }
.badge--final     { background: #7c3aed !important; }
.badge--primeira  { background: #818cf8 !important; }

/* Avatar */
.avatar-wrap {
  width: 84px;
  height: 84px;
  margin-bottom: 10px;
}
.avatar-ver {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #a78bfa;
  background: #4c1d95;
}
.avatar--noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  background: #4c1d95;
  border: 2px solid #a78bfa;
  color: #fff;
}

/* Nome */
.cand-name {
  font-weight: 700;
  margin: 6px 0 10px 0;
  color: #fff;
  font-size: 16px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-wrap: balance;
}

/* Botão */
.btn-profile {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #7c3aed;
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .15s ease, transform .06s ease;
}
.btn-profile:hover { background: #6d28d9; }
.btn-profile:active { transform: translateY(1px); }

/* Footer fix */
.cand-footer { margin-top: 32px; }

/* ===== CandidatosFestivalDeMusica custom styles ===== */

.candidatos-festival-container {
  max-width: 1300px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.candidatos-festival-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  background: rgba(76, 29, 149, 0.13);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 36px;
  box-shadow: 0 2px 16px 0 rgba(124,58,237,0.08);
}

.candidatos-festival-input-group {
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
  margin-right: 12px;
}
.candidatos-festival-input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border-radius: 10px;
  border: 1px solid #6d28d9;
  background: rgba(76, 29, 149, 0.18);
  color: #fff;
  outline: none;
  font-size: 1rem;
}
.candidatos-festival-input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
}
.candidatos-festival-label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #bdb6d6;
  font-size: 0.98rem;
  pointer-events: none;
  opacity: 0.7;
}

.candidatos-festival-select {
  min-width: 170px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #6d28d9;
  background: rgba(76, 29, 149, 0.18);
  color: #fff;
  outline: none;
  font-size: 1rem;
}
.candidatos-festival-select:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168,85,247,.25);
}

.candidatos-festival-contador {
  background: #7c3aed;
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 1.08rem;
  margin-left: auto;
  border: 1.5px solid #a78bfa;
}

@media (max-width: 900px) {
  .candidatos-festival-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 8px;
  }
  .candidatos-festival-input-group {
    margin-right: 0;
  }
  .candidatos-festival-contador {
    margin-left: 0;
    margin-top: 6px;
  }
}

/* ===== Grid de cards ===== */
.candidatos-festival-grid {
  display: grid;
  grid-gap: 28px;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-items: center;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
}

.candidatos-festival-card {
  background: rgba(76, 29, 149, 0.18);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(124,58,237,0.10);
  border: 1.5px solid #a78bfa;
  min-width: 240px;
  max-width: 320px;
  width: 100%;
  min-height: 340px;
  margin: 0 auto;
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow .18s, transform .18s;
  position: relative;
}

.candidatos-festival-card:hover {
  box-shadow: 0 6px 32px 0 rgba(124,58,237,0.18);
  transform: translateY(-4px) scale(1.02);
}

.candidatos-festival-card.nao-aptos {
  opacity: 0.5;
  pointer-events: none;
}

/* Selo/Badge da etapa */
.candidatos-festival-selo-etapa {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: #6d28d9;
  color: #fff;
  letter-spacing: 0.02em;
  border: 1.5px solid #a78bfa;
}
.candidatos-festival-selo-etapa.eliminado { background: #a21caf !important; }
.candidatos-festival-selo-etapa.final { background: #7c3aed !important; }
.candidatos-festival-selo-etapa.primeira { background: #818cf8 !important; }

/* Imagem do candidato */
.candidatos-festival-imagem {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.candidatos-festival-imagem img {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  border: 2.5px solid #a78bfa;
  background: #4c1d95;
}
.candidatos-festival-sem-foto {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: #4c1d95;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 26px;
  border: 2.5px solid #a78bfa;
}

/* Rodapé do card */
.candidatos-festival-rodape {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.candidatos-festival-nome {
  font-weight: 700;
  font-size: 18px;
  min-height: 44px;
  margin-bottom: 12px;
  color: #fff;
  text-align: center;
  word-break: break-word;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
}
.candidatos-festival-botoes {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
}
.candidatos-festival-botao {
  flex: 1 1;
  padding: 12px 0;
  border-radius: 10px;
  background: #7c3aed;
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1.08rem;
  transition: background .15s ease, transform .06s ease;
}
.candidatos-festival-botao:hover { background: #6d28d9; }
.candidatos-festival-botao:active { transform: translateY(1px); }

@media (max-width: 900px) {
  .candidatos-festival-grid {
    gap: 18px;
    max-width: 98vw;
  }
  .candidatos-festival-card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 8px 12px 8px;
  }
  .candidatos-festival-imagem,
  .candidatos-festival-imagem img,
  .candidatos-festival-sem-foto {
    width: 80px;
    height: 80px;
    font-size: 20px;
  }
  .candidatos-festival-nome {
    font-size: 16px;
    min-height: 38px;
    margin-bottom: 8px;
  }
  .candidatos-festival-botao {
    padding: 10px 0;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .candidatos-festival-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 12px;
  }
  .candidatos-festival-card {
    padding: 12px 4px 8px 4px;
    border-radius: 10px;
  }
  .candidatos-festival-imagem,
  .candidatos-festival-imagem img,
  .candidatos-festival-sem-foto {
    width: 64px;
    height: 64px;
    font-size: 16px;
  }
  .candidatos-festival-nome {
    font-size: 14px;
    min-height: 28px;
    margin-bottom: 6px;
  }
  .candidatos-festival-botao {
    padding: 8px 0;
    font-size: 0.98rem;
    border-radius: 8px;
  }
}

/* Toastify override for better integration */
.Toastify__toast {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1rem;
}

.candidatos-admin-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
}

.filter-candidatos-admin {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
  justify-content: space-between;
}

.input-group-candidatos-admin {
  flex: 1 1 220px;
  max-width: 320px;
}

.input-candidatos-admin {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1.5px solid #a31ae8;
  font-size: 1.05rem;
  background: #faf8ff;
  color: #333;
  outline: none;
  transition: border 0.2s;
}

.input-candidatos-admin:focus {
  border: 1.5px solid #7d27db;
}

.select-ordem-candidato-admin {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1.5px solid #a31ae8;
  font-size: 1.05rem;
  background: #faf8ff;
  color: #333;
  outline: none;
  transition: border 0.2s;
}

.select-ordem-candidato-admin:focus {
  border: 1.5px solid #7d27db;
}

.contador-candidatos-admin {
  font-weight: 500;
  color: #7d27db;
  font-size: 1.1rem;
  margin-left: auto;
}

.grid-candidatos-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  margin-top: 2rem;
}

.card-candidato-admin {
  background: linear-gradient(135deg, #f3e9ff 0%, #e9e4ff 100%);
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(125,39,219,0.08);
  padding: 1.5rem 1rem 1rem 1rem;
  text-align: center;
  min-width: 220px;
  max-width: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card-candidato-admin:hover {
  box-shadow: 0 6px 24px 0 rgba(125,39,219,0.15);
  transform: translateY(-4px) scale(1.03);
}

.selo-etapa-admin {
  position: absolute;
  top: 12px;
  left: 16px;
  background: #7d27db;
  color: #fff;
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 0.95rem;
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 2px 8px 0 rgba(125,39,219,0.10);
}

.eliminado-admin {
  background: #f03e3e;
  color: #fff;
}

.imagem-candidato-admin {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  margin: 1.2rem auto 0.7rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid #7d27db;
}

.imagem-candidato-admin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.sem-foto-admin {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 1rem;
  background: #f3e9ff;
  border-radius: 50%;
}

.rodape-candidato-admin {
  background-color: transparent;
  padding: 0.5rem 0.75rem 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-direction: column;
  width: 100%;
}

.nome-candidato-admin {
  font-weight: bold;
  font-size: 1.1rem;
  color: #5a1fa1;
  margin-bottom: 0.3rem;
  text-align: center;
  width: 100%;
}

.botao-perfil-admin {
  background-color: #7d27db;
  border: none;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 0.3rem;
  transition: background 0.2s;
}

.botao-perfil-admin:hover {
  background-color: #5a1fa1;
}

@media (max-width: 900px) {
  .grid-candidatos-admin {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
  }
  .card-candidato-admin {
    max-width: 98vw;
    min-width: 0;
    padding: 1rem 0.5rem 1.2rem 0.5rem;
  }
  .imagem-candidato-admin {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 600px) {
  .candidatos-admin-container {
    padding: 0.7rem 0.2rem;
  }
  .filter-candidatos-admin {
    flex-direction: column;
    gap: 0.7rem;
    align-items: stretch;
  }
  .grid-candidatos-admin {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .card-candidato-admin {
    max-width: 98vw;
    min-width: 0;
    padding: 0.7rem 0.2rem 1rem 0.2rem;
  }
  .imagem-candidato-admin {
    width: 60px;
    height: 60px;
  }
  .nome-candidato-admin {
    font-size: 1rem;
  }
  .botao-perfil-admin {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }
}
.modal-editar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-editar-content {
  background: #fff;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
  max-height: 90vh;
}

.modal-editar-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #333;
  text-align: center;
}

.modal-editar-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-editar-content input,
.modal-editar-content select {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #bbb;
  border-radius: 6px;
  width: 100%;
}

.modal-editar-content input[type="file"] {
  padding: 8px;
  background-color: #f8f8f8;
}

.upload-label {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 1.5rem;
}

.btn-cancelar {
  background-color: #bbb;
  color: #fff;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-salvar {
  background-color: #2e7d32;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-cancelar:hover {
  background-color: #999;
}

.btn-salvar:hover {
  background-color: #1b5e20;
}

.documentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1rem;
}

.caixa-documento {
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.doc-label {
  font-weight: bold;
  font-size: 0.95rem;
  color: #333;
}

.doc-status {
  font-size: 1.5rem;
}

.doc-status.enviado {
  color: #2e7d32;
}

.doc-status.nao-enviado {
  color: #d32f2f;
}

.botao-ver-documento {
  background-color: #1976d2;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
}

.botao-ver-documento:hover {
  background-color: #125ea6;
}

.doc-ausente {
  font-size: 0.8rem;
  color: #777;
}


/* ================= CONTAINER PRINCIPAL ================= */

.festival-container {
  display: flex;
  flex-direction: column;
  align-items: center;

  position: relative;
  overflow-x: hidden;
}

/* ================= TOPO DO FESTIVAL ================= */

.topo-festival {
  position: relative;
  width: 100%;
  padding: 12rem 2rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15rem;
  flex-wrap: wrap;
}

.logo-festival {
  max-width: 500px;
  width: 100%;
  z-index: 900;
}

.texto-topo {
  text-align: center;
  font-family: HoghFish, sans-serif;
  z-index: 900;
}

.texto-topo h2 {
  margin: 0;
  line-height: 1.2;
}

.bandeirolinhas {
  width: 130px;
}

.topo-talento {
  font-size: 4.5rem;
  color: #FFC711;
  letter-spacing: 3px;
  font-family: HoghFish, sans-serif;
}

.topo-brilhar {
  font-size: 3rem;
  color: white;
  font-weight: 300;
}

.topo-arraia {
  font-size: 4.5rem;
  color: #FF6500;
  letter-spacing: 5px;
  font-weight: 800;
}

/* ================= Cordas ================= */
.corda-esquerda,
.corda-direita {
  position: absolute;
  top: 0;

  z-index: 1;
}

.corda-esquerda {
  left: 0;
  height: 130rem;
}

.corda-direita {
  right: 0;
  height: 110rem;
}

/* ================= REGRAS E INFORMAÇÕES ================= */

.regras-festival {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem 0;
  z-index: 2;
}

.regras-festival img {
  max-width: 500px;
  width: 100%;
}

/* ================= BANDEIROLAS ================= */

.bandeirolas-festival {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: -4rem;
  z-index: 5;
}

.bandeirolas-festival img {
  width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.bandeirolas-topo,
.bandeirolas-intermediarias {
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 5;
  position: relative;
}

.bandeirolas-topo {
  position: absolute;
  top: 0;
  left: 0;
}

.bandeirolas-topo img,
.bandeirolas-intermediarias img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* ================= INSCRIÇÃO ================= */

.secao-inscricao {
  position: relative;
  width: 100%;
  min-height: 1100px; /* altura mínima para empurrar o rodapé */
  z-index: 4;
}

 .tablet-amarelo {
  display: none !important;
}

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



.fundo-costura {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

.fundo-costura img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.titulo-inscricao {
  position: absolute;
  top: 15em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.titulo-inscricao img {
  width: 100%;
  max-width: 400px;
}

.decoracao-direita,
.decoracao-esquerda,
.decoracao-direita-baixo,
.decoracao-esquerda-baixo {
  position: absolute;
  z-index: 9;
  animation: float1 4s ease-in-out infinite;
}

.decoracao-direita {
  right: 8rem;
  top: 22rem;
  width: 320px;
  animation-delay: 0.4s;
}

.decoracao-esquerda {
  left: 3rem;
  top: 38rem;
  width: 320px;
  animation-delay: 1.2s;
}

.decoracao-direita-baixo {
  right: 2rem;
  bottom: 42rem;
  width: 280px;
  animation-delay: 1.5s;
}

.decoracao-esquerda-baixo {
  left: 3rem;
  bottom: 25rem;
  width: 280px;
  animation-delay: 0.8s;
}

.decoracao-direita img,
.decoracao-esquerda img,
.decoracao-direita-baixo img,
.decoracao-esquerda-baixo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Animações suaves de flutuação */
@keyframes float1 {
  0% {
    transform: translateY(0);
    filter: blur(3px);
  }
  50% {
    transform: translateY(-5px) rotate(-5deg);
    filter: blur(0);
  }
  100% {
    transform: translateY(0);
    filter: blur(3px);
  }
}

/* ================= Formulario ================= */

.formulario-inscricao {
  position: absolute;
  top: 25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;

  background: #5f1d7a;
  padding: 3rem 2rem;
  border-radius: 12px;
  width: 95%;
  max-width: 1000px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}


.foto-upload {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.foto-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 150px;
  border: 1px dashed #ccc;
  border-radius: 5px;
  cursor: pointer;
  overflow: hidden;
}

.preview-foto-inscricao {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 5px;
}


.foto-upload-box img {
  width: 30px; /* Ajuste o tamanho do ícone */
  height: 30px;
  margin-bottom: 5px;
}

.form-inscricao-bonfim {
  display: flex;
  flex-direction: column;
  width: 100%; /* Ocupar a largura total do container pai */
  max-width: 600px; /* Largura máxima do formulário */
}

.input-inscricao {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.linha-dupla-inscricao {
  display: flex;
  gap: 10px; /* Espaçamento entre os elementos na mesma linha */
  margin-bottom: 10px;
}

.linha-dupla-inscricao .input-inscricao {
  flex: 1 1; /* Fazer com que os inputs ocupem o mesmo espaço */
}

.upload-inscricao {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.label-inscricao {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.9em;
  color: #555;
}

.upload-botao {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: #f0f0f0; /* Cor de fundo do botão */
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  gap: 5px;
}

.upload-botao img {
  width: 20px; /* Ajuste o tamanho do ícone de upload */
  height: 20px;
}

.upload-final-inscricao {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.label-envio-video {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  background-color: #e0e0e0; /* Cor de fundo do botão de vídeo */
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  gap: 10px;
  font-weight: bold;
  color: #333;
}

.label-envio-video img {
  width: 25px; /* Ajuste o tamanho do ícone de vídeo */
  height: 25px;
}

.label-inscricao {
  color: #c2c2c2;
  margin-bottom: 10px;
}


.nome-arquivo {
  display: block;
  font-size: 0.85rem;
  color: #ddd;
  margin-top: 4px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}


.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: help;
}

.tooltip-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  font-size: 12px;
  font-weight: bold;
  background-color: #cdcdcd;
  color: #000;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  transition: background 0.3s;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  max-width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 6px 10px;
  border-radius: 6px;
  position: absolute;
  bottom: 125%; /* acima da bolinha */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 0.8rem;
  transition: opacity 0.3s;
  white-space: normal;
}




/* ================= RODAPÉ ================= */

.rodape-festival {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 5;
  width: 100%;
}

.corda-rodape {
  width: 100%;
  height: auto;
  z-index: 1;
}

.corda-rodape img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.rodape-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3rem 0;
  z-index: 9;
}

.selos-finais {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

.assinatura {
  position: absolute;
  width: 100%;
  background-color: #191919;
  color: #f0f0f0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
}

.assinatura a {
  color: #8d35e0;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ================= Cactos laterais fixos ================= */
.cactos {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 3;
}
.cacto-esquerda,
.cacto-direita {
  position: absolute;
  bottom: 0;
  height: auto;
  z-index: 3;
  pointer-events: none;
  width: 20rem;
}

.cacto-esquerda img {
  width: 150px;
  left: 0;
}

.cacto-direita {
  right: 0;
}


/* ================= Botão ================= */
.Btn {
  width: 140px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(to right,#77530a,#ffd277,#77530a,#77530a,#ffd277,#77530a);
  background-size: 250%;
  background-position: left;
  color: #ffd277;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-duration: 1s;
  overflow: hidden;
  margin: 20px auto;
}

.Btn::before {
  position: absolute;
  content: "Enviar";
  color: #ffd277;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 97%;
  height: 90%;
  border-radius: 8px;
  transition-duration: 1s;
  background-color: rgba(0, 0, 0, 0.842);
  background-size: 200%;
}

.Btn:hover {
  background-position: right;
  transition-duration: 1s;
}

.Btn:hover::before {
  background-position: right;
  transition-duration: 1s;
}

.Btn:active {
  transform: scale(0.95);
}


.mensagem-inscricoes-encerradas {
  padding: 3rem;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 8px;
  text-align: center;
  color: #856404;
  font-family: sans-serif;
}

.mensagem-inscricoes-encerradas h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}


.input-cpf {
  margin-bottom: 2rem;
  color: white;
  text-align: center;
}

.input-cpf input {
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  margin-top: 0.5rem;
  text-align: center;
}


.modal-voto {
  background: white;
  padding: 2rem;
  max-width: 400px;
  margin: auto;
  border-radius: 8px;
  text-align: center;
}

.overlay-voto {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-voto input {
  margin: 1rem 0;
  padding: 0.6rem;
  width: 80%;
  font-size: 1rem;
  text-align: center;
}

.modal-botoes {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
}

.modal-botoes button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  background: #f45c01;
  color: white;
  cursor: pointer;
}


/* ================= RESPONSIVO ================= */

@media (min-width: 1920px) {
  .topo-festival {
    padding: 15% 0 3rem;
    gap: 20rem;
  }

  .logo-festival {
    max-width: 700px;
    width: 100%;
  }

  .topo-talento {
    font-size: 6rem;
    letter-spacing: 5px;
  }

  .topo-brilhar {
    font-size: 4rem;
  }

  .topo-arraia {
    font-size: 6rem;
    letter-spacing: 7px;
  }

  .corda-esquerda,
  .corda-direita {
    height: 200rem;
    width: 30%;
  }

  .titulo-inscricao {
    top: 25rem;
  }

  .formulario-inscricao {
    padding: 4rem;
    width: 70%;
    max-width: 1200px;
    top: 45rem;
  }

  .input-inscricao {
    padding: 15px;
    font-size: 1.2rem;
  }

  .linha-dupla-inscricao {
    gap: 15px;
  }

  .upload-botao {
    padding: 15px;
    font-size: 1.1rem;
  }

  .label-envio-video {
    padding: 20px 25px;
    font-size: 1.2rem;
  }

  .decoracao-direita,
  .decoracao-esquerda,
  .decoracao-direita-baixo,
  .decoracao-esquerda-baixo {
    width: 400px;
  }

  .decoracao-direita {
    right: 5rem;
    top: 55rem;
    width: 800px;
    z-index: 1;
  }

  .decoracao-esquerda {
    left: -15rem;
    top: 55rem;
    width: 800px;
    z-index: 1;
  }

  .decoracao-direita-baixo {
    display: none;
  }

  .decoracao-esquerda-baixo {
    display: none;
  }

  .bandeirolas-festival img {
    max-height: 200px;
  }

  .titulo-inscricao img {
    max-width: 600px;
  }

  .rodape-festival {
    gap: 3rem;
  }

  .selos-finais {
    gap: 3rem;
  }
}


@media (max-width: 1700px) {
  .topo-festival {
    padding: 10% 0 2rem;
    gap: 5rem;
  }

  .mobile-amarelo, .tablet-amarelo {
    display: none;
  }

  .logo-festival {
    width: 80%;
  }

  .texto-topo {
    z-index: 5;
  }

  .corda-direita {
    height: 140rem;
    width: 25%;
  }

  .corda-esquerda {
    height: 150rem;
    width: 25%;
  }

  .titulo-inscricao {
    top: 15rem;
  }

  .decoracao-direita {
    right: -2rem;
    top: 5rem;
  }

  .decoracao-direita-baixo {
    right: -2rem;
    top: 45rem;
    z-index: 1;
  }

  .decoracao-esquerda {
    left: -6rem;
    top: 20rem;
    z-index: 1;
  }

  .decoracao-esquerda-baixo {
    width: 350px;
    left: -15rem;
    top: 50rem;
    z-index: 7;
  }

  .formulario-inscricao {
    padding: 1rem;
    margin-top: 4rem;
    width: 90%;
    max-width: 600px;
  }

  .input-inscricao {
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9rem;
  }

  .linha-dupla-inscricao {
    gap: 8px;
  }

  .upload-inscricao {
    gap: 8px;
  }

  .label-inscricao {
    font-size: 0.85rem;
  }

  .upload-botao {
    padding: 8px;
    font-size: 0.85rem;
  }

  .label-envio-video {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .cacto-esquerda,
  .cacto-direita {
    width: 250px;
  }
}

@media (max-width: 1200px) {
  .topo-festival {
    padding: 10% 0 2rem;
    gap: 5rem;
  }

  .mobile-amarelo, .tablet-amarelo {
    display: none;
  }

  .logo-festival {
    width: 80%;
  }

  .texto-topo {
    z-index: 5;
  }

  .corda-direita {
    height: 140rem;
    width: 25%;
  }

  .corda-esquerda {
    height: 150rem;
    width: 25%;
  }

  .titulo-inscricao {
    top: 8rem;
  }

  .decoracao-direita {
    right: -2rem;
    top: 5rem;
  }

  .decoracao-direita-baixo {
    right: -2rem;
    top: 45rem;
    z-index: 1;
  }

  .decoracao-esquerda {
    left: -6rem;
    top: 20rem;
    z-index: 1;
  }

  .decoracao-esquerda-baixo {
    width: 350px;
    left: -15rem;
    top: 50rem;
    z-index: 7;
  }

  .formulario-inscricao {
    padding: 1rem;
    margin-top: -9rem;
    width: 90%;
    max-width: 600px;
  }

  .input-inscricao {
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9rem;
  }

  .linha-dupla-inscricao {
    gap: 8px;
  }

  .upload-inscricao {
    gap: 8px;
  }

  .label-inscricao {
    font-size: 0.85rem;
  }

  .upload-botao {
    padding: 8px;
    font-size: 0.85rem;
  }

  .label-envio-video {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .cacto-esquerda,
  .cacto-direita {
    width: 250px;
  }
}


@media (min-width: 551px) and (max-width: 900px) {
  .topo-festival {
    padding: 10% 0 2rem;
    gap: 5rem;
  }

  .tablet-amarelo {
    display: flex !important;
  }

  .desktop-amarelo{
    display: none;
  }

  .mobile-amarelo {
    display: none;
  }

  .logo-festival {
    width: 80%;
  }

  .texto-topo {
    z-index: 5;
  }

  .corda-direita {
    height: 140rem;
    width: 25%;
  }

  .corda-esquerda {
    height: 150rem;
    width: 25%;
  }

  .titulo-inscricao {
    top: 8rem;
  }

  .formulario-inscricao {
    padding: 1.5rem;
    margin-top: -5rem;
    width: 90%;
  }

  .cacto-esquerda,
  .cacto-direita {
    width: 100px;
  }

  .decoracao-direita,
  .decoracao-esquerda,
  .decoracao-direita-baixo,
  .decoracao-esquerda-baixo {
    width: 200px;
  }

  .decoracao-direita {
    right: -2rem;
    top: 5rem;
  }

  .decoracao-direita-baixo {
    display: none;
  }

  .decoracao-esquerda {
    left: -6rem;
    top: 20rem;
    z-index: 1;
  }

  .decoracao-esquerda-baixo {
    width: 350px;
    left: -15rem;
    top: 60rem;
    z-index: 7;
  }


  .topo-talento,
  .topo-brilhar,
  .topo-arraia {
    font-size: calc(3em + 1vw);
    text-align: center;
  }
}

@media (max-width: 550px) {
  .selos-finais {
    flex-direction: column;
    gap: 1.2rem;
  }

  .mobile-amarelo {
    display: flex !important;
  }

  .desktop-amarelo{
    display: none;
  }

  .tablet-amarelo {
    display: none;
  }

  .cacto-esquerda,
  .cacto-direita {
    width: 100px;
  }

  .topo-festival {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 18% 0 2rem;
  }
  
  .logo-festival {
    z-index: 5;
    width: 80%;
  }

  .texto-topo {
    z-index: 5;
  }

  .corda-direita {
    height: 110rem;
    width: 30%;
  }

  .corda-esquerda {
    height: 130rem;
    width: 25%;
  }

  .topo-talento,
  .topo-brilhar,
  .topo-arraia {
    font-size: 2rem;
    text-align: center;
  }

  .regras-festival img {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .titulo-inscricao {
    top: 8rem;
  }

  .formulario-inscricao {
    padding: 1.5rem;
    margin-top: -8rem;
    width: 90%;
  }

  .linha-dupla-inscricao {
    flex-direction: column;
    gap: 1rem;
  }

  .bandeirolas-festival img {
    max-height: 80px;
  }

  .titulo-inscricao img {
    max-width: 300px;
  }

  .decoracao-direita,
  .decoracao-esquerda,
  .decoracao-direita-baixo,
  .decoracao-esquerda-baixo {
    width: 200px;
  }

  .decoracao-direita {
    right: -2rem;
    top: 5rem;
  }

  .decoracao-direita-baixo {
    display: none;
  }

  .decoracao-esquerda {
    left: -6rem;
    top: 20rem;
    z-index: 1;
  }

  .decoracao-esquerda-baixo {
    width: 350px;
    left: -15rem;
    transform: rotate(180deg);
    z-index: 1;
  }
}

@media (max-width: 480px) {
  .topo-talento,
  .topo-brilhar,
  .topo-arraia {
    font-size: 1.5rem;
  }

  .mobile-amarelo {
    display: flex !important;
  }
  
  .topo-festival {
    padding: 10% 0 2rem;
  }
  
  .logo-festival {
    z-index: 5;
  }

  .texto-topo {
    z-index: 5;
  }

  .corda-direita {
    height: 110rem;
  }

  .corda-esquerda {
    height: 130rem;

  }

  .formulario-inscricao {
    padding: 1rem;
    margin-top: -12rem;
  }

  .bandeirolas-festival img {
    max-height: 50px;
  }

  .titulo-inscricao img {
    max-width: 250px;
  }

  .decoracao-direita,
  .decoracao-esquerda {
    width: 150px;
  }

  .cacto-esquerda,
  .cacto-direita {
    width: 80px;
  }

  .selos-finais {
    gap: 0.8rem;
  }

  .rodape-festival {
    flex-direction: column;
    gap: 1rem;
    margin-top: 50px;
  }

  .label-inscricao {
    font-size: calc(0.8em + 0.2vw);
  }

  .formulario-inscricao select {
    padding: 10px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: calc(0.6em + 0.2vw); /* Tamanho da fonte responsivo */
  }

  .inscricao-selects {
    margin-bottom: 1rem;
  }

  .endereco {
    margin-bottom: 1rem !important;
  }

  .input-inscricao {
    padding: 10px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: calc(0.6em + 0.2vw); /* Tamanho da fonte responsivo */
  }

 .formulario-inscricao label {
    font-size: calc(0.7em + 0.2vw); /* Tamanho da fonte responsivo */
  }

  .label-inscricao {
    font-size: calc(0.7em + 0.2vw); /* Tamanho da fonte responsivo */
    margin: 0;
  }
}



/* Overlay do modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 0, 60, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Caixa principal do modal */
.modal-candidato {
  background: #fff;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  width: 95%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 8px 32px rgba(80, 0, 120, 0.18);
  animation: modalFadeIn 0.22s;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

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

/* Botão fechar */
.fechar-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f19c00;
  border: none;
  color: white;
  font-size: 1.3rem;
  padding: 7px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 2;
}
.fechar-modal:hover {
  background: #d17a00;
}

/* Vídeo do candidato adaptável ao tamanho original */
.video-preview {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.video-preview video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: #222;
  display: block;
}

/* Dados do candidato */
.dados-candidato p {
  margin: 0.4rem 0;
  color: #4b0071;
  font-size: 1.05rem;
  font-weight: 500;
}

/* Documentos */
.documentos {
  margin-top: 1.2rem;
}

.doc-link {
  display: block;
  margin-top: 5px;
  color: #1a73e8;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.18s;
}
.doc-link:hover {
  color: #0d47a1;
  text-decoration: underline;
}

/* Carrossel de documentos */
.carrossel-documentos {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  margin: 1.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #f19c00 #eee;
}
.carrossel-documentos::-webkit-scrollbar {
  height: 7px;
  background: #eee;
}
.carrossel-documentos::-webkit-scrollbar-thumb {
  background: #f19c00;
  border-radius: 8px;
}

/* Item de documento */
.item-documento {
  flex: 0 0 auto;
  text-align: center;
  max-width: 140px;
  width: 100px;
  font-size: 0.93rem;
  color: #444;
  position: relative;
}
.item-documento img,
.pdf-preview-link img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #f19c00;
  background: #faf7ff;
  transition: transform 0.2s, border 0.2s;
}
.item-documento img:hover,
.pdf-preview-link img:hover {
  transform: scale(1.06);
  border: 2px solid #7d27db;
}
.item-documento span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: #333;
  font-weight: bold;
}

/* Documento faltando */
.item-documento.missing::after {
  content: "Faltando";
  position: absolute;
  top: 4px;
  left: 4px;
  background: crimson;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
}

/* PDF preview */
.pdf-preview-link img {
  object-fit: contain;
  padding: 0.5rem;
  background-color: #fff;
  border-radius: 8px;
  height: 100px;
  width: 100%;
  border: 2px solid #999;
}

/* Botão selecionar */
.botao-selecionar {
  margin-top: 1.5rem;
  background-color: #f19c00;
  color: white;
  padding: 12px 24px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 7px;
  font-size: 1.08rem;
  transition: background 0.18s;
  box-shadow: 0 2px 8px rgba(241,156,0,0.08);
}
.botao-selecionar:hover {
  background: #d17a00;
} 

/* Botões de etapa */
.botoes-etapas {
  display: flex;
  justify-content: space-between;
  margin-top: 1.2rem;
  gap: 1rem;
}
.botao-etapa {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.18s;
}
.botao-etapa.avancar {
  background-color: #2e9f3e;
  color: white;
}
.botao-etapa.voltar {
  background-color: #d62f2f;
  color: white;
}
.botao-etapa:hover {
  filter: brightness(1.08);
}

/* Zoom da imagem */
.zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.zoom-imagem {
  max-width: 95vw;
  max-height: 90vh;
  border: 4px solid white;
  border-radius: 10px;
  background: #fff;
}

/* Responsividade */
@media (max-width: 700px) {
  .modal-candidato {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    max-width: 99vw;
  }
  .video-preview video {
    max-height: 200px;
  }
  .carrossel-documentos {
    gap: 0.7rem;
  }
  .item-documento,
  .pdf-preview-link {
    max-width: 90px;
    width: 90px;
  }
  .item-documento img,
  .pdf-preview-link img {
    height: 70px;
  }
}

@media (max-width: 480px) {
  .modal-candidato {
    padding: 0.7rem 0.2rem 0.7rem 0.2rem;
    border-radius: 10px;
  }
  .fechar-modal {
    top: 6px;
    right: 6px;
    font-size: 1.1rem;
    padding: 5px 10px;
  }
  .video-preview video {
    max-height: 120px;
  }
  .item-documento,
  .pdf-preview-link {
    max-width: 60px;
    width: 60px;
  }
  .item-documento img,
  .pdf-preview-link img {
    height: 40px;
  }
  .botao-selecionar {
    font-size: 0.98rem;
    padding: 10px 0;
  }
  .botoes-etapas {
    flex-direction: column;
    gap: 0.5rem;
  }
  .botao-etapa {
    width: 100%;
    font-size: 0.95rem;
    padding: 10px 0;
  }
}
.classificatoria-container {
  max-width: 800px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", sans-serif;
}

.classificatoria-container h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.filtros-classificatoria {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.filtros-classificatoria label {
  font-weight: 500;
  font-size: 16px;
}

.filtros-classificatoria select {
  margin-left: 10px;
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.tabela-binaria {
  margin-top: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.linha-titulo,
.linha-voto {
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  align-items: center;
  padding: 10px 15px;
}

.linha-titulo {
  background-color: #f4f4f4;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
}

.linha-voto {
  border-top: 1px solid #eee;
}

.celula {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.celulajurado {
    color: #333 !important;
}


.foto-jurado {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ccc;
}

/* Destaque visual para o voto binário */
.voto-bool.sim {
  color: green;
  font-weight: bold;
  background-color: #e7fbe7;
  padding: 6px 10px;
  border-radius: 8px;
}

.voto-bool.nao {
  color: red;
  font-weight: bold;
  background-color: #fde4e4;
  padding: 6px 10px;
  border-radius: 8px;
}

/* Responsividade simples */
@media (max-width: 600px) {
  .linha-titulo,
  .linha-voto {
    grid-template-columns: 60px 1fr 80px;
    font-size: 14px;
  }

  .filtros-classificatoria select {
    font-size: 14px;
    padding: 6px 10px;
  }
}

.classificatoria-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem;
  color: #fff;
}

.classificatoria-container h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.filtros-classificatoria {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.busca-classificatoria input {
  width: 320px;
  max-width: 100%;
  padding: .7rem .9rem;
  border-radius: 10px;
  border: none;
  outline: none;
  background: rgba(255,255,255,.1);
  color: #fff;
}

.grid-candidatos-classificatoria {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax(220px,1fr) );
  grid-gap: 1rem;
  gap: 1rem;
}

.card-candidato-classificatoria {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.06);
  border-radius: 16px;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: .75rem;
  transition: transform .2s ease, background .2s ease;
}

.card-candidato-classificatoria:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
}

.card-candidato-classificatoria .thumb {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.card-candidato-classificatoria .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-candidato-classificatoria .sem-foto {
  height: 100%;
  display: grid;
  place-items: center;
  color: #ddd;
  font-size: .9rem;
  opacity: .8;
}

.card-candidato-classificatoria .info {
  padding-top: .6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}

.card-candidato-classificatoria .nome {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}

.etapa-badge, .badge {
  font-size: .75rem;
  padding: .25rem .5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
}

/* POPUP header */
.classificatoria-container.popup .cabecalho-candidato {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.cabecalho-candidato .foto {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

.cabecalho-candidato .foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cabecalho-candidato .dados .nome {
  font-size: 1.2rem;
  font-weight: 600;
}

.tabela-binaria {
  margin-top: .75rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}

.linha-titulo, .linha-voto {
  display: grid;
  grid-template-columns: 100px 1fr 120px;
  grid-gap: .5rem;
  gap: .5rem;
  align-items: center;
}

.linha-titulo {
  background: rgba(255,255,255,.15);
  font-weight: 600;
  padding: .6rem .8rem;
}

.linha-voto {
  background: rgba(255,255,255,.06);
  padding: .5rem .8rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.celula {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.foto-jurado {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.voto-bool.sim {
  color: #18ff8b;
  font-weight: 700;
}
.voto-bool.nao {
  color: #ff7070;
  font-weight: 700;
}

.mensagem-vazia {
  opacity: .8;
  text-align: center;
  padding: 2rem 0;
}

/* 🌙 Estilo geral da página */
.dashboard-festival-container {
  padding: 2rem;
  background-color: #1a1a1d;
  min-height: 100vh;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.12rem;
}

/* 🧭 Título e subtítulo */
.dashboard-festival-container h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #f8f8f8;
}

.dashboard-festival-container p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #cccccc;
}

/* 🎛️ Filtros de etapa e candidato */
.filtros-dashboard {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  background-color: #2a2a2d;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.filtros-dashboard label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  font-size: 0.9rem;
  color: #f0f0f0;
}

.filtros-dashboard select {
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-radius: 8px;
  background-color: #333;
  color: #fff;
  border: none;
  outline: none;
  font-size: 0.95rem;
}

.filtros-dashboard button {
  padding: 0.6rem 1.2rem;
  background-color: #00BBF9;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 1.08rem;
}

.filtros-dashboard button:hover {
  background-color: #009ddf;
}

/* ✳️ Janela flutuante (modo transmissão) refinada */
.janela-flutuante {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 600px;
  max-height: 90vh;
  background: #2a2a30;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  overflow: auto;
  resize: both;
  z-index: 9999;
  color: white;
}

.janela-flutuante .barra-titulo {
  background: #444;
  color: white;
  padding: 10px 16px;
  font-weight: bold;
  cursor: move;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.18rem;
}

.janela-flutuante .barra-titulo button {
  background: transparent;
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.conteudo-votos {
  padding: 1rem;
  max-height: calc(90vh - 50px);
  overflow-y: auto;
  font-size: 1.08rem;
}

.blocos-votacao {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 1.08rem;
}

.bloco-jurado {
  display: flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.jurado-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255,255,255,0.2);
  padding: 1rem;
  min-width: 150px;
  font-weight: bold;
  color: white;
  font-size: 1.13rem;
}

.jurado-info img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.notas {
  display: flex;
  flex-grow: 1;
  padding: 1rem;
  gap: 1rem;
  justify-content: space-evenly;
  font-size: 1.08rem;
}

.nota {
  flex: 1 1;
  background-color: rgba(255,255,255,0.25);
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
  font-size: 1.25rem;
  color: white;
  padding: 0.5rem 0;
}

.voto-popular .jurado-info {
  justify-content: center;
}

.tabela-votos {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.linha-titulo, .linha-jurado {
  display: flex;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  font-size: 1.13rem;
}

.linha-titulo {
  background: #333;
  color: white;
  font-weight: bold;
}

.media-geral {
  background-color: #000;
  color: white;
}

.voto-popular {
  font-style: italic;
}

.celula {
  flex: 1 1;
  text-align: center;
  padding: 0.6rem;
  background-color: rgba(255,255,255,0.15);
  color: white;
  font-weight: 500;
  font-size: 1.13rem;
}

.jurado-nome- {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.63rem;
}

.jurado-nome- img {
  width: 100px;
  height: 100px;
  border-radius: 15%;
  object-fit: cover;
}

.media-final {
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 1.15rem;
}
/* ===== Fundo com gradiente animado ===== */
.vp-wrap {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px 40px;
  color: #f0e6ff;

  --bg1: #1e0033;
  --bg2: #3c096c;
  --bg3: #5a189a;
  --bg4: #9d4edd;

  background: linear-gradient(-45deg, var(--bg1), var(--bg2), var(--bg3), var(--bg4));
  background-size: 400% 400%;
  animation: vpGradient 15s ease infinite;
}

@keyframes vpGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.vp-container {
  width: 100%;
  max-width: 780px;
}

/* ===== Header ===== */
.vp-header {
  text-align: center;
  margin-bottom: 16px;
}
.vp-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vp-header h1 {
  margin: 0;
  font-size: clamp(28px, 4.6vw, 48px);
  font-weight: 900;
  letter-spacing: .8px;
  text-shadow: 0 6px 24px rgba(0,0,0,.35), 0 0 20px rgba(255,255,255,.12);
}
.vp-sub {
  margin: 6px 0 0;
  color: #d6c8ff;
}
.vp-date label {
  font-size: 12px;
  color: #d7cfff;
  margin-right: 6px;
}
.vp-date input {
  background: rgba(0,0,0,.25);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 8px 10px;
  outline: none;
}
.vp-date input::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

/* ===== Card base (glass) ===== */
.card {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

/* ===== Total de votos ===== */
.vp-total {
  padding: 18px 22px;
  text-align: center;
  margin: 10px 0 14px;
}
.vp-total-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #cbb6ff;
}
.vp-total-value {
  margin-top: 4px;
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
}

/* ===== Lista ===== */
.vp-list { display: grid; grid-gap: 14px; gap: 14px; }
.vp-loading, .vp-empty { text-align: center; color: #d1c5ff; }

/* Item */
.vp-item {
  display: grid;
  grid-template-columns: 70px 56px 1fr;
  align-items: center;
  grid-gap: 14px;
  gap: 14px;
  padding: 12px 16px;
}

/* Posição (1º, 2º, …) */
.vp-rank {
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  color: #e3d9ff;
}

/* Avatar */
.vp-avatar, .vp-avatar-ph {
  width: 48px; height: 48px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #6a1fb3;
  border: 2px solid #c8a4ff;
  color: #1e0033;
  font-weight: 800;
}
.vp-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Info */
.vp-info { display: block; }

.vp-toprow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.vp-name {
  margin: 0;
  font-weight: 800;
  color: #ffffff;
}

.vp-perc {
  text-align: right;
  font-weight: 800;
  color: #ffffff;
}
.vp-perc .vp-small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #cbb6ff;
}

/* Barra de progresso */
.vp-bar {
  width: 100%;
  height: 10px;
  background: #3b0a6b;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}
.vp-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c77dff, #e0aaff);
  transition: width .5s ease-in-out;
}

/* Rodapé */
.vp-foot {
  text-align: center;
  color: #cbb6ff;
  font-size: 12px;
  margin-top: 14px;
}

/* Responsivo */
@media (max-width: 560px) {
  .vp-item { grid-template-columns: 52px 48px 1fr; }
  .vp-total-value { font-size: 34px; }
}

/* ===== Fundo roxo com gradiente e tipografia ===== */
.tv-wrap {
  min-height: 100vh;
  padding: 28px 16px 40px;
  color: #fff;

  --bg1: #1a0b2e;
  --bg2: #3d1b63;
  --bg3: #2c1250;
  --bg4: #130a21;

  --line: rgba(255,255,255,.14);
  --muted: #cbb6ff;
  --accent: #a855f7;

  background: linear-gradient(135deg, var(--bg1), var(--bg2), var(--bg3), var(--bg4));
  background-size: 400% 400%;
  animation: tvGrad 16s ease infinite;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial;
}
@keyframes tvGrad {
  0% { background-position: 0% 50%;}
  50% { background-position: 100% 50%;}
  100% { background-position: 0% 50%;}
}

.tv-container { width: 100%; max-width: 1120px; margin: 0 auto; }

/* ===== Header ===== */
.tv-header { margin-bottom: 12px; }
.tv-title-row { display: flex; align-items: center; gap: 10px; }
.tv-title-row h1 {
  margin: 0;
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: .2px;
}
.tv-icon-ll {
  display: inline-block;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  color: #d9ccff;
  display: grid; place-items: center;
  font-weight: 800; font-family: ui-monospace, monospace;
}

/* ===== Card base (glass) ===== */
.card {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

/* ===== Filtros ===== */
.tv-filtros { padding: 16px; margin: 12px 0 16px; }
.tv-f-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 180px;
  grid-gap: 14px;
  gap: 14px;
  align-items: end;
}
.tv-field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.tv-field select,
.tv-field input[type="date"] {
  width: 100%;
  background: rgba(0,0,0,.35);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}
.tv-field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }

.tv-btn {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #7c3aed;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.tv-btn:disabled { opacity: .6; cursor: not-allowed; }
.tv-btn:hover:not(:disabled) { background: #6d28d9; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(124,58,237,.35); }
.tv-btn-dot {
  width: 8px; height: 8px; border-radius: 999px; background: #fff;
}

/* ===== Métricas ===== */
.tv-metric-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 16px;
}
.tv-card { padding: 18px; display: flex; align-items: center; gap: 16px; }

.metric-label {
  color: var(--muted);
  font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.metric-ico.people::before {
  content: "👥";
  display: inline-block;
  font-size: 18px;
}

.metric-value {
  font-size: 64px;
  font-weight: 900;
  margin-left: auto;
}

.metric-two { justify-content: space-between; }
.metric-two-left { display: flex; align-items: center; gap: 14px; }
.metric-two-right { text-align: left; }
.metric-two-label { color: var(--muted); font-weight: 700; }
.metric-two-name { font-weight: 800; font-size: 20px; }
.metric-two-sub { color: #d9ccff; }

.metric-avatar, .metric-avatar-ph {
  width: 70px; height: 70px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.25);
  display: grid; place-items: center; overflow: hidden;
  background: rgba(0,0,0,.3);
}
.metric-avatar img { width: 100%; height: 100%; object-fit: cover; }
.metric-avatar-ph { color: #ffd3ff; font-weight: 900; }

/* ===== Gráfico ===== */
.tv-chart { padding: 16px; }
.tv-chart h3 {
  text-align: center;
  margin: 4px 0 10px;
  font-size: 18px; font-weight: 800;
}
.tv-chart-box { height: 420px; }
.tv-empty { text-align: center; color: var(--muted); }

/* ===== Responsivo ===== */
@media (max-width: 930px) {
  .tv-f-grid { grid-template-columns: 1fr; }
  .tv-metric-row { grid-template-columns: 1fr; }
  .metric-value { font-size: 48px; }
}

.selecionar-votacao {
  max-width: 1600px;
  margin: 2rem auto;
  padding: 2rem 3rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  font-family: "Segoe UI", sans-serif;
  transition: all 0.3s ease-in-out;
}

.selecionar-votacao h2 {
  text-align: center;
  color: #5c258d;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.selecionar-votacao h3 {
  text-align: center;
  color: #444;
  margin-bottom: 2rem;
}

.filtro {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filtro input,
.filtro select {
  padding: 0.7rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  min-width: 280px;
  background: #fafafa;
  transition: 0.3s;
}

.filtro input:focus,
.filtro select:focus {
  border-color: #6a1b9a;
  outline: none;
  background-color: #fff;
}

.blocos-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.bloco-liberados,
.bloco-bloqueados {
  flex: 1 1;
  min-width: 400px;
}

.bloco-liberados h3 {
  color: #2e7d32;
  text-align: left;
  margin-bottom: 1rem;
}

.bloco-bloqueados h3 {
  color: #c0392b;
  text-align: left;
  margin-bottom: 1rem;
}

.lista-festival-votacao {
  list-style: none;
  padding: 0;
  margin: 0;
}

.item-candidato {
  background: #f9f9f9;
  border-left: 5px solid transparent;
  padding: 1rem;
  margin-bottom: 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
}

.item-candidato:hover {
  transform: scale(1.01);
  background: #f0f0f0;
  border-left-color: #6a1b9a;
}

.nome-com-tooltip {
  position: relative;
  font-weight: 600;
  cursor: help;
  color: #333;
}

.tooltip-artista {
  visibility: hidden;
  opacity: 0;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 6px 10px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  font-size: 0.85rem;
  white-space: nowrap;
  z-index: 10;
}

.nome-com-tooltip:hover .tooltip-artista {
  visibility: visible;
  opacity: 1;
}

.etapa-label {
  font-style: italic;
  font-size: 0.9rem;
  color: #777;
  margin-left: 0.5rem;
}

.btn-liberar,
.btn-bloquear {
  padding: 8px 14px;
  font-weight: bold;
  font-size: 0.9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.btn-liberar {
  background: #2ecc71;
  color: white;
}

.btn-liberar:hover {
  background: #27ae60;
}

.btn-bloquear {
  background: #e74c3c;
  color: white;
}

.btn-bloquear:hover {
  background: #c0392b;
}

.avancos-container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  background: linear-gradient(135deg, #fafdff 60%, #e3eaff 100%);
  border-radius: 22px;
  box-shadow: 0 4px 32px #0077ff22, 0 1.5px 8px #0001;
}

.avancos-container h2 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 2.5rem;
  color: #1a1a2e;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px #b3c6e0aa;
}

.filtros-avancos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filtros-avancos label {
  font-weight: 600;
  color: #222;
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.filtros-avancos input,
.filtros-avancos select {
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  border: 1.5px solid #b3c6e0;
  font-size: 1.08rem;
  background: #fafdff;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 6px #0077ff11;
}
.filtros-avancos input:focus,
.filtros-avancos select:focus {
  border: 2px solid #0077ff;
  outline: none;
  box-shadow: 0 2px 12px #0077ff33;
}

.grid-candidatos-avancos {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.card-avanco {
  background: linear-gradient(135deg, #fff 80%, #e3eaff 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px #0077ff22, 0 1.5px 8px #b3c6e033;
  padding: 2.2rem 1.7rem 1.7rem 1.7rem;
  width: 330px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 2px solid #e3eafc;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card-avanco:hover {
  transform: translateY(-8px) scale(1.045);
  box-shadow: 0 12px 40px #0077ff33, 0 2px 12px #b3c6e044;
  border-color: #0077ff55;
}

.foto-candidato {
  width: 124px;
  height: 124px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.3rem;
  border: 4px solid #7bb1ff;
  background: #f8fafd;
  box-shadow: 0 2px 12px #b3c6e055;
  transition: border 0.2s;
}
.card-avanco:hover .foto-candidato {
  border-color: #0077ff;
}

.info-candidato {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.info-candidato strong {
  font-size: 1.18rem;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-shadow: 0 1px 4px #b3c6e055;
}

.info-candidato p {
  margin: 0;
  color: #3a3a3a;
  font-size: 1.07rem;
  font-weight: 500;
}

.info-candidato p:first-of-type {
  font-size: 1.15rem;
  color: #0077ff;
  font-weight: 700;
  margin-bottom: 0.2rem;
  text-shadow: 0 1px 4px #b3c6e044;
}

.info-candidato p:last-of-type {
  color: #444;
  font-size: 1.01rem;
  font-weight: 500;
  opacity: 0.85;
}

@media (max-width: 700px) {
  .avancos-container {
    padding: 1.2rem 0.2rem;
  }
  .grid-candidatos-avancos {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .card-avanco {
    width: 98vw;
    max-width: 380px;
    padding: 1.5rem 0.5rem;
    min-height: 180px;
  }
  .foto-candidato {
    width: 80px;
    height: 80px;
  }
}
/* ===== Fundo roxo com gradiente animado ===== */
.rv-wrap {
  min-height: 100vh;
  padding: 28px 16px 40px;
  color: #fff;

  --bg1: #1a0b2e;
  --bg2: #2a0f4a;
  --bg3: #4a1c7c;
  --bg4: #2c0b4d;

  background: linear-gradient(-45deg, var(--bg1), var(--bg2), var(--bg3), var(--bg4));
  background-size: 400% 400%;
  animation: rvGrad 16s ease infinite;
}

@keyframes rvGrad {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.rv-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

/* ===== Header ===== */
.rv-header { text-align: center; margin-bottom: 18px; }
.rv-header h1 {
  margin: 0;
  font-size: clamp(28px, 4.8vw, 56px);
  font-weight: 900;
  letter-spacing: .4px;
  text-shadow: 0 6px 24px rgba(0,0,0,.35), 0 0 20px rgba(255,255,255,.12);
}
.rv-sub { margin-top: 4px; color: #cbb6ff; }

/* ===== Card base (glass) ===== */
.card {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

/* ===== Filtros ===== */
.rv-filtros { margin: 12px 0 18px; padding: 16px; }
.rv-f-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 180px;
  grid-gap: 14px;
  gap: 14px;
  align-items: end;
}
.rv-field label {
  display: block;
  font-size: 13px;
  color: #d7cfff;
  margin-bottom: 6px;
}
.rv-field select,
.rv-field input[type="date"] {
  width: 100%;
  background: rgba(0,0,0,.25);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}
.rv-field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }

.rv-buscar {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #7c3aed;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.rv-buscar:hover { background: #6d28d9; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(124,58,237,.35); }

@media (max-width: 760px) {
  .rv-f-grid { grid-template-columns: 1fr; }
}

/* ===== Lista ===== */
.rv-list { display: grid; grid-gap: 14px; gap: 14px; }
.rv-loading, .rv-empty { text-align: center; color: #d1c5ff; }

/* Item da lista */
.rv-item {
  display: grid;
  grid-template-columns: 64px 56px 1fr 100px;
  align-items: center;
  grid-gap: 16px;
  gap: 16px;
  padding: 16px;
  transition: background .2s ease, border-color .2s ease;
}
.rv-item:hover { background: rgba(255,255,255,.06); border-color: rgba(168,85,247,.6); }

/* Posição */
.rv-pos {
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  color: #e3d9ff;
  line-height: 1;
}

/* Destaques Top 3 (barrinha/cores) */
.rank-1 { border-left: 4px solid #facc15; }
.rank-2 { border-left: 4px solid #d1d5db; }
.rank-3 { border-left: 4px solid #fb923c; }
.rv-pos.rank-1 { color: #fde68a; }
.rv-pos.rank-2 { color: #e5e7eb; }
.rv-pos.rank-3 { color: #fdba74; }

/* Avatar */
.rv-avatar, .rv-avatar-ph {
  width: 56px; height: 56px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #4c1d95;
  border: 2px solid #c8a4ff;
  color: #fff;
  font-weight: 800;
}
.rv-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Info */
.rv-info { min-width: 0; }
.rv-name {
  margin: 0;
  font-weight: 800;
  color: #ffffff;
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rv-origin { margin: 2px 0 0; color: #a48bff; font-size: 13px; }

/* Score */
.rv-score { text-align: right; }
.rv-score-value {
  font-size: 22px;
  font-weight: 900;
  color: #4ade80; /* verde vivo */
}
.rv-score-label {
  display: block;
  font-size: 11px;
  color: #cbb6ff;
}

/* Responsivo */
@media (max-width: 560px) {
  .rv-item { grid-template-columns: 44px 48px 1fr 80px; padding: 12px; }
  .rv-score-value { font-size: 20px; }
}

/* ====== CONTAINER E TÍTULO ====== */
.vencedores-container {
  background: linear-gradient(135deg, #18122b 0%, #2d0b2d 100%);
  color: #fff;
  min-height: 100vh;
  text-align: center;
  padding: 2.5rem 1rem 3rem 1rem;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

.vencedores-titulo {
  font-size: 2.6rem;
  margin-bottom: 2.2rem;
  font-family: "Thunderhouse", 'Montserrat', sans-serif;
  color: #ffe066;
  letter-spacing: 2px;
  text-shadow: 0 4px 24px #000, 0 0px 2px #ffe066;
  filter: drop-shadow(0 0 8px #ffe06688);
}

/* ====== SELETOR DE DATA ====== */
.vencedores-select-data {
  margin-bottom: 2.2rem;
}

.vencedores-select-data input[type="date"] {
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: none;
  font-size: 1.08rem;
  background: #fffbe6;
  color: #7d27db;
  font-weight: 600;
  box-shadow: 0 2px 12px #ffe06633;
  transition: box-shadow 0.2s, border 0.2s;
}

.vencedores-select-data input[type="date"]:focus {
  outline: none;
  border: 2px solid #ffe066;
  box-shadow: 0 0 0 3px #ffe06655;
}

/* ====== BOTÃO REVELAR ====== */
.botao-revelar {
  position: relative;
  background: linear-gradient(135deg, #ffb300 0%, #ff6600 100%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 90px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 32px #000a, 0 2px 8px #ffd70055;
  transition: box-shadow 0.2s, transform 0.2s;
  filter: drop-shadow(0 0 16px #ffd70088);
}

.botao-revelar:hover {
  box-shadow: 0 12px 40px #000c, 0 4px 16px #ffd70088;
  transform: scale(1.04);
}

.botao-revelar::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  border-radius: 50%;
  border: 8px solid transparent;
  border-top: 8px solid #ffe066;
  border-right: 8px solid #ff6600;
  border-bottom: 8px solid #ffb300;
  border-left: 8px solid #fff700;
  animation: girar 1.2s linear infinite;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 32px #ffe06655, 0 0 12px #fff70033;
}

.botao-revelar span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 1.25rem;
  white-space: nowrap;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #000a, 0 0px 2px #ffe066;
}

.botao-revelar .luz-efeito {
  position: absolute;
  width: 250%;
  height: 250%;
  background: radial-gradient(circle, rgba(255,255,255,0.13) 10%, transparent 70%);
  animation: pulsar 2s infinite;
  border-radius: 50%;
  top: -75%;
  left: -75%;
  z-index: 0;
}

/* ====== LISTA DE VENCEDORES ====== */
.vencedores-lista {
  list-style: none;
  padding: 0;
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  align-items: center;
}

.vencedor-item {
  opacity: 0;
  transform: scale(0.8) translateY(40px);
  transition: all 1s cubic-bezier(.23,1.02,.64,1);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 4px 24px #0005, 0 1px 4px #ffe06633;
  padding: 2.2rem 2.5rem 2rem 2.5rem;
  min-width: 320px;
  max-width: 420px;
  margin: 0 auto;
  border: 2px solid #ffe06655;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  position: relative;
}

.vencedor-item.visivel {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.vencedor-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  box-shadow: 0 0 32px #ffe06633 inset;
  z-index: 0;
}

.vencedor-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffe066;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 12px #ffe06644, 0 0 0 8px #fff70022;
  background: #fff;
  z-index: 1;
  position: relative;
}

.vencedor-info h2 {
  margin: 0.3rem 0 0.2rem 0;
  font-size: 1.5rem;
  color: #ffe066;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #000a, 0 0px 2px #ffe066;
}

.vencedor-info p {
  font-size: 1.08rem;
  color: #fffbe6;
  margin: 0.2rem 0 0 0;
  text-shadow: 0 1px 4px #0008;
}

.vencedor-info .vencedor-etapa {
  font-size: 1.02rem;
  color: #ffb300;
  margin-top: 0.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ====== ANIMAÇÕES ====== */
@keyframes girar {
  from { transform: rotate(0deg);}
  to { transform: rotate(360deg);}
}

@keyframes pulsar {
  0%, 100% { opacity: 0.3; transform: scale(1);}
  50% { opacity: 0.6; transform: scale(1.2);}
}

/* ====== RESPONSIVO ====== */
@media (max-width: 600px) {
  .vencedores-titulo {
    font-size: 1.5rem;
  }
  .botao-revelar {
    padding: 48px;
    font-size: 1rem;
  }
  .botao-revelar span {
    font-size: 0.95rem;
  }
  .vencedor-item {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    min-width: 0;
    max-width: 98vw;
  }
  .vencedor-item img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 400px) {
  .vencedores-titulo {
    font-size: 1.1rem;
  }
  .vencedor-item {
    padding: 0.7rem 0.2rem 0.7rem 0.2rem;
  }
  .vencedor-item img {
    width: 48px;
    height: 48px;
  }
}
.painel-festival {
    display: flex;
    min-height: 100vh;
  }
  .conteudo-festival {
  flex: 1 1;
  margin-left: 250px; /* mesma largura da sidebar */
}

  @media (max-width: 768px) {
  .sidebar-festival {
    position: relative;
    width: 100%;
    height: auto;
  }

  .conteudo-festival {
    margin-left: 0;
  }
}

.modal-avaliacao-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(30, 0, 60);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-classificatoria-box {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px;
  max-width: 90vw;
}

.modal-fechar {
  position: absolute;
  top: 10px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.botao-sim, .botao-nao {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: none;
  font-size: 36px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  margin: 0 auto;
  transition: transform 0.2s ease;
}

.botao-sim {
  background-color: #0f0;
}

.botao-nao {
  background-color: #c62828;
}

.botao-sim:hover, .botao-nao:hover {
  transform: scale(1.05);
}

.input-justificativa {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  font-size: 16px;
  resize: none;
}

.modal-avaliacao-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-avaliacao-box {
  background: #fff;
  width: 96%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 18px;
  padding: 28px 18px 22px 18px;
  box-shadow: 0 8px 32px rgba(80, 0, 120, 0.18);
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  animation: modalFadeIn 0.25s;
}

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

.etapa-info {
  margin-top: -8px;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #6a1b9a;
  font-weight: 500;
  text-align: center;
}

.criterios-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.criterio-bloco {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #faf7ff;
  border-radius: 10px;
  padding: 12px 10px 10px 10px;
  box-shadow: 0 1px 6px rgba(120,0,180,0.04);
}

.criterio-label {
  font-weight: bold;
  font-size: 1.08rem;
  color: #4b0071;
  margin-bottom: 2px;
}

.nota-justificativa {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.input-nota {
  width: 60px;
  padding: 10px;
  font-size: 1.1rem;
  border: 1.5px solid #a37ee8;
  border-radius: 8px;
  background: #fff;
  color: #4b0071;
  text-align: center;
  font-weight: 600;
  transition: border 0.2s;
}
.input-nota:focus {
  border: 1.5px solid #de21f3;
  outline: none;
}

.input-justificativa {
  flex: 1 1;
  min-width: 120px;
  min-height: 60px;
  padding: 10px;
  font-size: 1rem;
  border: 1.5px solid #a37ee8;
  border-radius: 8px;
  resize: vertical;
  background: #fff;
  color: #4b0071;
  transition: border 0.2s;
}
.input-justificativa:focus {
  border: 1.5px solid #de21f3;
  outline: none;
}

.botoes-modal-avaliacao {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-cancelar,
.btn-confirmar {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 1px 4px rgba(80,0,120,0.07);
}

.btn-cancelar {
  background-color: #f3e6ff;
  color: #6a1b9a;
}
.btn-cancelar:hover {
  background: #e0d7f7;
  color: #4b0071;
}

.btn-confirmar {
  background: linear-gradient(90deg, #7d27db 60%, #4caf50 100%);
  color: #fff;
}
.btn-confirmar:hover {
  background: linear-gradient(90deg, #4caf50 60%, #7d27db 100%);
  color: #fff;
}

@media (max-width: 600px) {
  .modal-avaliacao-box {
    padding: 14px 4vw 16px 4vw;
    max-width: 99vw;
  }

  .modal-avaliacao-box h2 {
    font-size: 2.2rem;
    text-align: center;
  }
  .criterio-bloco {
    padding: 10px 4px 8px 4px;
    display: flex;
    align-items: center;
  }
  .botoes-modal-avaliacao {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .btn-cancelar,
  .btn-confirmar {
    width: 100%;
    font-size: 0.98rem;
    padding: 10px 0;
  }
  .nota-justificativa {
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
}
/* ===== Base e fundo ===== */
.areaC-wrap{
  min-height:100vh;
  color:#fff;
  background:#111827; /* gray-900 */
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  padding:18px 16px 40px;
}

/* ===== Header com gradiente animado ===== */
.areaC-header{
  max-width:1100px;margin:0 auto 22px;padding:16px 18px;border-radius:18px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:linear-gradient(90deg,#7c3aed,#4f46e5,#7c3aed);
  background-size:200% 200%;box-shadow:0 16px 40px rgba(0,0,0,.35);
}
.gradient-anim{ animation:grad 10s ease infinite; }
@keyframes grad{ 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

.areaC-head-left{display:flex;align-items:center;gap:12px;}
.areaC-avatar{width:48px;height:48px;border-radius:999px;object-fit:cover;border:2px solid #fde68a;}
.areaC-ident h2{margin:0 0 4px;font-size:clamp(16px,2.8vw,22px);font-weight:800;}
.areaC-pill{display:inline-block;padding:3px 9px;font-size:12px;border-radius:999px;background:rgba(0,0,0,.25);color:#fde68a;font-weight:700}

/* Ações header */
.areaC-head-actions{display:flex;gap:10px;flex-wrap:wrap}
.btn-regulamento{
  background:#facc15; color:#0b0b0b; font-weight:700;
  padding:9px 12px; border-radius:12px; border:0; cursor:pointer;
  box-shadow:0 8px 18px rgba(250,204,21,.25);
  text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease, background .15s ease;
}
.btn-regulamento:hover{ transform:translateY(-1px); box-shadow:0 12px 26px rgba(250,204,21,.35); }

/* Botão Atualizar: normal (glass) + estado de alerta pulsando */
.btn-atualizar{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  color:#fff; font-weight:800; border-radius:12px; padding:9px 12px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  cursor:pointer; transition:transform .2s, background .2s, box-shadow .2s;
}
.btn-atualizar:hover{ transform:translateY(-1px); background:rgba(255,255,255,.18); box-shadow:0 10px 24px rgba(255,255,255,.08); }

/* ALERTA: vermelho + pulso quando há pendências */
.btn-atualizar--alert{
  background:#ef4444 !important;  /* red-500 */
  border-color:#ef4444 !important;
  color:#fff;
  animation:pulseAlert 1.5s infinite;
  box-shadow:0 12px 28px rgba(239,68,68,.35);
}
@keyframes pulseAlert{
  0%{ box-shadow:0 0 0 0 rgba(239,68,68,.55); }
  70%{ box-shadow:0 0 0 14px rgba(239,68,68,0); }
  100%{ box-shadow:0 0 0 0 rgba(239,68,68,0); }
}

/* ===== Main / Card ===== */
.areaC-main{ max-width:1100px; margin:0 auto; }
.areaC-card{
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding:16px 14px;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}
@media (min-width:640px){ .areaC-card{padding:20px} }
@media (min-width:1024px){ .areaC-card{padding:22px} }

.areaC-card-head{text-align:center;margin-bottom:14px}
.areaC-card-head h3{
  margin:0;font-size:clamp(22px,4.2vw,36px);font-weight:900;
  background:linear-gradient(90deg,#c084fc,#818cf8);-webkit-background-clip:text;background-clip:text;color:transparent
}
.areaC-card-head p{color:#c7c7ff;margin:6px 0 10px}

/* Select estilizado */
.areaC-select-wrap{position:relative;width:min(230px,80%);margin:6px auto 0}
.areaC-select{
  width:100%;appearance:none;outline:none;background:#1f2937;color:#fff;border:1px solid #4b5563;
  padding:10px 32px 10px 12px;border-radius:10px}
.areaC-select:focus{border-color:#8b5cf6;box-shadow:0 0 0 2px rgba(139,92,246,.35)}
.areaC-select-wrap .chev{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#cbd5e1;pointer-events:none}

/* aviso de scroll (aparece só em telas < md) */
.areaC-scroll-hint{display:block;text-align:center;color:#9aa4ff;font-size:12px;margin:-4px 0 10px;opacity:.85}
@media (min-width:768px){ .areaC-scroll-hint{display:none} }

/* ===== Estado aguarde ===== */
.areaC-wait{ text-align:center; color:#cbb6ff; font-weight:600; }

/* ===== Binário ===== */
.areaC-tableBin{ margin-top:14px; }
.areaC-tableBin .tHead{display:grid;grid-template-columns:1fr 150px;grid-gap:10px;gap:10px;background:rgba(255,255,255,.06);
  padding:10px 12px;border-radius:10px;color:#cbb6ff;font-weight:700}
.areaC-tableBin .tRow{display:grid;grid-template-columns:1fr 150px;grid-gap:10px;gap:10px;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.08)}
.areaC-tableBin .jurado{display:flex;align-items:center;gap:10px}
.areaC-tableBin .jurado img{width:40px;height:40px;border-radius:8px;object-fit:cover}
.areaC-tableBin .status.ok{display:flex;align-items:center;justify-content:center;font-weight:800;color:#10b981;background:rgba(16,185,129,.12);border:1px solid rgba(16,185,129,.35);border-radius:999px}

@media (max-width:480px){
  .areaC-tableBin .tHead,
  .areaC-tableBin .tRow{grid-template-columns:1fr 120px}
}

/* Eliminado */
.areaC-alert-eliminado{margin-top:12px;background:#ffeded;border:1px solid #ffc7c7;color:#7a1c1c;border-radius:16px;padding:14px}
.areaC-elim-item{display:flex;gap:12px;align-items:center;background:#fff;border-radius:12px;padding:10px 12px;margin-top:12px;color:#111}
.areaC-elim-item img{width:52px;height:52px;border-radius:8px;object-fit:cover;border:2px solid #ef4444}
@media (max-width:480px){
  .areaC-elim-item{flex-direction:column;align-items:flex-start}
}

/* ===== Tabela de notas (critérios) ===== */
.notaTable-wrap{overflow-x:auto}
.notaTable-wrap::-webkit-scrollbar{height:8px}
.notaTable-wrap::-webkit-scrollbar-thumb{background:#4f46e5;border-radius:4px}

/* cabeçalho/linhas como grade; a grade precisa de uma largura mínima para gerar scroll em telas pequenas */
.notaTable.head,
.notaTable.row,
.notaTable.foot{
  display:grid;align-items:center;
  grid-template-columns: 220px repeat(4, minmax(90px,1fr)) 110px; /* jurado + 4 critérios + média */
  min-width: 700px; /* força scroll em telas estreitas (igual ao min-w do exemplo) */
}

@media (min-width:640px){
  .notaTable.head,
  .notaTable.row,
  .notaTable.foot{
    grid-template-columns: 260px repeat(4, minmax(100px,1fr)) 120px;
    min-width: 820px;
  }
}

@media (min-width:1024px){
  .notaTable.head,
  .notaTable.row,
  .notaTable.foot{
    grid-template-columns: 300px repeat(4, minmax(110px,1fr)) 140px;
    min-width: 980px;
  }
}

.cell{padding:10px 12px;text-align:center;color:#eaeaff;font-size:14px}
.cell.jurado{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding-left:12px}
.cell.jurado img{width:32px;height:32px;border-radius:999px;object-fit:cover}
@media (min-width:640px){ .cell{font-size:15px} .cell.jurado img{width:36px;height:36px} }

.notaTable.head{background:rgba(255,255,255,.06);border-radius:10px}
.notaTable.row{border-bottom:1px solid rgba(255,255,255,.08)}
.notaTable.foot{background:#0b0b0b;border-radius:10px;margin-top:8px}

/* badges e tooltip mantidos */
.cell-note{position:relative}
.tt-ico{margin-left:6px;position:relative;cursor:help;font-weight:700}
.tt-ico .tt{
  position:absolute;visibility:hidden;opacity:0;transition:opacity .15s ease;
  bottom:125%;left:50%;transform:translateX(-50%);min-width:180px;max-width:260px;
  background:#333;color:#fff;padding:8px 10px;border-radius:8px;z-index:10;text-align:left;
  box-shadow:0 8px 18px rgba(0,0,0,.35)
}
.tt-ico:hover .tt{visibility:visible;opacity:1}

.badge-area{display:inline-block;min-width:54px;padding:6px 12px;border-radius:999px;font-weight:900;
  background:rgba(168,85,247,.35);color:#f3e8ff;border:1px solid rgba(168,85,247,.6)}
.badge-area.green{background:rgba(16,185,129,.25);border-color:rgba(16,185,129,.5);color:#d1fae5}
.badge-area.indigo{background:#6366f1;color:#fff;border-color:#6366f1}

/* ===== Modal (mantido da sua versão, só retoques) ===== */
.modal-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.65);
  display:flex; align-items:center; justify-content:center; z-index:999;
}
.modal-content-usuario{
  background:#fff; color:#111; width:100%; max-width:640px; max-height:90vh; overflow:auto;
  padding:18px; border-radius:18px; box-shadow:0 20px 50px rgba(0,0,0,.35); animation:fadeIn .25s ease;
}
.modal-content-usuario h3{ margin:0 0 12px; color:#7c3aed; font-weight:900; text-align:center; }
.modal-content-usuario form{ display:flex; flex-direction:column; gap:12px; }
.modal-content-usuario input, .modal-content-usuario textarea, .modal-content-usuario select{
  padding:10px 12px; border-radius:10px; border:1px solid #d1d5db; font-size:15px;
}
.modal-content-usuario button[type="submit"]{
  background:#7c3aed; color:#fff; font-weight:800; padding:12px; border-radius:12px; border:0; cursor:pointer;
}
.preview-foto-perfil{ display:flex; justify-content:center; }
.foto-preview-atual{width:136px;height:136px;border-radius:999px;object-fit:cover;border:2px solid #e5e7eb}

/* ===== Responsivo ===== */
@media (max-width:920px){
  .areaC-header{ flex-direction:column; align-items:flex-start; }
  .areaC-head-actions{ width:100%; justify-content:flex-start; }
  .notaTable.head, .notaTable.row, .notaTable.foot{
    grid-template-columns: 2fr repeat(4,minmax(80px,1fr)) 120px; /* fallback comum */
  }
}
@media (max-width:600px){
  .areaC-avatar{ width:56px;height:56px; }
  .btn-regulamento, .btn-atualizar{ padding:8px 12px; font-size:14px; }
}

/* reaproveita */
@keyframes fadeIn{ from{opacity:0; transform:translateY(6px)} to{opacity:1; transform:none} }





/* modal */

/* ===== Overlay permanece igual ===== */
.modal-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.7);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  display:flex;align-items:center;justify-content:center;padding:16px;z-index:999;
}

/* ===== Caixa do modal no estilo da imagem ===== */
.modal-sheet{
  position:relative;width:100%;max-width:420px;max-height:90vh;overflow:auto;
  background:#111827;border:1px solid rgba(139,92,246,.35);
  border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.5);
  padding:18px 16px 20px;
}

/* Título com gradiente */
.modal-title{
  margin:6px 0 14px;text-align:center;font-weight:900;
  font-size:clamp(20px,3.8vw,28px);
  background:linear-gradient(90deg,#c084fc,#818cf8);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}

/* Botão fechar (canto superior direito) */
.modal-close{
  position:absolute;top:10px;right:12px;width:32px;height:32px;border:0;border-radius:8px;
  background:#00000033;color:#cbd5e1;font-size:16px;cursor:pointer;display:grid;place-items:center;
}
.modal-close:hover{background:#00000055;color:#fff}

/* Subtítulo suave */
.modal-subtle{color:#d1d5db;font-size:13px;text-align:center;margin-bottom:8px}

/* Avatar com aro roxo */
.modal-avatar-wrap{display:flex;flex-direction:column;align-items:center;margin-bottom:10px}
.modal-avatar{
  width:84px;height:84px;border-radius:999px;object-fit:cover;
  border:4px solid #8b5cf6;box-shadow:0 0 0 3px #1f2937;
}

/* Form */
.modal-form{display:flex;flex-direction:column;gap:12px}

/* Campo e rótulo */
.modal-field{display:flex;flex-direction:column;gap:6px}
.modal-label{font-size:12px;color:#c7c9d4}

/* Inputs escuros */
.modal-input{
  width:100%;background:#374151cc;border:1px solid #4b5563;color:#e5e7eb;
  border-radius:10px;padding:12px 14px;font-size:14px;outline:none;
}
.modal-input:focus{border-color:#6366f1;box-shadow:0 0 0 2px rgba(99,102,241,.35)}
.modal-input--readonly{
  background:#374151aa;color:#a1a1aa;cursor:not-allowed;
}

/* Input de arquivo com botão roxo "Escolher ficheiro" */
.file-input{
  width:100%;color:#94a3b8;background:transparent;border:0;padding:0;
}
.file-input::file-selector-button{
  margin-right:12px;border:0;border-radius:999px;padding:8px 14px;cursor:pointer;
  font-weight:700;font-size:13px;
  background:#7c3aed;color:#f5f3ff;transition:background .2s,transform .05s;
}
.file-input:hover::file-selector-button{background:#6d28d9}
.file-input:active::file-selector-button{transform:scale(.98)}

/* Ações */
.modal-actions{padding-top:6px}
.modal-save{
  width:100%;padding:12px 16px;border:0;border-radius:10px;font-weight:800;color:#fff;cursor:pointer;
  background-image:linear-gradient(90deg,#7c3aed,#4f46e5);transition:filter .2s, transform .05s;
  box-shadow:0 10px 30px rgba(99,102,241,.35);
}
.modal-save:hover{filter:brightness(1.05)}
.modal-save:active{transform:translateY(1px)}

/* ====== 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.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.dashboard3-modal-content {
  background: #272c34;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px;
  border-radius: 10px;
  width: 70%;
  height: 85%;
  text-align: center;
}

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

.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: #67768d;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.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: #67768d;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}


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

.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: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  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 */
    }
}
.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 */
.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;
}

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

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

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

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

.festival-musica-container {
  background: #1C001F;
  background-image: url(/static/media/bg-vote.c45a42cabd6bd5ea6daf.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  padding: 2rem;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.logo-gospel {
  width: 380px;
}


.festival-musica-titulo {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 2rem;
}

.festival-musica-favorito {
  color: #ffdf8c;
}

.festival-musica-grid-candidatos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  justify-items: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}



.festival-musica-card-candidato {
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 1.5rem;
  width: 240px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.festival-musica-card-candidato:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.03);
}

.festival-musica-foto {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.festival-musica-card-candidato h2 {
  font-size: 1.2rem;
  margin: 0.5rem 0 0.3rem;
  color: #fff;
}

.festival-musica-card-candidato p {
  font-size: 0.9rem;
  color: #ddd;
  margin-bottom: 1rem;
}

.festival-musica-btn-votar {
  background-color: #ff6868;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  margin-top: 1rem;
}

.festival-musica-card-candidato:hover .festival-musica-btn-votar {
  opacity: 1;
  pointer-events: all;
}
/* Fundo escuro semi-transparente */
.festival-musica-overlay-voto {
  position: fixed; /* ESSENCIAL */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8); /* escurece fundo */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000; /* acima de tudo */
}


/* Container do modal */
.festival-musica-modal-voto {
  background: #1a0022;
  color: #fff;
  border-radius: 20px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative; /* precisa ter */
  z-index: 1001; /* acima do overlay */
    animation: fadeInModal 0.3s ease-in-out;
}


/* Animação de entrada */
@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.festival-musica-modal-voto h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #ffd2ff;
}

.festival-musica-modal-voto p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.festival-musica-modal-voto label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
  color: #fff;
}

.festival-musica-modal-voto input {
  width: 100%;
  padding: 0.8rem;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  background: #fff;
  color: #000;
}

.festival-musica-modal-botoes {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.festival-musica-modal-botoes button {
  flex: 1 1;
  padding: 0.75rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.festival-musica-modal-botoes button:first-child {
  background-color: #3be07d;
  color: #000;
}

.festival-musica-modal-botoes button:first-child:hover {
  background-color: #2ad16a;
}

.festival-musica-modal-botoes button:last-child {
  background-color: #d94e4e;
  color: #fff;
}

.festival-musica-modal-botoes button:last-child:hover {
  background-color: #c03838;
}

/* ===== Fundo gradiente roxo (como o protótipo) ===== */
.fm-wrap {
  min-height: 100vh;
  background: linear-gradient(135deg, #4c1d95 0%, #a78bfa 50%, #f472b6 100%);
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
}

/* Container central com largura máxima */
.fm-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cabeçalho */
.fm-header {
  text-align: center;
  margin-bottom: 48px;
}
.fm-title {
  font-weight: 800;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(255,255,255,.18);
  margin: 0;
}
.fm-subtitle {
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255,255,255,.85);
}

/* Mensagem quando fechado */
.fm-closed {
  text-align: center;
  margin: 2rem auto;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffd3d3;
  background: rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.15);
  padding: 12px 16px;
  border-radius: 12px;
}

/* Grid responsivo */
.fm-grid {
  display: grid;
  grid-gap: 28px;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .fm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fm-grid { grid-template-columns: 1fr; }
}

/* Card “glass” */
.fm-card {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.fm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0,0,0,.35);
}

/* Avatar circular com anel */
.fm-avatar {
  width: 128px;
  height: 128px;
  border-radius: 999px;
  border: 6px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -36px;        /* “salta” do topo do card */
  margin-bottom: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
.fm-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fm-avatar-ph {
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  opacity: .95;
}

/* Textos do card */
.fm-name {
  font-weight: 800;
  font-size: 22px;
  text-align: center;
  margin: 6px 0 2px;
}
.fm-muted {
  color: rgba(255,255,255,.85);
  text-align: center;
  margin-bottom: 18px;
}

/* Botão “Votar” */
.fm-vote-btn {
  width: 100%;
  background: #ffffff;
  color: #4c1d95;
  font-weight: 800;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.fm-vote-btn:hover {
  background: #f3f0ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

/* ===== Modal (react-modal) ===== */
.fm-overlay {
  position: fixed !important;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
}
.fm-modal {
  width: 100%;
  max-width: 520px;
  background: #fff;
  color: #2b1f43;
  border-radius: 18px;
  border: 1px solid #eee;
  padding: 22px;
  transform: scale(.96);
  opacity: 1;
  transition: transform .2s ease, opacity .2s ease;
  outline: none;
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
}
.ReactModal__Overlay--after-open .fm-modal { transform: scale(1); opacity: 1; }

.fm-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.fm-close {
  border: 1px solid #eee;
  background: #fff;
  color: #7a6ea3;
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}
.fm-close:hover { background: #f7f7fb; }

.fm-modal-caption { margin: 6px 0; color: #6b5e94; }
.fm-candidate-chip {
  text-align: center;
  background: #efe9ff;
  color: #3d2a78;
  border: 1px solid #e0d5ff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.fm-label { display: block; font-weight: 700; margin-bottom: 6px; color: #3d2a78; }
.fm-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  outline: none;
}
.fm-input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,.14);
}
.fm-help { display: block; color: #8f84b8; margin-top: 6px; }

.fm-confirm {
  width: 100%;
  margin-top: 16px;
  background: #7c3aed;
  color: #fff;
  font-weight: 800;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.fm-confirm:hover { background: #6d28d9; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(124,58,237,.35); }



@media (max-width: 600px) {
  .fm-modal { 
    padding: 16px;
  }

  .logo-gospel {
    width: 250px;
  }
}
/* Container do popup */
.pc-popup {
  --pad: 20px;
  position: relative;
  min-height: 100vh;
  padding: var(--pad);
  background: radial-gradient(ellipse at bottom, #23001f 0%, #140013 60%, #0b0010 100%);
  color: #fff;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  overflow: hidden;
}

/* Cabeçalho com nome do candidato */
.pc-header {
  font-weight: 700;
  font-size: 20px;
  margin: 6px 0 14px;
  opacity: .9;
}

/* Média Geral central */
.pc-media-geral {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.pc-media-geral span { display:block; font-weight:700; font-size:14px; opacity:.95; }
.pc-media-geral strong { display:block; font-size:28px; margin-top:2px; }

/* GRID com 4 colunas de altura total */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  grid-gap: 18px;
  gap: 18px;
  height: calc(100vh - (var(--pad) * 2) - 44px); /* 44px ~ header */
  align-items: stretch;
}

/* Card base (altura total da coluna) */
.pc-card {
  height: 100%;
  position: relative;
  border-radius: 12px;
  padding: 14px 16px 18px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  overflow: hidden;
  isolation: isolate;
}

/* Gradiente animado (camada de fundo) */
.gradient-anim::before {
  content:"";
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.12) 70%),
    linear-gradient(135deg, var(--c1), var(--c2));
  background-size: 100% 100%, 200% 200%;
  animation: moveGrad 10s ease-in-out infinite alternate;
  box-shadow: inset 0 -120px 140px rgba(0,0,0,.45); /* vinheta inferior */
}

/* Estados por faixa de nota */
.pc-card.pendente { --c1: #9ca3af33; --c2: #9ca3af22; filter: grayscale(25%); opacity: .85; }
.pc-card.nota-baixa { --c1: #dc2626; --c2: #ef4444; }
.pc-card.nota-media { --c1: #f59e0b; --c2: #fbbf24; }
.pc-card.nota-alta  { --c1: #16a34a; --c2: #22c55e; }

/* movimento do gradiente */
@keyframes moveGrad {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* Topo do card (nome → pode ser imagem) */
.pc-card-top { margin-bottom: 12px; }
.pc-jurado-nome { text-align:center; font-weight:700; text-shadow: 0 1px 2px rgba(0,0,0,.25); }

/* Foto circular */
.pc-jurado-foto {
  display: grid; place-items: center;
  margin: 8px 0 12px;
}
.pc-jurado-foto img, .pc-foto-placeholder {
  width: 110px; height: 110px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.16);
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
  object-fit: cover; color: rgba(255,255,255,.9);
  display: grid; place-items: center; font-size: 13px;
}

/* Linha "Média:" */
.pc-media { text-align:center; font-weight:700; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.pc-media span { opacity:.95; margin-right:4px; }
.pc-media b { font-size: 18px; }

/* Responsivo */
@media (max-width: 1100px) { .pc-grid { grid-template-columns: repeat(3, minmax(220px, 1fr)); } }
@media (max-width: 800px)  { .pc-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); } }
@media (max-width: 520px)  { .pc-grid { grid-template-columns: 1fr; } }

/* Área base do popup */
.pc-popup {
  --pad: 20px;               /* padding vertical do container */
  /* --headerH vem do JSX */
  position: relative;
  min-height: 100vh;
  padding: var(--pad);
  /* Fundo com tons de roxo */
  background: radial-gradient(1200px 600px at 50% 110%, #2a1447 0%, #1a0c2e 45%, #120825 100%);
  color: #fff;
  overflow: hidden;          /* sem scroll, cards colam no rodapé */
}

/* Header com nome do candidato (opcional) */
.pc-header { margin: 6px 0 14px; font-weight: 700; font-size: 20px; opacity: .9; color: #c4b5fd; }

/* Centro (loading/empty) */
.pc-center {
  height: 50vh;
  display: grid;
  place-items: center;
  opacity: .8;
}

/* GRID ocupa o ALTO inteiro do viewport (menos header e paddings) */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  height: calc(100vh - (var(--pad) * 2) - var(--headerH)); /* AQUI */
  align-items: stretch;   /* garante esticar */
}

/* GRID MEDIA CENTRAL - usada para 2 jurados, média, 2 jurados */
.pc-grid-media-central {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(80px, 160px) 1fr 1fr; /* coluna central mais fina, jurados flexíveis */
  grid-gap: 20px;
  gap: 20px;
  height: calc(100vh - (var(--pad) * 2) - var(--headerH));
  align-items: stretch;
}

/* Card do jurado com gradiente animado */
.pc-card {
  height: 96dvh;            /* AQUI */
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  padding: 14px 16px 18px;
  box-shadow: 0 14px 30px rgba(124,58,237,.25);
  border: 1px solid rgba(167,139,250,.18);
  isolation: isolate;
}

/* ====== CORES POR FAIXA DE NOTA ====== */
/* defaults (caso falte classe) */
.pc-card { --c1: #7e4dd3; --c2: #a78bfa; }

/* Nota < 4  -> vermelho */
.pc-card.nota-baixa {
  --c1: #b91c1c;
  --c2: #ef4444;
  border-color: rgba(239,68,68,.45);
  box-shadow: 0 14px 30px rgba(239,68,68,.28);
}

/* 4 <= nota < 7 -> amarelo/âmbar */
.pc-card.nota-media {
  --c1: #b45309;
  --c2: #f59e0b;
  border-color: rgba(245,158,11,.45);
  box-shadow: 0 14px 30px rgba(245,158,11,.28);
}

/* nota >= 7 -> verde */
.pc-card.nota-alta {
  --c1: #15803d;
  --c2: #22c55e;
  border-color: rgba(34,197,94,.45);
  box-shadow: 0 14px 30px rgba(34,197,94,.28);
}

/* PENDENTE já está correto – não recebe .gradient-anim no JSX. 
   Mas, se quiser garantir o roxo estático: */
.pc-card.pendente::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #6415e4 30%, #c5b051 100%);
  border-radius: inherit;
}

/* Gradiente animado (camada de fundo) com animação igual ao exemplo */
.gradient-anim::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.12) 70%),
    linear-gradient(135deg, var(--c1), var(--c2));
  background-size: 100% 100%, 200% 200%;
  animation: moveGrad 10s ease-in-out infinite alternate;
  border-radius: inherit;
  box-shadow: inset 0 -120px 140px rgba(0,0,0,.45);
}

/* movimento do gradiente */
@keyframes moveGrad {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* Topo do card (nome do jurado) */
.pc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.pc-jurado-nome {
  font-weight: 700;
  font-size: 16px;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  color: #a78bfa;
  margin: auto;
  padding-top: 50px;
}

/* Foto circular do jurado */
.pc-jurado-foto-criterios {
  display: grid;
  place-items: center;
  margin: 8px 0 12px;
}
.pc-jurado-foto-criterios img,
.pc-foto-placeholder {
  width: 208px;
  height: 208px;
  object-fit: cover;
  color: rgba(255,255,255,.9);
  display: grid;
  place-items: center;
  font-size: 13px;
}

/* Linha "Média:" */
.pc-media {
  margin-top: 6px;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  color: #c4b5fd;
}
.pc-media span { opacity: .95; margin-right: 4px; }
.pc-media b { font-size: 18px; }

/* Novos estilos para a seção central da grade */
.pc-media-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(124,58,237,0.12);
  border: 2px solid #a78bfa;
  box-shadow: 0 0 32px #a78bfa33;
  min-height: 220px;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.pc-media-central-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: #a78bfa;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #000a;
}

.pc-media-central-value {
  font-size: 2.3rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 8px #7c3aed, 0 0px 2px #fff;
}

/* ===== animação de gradiente para cards COM nota (baixa/média/alta) ===== */
.pc-card.gradient-anim::before{
  content:"";
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.12) 70%),
    /* usa as variáveis por faixa: --c1 e --c2 já definidas nas classes nota-* */
    linear-gradient(135deg, var(--c1), var(--c2), var(--c1));
  background-size:100% 100%, 230% 230%;
  border-radius:inherit;
  box-shadow: inset 0 -120px 140px rgba(0,0,0,.45);
  /* 2 animações: deslocamento do gradiente + leve oscilação de matiz */
  animation: pc-bg-pan 9s ease-in-out infinite alternate,
             pc-hue-wobble 16s ease-in-out infinite alternate;
}

@keyframes pc-bg-pan {
  0%   { background-position: 0% 0%,   0%   0%; }
  100% { background-position: 0% 0%, 100% 100%; }
}

@keyframes pc-hue-wobble {
  0%   { filter: hue-rotate(-6deg) saturate(108%); }
  100% { filter: hue-rotate( 6deg) saturate(108%); }
}

/* ===== animação no NÚMERO da média (texto com gradient clip) ===== */
.pc-card:not(.pendente) .pc-media b {
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  animation: pc-text-shift 4.8s ease-in-out infinite;
}

.pc-media b {
  font-size: 3rem;
  font-weight: 700;
}

@keyframes pc-text-shift {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* pendente: mantém estático (sem animação nem gradient no texto) */
.pc-card.pendente .pc-media b {
  -webkit-text-fill-color: currentColor;
  background: none;
  animation: none;
}

/* ===== média GERAL (card central) com texto animado ===== */
.pc-media-card .pc-media-central-value {
  background: linear-gradient(90deg, #a78bfa, #7c3aed, #c026d3, #a78bfa);
  background-size: 300% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  animation: pc-text-shift 6s linear infinite;
}

/* acessibilidade: respeitar “reduzir movimentos” do sistema */
@media (prefers-reduced-motion: reduce) {
  .pc-card.gradient-anim::before,
  .pc-card:not(.pendente) .pc-media b,
  .pc-media-card .pc-media-central-value {
    animation: none !important;
  }
}

/* Responsivo */
@media (max-width: 1100px) {
  .pc-grid{ grid-template-columns:repeat(3, minmax(220px,1fr)); }
}
@media (max-width: 800px) {
  .pc-grid{ grid-template-columns:repeat(2, minmax(220px,1fr)); }
}
@media (max-width: 520px) {
  .pc-grid{ grid-template-columns:1fr; }
}

/* ====== Fundo com gradiente roxo (como no protótipo) ====== */
.podioV2 {
  --bg1: #1a0f2b;
  --bg2: #4f2a7f;
  --txt: #ffffff;
  --muted: #c7bfe0;
  --line: rgba(255,255,255,.12);

  /* anéis das posições */
  --gold: #f4c21f;
  --silver: #cfd5df;
  --bronze: #d9843b;
  --popular: #ff5fa3;

  min-height: 100vh;
  background-color: var(--bg1);
  background-image: radial-gradient(1200px 600px at 80% 0%, var(--bg2) 0%, var(--bg1) 60%);
  color: var(--txt);
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* ====== Header ====== */
.podioV2__header {
  position: relative;
  padding: 32px 28px 12px;
  text-align: center;
}

.podioV2__header h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: .2px;
  text-shadow: 0 0 15px rgba(255,255,255,.18);
}

.podioV2__header .badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.badge-avancos {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  color: var(--muted);
}
.badge-avancos.data {
  background: rgba(120, 95, 200, .18);
  border-color: rgba(120, 95, 200, .4);
}

.btn-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}
.btn-close:hover { background: rgba(255,255,255,.12); }

/* ====== Mensagens ====== */
.msg {
  margin: 12px auto 0;
  max-width: 1080px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  text-align: center;
}
.msg.erro {
  color: #ffd3d3;
  border-color: rgba(255, 140, 140, .6);
  background: rgba(255, 50, 50, .12);
}

/* ====== Grid 4 colunas ====== */
.podioV2__grid {
  max-width: 1280px;
  margin: 84px auto 40px;
  padding: 0 24px;
  display: grid;
  grid-gap: 22px;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .podioV2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .podioV2__grid { grid-template-columns: 1fr; }
}

/* Centraliza os cards quando há apenas 3 candidatos (etapa 5) */
.podioV2__grid.podio3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  max-width: 900px;
}

/* ====== Card “glassmorphism” ====== */
.glassCard {
  position: relative;
  border-radius: 20px;
  padding: 24px 22px 18px;
  background: rgba(47, 28, 75, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.glassCard:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0,0,0,.45); }
.glassCard.placeholder { opacity: .55; }

/* ====== Avatar circular com anel colorido ====== */
.avatar {
  margin-top: -56px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.avatar__img,
.avatar__ph {
  width: 128px; height: 128px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  background: rgba(255,255,255,.06);
  border: 4px solid transparent; /* base, o anel vem via box-shadow */
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}

/* Placeholders de foto */
.avatar__ph {
  display: grid;
  place-items: center;
  color: #d2c7f0;
  font-weight: 700;
}

/* Cores do anel (igual ao protótipo: amarelo, cinza, laranja, rosa) */
.ring-gold   { box-shadow: 0 0 0 4px #f4c21f, 0 10px 24px rgba(244,194,31,.25); border-color: #f4c21f; }
.ring-silver { box-shadow: 0 0 0 4px #cfd5df, 0 10px 24px rgba(207,213,223,.18); border-color: #cfd5df; }
.ring-bronze { box-shadow: 0 0 0 4px #d9843b, 0 10px 24px rgba(217,132,59,.22); border-color: #d9843b; }
.ring-popular{ box-shadow: 0 0 0 4px #ff5fa3, 0 10px 24px rgba(255,95,163,.22); border-color: #ff5fa3; }
.ring-neutral{ box-shadow: 0 0 0 4px rgba(255,255,255,.12); }

/* ====== Textos ====== */
.nome {
  margin: 6px 0 2px;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

.subtitle {
  margin: 2px 0 12px;
  font-weight: 700;
  text-align: center;
  color: #cfd5df;
  padding: 5px 12px;
}

/* matiz do subtítulo conforme anel */
.subtitle.ring-gold   { color: #ffd452; }
.subtitle.ring-silver { color: #dfe5ee; }
.subtitle.ring-bronze { color: #ffb070; }
.subtitle.ring-popular{ color: #ff8fbe; }

/* ====== Métrica ====== */
.metric {
  margin-top: 8px;
  text-align: center;
}
.metric__label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 4px;
}
.metric__value {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: .5px;
}

/* 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 {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4b4b;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}

.main-article .title {
    position: absolute;
    bottom: -19px;
    width: 100%;
    padding: 10px 10px 5px 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 {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4b4b;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}

.article .title {
    position: absolute;
    width: 100%;
    bottom: -18px;
    color: white;
    padding: 10px 10px 5px 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 {
        font-size: 1rem;
    }

    .main-article .title {
        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 {
        font-size: 1rem;
    }

    .main-article .title {
        margin: 20px;
    }
}


/* Responsividade - Tablet */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
        width: 80%;
    }


    .article {
        max-height: 200px;
    }

    .title {
        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 {
        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 {
    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 {
    opacity: 1; /* Mantém a tag visível no hover */
    z-index: 2;
}

/* Título abaixo da imagem */
.grid-item .title {
    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-header2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto;
    width: 100%;
    border-top: 1.5px solid #2929295a;
}

.section-header2 h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #292929;
}

.section-header2 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%;
}

.content .tag {
    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 .title {
    font-size: 1rem;
    font-weight: 300;
    text-align: left;
    margin: 0;

}

.content .subtitle {
    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-header3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 90%;
    border-top: 1.5px solid #2929295a;
}

.section-header3 h2 {
    font-size: 1rem;
    font-weight: bold;
    color: #292929;
}

.section-header3 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-header2 h2{
        font-size: 1.1rem;
        width: 70%;
    }

    .section-header2,
    .section-header3 {
        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-header2 h2{
        font-size: 1.1rem;
        width: 70%;
    }

    .section-header2,
    .section-header3 {
        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 */
    }
}




/*# sourceMappingURL=main.330b9dbb.css.map*/