[contenteditable=true]:empty:before {
  content: attr(placeholder);
  color:gray;
}
/* found this online --- it prevents the user from being able to make a (visible) newline */
[contenteditable=true] br{
  display:none;
}

.span-field {
  display: inline-block;
  border-bottom: 2px solid #ABB2B9;
  outline: none;
  line-height: 1rem;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: #fff;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.span-field:hover,
.span-field:focus,
.span-field:active {
  border-bottom: 2px solid #0a58ca;
}

.span-field.empty {
  border-bottom: 2px solid #BE1E2D;
}

.span-field.has-data {
  border-bottom: 2px solid #03953F;
}

.featured-text {
  color: #054372;
}

#signature {
  padding: 2rem 0;
  margin: 2rem 0;
}

.alert-info {
  background-color: #CBE6FB;
  border-color: #CBE6FB;
  color: #054372;
}

.form-check-input:checked {
  background-color: #054372;
  border-color: #054372;
}

#email-type {
  font-weight: bold;
  text-transform: uppercase;
}

.sponsor-section {
  margin-bottom: 1rem;
  font-weight: bold;
}

@media print {
  body { font-size: .8rem; }

  #header h1,
  #header h2,
  #header h3,
  #header h4,
  #header h5 {
    font-size: .85rem;
  }

  #header h4 {padding: .25rem;}

  #use-terms h5 {
    font-size: .85rem;
    padding: .25rem;
  }

  #use-terms .terms-list li {
    font-size: .7rem;
  }

  .span-field {
    border-bottom: none !important;
    color: #000;
  }

  .applicant-data {
    padding: .25rem 0;
  }

  .form-switch {
    display: none;
  }

  .worker-box {
    display: none;
  }

  #email-type-box {
    display: none;
  }
}

/* Estilos para campos adicionais do G-MUS/G-HOSP */
.data-row {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.data-label {
  font-weight: bold;
  min-width: 150px;
  flex-shrink: 0;
}

/* Remover os dois pontos dos labels */
.data-label:after {
  content: "";
}

.radio-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  margin: 0;
}

#responsible-section,
#planton-section {
  margin: 2rem 0;
  padding: 1rem;
}

#responsible-section h5,
#planton-section h5 {
  margin-bottom: 1rem;
  color: #333;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Garantir que os títulos das seções tenham a mesma formatação do título principal */
.doc-title h4 {
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* Estilos para assinaturas */
.line {
  border-bottom: 2px solid #333;
  height: 2px;
  margin: 0 auto;
  width: 200px;
}

.signature-section {
  margin-top: 2rem;
  padding: 1rem 0;
}

.signature-section .col {
  margin-bottom: 1rem;
}

.signature-section p {
  margin: 0.25rem 0;
}

.signature-section .small {
  font-size: 0.8rem;
  color: #666;
}