/* Fix contraste en pantallas de primer ingreso de Liferay (Cambio de contraseña / Pregunta secreta / Términos de uso) */
body.black .sheet:has(#password1, #reminderQueryAnswer, [name="reminderQueryAnswer"], [action*="update_password"], [action*="update_terms_of_use"]),
body.black form[action*="update_password"] .sheet,
body.black form[action*="update_reminder_query"] .sheet,
body.black form[action*="update_terms_of_use"] .sheet {
  color: #212529 !important;
}

body.black .sheet:has(#password1, #reminderQueryAnswer, [name="reminderQueryAnswer"], [action*="update_password"], [action*="update_terms_of_use"]) :is(h1, h2, h3, .sheet-title, .sheet-subtitle, .sheet-text, p, label, .control-label, legend, .form-feedback-item),
body.black form[action*="update_password"] .sheet :is(h1, h2, h3, .sheet-title, .sheet-subtitle, .sheet-text, p, label, .control-label, legend, .form-feedback-item),
body.black form[action*="update_reminder_query"] .sheet :is(h1, h2, h3, .sheet-title, .sheet-subtitle, .sheet-text, p, label, .control-label, legend, .form-feedback-item),
body.black form[action*="update_terms_of_use"] .sheet :is(h1, h2, h3, .sheet-title, .sheet-subtitle, .sheet-text, p, label, .control-label, legend, .form-feedback-item) {
  color: #212529 !important;
}

body.black .sheet:has(#password1, #reminderQueryAnswer, [name="reminderQueryAnswer"], [action*="update_password"], [action*="update_terms_of_use"]) .reference-mark,
body.black form[action*="update_password"] .sheet .reference-mark {
  color: #dc3545 !important;
}

body.black .sheet:has(#password1, #reminderQueryAnswer, [name="reminderQueryAnswer"], [action*="update_password"], [action*="update_terms_of_use"]) input.form-control,
body.black form[action*="update_password"] .sheet input.form-control {
  height: 44px;
  color: #212529 !important;
  background-color: #ffffff !important;
  border: 1px solid #ced4da !important;
}
