/* Professional Registration Page Styles */

/* Reset e sobrescrita de estilos conflitantes */
.professional-registration * {
  box-sizing: border-box;
}

.professional-registration .geex-content__authentication__content {
  max-width: none !important;
  margin: 0 !important;
  width: 100% !important;
  height: auto !important;
  padding: 20px !important;
  display: block !important;
  position: static !important;
  background: transparent !important;
}

.professional-registration .geex-content__authentication {
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
}

/* Container principal */
.professional-registration {
  min-height: 100vh;
  font-family: 'Roboto', sans-serif;
  padding: 40px 20px;
}

/* Header da página */
.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  margin-bottom: 30px;
}

.btn-voltar {
  background: #ffffff;
  border: 2px solid #01c7c8;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #01c7c8;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(1, 199, 200, 0.15);
}

.btn-voltar:hover {
  background: #01c7c8;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 199, 200, 0.25);
}

/* Logo */
.geex-content__authentication__content__logo img {
  max-width: 200px;
  height: auto;
}

/* Título e descrição */
.geex-content__authentication__title {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 12px;
  text-align: center;
}

.geex-content__authentication__desc {
  font-size: 16px;
  color: #718096;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Container do formulário */
.professional-registration .geex-content__authentication__form {
  background: white !important;
  border-radius: 20px !important;
  padding: 40px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

/* Card de entrada de dados */
.professional-registration .card-doutores {
  background: #f8fafc !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 30px !important;
  margin-bottom: 30px !important;
  transition: all 0.3s ease !important;
  float: none !important;
  width: 100% !important;
}

.professional-registration .card-doutores:hover {
  border-color: #01c7c8 !important;
  box-shadow: 0 8px 25px rgba(1, 199, 200, 0.1) !important;
}

/* Grupos de formulário */
.professional-registration .geex-content__authentication__form-group {
  margin-bottom: 24px !important;
}

.professional-registration .form-label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #4a5568 !important;
  margin-bottom: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.professional-registration .form-control {
  width: 100% !important;
  padding: 16px 20px !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  color: #2d3748 !important;
  background: white !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

.professional-registration .form-control:focus {
  outline: none !important;
  border-color: #01c7c8 !important;
  box-shadow: 0 0 0 3px rgba(1, 199, 200, 0.1) !important;
  transform: translateY(-1px) !important;
}

.form-control::placeholder {
  color: #a0aec0;
}

/* Textarea específico */
.textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

/* Seção de descrição do profissional */
.geex-content__form__single {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid #e2e8f0;
}

.geex-content__form__single__label {
  font-size: 18px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
}

.geex-content__form__single h5 {
  font-size: 14px;
  color: #718096;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Texto de ajuda */
.geex-content__authentication__form-group p {
  font-size: 12px;
  color: #718096;
  margin-top: 8px;
  line-height: 1.4;
  padding: 12px;
  background: #f7fafc;
  border-radius: 8px;
  border-left: 4px solid #01c7c8;
}

/* Botão adicionar profissional */
.geex-btn.geex-btn--transparent {
  background: transparent;
  border: 2px dashed #01c7c8;
  color: #01c7c8;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.geex-btn.geex-btn--transparent:hover {
  background: #01c7c8;
  color: white;
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 199, 200, 0.25);
}

/* Cards de profissionais adicionados */
.medic-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.medic-card:hover {
  border-color: #01c7c8;
  box-shadow: 0 8px 25px rgba(1, 199, 200, 0.1);
  transform: translateY(-2px);
}

.medic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #01c7c8, #a5e5e2);
  border-radius: 16px 16px 0 0;
}

.medic-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f7fafc;
}

.medic-field:last-of-type {
  border-bottom: none;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.field-value {
  font-size: 16px;
  color: #2d3748;
  font-weight: 500;
  line-height: 1.4;
}

/* Botão remover */
.btn-wrapper-remove {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f7fafc;
}

.remove-btn {
  background: transparent;
  border: 2px solid #e53e3e;
  color: #e53e3e;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
}

.remove-btn:hover {
  background: #e53e3e;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 62, 62, 0.25);
}

/* Botão continuar */
.geex-content__authentication__form-submit {
  background: linear-gradient(135deg, #01c7c8, #00a389);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.geex-content__authentication__form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(1, 199, 200, 0.3);
}

.geex-content__authentication__form-submit:active {
  transform: translateY(0);
}

/* Responsividade */
@media (max-width: 768px) {
  .geex-content__authentication__form {
    padding: 24px;
    margin: 20px;
    border-radius: 16px;
  }
  
  .card-doutores {
    padding: 20px;
  }
  
  .geex-content__authentication__title {
    font-size: 24px;
  }
  
  .auth-header {
    padding: 15px 0;
    margin-bottom: 20px;
  }
  
  .medic-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .geex-content__authentication__form {
    margin: 10px;
    padding: 20px;
  }
  
  .card-doutores {
    padding: 16px;
  }
  
  .form-control {
    padding: 14px 16px;
  }
  
  .geex-content__authentication__title {
    font-size: 22px;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.medic-card {
  animation: fadeInUp 0.5s ease-out;
}

/* Estados de foco melhorados */
.form-control:focus,
.textarea:focus {
  border-color: #01c7c8;
  box-shadow: 0 0 0 3px rgba(1, 199, 200, 0.1);
}

/* Melhorias visuais para ícones */
.uil-plus,
.uil-trash {
  font-size: 18px;
}

/* Container principal com melhor espaçamento */
.mais-itens {
  margin-bottom: 40px;
}