/* Profile presentation only. All original fields and save handlers remain. */
html.okay-profile-on .i-body > .container { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
html.okay-profile-on .box[data-okay-profile-card] {
  width: 100% !important; max-width: 100% !important; margin: 0 auto !important;
  padding: 32px !important; box-sizing: border-box; background: #f9fafc !important;
  border: 1px solid #e5eaf0; border-radius: 24px !important; color: #152235;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}
html.okay-profile-on [data-okay-profile-card] .row { margin: 0 !important; }
html.okay-profile-on [data-okay-profile-card] .col-lg-4 {
  float: none !important; left: auto !important; right: auto !important;
  width: 490px !important; max-width: 100% !important; padding: 0 !important; margin: 0 auto !important;
}
html.okay-profile-on [data-okay-profile-old-title] { display: none !important; }
html.okay-profile-on .okay-profile-intro { text-align: center; margin-bottom: 28px; }
html.okay-profile-on .okay-profile-icon {
  display: flex; align-items: center; justify-content: center; width: 60px; height: 60px;
  margin: 0 auto 18px; border-radius: 18px; background: #e1f3f5; color: #087e8b;
}
html.okay-profile-on .okay-profile-icon svg { width: 36px; height: 36px; }
html.okay-profile-on .okay-profile-title { font-size: 28px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
html.okay-profile-on .okay-profile-intro p { margin: 0; color: #758399; font-size: 14px; line-height: 1.6; }
html.okay-profile-on #official-signup { display: flex !important; flex-wrap: wrap; }
html.okay-profile-on #official-signup > * { width: 100%; box-sizing: border-box; }
html.okay-profile-on #official-signup .form-group { margin: 0 0 18px !important; min-width: 0; }
html.okay-profile-on .okay-profile-label { display: block; margin: 0 0 8px; text-align: left; font-size: 14px; line-height: 1.5; font-weight: 400; }
html.okay-profile-on #official-signup > [data-okay-profile-field="first"],
html.okay-profile-on #official-signup > [data-okay-profile-field="last"] { width: calc(50% - 8px); }
html.okay-profile-on #official-signup > [data-okay-profile-field="first"] { margin-right: 16px !important; }
html.okay-profile-on #official-signup .form-control {
  width: 100% !important; height: 46px !important; padding: 11px 12px !important;
  box-sizing: border-box; border: 1px solid #d2dce8 !important; border-radius: 10px !important;
  background: #fff; color: #152235; font-size: 16px !important; box-shadow: none !important;
}
html.okay-profile-on #official-signup .form-control:focus { border-color: #087e8b !important; outline: 2px solid rgba(8,126,139,.14); outline-offset: 1px; }
html.okay-profile-on #official-signup .help-block { text-align: left; font-size: 13px !important; line-height: 1.5; margin: 6px 0 !important; color: #d84c5d; }
html.okay-profile-on #official-signup .help-block:empty { display: none !important; }
html.okay-profile-on .okay-profile-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #758399; }
html.okay-profile-on #official-signup .radio-inline { min-height: 28px; margin-right: 12px; padding-left: 20px; font-size: 14px; }
html.okay-profile-on #official-signup input[type="radio"] { accent-color: #087e8b; }
html.okay-profile-on #official-signup .field-signupform-file { padding-top: 2px; }
html.okay-profile-on #official-signup .custom-file { height: auto !important; min-height: 48px; max-width: 100%; display: block; }
html.okay-profile-on #official-signup input[type="file"] {
  display: block !important; opacity: 1 !important; position: static !important;
  width: 100% !important; max-width: 100%; min-height: 44px; padding: 8px !important;
  border: 1px dashed #c7d8df !important; border-radius: 10px; background: #fff;
  font-size: 14px; color: #53677b; box-sizing: border-box;
}
html.okay-profile-on #official-signup .custom-file-control { display: none !important; }
html.okay-profile-on #official-signup button[type="submit"] {
  display: block; width: 100% !important; min-height: 46px; box-sizing: border-box;
  margin: 8px 0 0 !important; padding: 12px 16px !important; border: 1px solid #087e8b !important;
  border-radius: 10px !important; background: #087e8b !important; color: #fff !important;
  font-size: 15px !important; font-weight: 700; line-height: 1.4; cursor: pointer;
}
html.okay-profile-on #official-signup button[type="submit"]:hover { background: #066d79 !important; }
html.okay-profile-on #official-signup button:focus { outline: 2px solid #087e8b; outline-offset: 3px; }
@media (max-width: 600px) {
  html.okay-profile-on .box[data-okay-profile-card] { padding: 24px 18px !important; border-radius: 20px !important; }
  html.okay-profile-on .okay-profile-title { font-size: 24px; }
}
@media (max-width: 420px) {
  html.okay-profile-on #official-signup > [data-okay-profile-field="first"],
  html.okay-profile-on #official-signup > [data-okay-profile-field="last"] { width: 100%; margin-right: 0 !important; }
}

/* Same eye glyph, size and colour as the login and signup forms. */
html.okay-profile-on #official-signup [data-okay-profile-field="password"],
html.okay-profile-on #official-signup [data-okay-profile-field="confirm_password"] { position: relative; }
html.okay-profile-on #official-signup [data-okay-profile-field="password"] .form-control,
html.okay-profile-on #official-signup [data-okay-profile-field="confirm_password"] .form-control { padding-right: 46px !important; }
html.okay-profile-on #official-signup .okay-profile-eye {
  position: absolute; right: 6px; top: 34px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  padding: 0; margin: 0; border: 0; background: transparent;
  color: #7b8794; cursor: pointer; border-radius: 8px; line-height: 1;
}
html.okay-profile-on #official-signup .okay-profile-eye:hover,
html.okay-profile-on #official-signup .okay-profile-eye:focus { color: #087e8b; background: transparent; }

/* Profile photo, using the original file input and save flow. */
html.okay-profile-on .okay-profile-icon {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  border: 4px solid #fff; box-sizing: border-box; background: #d7f0f1;
  box-shadow: 0 5px 18px rgba(18,44,59,.12); margin-bottom: 18px;
}
html.okay-profile-on .okay-profile-icon > svg { width: 58px; height: 58px; }
html.okay-profile-on .okay-profile-icon > img { display: block; width: 100%; height: 100%; object-fit: cover; }
html.okay-profile-on .okay-profile-photo-tools { margin-top: 18px; }
html.okay-profile-on .okay-profile-photo-button {
  display: inline-flex; align-items: center; justify-content: center; max-width: 100%;
  min-height: 44px; padding: 10px 18px; border: 1px solid #087e8b;
  border-radius: 10px; background: transparent; color: #087e8b;
  font-size: 14px; font-weight: 700; line-height: 1.5; cursor: pointer;
}
html.okay-profile-on .okay-profile-photo-button > span:first-child { display: inline-flex; margin-right: 9px; }
html.okay-profile-on .okay-profile-photo-button svg { width: 20px; height: 20px; }
html.okay-profile-on .okay-profile-photo-button:hover { background: #e5f5f6; }
html.okay-profile-on .okay-profile-photo-button:focus { outline: 2px solid #087e8b; outline-offset: 3px; }
html.okay-profile-on .okay-profile-intro .okay-profile-photo-formats { margin-top: 10px; font-size: 12px; color: #758399; }
html.okay-profile-on .okay-profile-intro .okay-profile-photo-status { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #53677b; }
html.okay-profile-on .okay-profile-photo-status[hidden] { display: none !important; }
html.okay-profile-on #official-signup [data-okay-photo-original] {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0 !important;
}
@media (max-width: 600px) {
  html.okay-profile-on .okay-profile-icon { width: 88px; height: 88px; }
}
