/* Container geral da seção inscrição para centralizar e limitar largura */
.container {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Título */
.inscricao h2 {
  text-align: center;
  font-size: 1.9rem;
  color: #222;
  margin-bottom: 30px;
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Formulário */
.formulario-inscricao {
  background-color: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
  max-width: 100%;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Cada campo */
.formulario-inscricao .campo {
  margin-bottom: 22px;
}

/* Rótulos */
.formulario-inscricao label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #444;
  font-size: 1.1rem;
}

/* Inputs */
.formulario-inscricao input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}
/* Override para que checkboxes não virem 100% de largura */
.formulario-inscricao input[type="checkbox"] {
  width: auto;
  margin: 0;      /* opcional: remove possíveis gaps */
}
/* Foco do input */
.formulario-inscricao input:focus {
  border-color: #ff7f27;
  outline: none;
  box-shadow: 0 0 8px rgba(255,127,39,0.3);
}

/* Botão */
.botao-enviar {
  background-color: #ff7f27;
  color: white;
  padding: 14px 28px;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(255,127,39,0.6);
}

/* Hover do botão */
.botao-enviar:hover {
  background-color: #e0691e;
  box-shadow: 0 6px 12px rgba(224,105,30,0.7);
}

/* Banner topo */
.banner-topo img {
  width: 100%;
  /* height: auto; */
  display: block;
  
  margin:  0px auto; 
  border-bottom: 5px solid #ff7f27;
  max-width: 768px;
}

/* Se quiser manter alinhado à esquerda, troque justify-content: center por flex-start */

.aviso-cbx-obrigatorio{
  background-color: #fff3cd; 
  border: 2px solid #ffeaa7;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}
/* Parceiros */
.parceiros {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  padding: 24px 0;
  background-color: #f9f9f9;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.parceiros img {
  height: 65px;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.parceiros img:hover {
  transform: scale(1.1);
}

/* ===== ESTILOS CUSTOMIZADOS PARA FLATPICKR ===== */

/* Input do date picker */
.formulario-inscricao input[type="text"]#data_nasc {
  background: url('data:image/svg+xml;utf8,<svg fill="%23ff7f27" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v12a2 2 0 002 2h14a2 2 0 002-2V6c0-1.1-.9-2-2-2zm0 14H5V9h14v9z"/></svg>') no-repeat right 12px center;
  background-size: 20px 20px;
  cursor: pointer;
  padding-right: 45px;
}

/* Container principal do Flatpickr */
.flatpickr-calendar {
  background: #fff !important;
  border: 2px solid #ff7f27 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(255, 127, 39, 0.15) !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 14px !important;
}

/* ===== CORREÇÃO ESPECÍFICA PARA OS MESES ===== */

/* Cabeçalho do calendário com fundo laranja */
.flatpickr-months {
  background: #ff7f27 !important;
  border-radius: 10px 10px 0 0 !important;
  padding: 12px 0 !important;
}

/* FORÇA a cor branca para TODOS os elementos do cabeçalho */
.flatpickr-months,
.flatpickr-months *,
.flatpickr-month,
.flatpickr-month *,
.flatpickr-current-month,
.flatpickr-current-month * {
  color: white !important;
  fill: white !important;
}

/* Dropdown dos meses */
.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
}

/* Opções do dropdown */
.flatpickr-monthDropdown-months option {
  background: #ff7f27 !important;
  color: white !important;
}

.flatpickr-monthDropdown-months option:hover,
.flatpickr-monthDropdown-months option:selected {
  background: #e0691e !important;
  color: white !important;
}

/* Input do ano */
.flatpickr-current-month input.cur-year {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
}

/* Texto do mês atual */
.flatpickr-current-month span.cur-month {
  color: white !important;
  font-weight: 600 !important;
}

/* Botões de navegação */
.flatpickr-prev-month,
.flatpickr-next-month {
  color: white !important;
  fill: white !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.3s ease !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  fill: white !important;
}

/* SVG dos botões de navegação */
.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: white !important;
}

/* Dias da semana */
.flatpickr-weekdays {
  background: #f8f9fa !important;
  border-bottom: 1px solid #e9ecef !important;
}

.flatpickr-weekday {
  color: #6c757d !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  padding: 8px 0 !important;
}

/* Dias do calendário */
.flatpickr-days {
  padding: 8px !important;
}

.flatpickr-day {
  border-radius: 8px !important;
  margin: 2px !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  color: #333 !important;
}

.flatpickr-day:hover {
  background: rgba(255, 127, 39, 0.1) !important;
  border-color: #ff7f27 !important;
  color: #ff7f27 !important;
}

.flatpickr-day.selected {
  background: #ff7f27 !important;
  border-color: #ff7f27 !important;
  color: white !important;
  font-weight: 600 !important;
}

.flatpickr-day.today {
  border-color: #ff7f27 !important;
  color: #ff7f27 !important;
  font-weight: 600 !important;
}

.flatpickr-day.today:hover {
  background: #ff7f27 !important;
  color: white !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #ccc !important;
}

.flatpickr-day.disabled {
  color: #e9ecef !important;
  cursor: not-allowed !important;
}

/* Animação de entrada */
.flatpickr-calendar.open {
  animation: flatpickrFadeIn 0.3s ease !important;
}

@keyframes flatpickrFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsividade */
@media (max-width: 480px) {
  .formulario-inscricao {
    padding: 24px 20px;
  }

  .botao-enviar {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .parceiros {
    gap: 20px;
  }

  .parceiros img {
    height: 50px;
  }

  .flatpickr-calendar {
    font-size: 13px !important;
  }

  .flatpickr-day {
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
  }


}
/* ===================== */
/* Espaçamento geral     */
/* ===================== */
.campo.aceite-regulamento {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
/* ===================== */
/* Estilo do checkbox    */
/* ===================== */
.formulario-inscricao input[type="checkbox"] {
  /* cor do check no Chrome/Edge/Firefox recentes */
  accent-color: #ff7f27;  
  /* tamanho um pouco maior, pra casar com os inputs arredondados */
  width: 1.2em;
  height: 1.2em;
  margin-top: -6px;  /* ajuste fino: sobe 2px */
  vertical-align: middle;
}
/* ===================== */
/* Estilo do label       */
/* ===================== */
.campo.aceite-regulamento label {
  color: #444;
  font-size: 1rem;
  line-height: 1.2;
  margin-left: 0.3em;    /* dá um espaçamento equilibrado */
}
input[type="date"] {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #ccc;
  font-size: 1rem;
  background: none;
  cursor: pointer;
}

/* ================================================== */
/* ========= ESTILO SEGURO APENAS PARA O SELECT ========= */
/* ================================================== */

/* 1. Aplica a aparência base dos seus inputs ao select de categoria */
#categoria {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid #ccc;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    background-color: white;
    cursor: pointer;

    /* Remove a aparência padrão do navegador para podermos estilizar */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Adiciona a seta personalizada (a mesma que sugeri antes) */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E' );
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 40px; /* Garante espaço para a seta */
}

/* 2. Aplica o mesmo efeito de foco dos seus inputs ao select */
#categoria:focus {
    border-color: #ff7f27;
    outline: none;
    box-shadow: 0 0 8px rgba(255,127,39,0.3);
}

/* 3. Garante que a opção de placeholder (desabilitada) fique com uma cor suave */
#categoria option[disabled] {
    color: #999;
}
