.sub_page .hero_area {
  min-height: auto;
}

/* Estilo atualizado para o formulário */
.footer_section {
  background: linear-gradient(135deg, #2c3e50, #1a1a1a) !important;
  padding: 40px 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form_agendamento {
  max-width: 900px;
  margin: 0 auto;
}

.inputs_agenda {
  background: rgba(255, 255, 255, 0.05) !important;
  border: none !important;
  border-bottom: 2px solid #3498db !important;
  font-size: 16px !important;
  color: #fff !important;
  padding: 12px 15px !important;
  margin: 0 0 15px 0 !important;
  border-radius: 5px;
  transition: all 0.3s ease;
  width: 100%;
}

.inputs_agenda:focus {
  border-bottom: 2px solid #2ecc71 !important;
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.2);
  outline: none;
}

.inputs_agenda::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.form-group {
  margin-bottom: 20px;
}

.botao-verde {
  background: linear-gradient(to right, #2ecc71, #27ae60);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.botao-verde:hover {
  background: linear-gradient(to right, #27ae60, #2ecc71);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.botao-azul {
  background: linear-gradient(to right, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.botao-azul:hover {
  background: linear-gradient(to right, #2980b9, #3498db);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: white;
}

/* Estilos para o formulário em etapas */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  color: white;
  position: relative;
  font-weight: bold;
  transition: all 0.3s ease;
}

.step.active {
  background: #3498db;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.step.completed {
  background: #2ecc71;
}

.step-line {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  flex-grow: 1;
  margin-top: 20px;
}

.step-line.active {
  background: #3498db;
}

.step-title {
  position: absolute;
  bottom: -25px;
  white-space: nowrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.step-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.step-content {
  min-height: 300px;
}

/* Estilos para os cards de serviço e profissional */
.service-cards, .professional-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.service-card, .professional-card {
  width: 220px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
}

.service-card:hover, .professional-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card.selected, .professional-card.selected {
  border-color: #2ecc71;
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
}

.service-card.selected:after, .professional-card.selected:after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 10px;
  background: #2ecc71;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.card-img {
  height: 150px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.service-card:hover .card-img img, .professional-card:hover .card-img img {
  transform: scale(1.1);
}

.card-body {
  padding: 15px;
}

.card-title {
  color: white;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.card-title-func {
  color: white;
  font-size: 12px;
  font-weight: normal;
  margin-bottom: 5px;
}

.card-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 10px;
}

.card-price {
  color: #2ecc71;
  font-weight: bold;
  font-size: 16px;
}

.card-rating {
  display: flex;
  margin-top: 5px;
}

.card-rating i {
  color: #f1c40f;
  font-size: 12px;
  margin-right: 2px;
}

.card-specialty {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 12px;
  display: inline-block;
  margin-top: 5px;
}

/* Estilos para o modal */
.modal-content {
  background: linear-gradient(135deg, #2c3e50, #1a1a1a);
  color: white;
  border-radius: 10px;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.close {
  color: white;
  opacity: 0.8;
}

.close:hover {
  color: white;
  opacity: 1;
}

/* Responsividade */
@media (max-width: 768px) {
  .footer_section {
    padding: 20px 10px;
  }
  
  .inputs_agenda {
    font-size: 14px !important;
    padding: 10px !important;
  }

  .step {
    width: 30px;
    height: 30px;
    font-size: 12px;
    margin: 0 5px;
  }

  .step-title {
    font-size: 10px;
    bottom: -20px;
  }
  
  .service-card, .professional-card {
    width: 160px;
  }
  
  .card-img {
    height: 120px;
  }
}

.card-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5);
}

.input-group-text {
  background-color: transparent;
  border: none;
}

.text-info {
  color: #3498db !important;
}

.alert {
  border-radius: 5px;
  padding: 15px;
}

/* Esconder completamente o select2 */
.select2-container {
  display: none !important;
}

/* Esconder o dropdown de seleção de barbeiro */
.select2-dropdown {
  display: none !important;
}

/* Esconder qualquer elemento relacionado ao select2 */
.select2, .select2-selection, .select2-selection__rendered, .select2-selection__arrow {
  display: none !important;
}

/* Estilo para botões de horário */
.btn-horario {
  margin: 5px;
  min-width: 80px;
}

.btn-horario.selected {
  background-color: #3498db !important;
  color: white !important;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}
