/*
 * Freelancer Hub — Frontend Styles v2.0.0
 * Font: Montserrat (Google Fonts)
 * Brand: #f16a22
 * Max-width: 1300px (Elementor container match)
 * All rules scoped under .fh-wrap for specificity over theme styles
 */

/* ── CSS Variables ────────────────────────────────────────────────────────────── */
:root {
  --fh-primary:        #f16a22;
  --fh-primary-hover:  #d4561a;
  --fh-primary-light:  #fef0e6;
  --fh-primary-dark:   #b8460f;
  --fh-font:           'Montserrat', sans-serif;
  --fh-text:           #0f172a;
  --fh-text-muted:     #64748b;
  --fh-text-light:     #94a3b8;
  --fh-bg:             #ffffff;
  --fh-bg-subtle:      #f8fafc;
  --fh-bg-card:        #ffffff;
  --fh-bg-hover:       #f1f5f9;
  --fh-border:         #e2e8f0;
  --fh-border-strong:  #cbd5e1;
  --fh-border-focus:   #f16a22;
  --fh-radius-sm:      6px;
  --fh-radius:         10px;
  --fh-radius-lg:      14px;
  --fh-radius-xl:      20px;
  --fh-shadow-xs:      0 1px 2px rgba(0,0,0,.05);
  --fh-shadow:         0 1px 3px rgba(0,0,0,.06), 0 4px 20px rgba(0,0,0,.07);
  --fh-shadow-hover:   0 8px 24px rgba(241,106,34,.14), 0 2px 8px rgba(0,0,0,.06);
  --fh-shadow-focus:   0 0 0 3px rgba(241,106,34,.2);
  --fh-success:        #16a34a;
  --fh-success-bg:     #f0fdf4;
  --fh-success-border: #bbf7d0;
  --fh-error:          #dc2626;
  --fh-error-bg:       #fef2f2;
  --fh-error-border:   #fecaca;
  --fh-info-bg:        #fef0e6;
  --fh-info-border:    #bfdbfe;
  --fh-transition:     0.18s ease;
  --fh-transition-md:  0.26s ease;
  --fh-max-width:      1300px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BASE — scoped reset + full-width stretch inside Elementor
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-wrap {
  font-family: var(--fh-font) !important;
  font-size: 14px;
  color: var(--fh-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Stretch to fill Elementor widget container */
  display: block;
  width: 100%;
}

.fh-wrap *,
.fh-wrap *::before,
.fh-wrap *::after {
  box-sizing: border-box;
}

/* ── Utility ──────────────────────────────────────────────────────────────────── */
.fh-wrap .fh-hidden  { display: none !important; }
.fh-wrap .fh-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════════════════════
   LAYOUT WRAPPERS
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-register-wrap,
.fh-login-wrap,
.fh-reset-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 20px 96px;
  min-height: 60vh;
  width: 100%;
}

/* ── Form Box ─────────────────────────────────────────────────────────────────── */
.fh-wrap .fh-form-box {
  background: var(--fh-bg);
  width: 100%;
  max-width: 840px;
  padding: 52px 60px;
  border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius-xl);
  box-shadow: var(--fh-shadow);
}
.fh-wrap .fh-form-box--narrow { max-width: 500px; padding: 52px 48px; }
.fh-wrap .fh-form-box--wide   { max-width: 1000px; }
.fh-wrap .fh-form-box--full   { max-width: var(--fh-max-width); }

/* Register-wrap full-width: switch from centered flex to block flow */
.fh-wrap.fh-register-wrap--full {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  max-width: var(--fh-max-width);
  margin: 0 auto;
}

@media (max-width: 640px) {
  .fh-wrap .fh-form-box,
  .fh-wrap .fh-form-box--narrow { padding: 36px 24px; border-radius: var(--fh-radius-lg); }
}

/* ── Form Header ──────────────────────────────────────────────────────────────── */
.fh-wrap .fh-form-header { margin-bottom: 36px; }

.fh-wrap .fh-form-eyebrow {
  display: inline-block;
  font-family: var(--fh-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fh-primary);
  background: var(--fh-primary-light);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.fh-wrap .fh-form-title {
  font-family: var(--fh-font);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--fh-text);
  letter-spacing: -.025em;
  margin: 0 0 10px;
}

.fh-wrap .fh-form-subtitle {
  font-family: var(--fh-font);
  color: var(--fh-text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
}
.fh-wrap .fh-form-subtitle a { color: var(--fh-primary); font-weight: 600; text-decoration: none; }
.fh-wrap .fh-form-subtitle a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════════════
   FORM ELEMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-wrap .fh-form { display: flex; flex-direction: column; gap: 22px; }
.fh-wrap .fh-field { display: flex; flex-direction: column; }

.fh-wrap .fh-label {
  display: block;
  font-family: var(--fh-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fh-text);
  margin: 0 0 7px;
}

.fh-wrap .fh-field-hint { font-weight: 500; color: var(--fh-text-muted); font-size: 11.5px; text-transform: none; letter-spacing: 0; }
.fh-wrap .fh-field-note { font-size: 12px; color: var(--fh-text-muted); margin: 7px 0 0; line-height: 1.6; font-weight: 400; }
.fh-wrap .fh-required   { color: var(--fh-error); margin-left: 2px; }

/* ── Inputs — high specificity to beat theme ──────────────────────────────────── */
.fh-wrap input.fh-input,
.fh-wrap select.fh-select,
.fh-wrap textarea.fh-textarea {
  display: block;
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--fh-border) !important;
  border-radius: var(--fh-radius) !important;
  font-size: 14px !important;
  font-family: var(--fh-font) !important;
  font-weight: 500;
  color: var(--fh-text) !important;
  background: var(--fh-bg) !important;
  box-shadow: none !important;
  transition: border-color var(--fh-transition), box-shadow var(--fh-transition);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  line-height: 1.5;
}
.fh-wrap input.fh-input:hover,
.fh-wrap select.fh-select:hover,
.fh-wrap textarea.fh-textarea:hover {
  border-color: var(--fh-border-strong) !important;
}
.fh-wrap input.fh-input:focus,
.fh-wrap select.fh-select:focus,
.fh-wrap textarea.fh-textarea:focus {
  border-color: var(--fh-border-focus) !important;
  box-shadow: var(--fh-shadow-focus) !important;
  outline: none !important;
}
.fh-wrap input.fh-input::placeholder,
.fh-wrap textarea.fh-textarea::placeholder { color: var(--fh-text-light); font-weight: 400; }
.fh-wrap textarea.fh-textarea { resize: vertical; min-height: 130px; line-height: 1.65; padding: 12px 16px; }

.fh-wrap select.fh-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 40px !important;
  cursor: pointer;
}

/* Dollar prefix */
.fh-wrap .fh-input-prefix-wrap { position: relative; display: flex; align-items: center; }
.fh-wrap .fh-input-prefix      { position: absolute; left: 15px; color: var(--fh-text-muted); font-weight: 600; font-size: 14px; pointer-events: none; z-index: 1; }
.fh-wrap input.fh-input--prefixed { padding-left: 30px !important; }

/* Password wrapper */
.fh-wrap .fh-input-wrap { position: relative; }
.fh-wrap .fh-input-wrap input.fh-input { padding-right: 46px !important; }

/* ── Password Toggle Button — full theme override ─────────────────────────────── */
.fh-wrap button.fh-toggle-pw,
.fh-wrap .fh-toggle-pw {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  /* Reset ALL theme button styles */
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  padding: 5px !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  line-height: 0 !important;
  cursor: pointer;
  color: var(--fh-text-muted) !important;
  transition: color var(--fh-transition), background var(--fh-transition);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.fh-wrap button.fh-toggle-pw:hover,
.fh-wrap .fh-toggle-pw:hover {
  color: var(--fh-primary) !important;
  background: var(--fh-primary-light) !important;
}
.fh-wrap button.fh-toggle-pw svg,
.fh-wrap .fh-toggle-pw svg {
  display: block;
  width: 17px;
  height: 17px;
  color: inherit;
  stroke: currentColor;
  pointer-events: none;
}

/* ── Row Layout ───────────────────────────────────────────────────────────────── */
.fh-wrap .fh-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .fh-wrap .fh-row { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════════════════
   FIELDSET / RADIO
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-wrap .fh-fieldset { border: none; padding: 0; margin: 0; }
.fh-wrap .fh-fieldset > legend { margin-bottom: 12px; }
.fh-wrap .fh-radio-group { display: flex; flex-direction: column; gap: 10px; }

.fh-wrap .fh-radio-label {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--fh-text);
  padding: 13px 16px;
  border: 1.5px solid var(--fh-border);
  border-radius: var(--fh-radius);
  transition: border-color var(--fh-transition), background var(--fh-transition);
  margin: 0;
}
.fh-wrap .fh-radio-label:hover { border-color: var(--fh-primary); background: var(--fh-primary-light); }
.fh-wrap .fh-radio-label:has(input:checked) { border-color: var(--fh-primary); background: var(--fh-primary-light); }
.fh-wrap .fh-radio-label input[type="radio"] { display: none; }

.fh-wrap .fh-radio-custom {
  width: 18px; height: 18px;
  border: 2px solid var(--fh-border-strong);
  border-radius: 50%; flex-shrink: 0;
  transition: border-color var(--fh-transition);
  position: relative;
}
.fh-wrap .fh-radio-label input[type="radio"]:checked + .fh-radio-custom { border-color: var(--fh-primary); }
.fh-wrap .fh-radio-label input[type="radio"]:checked + .fh-radio-custom::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 8px; height: 8px; background: var(--fh-primary); border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CHECKBOX
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-wrap .fh-checkbox-label {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--fh-text);
  margin: 0;
}
.fh-wrap .fh-checkbox-label--sm { font-size: 13px; }
.fh-wrap .fh-checkbox-label input[type="checkbox"] { display: none; }
.fh-wrap .fh-checkbox-custom {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 2px solid var(--fh-border-strong);
  border-radius: 5px;
  transition: border-color var(--fh-transition), background var(--fh-transition);
  display: flex; align-items: center; justify-content: center;
}
.fh-wrap .fh-checkbox-label input[type="checkbox"]:checked + .fh-checkbox-custom {
  background: var(--fh-primary); border-color: var(--fh-primary);
}
.fh-wrap .fh-checkbox-label input[type="checkbox"]:checked + .fh-checkbox-custom::after {
  content: ''; display: block; width: 5px; height: 9px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px);
}
.fh-wrap .fh-checkbox-label a { color: var(--fh-primary); font-weight: 600; text-decoration: none; }
.fh-wrap .fh-checkbox-label a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════════════
   PASSWORD REQUIREMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-wrap .fh-pw-requirements {
  background: var(--fh-bg-subtle); border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius); padding: 18px 22px;
}
.fh-wrap .fh-pw-req-title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--fh-text-muted); margin: 0 0 12px; }
.fh-wrap .fh-pw-req-list  { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.fh-wrap .fh-pw-req-list li { font-size: 13px; font-weight: 500; color: var(--fh-text-muted); padding-left: 22px; position: relative; transition: color var(--fh-transition); }
.fh-wrap .fh-pw-req-list li::before { content: '–'; position: absolute; left: 6px; color: var(--fh-text-light); }
.fh-wrap .fh-pw-req-list li.fh-req-pass          { color: var(--fh-success); }
.fh-wrap .fh-pw-req-list li.fh-req-pass::before  { content: '✓'; color: var(--fh-success); font-weight: 700; }
.fh-wrap .fh-pw-req-list li.fh-req-fail          { color: var(--fh-error); }
.fh-wrap .fh-pw-req-list li.fh-req-fail::before  { content: '✗'; color: var(--fh-error); }

/* ═══════════════════════════════════════════════════════════════════════════════
   MESSAGES & NOTICES
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-wrap .fh-messages { display: flex; flex-direction: column; gap: 8px; }
.fh-wrap .fh-messages:empty { display: none; }
.fh-wrap .fh-msg { padding: 11px 16px; border-radius: var(--fh-radius); font-size: 13px; font-weight: 500; line-height: 1.5; }
.fh-wrap .fh-msg--error   { background: var(--fh-error-bg);   border: 1px solid var(--fh-error-border);   color: var(--fh-error); }
.fh-wrap .fh-msg--success { background: var(--fh-success-bg); border: 1px solid var(--fh-success-border); color: var(--fh-success); }
.fh-wrap .fh-msg--info    { background: var(--fh-info-bg);    border: 1px solid var(--fh-info-border);    color: var(--fh-primary); }
.fh-wrap .fh-messages--sm .fh-msg { padding: 8px 12px; font-size: 12px; }

.fh-wrap .fh-notice { padding: 14px 18px; border-radius: var(--fh-radius); font-size: 14px; font-weight: 500; }
.fh-wrap .fh-notice--error   { background: var(--fh-error-bg);   border: 1px solid var(--fh-error-border);   color: var(--fh-error); }
.fh-wrap .fh-notice--success { background: var(--fh-success-bg); border: 1px solid var(--fh-success-border); color: var(--fh-success); }
.fh-wrap .fh-notice--info    { background: var(--fh-info-bg);    border: 1px solid var(--fh-info-border);    color: var(--fh-primary); }
.fh-wrap .fh-notice a { color: inherit; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════════════
   BUTTONS — fully scoped + !important to defeat any theme override
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-wrap .fh-btn,
.fh-wrap a.fh-btn,
.fh-wrap button.fh-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  padding: 11px 26px !important;
  border-radius: var(--fh-radius) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  font-family: var(--fh-font) !important;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent !important;
  text-decoration: none !important;
  transition: background var(--fh-transition), color var(--fh-transition),
              border-color var(--fh-transition), box-shadow var(--fh-transition),
              transform var(--fh-transition) !important;
  white-space: nowrap;
  line-height: 1 !important;
  user-select: none;
  vertical-align: middle;
}
.fh-wrap .fh-btn:hover  { transform: translateY(-1px); text-decoration: none !important; }
.fh-wrap .fh-btn:active { transform: translateY(0); }
.fh-wrap .fh-btn:focus,
.fh-wrap .fh-btn:focus-visible { outline: none !important; box-shadow: var(--fh-shadow-focus) !important; }

/* Primary button */
.fh-wrap .fh-btn-primary,
.fh-wrap button.fh-btn-primary,
.fh-wrap a.fh-btn-primary {
  background: var(--fh-primary) !important;
  background-color: var(--fh-primary) !important;
  color: #ffffff !important;
  border-color: var(--fh-primary) !important;
}
.fh-wrap .fh-btn-primary:hover,
.fh-wrap button.fh-btn-primary:hover,
.fh-wrap a.fh-btn-primary:hover {
  background: var(--fh-primary-hover) !important;
  background-color: var(--fh-primary-hover) !important;
  border-color: var(--fh-primary-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(241,106,34,.32) !important;
}

/* Outline button */
.fh-wrap .fh-btn-outline,
.fh-wrap button.fh-btn-outline,
.fh-wrap a.fh-btn-outline {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--fh-primary) !important;
  border-color: var(--fh-primary) !important;
}
.fh-wrap .fh-btn-outline:hover,
.fh-wrap button.fh-btn-outline:hover,
.fh-wrap a.fh-btn-outline:hover {
  background: var(--fh-primary-light) !important;
  background-color: var(--fh-primary-light) !important;
  box-shadow: 0 2px 8px rgba(241,106,34,.15) !important;
}

/* Ghost button */
.fh-wrap .fh-btn-ghost,
.fh-wrap button.fh-btn-ghost,
.fh-wrap a.fh-btn-ghost {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--fh-text-muted) !important;
  border-color: transparent !important;
}
.fh-wrap .fh-btn-ghost:hover { background: var(--fh-bg-hover) !important; color: var(--fh-text) !important; }

/* Danger button */
.fh-wrap .fh-btn-danger { background: var(--fh-error) !important; color: #fff !important; border-color: var(--fh-error) !important; }
.fh-wrap .fh-btn-danger:hover { background: #b91c1c !important; border-color: #b91c1c !important; }

/* Modifiers */
.fh-wrap .fh-btn-full    { width: 100% !important; }
.fh-wrap .fh-btn-sm      { padding: 7px 16px !important; font-size: 12.5px !important; }
.fh-wrap .fh-btn-lg      { padding: 14px 32px !important; font-size: 15px !important; }
.fh-wrap .fh-btn:disabled,
.fh-wrap .fh-btn.fh-loading { opacity: .6 !important; cursor: not-allowed !important; pointer-events: none; transform: none !important; }

/* Loading spinner inside button */
.fh-wrap .fh-btn-spinner {
  display: inline-block;
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fh-spin .65s linear infinite;
  flex-shrink: 0;
}
.fh-wrap .fh-btn-outline .fh-btn-spinner {
  border-color: rgba(241,106,34,.25);
  border-top-color: var(--fh-primary);
}

/* ── Form footer ──────────────────────────────────────────────────────────────── */
.fh-wrap .fh-form-footer { font-size: 13.5px; color: var(--fh-text-muted); text-align: center; margin-top: 4px; font-weight: 500; }
.fh-wrap .fh-form-footer a { color: var(--fh-primary); text-decoration: none; font-weight: 700; }
.fh-wrap .fh-form-footer a:hover { text-decoration: underline; }
.fh-wrap .fh-form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fh-wrap .fh-link { color: var(--fh-primary); text-decoration: none; font-size: 13px; font-weight: 600; }
.fh-wrap .fh-link:hover { text-decoration: underline; }
.fh-wrap .fh-login-meta { display: flex; align-items: center; justify-content: space-between; }

/* ═══════════════════════════════════════════════════════════════════════════════
   SECTION TITLES + SKILLS
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-wrap .fh-section-title {
  font-family: var(--fh-font);
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  margin: 0 0 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--fh-border); color: var(--fh-text);
}

.fh-wrap .fh-skills-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.fh-wrap .fh-skill-tag {
  display: inline-flex; align-items: center;
  padding: 5px 13px;
  background: var(--fh-primary-light);
  color: var(--fh-primary-dark);
  border: 1px solid rgba(241,106,34,.18);
  border-radius: 999px;
  font-family: var(--fh-font);
  font-size: 12px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   AVATAR
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-wrap .fh-avatar,
.fh-wrap .fh-profile-avatar,
.fh-wrap .fh-avatar-preview {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2.5px solid var(--fh-border);
  background: var(--fh-bg-subtle);
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-wrap .fh-card {
  background: var(--fh-bg-card); border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius-lg); padding: 22px;
  box-shadow: var(--fh-shadow);
  transition: box-shadow var(--fh-transition-md), transform var(--fh-transition-md), border-color var(--fh-transition);
  display: flex; flex-direction: column; gap: 14px;
  animation: fh-fade-in .3s ease both;
}
.fh-wrap .fh-card:hover { box-shadow: var(--fh-shadow-hover); transform: translateY(-3px); border-color: rgba(241,106,34,.2); }

.fh-wrap .fh-sidebar-card {
  background: var(--fh-bg); border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius-lg); padding: 22px;
  box-shadow: var(--fh-shadow-xs); margin-bottom: 16px;
}
.fh-wrap .fh-sidebar-card--cta { background: var(--fh-primary-light); border-color: rgba(241,106,34,.2); }
.fh-wrap .fh-sidebar-card--cta p { font-size: 14px; font-weight: 600; margin: 0 0 14px; }
.fh-wrap .fh-sidebar-card-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--fh-text-muted); margin: 0 0 14px; }

.fh-wrap .fh-details-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.fh-wrap .fh-details-list li { display: flex; gap: 6px; align-items: baseline; }
.fh-wrap .fh-details-list strong { font-weight: 700; color: var(--fh-text); white-space: nowrap; }
.fh-wrap .fh-details-list a { color: var(--fh-primary); text-decoration: none; word-break: break-all; font-weight: 500; }
.fh-wrap .fh-details-list a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════════════
   PROFILE PAGES
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-wrap.fh-profile-wrap {
  padding: 36px 20px 96px;
  max-width: var(--fh-max-width);
  margin: 0 auto;
}

.fh-wrap .fh-profile-hero {
  display: flex; align-items: center; gap: 28px;
  padding: 36px 40px;
  background: var(--fh-bg); border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius-xl); box-shadow: var(--fh-shadow);
  margin-bottom: 28px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.fh-wrap .fh-profile-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--fh-primary) 0%, #38bdf8 100%);
}
.fh-wrap .fh-profile-avatar-wrap { flex-shrink: 0; }
.fh-wrap .fh-profile-avatar { width: 96px; height: 96px; }
.fh-wrap .fh-profile-identity { flex: 1; min-width: 160px; }
.fh-wrap .fh-profile-name { font-family: var(--fh-font); font-size: clamp(20px, 2.5vw, 26px); font-weight: 800; letter-spacing: -.025em; margin: 0 0 8px; color: var(--fh-text); }
.fh-wrap .fh-profile-meta-item { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: var(--fh-text-muted); margin-top: 5px; }
.fh-wrap .fh-profile-rate { font-family: var(--fh-font); font-size: 20px; font-weight: 800; color: var(--fh-primary); margin-top: 8px; letter-spacing: -.02em; display: inline-block; }
.fh-wrap .fh-profile-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.fh-wrap .fh-profile-body { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
@media (max-width: 768px) { .fh-wrap .fh-profile-body { grid-template-columns: 1fr; } }
.fh-wrap .fh-profile-section { margin-bottom: 32px; }
.fh-wrap .fh-profile-bio { font-size: 14.5px; line-height: 1.8; color: var(--fh-text); font-weight: 400; }

/* ── Edit Profile ─────────────────────────────────────────────────────────────── */
.fh-wrap.fh-edit-profile-wrap,
.fh-edit-profile-wrap { padding: 48px 20px 96px; display: flex; justify-content: center; width: 100%; }
.fh-wrap .fh-avatar-upload { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.fh-wrap .fh-avatar-preview { width: 80px; height: 80px; }
.fh-wrap .fh-avatar-upload-controls { display: flex; flex-direction: column; gap: 7px; }

/* ═══════════════════════════════════════════════════════════════════════════════
   FREELANCER LISTING
   ═══════════════════════════════════════════════════════════════════════════════ */

.fh-wrap.fh-listing-wrap {
  padding: 44px 20px 96px;
  max-width: var(--fh-max-width);
  margin: 0 auto;
}

.fh-wrap .fh-listing-header { margin-bottom: 32px; }
.fh-wrap .fh-listing-title { font-family: var(--fh-font); font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.025em; color: var(--fh-text); margin: 0 0 8px; }
.fh-wrap .fh-listing-count { font-size: 14px; font-weight: 500; color: var(--fh-text-muted); margin: 0; }
.fh-wrap .fh-listing-count span { font-weight: 700; color: var(--fh-primary); }

.fh-wrap .fh-filters {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding: 18px 22px;
  background: var(--fh-bg); border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius-lg); box-shadow: var(--fh-shadow-xs);
  margin-bottom: 32px;
}
.fh-wrap .fh-filter-search { position: relative; flex: 1; min-width: 220px; }
.fh-wrap .fh-filter-icon   { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--fh-text-muted); pointer-events: none; }
.fh-wrap .fh-filter-search input.fh-input { padding-left: 38px !important; }
.fh-wrap .fh-filter-input  { flex: 1; min-width: 160px; }
.fh-wrap .fh-filter-select { min-width: 160px; flex-shrink: 0; }

.fh-wrap .fh-freelancer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px; position: relative; min-height: 220px;
}

.fh-wrap .fh-card-header  { display: flex; align-items: flex-start; gap: 14px; }
.fh-wrap .fh-avatar       { width: 54px; height: 54px; }
.fh-wrap .fh-card-info    { flex: 1; min-width: 0; }
.fh-wrap .fh-card-name    { font-family: var(--fh-font); font-size: 15px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--fh-text); }
.fh-wrap .fh-card-location { font-size: 12px; font-weight: 500; color: var(--fh-text-muted); display: inline-flex; align-items: center; gap: 3px; }
.fh-wrap .fh-card-rate    { font-family: var(--fh-font); font-weight: 800; color: var(--fh-primary); font-size: 14px; flex-shrink: 0; white-space: nowrap; }
.fh-wrap .fh-card-bio     { font-size: 13px; color: var(--fh-text-muted); line-height: 1.65; margin: 0; flex: 1; font-weight: 400; }
.fh-wrap .fh-card-skills  { display: flex; flex-wrap: wrap; gap: 6px; }
.fh-wrap .fh-card .fh-btn { margin-top: auto; }

.fh-wrap .fh-grid-loading {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.88); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--fh-radius-lg); z-index: 10;
}
.fh-wrap .fh-spinner { width: 38px; height: 38px; border: 3px solid var(--fh-border); border-top-color: var(--fh-primary); border-radius: 50%; animation: fh-spin .75s linear infinite; }

.fh-wrap .fh-empty-state { grid-column: 1 / -1; text-align: center; padding: 72px 20px; color: var(--fh-text-muted); }
.fh-wrap .fh-empty-state p { font-size: 15px; font-weight: 500; }

.fh-wrap .fh-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 48px; flex-wrap: wrap; }
.fh-wrap .fh-page-info  { font-size: 13.5px; font-weight: 600; color: var(--fh-text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

@keyframes fh-spin    { to { transform: rotate(360deg); } }
@keyframes fh-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .fh-wrap .fh-profile-hero    { padding: 24px; }
  .fh-wrap .fh-profile-actions { width: 100%; justify-content: flex-start; }
  .fh-wrap .fh-filters         { padding: 14px 16px; }
}
@media (max-width: 480px) {
  .fh-wrap .fh-profile-avatar  { width: 72px; height: 72px; }
  .fh-wrap .fh-profile-name    { font-size: 20px; }
  .fh-wrap .fh-profile-hero    { gap: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NAV BUTTONS — [fh_nav_buttons] shortcode
   Intentionally NOT scoped under .fh-wrap — lives in the site header/nav area
   outside Elementor content containers. Hardcoded hex to avoid var() cascade issues.
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Container */
.fh-nav-buttons {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  line-height: 1;
}

/* ── Login link ───────────────────────────────────────────────────────────────── */
a.fh-nav-login {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: inherit !important;
  text-decoration: none !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px 2px !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
  transition: opacity 0.18s ease !important;
}
a.fh-nav-login:hover {
  opacity: 0.7 !important;
  text-decoration: none !important;
}

/* ── Dropdown wrapper ─────────────────────────────────────────────────────────── */
.fh-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* ── Get Started button — hardcoded hex, no all:unset ────────────────────────── */
button.fh-nav-get-started {
  /* Layout */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  user-select: none;
  vertical-align: middle;
  /* Responsive width — never overflows its container */
  max-width: 100% !important;
  box-sizing: border-box !important;
  /* Typography — fluid scale: 13px on narrow, 14px on desktop */
  font-family: 'Montserrat', sans-serif !important;
  font-size: clamp(13px, 1.1vw + 10px, 14px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  /* Colours — hardcoded to guarantee no override */
  color: #ffffff !important;
  background: #f16a22 !important;
  background-color: #f16a22 !important;
  /* Shape */
  border: none !important;
  border-radius: 999px !important;
  outline: none !important;
  /* Spacing — slightly tighter than before */
  padding: 10px 22px !important;
  margin: 0 !important;
  /* Shadow / transition */
  box-shadow: none !important;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
  /* Reset anything theme might inject */
  -webkit-appearance: none;
  appearance: none;
}
button.fh-nav-get-started:hover {
  background: #d4561a !important;
  background-color: #d4561a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(241, 106, 34, 0.35) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}
button.fh-nav-get-started:active {
  transform: translateY(0) !important;
  box-shadow: none !important;
}
button.fh-nav-get-started:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(241, 106, 34, 0.38) !important;
}

/* Chevron inside Get Started */
button.fh-nav-get-started .fh-nav-chevron {
  display: block;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  stroke: #ffffff;
  pointer-events: none;
  transition: transform 0.2s ease;
}
button.fh-nav-get-started[aria-expanded="true"] .fh-nav-chevron {
  transform: rotate(180deg);
}

/* ── Dropdown menu ────────────────────────────────────────────────────────────── */
.fh-nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 8px;
  z-index: 999999;
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  pointer-events: none;
}

/* Open state — added by JS */
.fh-nav-menu.fh-nav-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
  pointer-events: auto;
}

/* Caret arrow */
.fh-nav-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 28px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  transform: rotate(45deg);
}

/* ── Menu items ───────────────────────────────────────────────────────────────── */
a.fh-nav-menu-item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  color: #0f172a !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.18s ease !important;
}
a.fh-nav-menu-item:hover {
  background: #fef0e6 !important;
  background-color: #fef0e6 !important;
  color: #0f172a !important;
  text-decoration: none !important;
}
a.fh-nav-menu-item:hover .fh-nav-menu-icon {
  background: #f16a22;
  color: #ffffff;
}

.fh-nav-menu-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: #fef0e6;
  color: #f16a22;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s ease, color 0.18s ease;
}
.fh-nav-menu-icon svg { display: block; pointer-events: none; }

.fh-nav-menu-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fh-nav-menu-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}
.fh-nav-menu-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.4;
}

/* ── Logged-in user button (trigger for dropdown) ─────────────────────────────── */
button.fh-nav-user-btn {
  all: unset;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  border-radius: 50% !important;
  padding: 2px !important;
  border: 2.5px solid #f16a22 !important;
  background: transparent !important;
  transition: box-shadow 0.18s ease, border-color 0.18s ease !important;
  line-height: 0;
}
button.fh-nav-user-btn:hover {
  box-shadow: 0 0 0 3px rgba(241, 106, 34, 0.22) !important;
  border-color: #d4561a !important;
}
button.fh-nav-user-btn[aria-expanded="true"] {
  box-shadow: 0 0 0 3px rgba(241, 106, 34, 0.22) !important;
}

.fh-nav-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #f8fafc;
}

/* ── User menu — compact, right-aligned ───────────────────────────────────────── */
.fh-nav-menu--user {
  min-width: 220px;
  right: 0;
}

/* Button-style menu item (logout) */
button.fh-nav-menu-item--btn {
  all: unset;
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  color: #0f172a !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background-color 0.18s ease !important;
}
button.fh-nav-menu-item--btn:hover {
  background: #fef2f2 !important;
  background-color: #fef2f2 !important;
}

/* Danger variant for logout */
.fh-nav-menu-icon--danger {
  background: #fef2f2 !important;
  color: #dc2626 !important;
}
button.fh-nav-menu-item--logout:hover .fh-nav-menu-icon--danger {
  background: #dc2626 !important;
  color: #ffffff !important;
}
.fh-nav-menu-label--danger { color: #dc2626 !important; }

/* ── Responsive ───────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  button.fh-nav-get-started {
    font-size: 13px !important;
    padding: 8px 16px !important;
  }
  a.fh-nav-login { font-size: 13px !important; }
  .fh-nav-menu { right: -10px; min-width: 240px; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CERTIFICATIONS & PROFILE ADDITIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Certifications grid (edit profile) ──────────────────────────────────────── */
.fh-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.fh-cert-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--fh-border);
  border-radius: var(--fh-radius);
  cursor: pointer;
  background: var(--fh-bg);
  transition: border-color var(--fh-transition), background var(--fh-transition);
  user-select: none;
}
.fh-cert-label:hover { border-color: var(--fh-primary); background: var(--fh-primary-light); }
.fh-cert-label--checked { border-color: var(--fh-primary); background: var(--fh-primary-light); }

.fh-cert-input { display: none; }

.fh-cert-check {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 2px solid var(--fh-border-strong);
  background: var(--fh-bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: background var(--fh-transition), border-color var(--fh-transition), color var(--fh-transition);
}
.fh-cert-label--checked .fh-cert-check {
  background: var(--fh-primary);
  border-color: var(--fh-primary);
  color: #ffffff;
}

.fh-cert-name {
  font-family: var(--fh-font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fh-text);
  line-height: 1.3;
}
.fh-cert-label--checked .fh-cert-name { color: var(--fh-primary-dark); }

/* ── Availability days (edit profile) ────────────────────────────────────────── */
.fh-days-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.fh-day-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--fh-border);
  border-radius: var(--fh-radius);
  cursor: pointer;
  background: var(--fh-bg);
  transition: border-color var(--fh-transition), background var(--fh-transition), color var(--fh-transition);
}
.fh-day-label:hover { border-color: var(--fh-primary); background: var(--fh-primary-light); }
.fh-day-label--checked { border-color: var(--fh-primary); background: var(--fh-primary); }

.fh-day-input { display: none; }

.fh-day-name {
  font-family: var(--fh-font);
  font-size: 12px;
  font-weight: 700;
  color: var(--fh-text-muted);
  transition: color var(--fh-transition);
  pointer-events: none;
}
.fh-day-label--checked .fh-day-name { color: #ffffff; }
.fh-day-label:hover .fh-day-name { color: var(--fh-primary); }
.fh-day-label--checked:hover .fh-day-name { color: #ffffff; }

/* ── Input suffix (service radius) ───────────────────────────────────────────── */
.fh-input-suffix-wrap { position: relative; display: flex; align-items: center; }
.fh-input-suffix { position: absolute; right: 14px; color: var(--fh-text-muted); font-weight: 600; font-size: 13px; pointer-events: none; }
.fh-wrap input.fh-input--suffixed { padding-right: 44px !important; }

/* ── Certification badges (profile display) ──────────────────────────────────── */
.fh-cert-badges-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

.fh-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--fh-primary-light);
  color: var(--fh-primary-dark);
  border: 1px solid rgba(241,106,34,.25);
  border-radius: 999px;
  font-family: var(--fh-font);
  font-size: 12px;
  font-weight: 700;
}
.fh-cert-badge svg { flex-shrink: 0; color: var(--fh-primary); }

/* ── Fieldset for certifications ─────────────────────────────────────────────── */
.fh-fieldset--certs { border: none; padding: 0; margin: 0; }
.fh-fieldset--certs > legend { margin-bottom: 4px; }

/* Responsive cert grid */
@media (max-width: 640px) {
  .fh-cert-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .fh-cert-grid { grid-template-columns: 1fr; }
  .fh-days-grid { gap: 6px; }
  .fh-day-label { width: 44px; height: 44px; }
}

/* ── Verify Email page ───────────────────────────────────────────────── */
.fh-verify-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px 80px;
}
.fh-verify-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 48px 44px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
@media (max-width: 540px) {
  .fh-verify-card { padding: 32px 22px; }
}
.fh-verify-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.fh-verify-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
}
.fh-verify-lead {
  font-size: 15px;
  color: #475569;
  margin: 0 0 28px;
  line-height: 1.6;
}
.fh-verify-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  text-align: left;
}
.fh-verify-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}
.fh-verify-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fef0e6;
  color: #f16a22;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.fh-verify-step-text strong { color: #1e293b; }
.fh-verify-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #78350f;
  text-align: left;
  margin-bottom: 28px;
  line-height: 1.55;
}
.fh-verify-notice svg { flex-shrink: 0; margin-top: 1px; }
.fh-verify-resend-wrap { margin-bottom: 24px; }
.fh-verify-resend-label {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 10px;
}
.fh-verify-resend-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fh-verify-email-input {
  text-align: center;
}
.fh-verify-footer {
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.fh-verify-login-link {
  font-size: 13px;
  color: #f16a22;
  text-decoration: none;
  font-weight: 600;
}
.fh-verify-login-link:hover { text-decoration: underline; }

/* ── Off-Canvas Panel ────────────────────────────────────────────────────── */
.fhoc-wrap {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #1e293b;
  width: 100%;
  box-sizing: border-box;
}
.fhoc-wrap * { box-sizing: border-box; }

/* ── Logged-out ─────────────────────────────────────────────────────────── */
.fhoc-logged-out { padding: 8px 0; }

.fhoc-brand {
  font-size: 18px;
  font-weight: 800;
  color: #f16a22;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.fhoc-tagline {
  font-size: 12.5px;
  color: #64748b;
  margin: 0 0 22px;
  line-height: 1.5;
}

/* Auth buttons — stacked vertically */
.fhoc-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.fhoc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  width: 100%;
  text-align: center;
  line-height: 1;
}
.fhoc-btn-primary {
  background: #f16a22;
  color: #ffffff;
  border-color: #f16a22;
}
.fhoc-btn-primary:hover { background: #d4561a; border-color: #d4561a; color: #fff; text-decoration: none; }
.fhoc-btn-outline {
  background: transparent;
  color: #f16a22;
  border-color: #f16a22;
}
.fhoc-btn-outline:hover { background: #fef0e6; text-decoration: none; }

/* Divider */
.fhoc-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.fhoc-divider::before,
.fhoc-divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }

/* Role cards */
.fhoc-role-cards { display: flex; flex-direction: column; gap: 8px; }
.fhoc-role-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  color: #1e293b;
  transition: background 0.14s, border-color 0.14s;
}
.fhoc-role-card:hover {
  background: #fef0e6;
  border-color: rgba(241,106,34,.3);
  text-decoration: none;
}
.fhoc-role-label { font-size: 13px; font-weight: 700; color: #1e293b; margin-bottom: 2px; }
.fhoc-role-sub   { font-size: 11px; color: #64748b; }
.fhoc-role-arrow { margin-left: auto; flex-shrink: 0; color: #94a3b8; }

/* ── Logged-in ───────────────────────────────────────────────────────────── */
.fhoc-logged-in { padding: 0; }

/* User header — matches dashboard sidebar style */
.fhoc-user-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 16px;
  background: #f16a22;
  border-radius: 10px 10px 0 0;
  margin-bottom: 8px;
}
.fhoc-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.fhoc-user-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 2px;
}
.fhoc-user-role {
  font-size: 11.5px;
  color: rgba(255,255,255,.8);
}

/* Nav */
.fhoc-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 6px 8px;
}
.fhoc-nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  text-align: left;
  transition: background 0.13s, color 0.13s;
  line-height: 1.3;
}
.fhoc-nav-link:hover {
  background: #fff4ee;
  color: #f16a22;
  text-decoration: none;
}
.fhoc-nav-link--active {
  background: #fef0e6;
  color: #f16a22;
  font-weight: 600;
}
.fhoc-nav-link--logout { color: #dc2626; }
.fhoc-nav-link--logout:hover { background: #fef2f2; color: #dc2626; }

.fhoc-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  color: inherit;
}
.fhoc-nav-label { flex: 1; }

/* Badge (unread count) */
.fhoc-nav-badge {
  background: #f16a22;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
  min-width: 18px;
  text-align: center;
  line-height: 1.5;
  flex-shrink: 0;
}
/* Orange dot (Stripe not connected) */
.fhoc-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f16a22;
  flex-shrink: 0;
  margin-left: auto;
}

/* Separator */
.fhoc-nav-separator {
  height: 1px;
  background: #f1f5f9;
  margin: 6px 4px;
}
