
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  margin-bottom: 100px;
}

h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px rgba(255,255,255,0.08);
}

h2 {
  color: var(--primary-color);
  margin-top: 0;
  font-weight: 400;
  padding-bottom: 10px;

  border-bottom: none;
  background-image: linear-gradient(
    to left, /* agora vai da direita para a esquerda */
    transparent 0%,
    var(--primary-color) 50%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-position: 200% 100%; /* começa fora à direita */
  background-size: 200% 1px;

  animation: sinalRadio 4s linear infinite; /* mais rápido */
}

@keyframes sinalRadio {
  0% {
    background-position: 200% 100%;
  }
  60% {
    background-position: -200% 100%; /* atravessa para a esquerda */
  }
  100% {
    background-position: -200% 100%; /* pausa até reiniciar */
  }
}



.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}



#form-section {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  label {
    display: block;
    margin-bottom: 6px;
  }

  select,
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    background: var(--info-bg);
    color: var(--texto);
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s;
  }
  
  input:focus, select:focus {
  outline: none;       
  border: 1px solid gray;
}

  button {
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    background: var(--highlight);
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 1;
  }

  button:hover {
    background: var(--text-muted);
  }

  .select-group {
    display: block;
  }

  @media (min-width: 700px) {
    .select-group {
      display: flex;
      gap: 20px;
    }

    .select-group .form-group {
      flex: 1;
    }

    .select-group select {
      width: 100%;
    }
  }


.hidden { 
  display: none; 
}

.progress-container {
  width: 100%;
  background: linear-gradient(145deg, #0a0a0a, #111);
  border-radius: 30px;
  position: relative;
  height: 20px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.05),
              inset 0 -1px 3px rgba(0,0,0,0.5);
}

.progress-bar {
  background: linear-gradient(90deg, #444, #666);
  height: 100%;
  width: 0%;
  border-radius: 30px 0 0 30px;
  transition: width 0.3s ease;
  position: relative;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.6);
}

.progress-text {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  user-select: none;
  pointer-events: none;
  color: white; /* Cor fixa branca */
  text-shadow: 0 0 2px rgba(0,0,0,0.7); /* Sombra para melhorar legibilidade */
  z-index: 2; /* Garante que o texto fique acima de tudo */
}



/* Layout Moderno do Status */
.status-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.info-card {
  background: var(--info-bg);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.info-card.mensagem {
    grid-column: span 2;
    text-align: center;
  }

.info-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.info-label {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 8px;
  margin-top: -5px;
  letter-spacing: 0.5px;
}

.info-value {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 400;
  word-break: break-word;
  line-height: 1.4;
}

/* Grupo de botões */
.button-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  color: var(--texto);
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.toast.show {
  opacity: 1;
}

.cbc {
  margin-top: 30px;
  color: var(--text-muted);
  font-size: 15px;
  text-align: left;
}

/* Responsividade */
@media (max-width: 700px) {
  .status-info {
      display: grid; 
    grid-template-columns: 1fr;
    width: 100%;
  }

  .info-card {
    padding: 15px;
  }

  .info-card.mensagem {
    grid-column: span 1; /* impede ocupar duas colunas no mobile */
  }

  .container {
    padding: 15px;
  }

  h1 {
    font-size: 2rem;
  }
  
  .button-group {
    flex-direction: column;
    gap: 10px;
  }

  button {
    width: 100%;
  }
}


.descricao{
    font-style: italic;
    color: var(--text-muted);
    font-size: 16px;
    margin-top: 10px;
}

#email-field-group {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin: 0;
    padding: 0;
}

#email-field-group.visible {
    max-height: 100px; /* Valor maior que a altura real do conteúdo */
    opacity: 1;
    margin-bottom: 16px; /* Espaçamento igual aos outros form-group */
    padding: 0;
}



.form-email{
    text-align: left;
    margin: 0 0 30px 0;
}

