@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)}

/* 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: radial-gradient(circle, #e8a9ec 0%, #8805bc 18%, #a146eb 59%);
  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: 35%;
  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: 1.5rem;
    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);
  }
}

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

/* ==================== PADRÃO ANTIGO ==================== */
.candidatos-container {
  background-color: #4b0071;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.filter-candidatos {
  padding: 2rem;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  gap: 1rem;
  width: 40%;
}

.input-group-candidatos {
  position: relative;
}

.input-candidatos {
  border: solid 1.5px #9e9e9e;
  border-radius: 1rem;
  background: none;
  padding: 1rem;
  font-size: 1rem;
  color: #f5f5f5;
  transition: border 150ms cubic-bezier(0.4,0,0.2,1);
}

.user-label {
  position: absolute;
  left: 15px;
  color: #e8e8e8;
  pointer-events: none;
  transform: translateY(1rem);
  transition: 150ms cubic-bezier(0.4,0,0.2,1);
}

.input-candidatos:focus, .input-candidatos:valid {
  outline: none;
  border: 1.5px solid #a31ae8;
}

.input-candidatos:focus ~ label, .input-candidatos:valid ~ label {
  transform: translateY(-50%) scale(0.8);
  background-color: #212121;
  padding: 0 .2em;
  color: #de21f3;
}

.grid-candidatos-festival {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  justify-items: center;
  width: 50%;
  margin: auto;
  padding-bottom: 2rem;
  flex-grow: 1;
}

.card-candidato {
  background: transparent;
  width: 320px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  min-width: 0;
  max-width: 98vw;
}

.imagem-candidato {
  background-color: #f19c00;
  height: 220px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.imagem-candidato img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.rodape-candidato {
  background-color: white;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  flex-direction: column;
}

.bolinha-candidato {
  background-color: white;
  border: 4px solid #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.nome-candidato {
  flex-grow: 1;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
}

.botao-perfil {
  background-color: #f03e3e;
  border: none;
  color: white;
  padding: 7px 0;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  width: 100%;
  margin-bottom: 0.3rem;
}

.footer-festival-candidatos {
  position: relative;
  width: 100%;
  bottom: 0;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.selo-etapa {
  background-color: #e76d6d;
  color: #ffffff;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.selo-etapa.eliminado {
  background-color: crimson !important;
}

.contador-candidatos {
  color: #FFF;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  padding: 0.5rem 1rem;
  background-color: #f03e3e;
  border-radius: 10px;
  margin: 0.5rem auto 0.5rem auto;
}

.documento-faltando {
  color: #c0392b;
  background-color: #fdecea;
  padding: 0.5rem 1rem;
  border-left: 4px solid #e74c3c;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.preview-video {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 2px solid #7d27db;
  border-radius: 8px;
  margin: 1rem 0;
}

.link-pdf {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f3f3f3;
  border: 1px solid #ccc;
  padding: 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.link-pdf:hover {
  background-color: #e2e2e2;
  text-decoration: underline;
}

.link-pdf i {
  color: #e74c3c;
  font-size: 1.2rem;
}

.botoes-candidato {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  width: 100%;
}

/* ==================== NOVO PADRÃO DE CLASSES ==================== */
.candidatos-festival-container {
  background-color: #4b0071;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.candidatos-festival-filter {
  padding: 2rem;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  gap: 1rem;
  width: 40%;
}

.candidatos-festival-input-group {
  position: relative;
}

.candidatos-festival-input {
  border: solid 1.5px #9e9e9e;
  border-radius: 1rem;
  background: none;
  padding: 1rem;
  font-size: 1rem;
  color: #f5f5f5;
  transition: border 150ms cubic-bezier(0.4,0,0.2,1);
}

.candidatos-festival-label {
  position: absolute;
  left: 15px;
  color: #e8e8e8;
  pointer-events: none;
  transform: translateY(1rem);
  transition: 150ms cubic-bezier(0.4,0,0.2,1);
}

.candidatos-festival-input:focus, .candidatos-festival-input:valid {
  outline: none;
  border: 1.5px solid #a31ae8;
}

.candidatos-festival-input:focus ~ .candidatos-festival-label, 
.candidatos-festival-input:valid ~ .candidatos-festival-label {
  transform: translateY(-50%) scale(0.8);
  background-color: #212121;
  padding: 0 .2em;
  color: #de21f3;
}

.candidatos-festival-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  justify-items: center;
  width: 80%;
  margin: auto;
  padding-bottom: 2rem;
  flex-grow: 1;
}

.candidatos-festival-card {
  background: transparent;
  width: 320px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  min-width: 0;
  max-width: 98vw;
}

.candidatos-festival-imagem {
  background-color: #f19c00;
  height: 220px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.candidatos-festival-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.candidatos-festival-rodape {
  background-color: white;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  flex-direction: column;
}

.candidatos-festival-nome {
  flex-grow: 1;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
}

.candidatos-festival-botoes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  width: 100%;
}

.candidatos-festival-botao {
  background-color: #f03e3e;
  border: none;
  color: white;
  padding: 7px 0;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  width: 100%;
  margin-bottom: 0.3rem;
}

.candidatos-festival-footer {
  position: relative;
  width: 100%;
  bottom: 0;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.candidatos-festival-selo-etapa {
  background-color: #e76d6d;
  color: #ffffff;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.candidatos-festival-selo-etapa.eliminado {
  background-color: crimson !important;
}

.candidatos-festival-contador {
  color: #FFF;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  padding: 0.5rem 1rem;
  background-color: #f03e3e;
  border-radius: 10px;
  margin: 0.5rem auto 0.5rem auto;
}

.candidatos-festival-sem-foto {
  color: #c0392b;
  background-color: #fdecea;
  padding: 0.5rem 1rem;
  border-left: 4px solid #e74c3c;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

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

/* Telas grandes */
@media (min-width: 1200px) {
  .filter-candidatos,
  .candidatos-festival-filter {
    width: 40%;
    max-width: 700px;
  }
  .grid-candidatos-festival,
  .candidatos-festival-grid {
    width: 60%;
    max-width: 1600px;
  }

  .candidatos-festival-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

/* Tablets e notebooks */
@media (min-width: 769px) and (max-width: 1199px) {
  .filter-candidatos,
  .candidatos-festival-filter {
    width: 60%;
    max-width: 600px;
  }
  .grid-candidatos-festival,
  .candidatos-festival-grid {
    width: 80%;
    max-width: 900px;
  }
  .card-candidato,
  .candidatos-festival-card {
    width: 300px;
    min-width: 220px;
  }
  .imagem-candidato,
  .candidatos-festival-imagem {
    height: 180px;
    min-height: 150px;
  }
  .nome-candidato,
  .candidatos-festival-nome {
    font-size: 1rem;
  }
  .botao-perfil,
  .candidatos-festival-botao {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
}

/* Celulares e telas pequenas */
@media (max-width: 768px) {
  .filter-candidatos,
  .candidatos-festival-filter {
    width: 98%;
    padding: 1rem 0.5rem;
    flex-direction: column;
    gap: 0.7rem;
    min-width: 0;
  }
  .grid-candidatos-festival,
  .candidatos-festival-grid {
    width: 100%;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 100vw;
    min-width: 0;
  }
  .card-candidato,
  .candidatos-festival-card {
    width: 98vw;
    max-width: 99vw;
    min-width: 0;
    margin: 0 auto;
    padding: 0.7rem 0.3rem 1rem 0.3rem;
  }
  .imagem-candidato,
  .candidatos-festival-imagem {
    height: 160px;
    min-height: 120px;
    border-radius: 10px 10px 0 0;
  }
  .rodape-candidato,
  .candidatos-festival-rodape {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem;
  }
  .nome-candidato,
  .candidatos-festival-nome {
    font-size: 0.9rem;
    text-align: center;
  }
  .botao-perfil,
  .candidatos-festival-botao {
    font-size: 0.85rem;
    padding: 7px 0;
    width: 100%;
    margin-bottom: 0.3rem;
  }
  .botoes-candidato,
  .candidatos-festival-botoes {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  .selo-etapa,
  .candidatos-festival-selo-etapa {
    font-size: 0.7rem;
    padding: 3px 8px;
    top: 7px;
    left: 7px;
  }
  .contador-candidatos,
  .candidatos-festival-contador {
    font-size: 1.1rem;
    padding: 0.3rem 0.7rem;
    margin: 0.5rem auto 0.5rem auto;
  }
}

/* Ajustes extras para telas muito pequenas */
@media (max-width: 480px) {
  .filter-candidatos,
  .candidatos-festival-filter {
    padding: 0.5rem 0.2rem;
    gap: 0.5rem;
  }
  .card-candidato,
  .candidatos-festival-card {
    padding: 0.5rem 0.1rem 0.7rem 0.1rem;
  }
  .imagem-candidato,
  .candidatos-festival-imagem {
    height: 110px;
    min-height: 90px;
  }
  .nome-candidato,
  .candidatos-festival-nome {
    font-size: 0.8rem;
  }
  .botao-perfil,
  .candidatos-festival-botao {
    font-size: 0.8rem;
    padding: 6px 0;
  }
}

/* Responsividade para elementos utilitários */
@media (max-width: 600px) {
  .preview-video {
    max-width: 98vw;
    min-width: 0;
  }
  .link-pdf {
    font-size: 0.95rem;
    padding: 0.4rem;
    gap: 5px;
  }
}

/* Responsividade para rodapé */
@media (max-width: 768px) {
  .footer-festival-candidatos,
  .candidatos-festival-footer {
    padding: 0.5rem 0;
    font-size: 0.95rem;
  }
}
.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;
  }
}
/* 🌙 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.13rem;
}

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

.media-final {
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 1.15rem;
}
.dashboard-votos-publicos {
  max-width: 1600px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: #f6f8fa;
  min-height: 100vh;
}

.dashboard-votos-publicos h2 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 2.5rem;
  color: #1a1a1a;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.filtro-data {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filtro-data label {
  font-weight: 600;
  color: #222;
  font-size: 1.1rem;
}

.filtro-data input,
.filtro-data select {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: 1.5px solid #b3c6e0;
  font-size: 1.1rem;
  background: #fafdff;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px #0001;
}
.filtro-data input:focus,
.filtro-data select:focus {
  border: 2px solid #0077ff;
  outline: none;
  box-shadow: 0 2px 8px #0077ff22;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}

.card-voto {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  width: 290px;
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid #e3eafc;
  position: relative;
}
.card-voto:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
  border-color: #b3c6e0;
}

.foto-candidato {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  border: 4px solid #b3c6e0;
  background: #f8fafd;
  box-shadow: 0 2px 8px #b3c6e033;
}

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

.info-candidato strong {
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.info-candidato span {
  display: block;
  margin-top: 2px;
  color: #3a3a3a;
  font-size: 1.08rem;
  font-weight: 500;
}

.info-candidato span:first-of-type {
  color: #0077ff;
  font-weight: 700;
  font-size: 1.12rem;
}

@media (max-width: 1100px) {
  .cards-container {
    gap: 1.5rem;
  }
  .card-voto {
    width: 220px;
    padding: 1.2rem 0.7rem;
  }
  .foto-candidato {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 700px) {
  .dashboard-votos-publicos {
    padding: 1.2rem 0.2rem;
  }
  .cards-container {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .card-voto {
    width: 95vw;
    max-width: 350px;
    padding: 1rem 0.5rem;
  }
  .foto-candidato {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 400px) {
  .dashboard-votos-publicos h2 {
    font-size: 1.1rem;
  }
  .card-voto {
    padding: 0.7rem 0.2rem;
  }
  .foto-candidato {
    width: 54px;
    height: 54px;
  }
}
.dashboard-total-votos {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem 1.5rem;
  background: #fafdff;
  border-radius: 22px;
  box-shadow: 0 4px 32px #0077ff11;
  min-height: 100vh;
}

.dashboard-total-votos h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: #1a1a1a;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.filtros-votacao {
  display: flex;
  width: 30%;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  background: #f6f8fa;
  padding: 1.1rem 1rem;
  border-radius: 12px;
  box-shadow: 0 1px 6px #0077ff08;
}

.filtros-votacao label {
  font-weight: 600;
  color: #0077ff;
  font-size: 1.08rem;
  margin-right: 0.3rem;
}

.filtros-votacao input,
.filtros-votacao select {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1.5px solid #b3c6e0;
  font-size: 1.08rem;
  background: #fafdff;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px #0001;
}
.filtros-votacao input:focus,
.filtros-votacao select:focus {
  border: 2px solid #0077ff;
  outline: none;
  box-shadow: 0 2px 8px #0077ff22;
}

.box-total {
  background: linear-gradient(90deg, #e3f0ff 60%, #fafdff 100%);
  border-radius: 14px;
  box-shadow: 0 2px 12px #0077ff11;
  padding: 1.5rem 1rem 1.2rem 1rem;
  margin: 0 auto 2.2rem auto;
  max-width: 340px;
  text-align: center;
}

.box-total h3 {
  color: #0077ff;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: 0.5px;
}

.total-votos-numero {
  font-size: 2.8rem;
  color: #1a1a1a;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0;
}

.grafico-votos-minuto {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px #0077ff11;
  padding: 1.5rem 1rem 1.2rem 1rem;
  margin: 0 auto 2.2rem auto;
  max-width: 1200px;
  text-align: center;
}

.grafico-votos-minuto h3 {
  color: #0077ff;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.mais-votado-minuto {
  background: linear-gradient(120deg, #fffbe6 60%, #fff7c2 100%);
  border-radius: 14px;
  box-shadow: 0 2px 12px #ffb30022;
  padding: 1.5rem 1rem 1.2rem 1rem;
  margin: 0 auto 2.2rem auto;
  max-width: 400px;
  text-align: center;
}

.mais-votado-minuto h3 {
  color: #ffb300;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.card-candidato {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0077ff11;
  padding: 0.8rem 1rem;
  margin: 0.7rem auto 0 auto;
  max-width: 340px;
}

.card-candidato img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #b3c6e0;
  background: #f8fafd;
  box-shadow: 0 2px 8px #b3c6e033;
}

.card-candidato strong {
  font-size: 1.13rem;
  color: #1a1a1a;
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}

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

@media (max-width: 900px) {
  .grafico-votos-minuto {
    max-width: 98vw;
    padding: 1rem 0.2rem;
  }
  .box-total,
  .mais-votado-minuto {
    max-width: 98vw;
    padding: 1rem 0.2rem;
  }
}

@media (max-width: 600px) {
  .dashboard-total-votos {
    padding: 1.2rem 0.2rem 2rem 0.2rem;
  }
  .filtros-votacao {
    gap: 0.7rem;
    padding: 0.7rem 0.2rem;
  }
  .box-total,
  .grafico-votos-minuto,
  .mais-votado-minuto {
    padding: 0.8rem 0.2rem;
    font-size: 0.98rem;
  }
  .card-candidato {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.7rem 0.2rem;
  }
  .card-candidato img {
    width: 48px;
    height: 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: #fafdff;
  border-radius: 18px;
  box-shadow: 0 2px 16px #0001;
}

.avancos-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.2rem;
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: 1px;
}

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

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

.filtros-avancos input,
.filtros-avancos select {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1.5px solid #b3c6e0;
  font-size: 1.08rem;
  background: #fafdff;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px #0001;
}
.filtros-avancos input:focus,
.filtros-avancos select:focus {
  border: 2px solid #0077ff;
  outline: none;
  box-shadow: 0 2px 8px #0077ff22;
}

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

.card-avanco {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #0077ff11;
  padding: 2rem 1.5rem 1.5rem 1.5rem; /* aumente o padding */
  width: 320px; /* aumente a largura */
  min-height: 260px; /* aumente a altura mínima */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1.5px solid #e3eafc;
  text-align: center;
  position: relative;
}

.card-avanco:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px #0077ff22;
  border-color: #b3c6e0;
}

.foto-candidato {
  width: 120px;   /* aumente o tamanho da foto */
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  border: 3px solid #b3c6e0;
  background: #f8fafd;
  box-shadow: 0 2px 8px #b3c6e033;
}

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

.info-candidato strong {
  font-size: 1.12rem;
  color: #1a1a1a;
  margin-bottom: 0.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

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

@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;
  }
}
.ranking-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
}

.ranking-container h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #7d27db;
  font-size: 2rem;
  letter-spacing: 1px;
}

.filtros-ranking {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.filtros-ranking label {
  font-weight: 500;
  color: #444;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filtros-ranking select,
.filtros-ranking input[type="date"] {
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background: #faf8ff;
  color: #333;
}

.filtros-ranking button {
  background: #7d27db;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.filtros-ranking button:hover {
  background: #5a1fa1;
}

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

.card-ranking {
  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;
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card-ranking:hover {
  box-shadow: 0 6px 24px 0 rgba(125,39,219,0.15);
  transform: translateY(-4px) scale(1.03);
}

.numero-ranking {
  position: absolute;
  top: 12px;
  left: 16px;
  background: #7d27db;
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px 0 rgba(125,39,219,0.10);
  z-index: 2;
}

.card-ranking img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0.7rem 0 0.5rem 0;
  border: 3px solid #7d27db;
  background: #fff;
}

.card-ranking strong {
  font-size: 1.15rem;
  color: #5a1fa1;
  margin-bottom: 0.2rem;
  display: block;
}

.card-ranking p {
  margin: 0.2rem 0;
  color: #444;
  font-size: 1rem;
}

.card-ranking .texto-suspense {
  color: #b7b7b7;
  font-size: 1.1rem;
  font-style: italic;
  margin-top: 2.5rem;
}

.card-ranking.revelado {
  background: linear-gradient(135deg, #fff 0%, #e9e4ff 100%);
  box-shadow: 0 4px 24px 0 rgba(125,39,219,0.13);
  cursor: default;
  animation: fadeIn 0.7s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97);}
  to { opacity: 1; transform: scale(1);}
}
/* ====== 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;
  inset: 0;
  background: rgba(30, 0, 60, 0.82);
  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;
  }
}
/* ====== GERAL ====== */
.area-candidato-container {
  background-color: #fce9db;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.area-candidato-main {
  flex: 1 1;
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}


.area-candidato-header {
  background: linear-gradient(to right, #a640d6, #7d27db);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.perfil {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.foto-perfil {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
}

.perfil h2 {
  font-size: 1.8rem;
  margin: 0;
}

.perfil p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

.botao-atualizar {
  background: #66aaff;
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 15px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.3s ease;
}

.botao-atualizar:hover {
  background: #4b93e6;
}

.alerta-pendencia {
  background-color: #ff6961 !important;
  animation: pulse 1.5s infinite;
}

.area-candidato-main {
  padding: 3rem 2rem;
  text-align: center;
}

.area-candidato-main h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.select-etapa {
  margin: 0.5rem auto;
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: white;
  width: 300px;
}

/* ====== TABELA NOTAS BINÁRIAS ====== */
.tabela-notas {
  margin-top: 2rem;
  background: #e2c4f7;
  border-radius: 20px;
  padding: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cabecalho-tabela {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  padding: 0 1rem;
  margin-bottom: 1rem;
  color: #555;
}

.cabecalho-tabela span {
  flex: 1 1;
  text-align: center;
  font-size: 0.85rem;
}

.linha-criterio {
  display: flex;
  align-items: center;
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.bloco-jurado {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  padding: 0.5rem 1rem;
  min-width: 200px;
}

.bloco-jurado img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
}

.notas-linha {
  flex: 1 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem;
  font-weight: bold;
  font-size: 0.9rem;
  background-color: #ddd;
}

.jurado1 .notas-linha { background-color: #bca3f7; }
.jurado2 .notas-linha { background-color: #f9a5df; }
.jurado3 .notas-linha { background-color: #f8d28a; }
.popular .notas-linha   { background-color: #a4f4ff; }

.popular .bloco-jurado {
  background-color: #40c4ff;
  color: #fff;
  justify-content: center;
}

.bloco-jurado.binario {
  background-color: #8c52ff;
  color: white;
  flex-direction: row;
  padding: 1rem;
  text-align: center;
  width: 200px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.352);
}

.bloco-binario-texto {
  background-color: #d1baff;
  flex: 1 1;
  padding: 1rem;
  font-weight: bold;
}

/* ====== MODAL ====== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content-usuario {
  background-color: #fff;
  padding: 2rem;
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.3s ease;
}

.modal-content-usuario h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: #7d27db;
  text-align: center;
}

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

.modal-content-usuario input,
.modal-content-usuario textarea,
.modal-content-usuario select {
  padding: 0.6rem 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
}

.modal-content-usuario input[readonly] {
  background-color: #f3f3f3;
  color: #999;
  cursor: not-allowed;
}

.modal-content-usuario label {
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #444;
}

.modal-content-usuario button[type="submit"] {
  background-color: #7d27db;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.modal-content-usuario button[type="submit"]:hover {
  background-color: #6923c3;
}

.modal-content-usuario button:not([type="submit"]) {
  background-color: #f3f3f3;
  color: #333;
  border: 1px solid #ccc;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 0.5rem;
}

.atualizar-foto-container {
  margin-bottom: 1rem;
}

.preview-foto-perfil {
  margin: 0.5rem 0;
  display: flex;
  justify-content: center;
}

.foto-preview-atual {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ccc;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

/* ====== PENDÊNCIAS ====== */
.modal-content-usuario ul {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
  list-style: disc;
  color: #333;
  font-size: 0.95rem;
}

.modal-content-usuario ul li {
  margin-bottom: 0.4rem;
}

.modal-content-usuario ul li span {
  font-weight: bold;
}

/* ====== TABELA DETALHADA ====== */
.tabela-candidato-votos {
    display: flex;
    flex-direction: column;
    margin: 2rem auto;
    width: 100%;
    min-width: 320px;
    max-width: 1200px;
    background: none;
    box-shadow: none;
    overflow-x: auto;
    scrollbar-width: thin;
}

.tabela-candidato-linha-titulo,
.tabela-candidato-linha-jurado {
  display: flex;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  position: relative;
  font-size: 1.13rem;
  z-index: 1;
}

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

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

.tabela-candidato-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;
  word-break: break-word;
  min-width: 70px;
}

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

.tabela-candidato-jurado-nome img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.tabela-candidato-media-final {
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 1.15rem;
}

.tabela-candidato-linha-jurado.popular {
  background-color: #26a12d98;
  color: #000;
  font-weight: bold;
}


/* ====== TOOLTIP ====== */
.tooltip-icone {
  position: relative;
  display: inline-block;
  margin-left: 6px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}

.tooltip-conteudo {
  visibility: hidden;
  opacity: 0;
  min-width: 180px;
  max-width: 260px;
  background-color: #333;
  color: #fff;
  text-align: left;
  border-radius: 8px;
  padding: 0.6rem;
  position: absolute;
  z-index: 9999;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  white-space: normal;
  word-wrap: break-word;
}

.tooltip-icone:hover .tooltip-conteudo {
  visibility: visible;
  opacity: 1;
}

/* ====== SCROLLBAR ====== */
.tabela-candidato-votos::-webkit-scrollbar {
  height: 8px;
}
.tabela-candidato-votos::-webkit-scrollbar-thumb {
  background: #d1baff;
  border-radius: 8px;
}

/* ====== ANIMAÇÕES ====== */
@keyframes fadeIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 105, 97, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 105, 97, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 105, 97, 0);
  }
}

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

@media (max-width: 1600px) {
  .tabela-candidato-votos {
    width: 80%;
  }
  .tabela-candidato-linha-titulo,
  .tabela-candidato-linha-jurado {
    min-width: 1400px; /* Mantém largura horizontal para scroll */
  }
}

/* Tablets e telas médias */
@media (max-width: 1024px) {
  .area-candidato-header {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .tabela-candidato-linha-titulo,
  .tabela-candidato-linha-jurado {
    min-width: 1400px; /* Mantém largura horizontal para scroll */
  }

  
  .perfil {
    flex-direction: column;
    gap: 1rem;
  }
  .foto-perfil {
    width: 70px;
    height: 70px;
  }
  .botao-atualizar {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .area-candidato-main {
    padding: 2rem 0.2rem;
  }
  .select-etapa {
    width: 100%;
  }
  .tabela-notas {
    padding: 1.5rem;
  }
  .bloco-jurado {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
  .bloco-jurado img {
    width: 50px;
    height: 50px;
  }
  .notas-linha {
    font-size: 0.8rem;
  }
}

/* Telas menores */
@media (max-width: 900px) {
  .tabela-candidato-votos {
    width: 98vw;
    min-width: 0;
    max-width: 100vw;
    padding: 0 0.5rem;
    overflow-x: auto;
  }
  .tabela-candidato-linha-titulo,
  .tabela-candidato-linha-jurado {
    min-width: 1400px; /* Mantém largura horizontal para scroll */
  }
  .tabela-candidato-celula {
    font-size: 1rem;
    padding: 0.5rem 0.2rem;
    min-width: 110px;
  }
  .tabela-candidato-jurado-nome img {
    width: 32px;
    height: 32px;
  }
}

/* Telas pequenas */
@media (max-width: 768px) {
  .area-candidato-header {
    padding: 1.5rem;
  }
  .tabela-candidato-linha-titulo,
  .tabela-candidato-linha-jurado {
    min-width: 1400px; /* Mantém largura horizontal para scroll */
  }
  .perfil h2 {
    font-size: 1.5rem;
  }
  .perfil p {
    font-size: 0.9rem;
  }
  .tabela-notas {
    padding: 1rem;
  }
  .cabecalho-tabela span {
    font-size: 0.75rem;
  }
  .notas-linha {
    font-size: 0.7rem;
  }
  .bloco-jurado {
    min-width: 150px;
  }
  .bloco-jurado.binario {
    width: 150px;
    padding: 0.5rem;
  }
  .bloco-binario-texto {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  .select-etapa {
    width: 50%;
    font-size: 0.9rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .tabela-candidato-votos {
    min-width: 0;
    max-width: 100vw;
    padding: 0;
    margin: 1rem 0;
    overflow-x: auto;
  }
  .tabela-candidato-linha-titulo,
  .tabela-candidato-linha-jurado {
    min-width: 1400px; /* Mantém largura horizontal para scroll */
  }
  .tabela-notas {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
    background-color: transparent;
    box-shadow: none;
  }
  .cabecalho-tabela {
    display: none; /* Esconde o cabeçalho horizontal em mobile */
  }
  .linha-criterio {
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    width: 100%;
  }
  .bloco-jurado {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 0.5rem;
  }
  .bloco-jurado img {
    width: 60px;
    height: 60px;
  }
  .notas-linha {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  .notas-linha span {
    width: 100%;
    background: #eee;
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
  }
  .linha-criterio.popular .notas-linha span {
    background: #a4f4ff;
    font-weight: bold;
  }
  .bloco-binario-texto {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
  }
  .linha-criterio.binario {
    flex-direction: column;
    background-color: #d1baff;
    border-radius: 12px;
    padding: 1rem;
  }
  .bloco-jurado.binario {
    background-color: #8c52ff;
    color: white;
    width: 100%;
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
  }
}

/* Mobile extra pequeno */
@media (max-width: 500px) {
  .modal-content-usuario {
    padding: 1rem;
    border-radius: 15px;
  }
  .modal-content-usuario h3 {
    font-size: 1.3rem;
  }
  .modal-content-usuario input,
  .modal-content-usuario textarea {
    font-size: 0.95rem;
  }
}

/* Mobile muito pequeno */
@media (max-width: 480px) {
  .area-candidato-header {
    padding: 1rem;
  }
  .perfil h2 {
    font-size: 1.2rem;
  }
  .perfil p {
    font-size: 0.8rem;
  }
  .botao-atualizar {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  .tabela-notas {
    padding: 0.5rem;
  }
  .cabecalho-tabela {
    flex-direction: column;
    align-items: center;
  }
  .cabecalho-tabela span {
    font-size: 0.7rem;
  }
  .linha-criterio {
    flex-direction: column;
  }
  .bloco-jurado {
    width: 100%;
  }
  .notas-linha {
    flex-direction: column;
    font-size: 0.6rem;
  }
  .bloco-jurado.binario {
    width: 100%;
  }
  .bloco-binario-texto {
    font-size: 0.8rem;
  }
}
/* ====== 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;
}

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



.festival-musica-container {
  background-color: #f45c01;
  text-align: center;
  min-height: 100vh;
  padding-bottom: 0rem;
}

/* Título principal */
.festival-musica-titulo {
  color: white;
  font-size: clamp(2.2rem, 6vw, 7rem);
  margin-bottom: 1rem;
  margin-top: 0;
  font-family: Thunderhouse, sans-serif;
  font-weight: 500;
  line-height: 1.0;
  word-break: break-word;
}
.festival-musica-favorito {
  color: #ffffff;
  font-size: 6.5rem;
  letter-spacing: 2px;
}

/* Filtro de datas */
.festival-musica-select-data {
  margin-bottom: 2rem;
  color: white;
  font-size: 1.2rem;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.festival-musica-select-data select {
  padding: 0.5rem;
  border-radius: 5px;
  font-size: 1.1rem;
  width: 100%;
  max-width: 300px;
  margin-top: 0.5rem;
}

/* Grid responsivo de candidatos */
.festival-musica-grid-candidatos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  padding: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Card do candidato */
.festival-musica-card-candidato {
  background: white;
  border-radius: 14px;
  padding: 1.2rem 1rem 1.5rem 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.festival-musica-card-candidato:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
}

/* Foto do candidato */
.festival-musica-foto {
  width: 100%;
  max-width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin-bottom: 1rem;
  border: 4px solid #f45c01;
  background: #ffe6d1;
  transition: border 0.2s;
}
.festival-musica-card-candidato:hover .festival-musica-foto {
  border: 4px solid #e60023;
}

/* Nome e cidade */
.festival-musica-card-candidato h2 {
  font-size: 1.25rem;
  margin: 0.2rem 0 0.3rem 0;
  color: #e60023;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
}
.festival-musica-card-candidato p {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  color: #444;
  text-align: center;
}

/* Botão votar */
.festival-musica-btn-votar {
  margin-top: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(90deg, #e60023 60%, #f45c01 100%);
  color: white;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(244,92,1,0.08);
  transition: background 0.2s, transform 0.1s;
}
.festival-musica-btn-votar:hover:not([disabled]) {
  background: linear-gradient(90deg, #f45c01 60%, #e60023 100%);
  transform: scale(1.04);
}
.festival-musica-btn-votar[disabled] {
  background: #aaa;
  cursor: not-allowed;
  opacity: 0.7;
}

/* MODAL */
.festival-musica-modal-voto {
  background: white;
  padding: 2rem 1rem;
  max-width: 95vw;
  margin: auto;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.festival-musica-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;
  z-index: 999;
}
.festival-musica-modal-voto input {
  margin: 1rem 0;
  padding: 0.7rem;
  width: 90%;
  font-size: 1.1rem;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.festival-musica-modal-botoes {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
}
.festival-musica-modal-botoes button {
  flex: 1 1;
  padding: 0.7rem 0;
  border: none;
  border-radius: 6px;
  background: #f45c01;
  color: white;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0.2rem;
  transition: background 0.2s;
}
.festival-musica-modal-botoes button:hover {
  background: #e60023;
}

/* SCROLLBAR para grid */
.festival-musica-grid-candidatos {
  scrollbar-width: thin;
  scrollbar-color: #f45c01 #fff3e0;
}
.festival-musica-grid-candidatos::-webkit-scrollbar {
  height: 8px;
  width: 8px;
  background: #fff3e0;
}
.festival-musica-grid-candidatos::-webkit-scrollbar-thumb {
  background: #f45c01;
  border-radius: 8px;
}


/* Footer */
.cactus-candidatos {
  display: none;
}

.footer-festival-logo-cand img {
  width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  margin: 0px auto;
}

.footer-festival-logo-cand {
  padding-top: 10%;
}

.footer-festival-cand {
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.festival-musica-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.festival-musica-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}




/* Responsividade */
@media (max-width: 900px) {
  .festival-musica-grid-candidatos {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    padding: 0.7rem;
    max-width: 98vw;
  }
  .festival-musica-card-candidato {
    max-width: 98vw;
    padding: 1rem 0.5rem 1.2rem 0.5rem;
  }
  .festival-musica-foto {
    max-width: 180px;
    height: 180px;
  }
}

@media (max-width: 600px) {
  .festival-musica-container {
    padding-bottom: 0rem;
  }
  .festival-musica-titulo {
    font-size: 3.2rem;
    margin-bottom: 0.7rem;
    padding-top: 1rem;
    line-height: 0.8;
    word-break: break-word;
  }
  .festival-musica-favorito {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
  }
  .festival-musica-grid-candidatos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem;
    max-width: 100vw;
    overflow-y: visible;
  }
  .festival-musica-card-candidato {
    max-width: 78vw;
    margin: 0 auto;
    padding: 0.7rem 0.3rem 1rem 0.3rem;
  }
  .festival-musica-foto {
    width: 100%;
    max-width: 120px;
    height: 120px;
    margin: 0 auto 0.7rem auto;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-width: 3px;
  }
  .festival-musica-card-candidato h2 {
    font-size: 1.05rem;
  }
  .festival-musica-card-candidato p {
    font-size: 0.95rem;
  }
  .festival-musica-btn-votar {
    width: 100%;
    padding: 0.7rem 0;
    font-size: 1.05rem;
    margin-top: 0.7rem;
  }
  .festival-musica-select-data {
    margin-bottom: 1rem;
    font-size: 1rem;
    max-width: 98vw;
  }
  .festival-musica-select-data select {
    width: 100%;
    font-size: 1rem;
    margin-top: 0.3rem;
  }
  .festival-musica-modal-voto {
    padding: 1.2rem 0.2rem;
    max-width: 99vw;
  }
  .festival-musica-modal-voto input {
    width: 98%;
    font-size: 1rem;
    padding: 0.6rem;
  }
  .festival-musica-modal-botoes {
    flex-direction: column;
    gap: 0.7rem;
  }
  .festival-musica-modal-botoes button {
    font-size: 1rem;
    padding: 0.7rem 0;
  }
}

/*# sourceMappingURL=main.d4179d97.css.map*/