﻿/* Consistent fields for the profile and owner verification forms. */
.profile-email-form input,
.role-reason-form textarea,
[data-face-photo-form] input[type=file] {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px 13px;
  border: 1px solid #d4dfd7;
  border-radius: 7px;
  background: #fdfefd;
  color: var(--ink);
  font: inherit;
}
.profile-email-form input { min-height: 48px; }
.profile-email-form .button { margin-top: 12px; }
.role-reason-form label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
.role-reason-form textarea { resize: vertical; margin-bottom: 12px; }
.owner-verification form + form { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.owner-verification .form-field { margin-bottom: 12px; }
.owner-verification .help-text { margin: 20px 0 0; }
.owner-verification .button, .profile-page .button { max-width: 100%; white-space: normal; text-align: center; }
.photo-sharing-form { display: grid; gap: 14px; margin: 20px 0 24px; }
.photo-sharing-form label, [data-face-photo-form] > label:has(input[type=checkbox]) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.photo-sharing-form input[type=checkbox], [data-face-photo-form] input[type=checkbox] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--ink);
}
.photo-sharing-form .button { justify-self: start; }
.profile-details dd, .profile-details dt, .owner-verification p { overflow-wrap: anywhere; }
.guarantor-grid fieldset { min-width: 0; max-width: 100%; }
@media (max-width: 760px) {
  .profile-email-form input, .role-reason-form textarea, [data-face-photo-form] input[type=file],
  .owner-verification input { font-size: 16px; }
  .owner-verification .button { width: 100%; }
}
