/*
 * OfficePassport — Complete Design System v6
 * Fiverr-parity marketplace density + trust signals
 * Font: Inter · Palette: Greyscale + accent green
 * Bootstrap 5.3 overrides + custom components
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --fph-font:      'Inter', system-ui, sans-serif;
  --fph-bg:        #f4f5f2;
  --fph-white:     #ffffff;
  --fph-subtle:    #f0f1ee;
  --fph-dark:      #111111;
  --fph-mid:       #4a4a4a;
  --fph-muted:     #888888;
  --fph-light:     #cccccc;
  --fph-border:    #e2e2e2;
  --fph-nav-h:     68px;
  --accent:        #1f7a63;
  --accent-light:  #e8f5f1;
  --accent-tint:   #d0ebe4;
  --danger:        #c0392b;
  --warn:          #e67e22;
  --success:       #1f7a63;
  --radius:        10px;
  --radius-sm:     6px;
  --shadow:        0 2px 12px rgba(0,0,0,.07);
  --shadow-hover:  0 6px 24px rgba(0,0,0,.12);
}

/* ── BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--fph-font);
  background: var(--fph-bg);
  color: var(--fph-dark);
  -webkit-font-smoothing: antialiased;
  font-size: 14.5px;
  line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--fph-font);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--fph-dark);
  line-height: 1.1;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.18rem; }

p { color: var(--fph-mid); line-height: 1.75; }
a { color: var(--fph-dark); }
a:hover { color: var(--accent); text-decoration: none; }

.lead { font-size: 1.05rem; color: var(--fph-mid); line-height: 1.8; }
.text-soft  { color: var(--fph-mid)   !important; }
.text-mute  { color: var(--fph-muted) !important; }
.text-accent{ color: var(--accent)    !important; }
.xsmall     { font-size: .72rem; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.fph-navbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e2e2;
  height: var(--fph-nav-h);
  box-shadow: 0 1px 0 #e2e2e2;
  z-index: 1030;
  position: sticky;
  top: 0;
}
.fph-nav-inner {
  display: flex;
  align-items: center;
  height: var(--fph-nav-h);
  padding: 0 24px;
  gap: 16px;
  width: 100%;
}
.fph-navbar-brand {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #111111;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.fph-navbar-brand:hover { color: #111111; }

/* Desktop search — hidden on mobile */
.fph-nav-search {
  display: flex;
  align-items: center;
  flex: 1 1 0;          /* grow to fill all available space */
  min-width: 0;
  max-width: 600px;     /* cap so it doesn't become enormous on wide screens */
  background: #f0f1ee;
  border: 1.5px solid #e2e2e2;
  border-radius: 9999px;
  padding: 0 10px 0 16px;
  height: 40px;
  gap: 8px;
  transition: border-color .15s;
}
.fph-nav-search:focus-within { border-color: #111111; background: #fff; }
.fph-nav-search input {
  border: none; background: transparent; outline: none;
  font-family: var(--fph-font); font-size: .86rem;
  color: #111111; width: 100%;
}
.fph-nav-search input::placeholder { color: #888888; }
.fph-nav-search-btn {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: #111827; border: none; border-radius: 9999px;
  width: 28px; height: 28px; cursor: pointer; color: #fff;
  transition: background .15s;
}
.fph-nav-search-btn:hover { background: #374151; }

/* Desktop nav links — hidden on mobile */
.fph-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  margin-left: auto;  /* push to far right when search is absent */
}
.fph-nav-link {
  font-size: .82rem;
  font-weight: 600;
  color: #888888;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color .15s, background .15s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.fph-nav-link:hover,
.fph-nav-link.active { color: #111111; background: #f0f1ee; }

.fph-icon-btn { position: relative; }
.fph-badge {
  position: absolute; top: 0; right: 0;
  background: var(--danger); color: #fff;
  font-size: .6rem; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; line-height: 1;
}
.fph-av-sm {
  width: 28px; height: 28px;
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fph-nav-user { position: relative; }
.fph-dropdown {
  border: 1px solid #e2e2e2 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.1) !important;
  font-size: .84rem;
  min-width: 200px;
}
.fph-dropdown .dropdown-item { padding: 8px 16px; color: #111111; }
.fph-dropdown .dropdown-item:hover { background: #f0f1ee; }

/* ── HAMBURGER BUTTON ────────────────────────────────────── */
/* Hidden on desktop, shown on mobile */
.fph-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 1.5px solid #e2e2e2;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background .15s, border-color .15s;
}
.fph-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #111111;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}
.fph-hamburger:hover { background: #f0f1ee; border-color: #111111; }
.fph-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fph-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fph-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU PANEL ───────────────────────────────────── */
.fph-mobile-menu {
  display: none; /* JS will show/hide */
  position: fixed;
  top: var(--fph-nav-h);
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 2px solid #e2e2e2;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  z-index: 1035;
  max-height: calc(100vh - var(--fph-nav-h));
  overflow-y: auto;
}
.fph-mobile-menu.open { display: block; }
.fph-mm-search {
  padding: 12px 16px 8px;
  border-bottom: 1px solid #f0f1ee;
}
.fph-mm-search form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f1ee;
  border: 1.5px solid #e2e2e2;
  border-radius: 9999px;
  padding: 0 8px 0 14px;
  height: 44px;
}
.fph-mm-search input {
  flex: 1; border: none; background: transparent;
  outline: none; font-family: var(--fph-font);
  font-size: .92rem; color: #111111;
}
.fph-mm-search input::placeholder { color: #888888; }
.fph-mm-links { padding: 4px 0 8px; }
.fph-mm-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: .95rem;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid #f4f4f4;
  transition: background .12s;
}
.fph-mm-links a:hover { background: #f0f1ee; }
.fph-mm-links a:last-child { border-bottom: none; }
.fph-mm-divider {
  height: 1px;
  background: #e2e2e2;
  margin: 4px 0;
}
.fph-mm-badge {
  background: var(--danger); color: #fff;
  font-size: .68rem; font-weight: 700;
  border-radius: 9999px; padding: 2px 7px;
}
.fph-mm-cta {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Backdrop */
.fph-mm-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  z-index: 1034;
}
.fph-mm-backdrop.open { display: block; }

/* ── MOBILE BREAKPOINT ───────────────────────────────────── */
@media (max-width: 991px) {
  /* Hide desktop elements */
  .fph-nav-search { display: none !important; }
  .fph-nav-links  { display: none !important; }
  /* Show hamburger */
  .fph-hamburger  { display: flex !important; }
  /* Push hamburger to right edge */
  .fph-nav-inner  { justify-content: space-between; }
}

/* ── CATEGORY STRIP ─────────────────────────────────────── */
.fph-cat-strip {
  background: var(--fph-white);
  border-bottom: 1px solid var(--fph-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.fph-cat-strip::-webkit-scrollbar { display: none; }
.fph-cat-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* even distribution across full width */
  gap: 4px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  min-width: max-content; /* allow horizontal scroll on very small screens */
}
.fph-cat-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border-radius: 9999px; font-size: .78rem; font-weight: 600;
  color: var(--fph-mid); border: 1.5px solid transparent;
  transition: all .15s; white-space: nowrap;
  flex: 1 1 0;          /* each chip takes equal share of the row */
  text-align: center;
}
.fph-cat-chip:hover { color: var(--fph-dark); border-color: var(--fph-border); background: var(--fph-subtle); }
.fph-cat-chip.active { color: var(--fph-dark); border-color: var(--fph-dark); background: var(--fph-white); }

/* ── SECTIONS ───────────────────────────────────────────── */
.fph-section { padding: 64px 0; }
.fph-section-hd {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; gap: 12px;
}
.fph-eyebrow {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--fph-muted); display: block; margin-bottom: 8px;
}
.fph-section-title { margin-bottom: 8px; }

/* ── CARDS ──────────────────────────────────────────────── */
.fph-card {
  background: var(--fph-white);
  border: 1px solid var(--fph-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

/* ── GIG CARDS ──────────────────────────────────────────── */
.fph-gig-card {
  background: var(--fph-white);
  border: 1px solid var(--fph-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  height: 100%;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.fph-gig-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.fph-gig-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--fph-subtle) 0%, var(--fph-border) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.fph-gig-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.fph-gig-thumb-placeholder {
  font-size: 2.5rem; opacity: .15;
}
.fph-gig-body {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.fph-seller-row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.fph-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fph-seller-name { font-size: .8rem; font-weight: 600; color: var(--fph-dark); }
.fph-seller-level { font-size: .7rem; color: var(--fph-muted); }
.fph-gig-title {
  font-size: .9rem; font-weight: 600; color: var(--fph-dark);
  line-height: 1.4; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fph-gig-meta { font-size: .76rem; color: var(--fph-muted); }
.fph-gig-footer {
  margin-top: auto; padding-top: 10px;
  border-top: 1px solid var(--fph-border);
  display: flex; justify-content: space-between; align-items: center;
}
.fph-price-from { font-size: .68rem; color: var(--fph-muted); text-transform: uppercase; letter-spacing: .05em; }
.fph-gig-price {
  font-size: 1.1rem; font-weight: 800;
  color: var(--fph-dark); letter-spacing: -.02em;
}

/* Rating stars */
.rating-stars .star { color: var(--fph-border); font-size: .8rem; }
.rating-stars .star.filled { color: #f5a623; }
.fph-rating { font-size: .78rem; color: var(--fph-muted); display: flex; align-items: center; gap: 3px; }
.fph-rating-num { color: var(--fph-dark); font-weight: 700; }

/* Save button on gig card */
.fph-save-btn {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,.9); border: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; cursor: pointer;
  transition: background .15s, transform .15s;
}
.fph-save-btn:hover { background: #fff; transform: scale(1.1); }
.fph-save-btn.saved { color: var(--danger); }

/* ── HERO ───────────────────────────────────────────────── */
.fph-hero {
  padding: 80px 0 64px;
  background: var(--fph-white);
  border-bottom: 1px solid var(--fph-border);
  position: relative; overflow: hidden;
}
.fph-hero-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--fph-white);
  border: 2px solid var(--fph-dark);
  border-radius: 9999px;
  padding: 6px 8px 6px 20px;
  max-width: 520px; margin-top: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.fph-hero-search input {
  border: none; outline: none; background: transparent;
  font-family: var(--fph-font); font-size: .95rem; width: 100%;
}
.fph-hero-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fph-hero-tags span { font-size: .78rem; color: var(--fph-muted); }
.fph-tag {
  display: inline-block; padding: 4px 12px;
  border: 1px solid var(--fph-border);
  border-radius: 9999px; font-size: .78rem; color: var(--fph-mid);
  transition: all .15s;
}
.fph-tag:hover { border-color: var(--fph-dark); color: var(--fph-dark); }

.fph-proof-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; border: 1px solid var(--fph-border);
  border-radius: var(--radius); overflow: hidden;
}
.fph-proof-item {
  background: var(--fph-white); padding: 24px 20px;
  border: 1px solid var(--fph-border);
}
.fph-proof-num { font-size: 2rem; font-weight: 800; color: var(--fph-dark); letter-spacing: -.04em; }
.fph-proof-label { font-size: .72rem; color: var(--fph-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ── TRUST BAR ──────────────────────────────────────────── */
.fph-trust-bar {
  background: var(--fph-subtle); border-bottom: 1px solid var(--fph-border); padding: 12px 0;
}
.fph-trust-inner {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
}
.fph-trust-item { font-size: .78rem; color: var(--fph-muted); font-weight: 500; }
.fph-trust-item::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* ── GRID LAYOUTS ───────────────────────────────────────── */
.fph-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fph-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1199px) { .fph-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .fph-grid-4, .fph-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px)  { .fph-grid-4, .fph-grid-3 { grid-template-columns: 1fr; } }

/* ── CELLS (Category grid) ──────────────────────────────── */
.fph-cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 991px) { .fph-cells { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .fph-cells { grid-template-columns: 1fr; } }

.fph-cell {
  display: block; padding: 22px; background: var(--fph-white);
  border: 1px solid var(--fph-border); border-radius: var(--radius);
  transition: box-shadow .2s, transform .2s; text-decoration: none;
}
.fph-cell:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.fph-cell-icon { font-size: 1.6rem; display: block; margin-bottom: 10px; opacity: .5; }
.fph-cell .t  { font-size: .95rem; font-weight: 700; color: var(--fph-dark); margin-bottom: 4px; }
.fph-cell .d  { font-size: .78rem; color: var(--fph-muted); line-height: 1.5; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn { font-family: var(--fph-font); font-weight: 600; font-size: .84rem; border-radius: var(--radius-sm); transition: all .15s; }
.btn-primary { background: var(--fph-dark); border-color: var(--fph-dark); color: #fff; }
.btn-primary:hover { background: #333; border-color: #333; }
.btn-accent  { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: #166352; }
.btn-dark    { background: var(--fph-dark); border-color: var(--fph-dark); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-ghost   { background: transparent; border: 1.5px solid var(--fph-border); color: var(--fph-mid); }
.btn-ghost:hover { border-color: var(--fph-dark); color: var(--fph-dark); background: var(--fph-subtle); }
.btn-outline-accent { background: transparent; border: 1.5px solid var(--accent); color: var(--accent); }
.btn-outline-accent:hover { background: var(--accent); color: #fff; }

/* ── FORMS ──────────────────────────────────────────────── */
.form-control, .form-select {
  font-family: var(--fph-font); font-size: .88rem;
  border: 1.5px solid var(--fph-border); border-radius: var(--radius-sm);
  padding: 10px 14px; color: var(--fph-dark);
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--fph-dark); box-shadow: 0 0 0 3px rgba(0,0,0,.06); outline: none;
}
.form-label { font-size: .82rem; font-weight: 600; color: var(--fph-dark); margin-bottom: 5px; }

/* ── PILLS / BADGES ─────────────────────────────────────── */
.fph-pill {
  display: inline-block; padding: 3px 10px;
  border-radius: 9999px; font-size: .7rem; font-weight: 700;
  background: var(--fph-subtle); color: var(--fph-mid); border: 1px solid var(--fph-border);
}
.fph-tier {
  display: inline-block; padding: 3px 10px;
  border-radius: 9999px; font-size: .7rem; font-weight: 700;
  background: var(--fph-dark); color: #fff;
}
.fph-tier-accent {
  display: inline-block; padding: 3px 10px;
  border-radius: 9999px; font-size: .7rem; font-weight: 700;
  background: var(--accent); color: #fff;
}

/* ── ORDER STATUS BADGES ─────────────────────────────────── */
.fph-status {
  display: inline-block; padding: 3px 10px;
  border-radius: 9999px; font-size: .72rem; font-weight: 700;
  text-transform: capitalize;
}
.fph-status.active     { background: #e8f5e9; color: #2e7d32; }
.fph-status.submitted  { background: #e3f2fd; color: #1565c0; }
.fph-status.revision   { background: #fff3e0; color: #e65100; }
.fph-status.completed  { background: var(--accent-light); color: var(--accent); }
.fph-status.cancelled  { background: #fce4e4; color: var(--danger); }
.fph-status.disputed   { background: #fce4e4; color: var(--danger); }
.fph-status.pending    { background: var(--fph-subtle); color: var(--fph-muted); }
.fph-status.paid       { background: var(--accent-light); color: var(--accent); }
.fph-status.refunded   { background: #fff3e0; color: var(--warn); }

/* ── DASHBOARDS ──────────────────────────────────────────── */
.fph-dash-sidebar {
  background: var(--fph-white);
  border: 1px solid var(--fph-border);
  border-radius: var(--radius);
  padding: 16px 0;
  box-shadow: var(--shadow);
  position: sticky; top: calc(var(--fph-nav-h) + 12px);
}
.fph-dash-sidebar a {
  display: block; padding: 9px 20px;
  font-size: .84rem; font-weight: 600;
  color: var(--fph-mid); transition: all .15s;
  border-left: 3px solid transparent;
  text-decoration: none;
}
.fph-dash-sidebar a:hover { color: var(--fph-dark); background: var(--fph-subtle); }
.fph-dash-sidebar a.active { color: var(--fph-dark); border-left-color: var(--fph-dark); background: var(--fph-subtle); }

.fph-stat {
  background: var(--fph-white); border: 1px solid var(--fph-border);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
}
.fph-stat .label { font-size: .72rem; color: var(--fph-muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.fph-stat .value { font-size: 2rem; font-weight: 800; color: var(--fph-dark); letter-spacing: -.03em; line-height: 1; }

/* ── MESSAGES ────────────────────────────────────────────── */
.fph-message {
  padding: 10px 14px; margin: 6px 0;
  background: var(--fph-subtle); border-radius: 10px 10px 10px 3px;
  max-width: 80%; word-break: break-word;
}
.fph-message.mine {
  background: var(--accent-light); margin-left: auto;
  border-radius: 10px 10px 3px 10px;
}

/* ── SELLER PROFILE / LEVELS ─────────────────────────────── */
.seller-level-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 9999px;
  font-size: .7rem; font-weight: 700;
}
.level-new    { background: var(--fph-subtle); color: var(--fph-muted); }
.level-1      { background: #e3f2fd; color: #1565c0; }
.level-2      { background: var(--accent-light); color: var(--accent); }
.level-top    { background: #fff8e1; color: #f57f17; }

/* ── DARK BAND ───────────────────────────────────────────── */
.fph-band-dark {
  background: var(--fph-dark); padding: 80px 0;
  color: rgba(255,255,255,.7);
}
.fph-band-dark h2 { color: #fff; }

/* ── ENTERPRISE BOX ──────────────────────────────────────── */
.fph-enterprise-box {
  background: var(--fph-white); border: 1px solid var(--fph-border);
  border-radius: 16px; padding: 48px; box-shadow: var(--shadow);
}

/* ── BLOCKQUOTE ──────────────────────────────────────────── */
.fph-quote {
  background: var(--fph-subtle); padding: 64px 0;
  border-top: 1px solid var(--fph-border);
  border-bottom: 1px solid var(--fph-border);
}
.fph-quote blockquote {
  font-size: clamp(1.2rem,2.5vw,1.8rem); font-weight: 600;
  color: var(--fph-dark); letter-spacing: -.02em;
  line-height: 1.4; max-width: 700px; margin: 0 auto 12px;
  font-style: normal;
}
.fph-quote cite { font-size: .82rem; color: var(--fph-muted); }

/* ── FAQ ACCORDION ───────────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--fph-border); }
.accordion-button {
  width: 100%; background: transparent; border: none; text-align: left;
  font-family: var(--fph-font); font-size: .95rem; font-weight: 600;
  color: var(--fph-dark); padding: 18px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.accordion-button::after {
  content: '+'; font-size: 1.2rem; font-weight: 300;
  color: var(--fph-muted); flex-shrink: 0;
}
.accordion-button.open::after { content: '−'; }
.accordion-collapse { display: none; padding: 0 0 18px; font-size: .88rem; color: var(--fph-mid); line-height: 1.7; }
.accordion-collapse.open { display: block; }

/* ── FOOTER ──────────────────────────────────────────────── */
.fph-footer {
  background: var(--fph-dark); color: rgba(255,255,255,.55);
  padding: 56px 0 0; font-size: .84rem; line-height: 2;
}
.fph-footer h6 {
  color: rgba(255,255,255,.8); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px;
}
.fph-footer a { color: rgba(255,255,255,.45); display: block; transition: color .15s; }
.fph-footer a:hover { color: #fff; }
.fph-footer-logo {
  font-size: 1.1rem; font-weight: 800; letter-spacing: -.03em;
  color: #fff; margin-bottom: 10px;
}
.fph-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0; margin-top: 40px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .76rem; color: rgba(255,255,255,.3);
}

/* ── FLASH ───────────────────────────────────────────────── */
.fph-flash-wrap .alert {
  border-radius: var(--radius); border: 1px solid var(--fph-border);
  font-size: .88rem;
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb { font-size: .8rem; background: transparent; padding: 0; margin: 0; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--fph-muted); }
.breadcrumb-item a { color: var(--fph-muted); }
.breadcrumb-item.active { color: var(--fph-mid); }

/* ── TABLES ──────────────────────────────────────────────── */
.table { font-size: .86rem; }
.table th { font-weight: 600; color: var(--fph-muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--fph-border); padding: 10px 12px; }
.table td { padding: 12px; vertical-align: middle; border-bottom: 1px solid var(--fph-border); }
.table tbody tr:hover { background: var(--fph-subtle); }

/* ── PAGINATION ──────────────────────────────────────────── */
.fph-pagination { display: flex; gap: 4px; justify-content: center; margin-top: 32px; }
.fph-pagination a, .fph-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 600;
  border: 1px solid var(--fph-border);
  color: var(--fph-mid); background: var(--fph-white); text-decoration: none;
  transition: all .15s;
}
.fph-pagination a:hover { border-color: var(--fph-dark); color: var(--fph-dark); }
.fph-pagination .active { background: var(--fph-dark); color: #fff; border-color: var(--fph-dark); }

/* ── GIG IMAGE GALLERY ───────────────────────────────────── */
.gig-gallery { display: grid; gap: 8px; }
.gig-gallery-main { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); background: var(--fph-subtle); }
.gig-gallery-thumbs { display: flex; gap: 8px; }
.gig-gallery-thumb {
  width: 72px; height: 54px; object-fit: cover;
  border-radius: 6px; cursor: pointer; opacity: .65;
  transition: opacity .15s; border: 2px solid transparent;
  background: var(--fph-subtle);
}
.gig-gallery-thumb.active, .gig-gallery-thumb:hover { opacity: 1; border-color: var(--fph-dark); }

/* ── CHECKOUT / ORDER ────────────────────────────────────── */
.fph-order-timeline { display: flex; gap: 0; margin-bottom: 24px; }
.fph-timeline-step {
  flex: 1; text-align: center; padding: 10px; position: relative;
  font-size: .74rem; font-weight: 600; color: var(--fph-muted);
}
.fph-timeline-step.done  { color: var(--accent); }
.fph-timeline-step.active { color: var(--fph-dark); }
.fph-timeline-step::before {
  content: ''; display: block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--fph-border);
  margin: 0 auto 6px;
}
.fph-timeline-step.done::before  { background: var(--accent); }
.fph-timeline-step.active::before { background: var(--fph-dark); box-shadow: 0 0 0 3px rgba(0,0,0,.1); }

/* ── ADMIN ───────────────────────────────────────────────── */
.admin-sidebar { background: #1a1a1a; min-height: 100vh; padding: 0; }
.admin-sidebar .admin-brand {
  padding: 20px 20px; font-size: .9rem; font-weight: 800;
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.07);
  letter-spacing: -.02em; display: block;
}
.admin-sidebar a {
  display: block; padding: 10px 20px; color: rgba(255,255,255,.5);
  font-size: .82rem; font-weight: 500; text-decoration: none;
  transition: all .15s;
}
.admin-sidebar a:hover, .admin-sidebar a.active { color: #fff; background: rgba(255,255,255,.06); }
.admin-content { padding: 32px; background: var(--fph-bg); min-height: 100vh; }

/* ── NOTIFICATIONS PAGE ──────────────────────────────────── */
.notif-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 20px; border-bottom: 1px solid var(--fph-border);
  transition: background .15s;
}
.notif-item:hover { background: var(--fph-subtle); }
.notif-item.unread { background: #f0f8ff; }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 5px; }

/* ── SEARCH RESULTS HEADER ───────────────────────────────── */
.fph-results-bar {
  padding: 14px 0; border-bottom: 1px solid var(--fph-border);
  background: var(--fph-white); margin-bottom: 28px;
}
.fph-results-bar h2 { font-size: 1.1rem; margin: 0; }

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  .fph-section { padding: 40px 0; }
  .fph-hero { padding: 48px 0 40px; }
  .fph-enterprise-box { padding: 28px; }
  .fph-proof-grid { grid-template-columns: 1fr 1fr; }
  .fph-hero-search { max-width: 100%; }
  .fph-dash-sidebar { position: static; margin-bottom: 20px; }
  .fph-card.p-0 { overflow-x: auto; }
  .fph-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .fph-timeline-step { font-size: .66rem; padding: 8px 4px; }
}

@media (max-width: 479px) {
  .fph-stat .value { font-size: 1.5rem; }
  .fph-cat-chip { padding: 4px 10px; font-size: .72rem; }
}

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
.fph-a1 { animation: fadeUp .4s .05s both; }
.fph-a2 { animation: fadeUp .4s .1s both; }
.fph-a3 { animation: fadeUp .4s .15s both; }
.fph-a4 { animation: fadeUp .4s .2s both; }
.fph-a5 { animation: fadeUp .4s .25s both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── LOADING SPINNER ─────────────────────────────────────── */
.fph-spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 2px solid var(--fph-border); border-top-color: var(--fph-dark);
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── DIVIDER ─────────────────────────────────────────────── */
.fph-divider { border: none; border-top: 1px solid var(--fph-border); margin: 28px 0; }

/* ── ACCOUNT PAGE ────────────────────────────────────────── */
.account-section { max-width: 640px; }
.account-section + .account-section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--fph-border); }

/* ══════════════════════════════════════════════════════════════════
   BECOME-SELLER PAGE
══════════════════════════════════════════════════════════════════ */
.op-bs-hero {
  background: var(--fph-dark);
  color: #fff;
  padding: 80px 0;
}
.op-bs-hero .fph-pill { background: rgba(255,255,255,.15); color: #fff; }
.op-bs-hero .text-soft, .op-bs-hero .text-mute { color: rgba(255,255,255,.6) !important; }
.op-display-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.1; color: #fff; }
.op-trust-row { gap: 2.5rem !important; }
.op-trust-row strong { font-size: 1.5rem; color: #fff; }
.op-trust-row .text-mute { color: rgba(255,255,255,.55) !important; }

.op-earnings-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.op-earnings-card .text-soft { color: rgba(255,255,255,.65) !important; }
.op-earnings-card .border-bottom { border-color: rgba(255,255,255,.12) !important; }

.op-section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fph-muted);
  margin-bottom: .5rem;
}

.op-step-card { border-left: 3px solid var(--fph-border); }
.op-step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--fph-border);
  line-height: 1;
}
.op-step-link { font-size: .82rem; font-weight: 600; color: var(--fph-dark); text-decoration: none; border-bottom: 1px solid var(--fph-dark); }

.op-level-card .fph-pill.bg-mute   { background: var(--fph-subtle); color: var(--fph-mid); }
.op-level-card .fph-pill.bg-info   { background: #e8f4fd; color: #1a6fa8; }
.op-level-card .fph-pill.bg-success{ background: #e6f9ed; color: #1a7a3c; }
.op-level-card .fph-pill.bg-dark   { background: var(--fph-dark); color: #fff; }

.op-faq { border-radius: 12px; overflow: hidden; }
.op-faq-item { border: 1px solid var(--fph-border); margin-bottom: 4px; border-radius: 8px !important; overflow: hidden; }
.op-faq .accordion-button { font-weight: 500; font-size: .93rem; background: var(--fph-white); color: var(--fph-dark); }
.op-faq .accordion-button:not(.collapsed) { background: var(--fph-subtle); color: var(--fph-dark); box-shadow: none; }
.op-faq .accordion-button::after { filter: none; }

.op-calc-card { padding: 2rem; }
.op-calc-result {
  background: var(--fph-dark);
  color: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
}
.op-calc-big { font-size: 3rem; font-weight: 800; line-height: 1; margin: .5rem 0; }
.op-range { accent-color: var(--fph-dark); }
.op-tier-radio { cursor: pointer; font-size: .88rem; }

.op-bs-cta {
  background: var(--fph-subtle);
  padding: 80px 0;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════
   CHECKOUT PAGE
══════════════════════════════════════════════════════════════════ */
.op-requirements-hint {
  background: var(--fph-subtle);
  border-radius: 8px;
  font-size: .84rem;
  color: var(--fph-mid);
}
.op-stub-badge {
  background: var(--fph-subtle);
  border: 1px solid var(--fph-border);
  border-radius: 8px;
}
.op-order-summary {
  position: sticky;
  top: calc(var(--fph-nav-h, 60px) + 12px);
}
.op-stripe-element {
  border: 1px solid var(--fph-border);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  transition: border-color .2s;
}
.op-stripe-element.StripeElement--focus { border-color: var(--fph-dark); }
.op-stripe-element.StripeElement--invalid { border-color: #dc3545; }

/* ══════════════════════════════════════════════════════════════════
   JOB BOARD — job-board.php, job.php, post-job.php
══════════════════════════════════════════════════════════════════ */

/* ── Filter sidebar ───────────────────────────────────────────── */
.op-filter-label {
  cursor: pointer;
  font-size: .88rem;
  color: var(--fph-mid);
  padding: 2px 0;
}
.op-filter-label:hover { color: var(--fph-dark); }
.op-filter-label input[type=radio] { accent-color: var(--fph-dark); }

/* ── Job card (browse list) ───────────────────────────────────── */
.op-job-card { text-decoration: none; color: inherit; display: block; }
.op-job-card-inner {
  transition: box-shadow .18s, transform .18s;
  border-left: 3px solid transparent;
}
.op-job-card:hover .op-job-card-inner {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
  border-left-color: var(--accent);
}
.op-job-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fph-dark);
  line-height: 1.3;
}
.op-job-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

/* ── Budget badge ─────────────────────────────────────────────── */
.op-budget-badge {
  display: inline-flex;
  align-items: center;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--accent-tint);
}

/* ── Deadline badge ───────────────────────────────────────────── */
.op-deadline-badge {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--fph-subtle);
  color: var(--fph-muted);
  border: 1px solid var(--fph-border);
}
.op-deadline-badge.op-deadline-soon {
  background: #fff8e1;
  color: #b45309;
  border-color: #fcd34d;
}
.op-deadline-badge.op-deadline-urgent {
  background: #fee2e2;
  color: var(--danger);
  border-color: #fca5a5;
}

/* ── Bid count badge ──────────────────────────────────────────── */
.op-bid-count-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--fph-dark);
  color: #fff;
  border-radius: 10px;
  padding: 8px 16px;
  min-width: 62px;
}
.op-bid-count-num   { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.op-bid-count-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 1px; opacity: .8; }

/* ── Pagination ───────────────────────────────────────────────── */
.fph-pagination {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}
.fph-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--fph-border);
  background: var(--fph-white);
  color: var(--fph-dark);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  transition: background .15s;
}
.fph-pagination a:hover,
.fph-pagination a.active { background: var(--fph-dark); color: #fff; border-color: var(--fph-dark); }

/* ── Status banner (job.php top bar) ──────────────────────────── */
.op-status-banner {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
}
.op-status-awarded   { background: var(--accent-light); color: var(--accent); }
.op-status-closed    { background: var(--fph-subtle); color: var(--fph-muted); }
.op-status-cancelled { background: #fee2e2; color: var(--danger); }

/* ── Job status pill (sidebar summary) ───────────────────────── */
.op-job-status-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
}
.op-status-open      { background: var(--accent-light); color: var(--accent); }
.op-status-awarded   { background: #e0f2fe; color: #0369a1; }
.op-status-closed    { background: var(--fph-subtle); color: var(--fph-muted); }
.op-status-cancelled { background: #fee2e2; color: var(--danger); }

/* ── Bid card ─────────────────────────────────────────────────── */
.op-bid-card { transition: box-shadow .18s; }
.op-bid-card:hover { box-shadow: var(--shadow-hover); }
.op-bid-winner {
  border: 2px solid var(--accent) !important;
  background: var(--accent-light) !important;
}
.op-bid-rejected { opacity: .55; }
.op-winner-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}

/* ── Bid portfolio thumbs (on bid cards) ──────────────────────── */
.op-bid-portfolio { }
.op-portfolio-thumb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--fph-border);
  background: var(--fph-subtle);
  flex-shrink: 0;
}
.op-portfolio-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.op-portfolio-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: var(--fph-muted);
}
.op-portfolio-thumb-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .5rem;
  padding: 2px 3px;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.op-portfolio-thumb-link {
  position: absolute;
  top: 2px; right: 3px;
  color: #fff;
  font-size: .65rem;
  text-decoration: none;
  background: rgba(0,0,0,.4);
  border-radius: 3px;
  padding: 0 3px;
  line-height: 1.4;
}

/* ── Portfolio item picker (bid form) ─────────────────────────── */
.op-portfolio-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.op-portfolio-pick-item {
  position: relative;
  width: 80px;
  cursor: pointer;
  border-radius: 8px;
  border: 2px solid var(--fph-border);
  overflow: hidden;
  transition: border-color .15s;
}
.op-portfolio-pick-item input[type=checkbox] {
  position: absolute; top: 4px; left: 4px;
  z-index: 2; accent-color: var(--accent);
}
.op-portfolio-pick-item img,
.op-portfolio-pick-placeholder {
  width: 100%;
  height: 60px;
  object-fit: cover;
  display: block;
}
.op-portfolio-pick-placeholder {
  background: var(--fph-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; color: var(--fph-muted);
}
.op-portfolio-pick-label {
  padding: 3px 4px;
  font-size: .62rem;
  color: var(--fph-mid);
  line-height: 1.3;
  background: #fff;
  text-align: center;
}
.op-portfolio-pick-item.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-tint);
}

/* ── Bid form card ────────────────────────────────────────────── */
.op-bid-form-card {
  border-top: 3px solid var(--fph-dark);
}

/* ── Budget radio on post-job.php ─────────────────────────────── */
.op-budget-radio {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px;
  border: 2px solid var(--fph-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  text-align: center;
}
.op-budget-radio input[type=radio] { display: none; }
.op-budget-radio-amount { font-size: 1.6rem; font-weight: 800; color: var(--fph-dark); line-height: 1; }
.op-budget-radio-label  { font-size: .75rem; color: var(--fph-muted); margin-top: 2px; }
.op-budget-radio.selected,
.op-budget-radio:has(input:checked) {
  border-color: var(--fph-dark);
  background: var(--fph-subtle);
}

/* ── Tips box ─────────────────────────────────────────────────── */
.op-tips-box {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .88rem;
}
.op-tips-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════════════════════════════════════════
   PORTFOLIO MANAGEMENT — portfolio-manage.php
══════════════════════════════════════════════════════════════════ */

.op-portfolio-item-card {
  overflow: hidden;
  transition: box-shadow .18s;
}
.op-portfolio-item-card:hover { box-shadow: var(--shadow-hover); }

.op-portfolio-item-img {
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: var(--fph-subtle);
  margin: -1.25rem -1.25rem 1rem -1.25rem;
  width: calc(100% + 2.5rem);
}
.op-portfolio-item-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.op-portfolio-item-noimg {
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 800; color: var(--fph-border);
}
.op-portfolio-item-body { }

/* ══════════════════════════════════════════════════════════════════
   PORTFOLIO — public view on seller-profile.php
══════════════════════════════════════════════════════════════════ */

.op-portfolio-pub-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--fph-white);
  border: 1px solid var(--fph-border);
  transition: box-shadow .18s, transform .18s;
}
.op-portfolio-pub-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.op-portfolio-pub-img {
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: var(--fph-subtle);
}
.op-portfolio-pub-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.op-portfolio-pub-noimg {
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 800; color: var(--fph-border);
}
.op-portfolio-pub-body {
  padding: .75rem;
}

/* ══════════════════════════════════════════════════════════════════
   AUTH PAGES — login.php, register.php
══════════════════════════════════════════════════════════════════ */

.op-auth-card { padding: 2rem 2rem 1.5rem; }
.op-auth-input {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--fph-border);
  font-size: .92rem;
  transition: border-color .15s, box-shadow .15s;
  padding: .55rem .85rem;
}
.op-auth-input:focus {
  border-color: var(--fph-dark);
  box-shadow: 0 0 0 3px rgba(17,17,17,.07);
}
.op-auth-btn {
  font-size: 1rem;
  letter-spacing: -.01em;
}

/* Password show/hide wrapper */
.op-pw-wrap { position: relative; }
.op-pw-wrap .op-auth-input { padding-right: 2.8rem; }
.op-pw-toggle {
  position: absolute;
  top: 50%; right: .7rem;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--fph-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  display: flex; align-items: center;
}
.op-pw-toggle:hover { color: var(--fph-dark); }

/* Password strength meter */
.op-pw-meter { display: flex; align-items: center; gap: 8px; }
.op-pw-bar-wrap {
  flex: 1; height: 4px;
  background: var(--fph-border);
  border-radius: 99px;
  overflow: hidden;
}
.op-pw-bar {
  height: 100%;
  border-radius: 99px;
  transition: width .3s, background .3s;
  width: 0%;
}
.op-pw-label { font-size: .75rem; font-weight: 600; min-width: 72px; }

/* Match message */
.op-match-msg { font-size: .78rem; margin-top: 4px; min-height: 16px; }

/* Role cards on register */
.op-role-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  border: 2px solid var(--fph-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.op-role-card input[type=radio] { display: none; }
.op-role-card-icon, .op-role-icon { font-size: 1.6rem; margin-bottom: .4rem; }
.op-role-card strong { display: block; font-size: .9rem; color: var(--fph-dark); }
.op-role-desc { font-size: .75rem; color: var(--fph-muted); margin: .2rem 0 0; line-height: 1.4; }
.op-role-card.selected,
.op-role-card:has(input:checked) {
  border-color: var(--fph-dark);
  background: var(--fph-subtle);
}

/* Terms text */
.op-terms-text { font-size: .78rem; color: var(--fph-muted); }
.op-terms-text a { color: var(--fph-mid); }

/* Auth divider */
.op-auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--fph-muted); font-size: .8rem; margin: 1rem 0;
}
.op-auth-divider::before,
.op-auth-divider::after { content:''; flex:1; height:1px; background:var(--fph-border); }

/* Alt buttons */
.op-auth-alt-btn {
  font-size: .85rem;
  color: var(--fph-mid) !important;
  border-color: var(--fph-border) !important;
}
.op-auth-alt-btn:hover {
  border-color: var(--fph-dark) !important;
  color: var(--fph-dark) !important;
}

/* ══════════════════════════════════════════════════════════════════
   EMAIL VERIFICATION NUDGE
══════════════════════════════════════════════════════════════════ */

.op-verify-nudge {
  background: #fffbeb;
  border-bottom: 1px solid #fcd34d;
  font-size: .88rem;
}
.op-verify-nudge .btn-link { line-height: inherit; }

/* ══════════════════════════════════════════════════════════════════
   HOMEPAGE UNIFIED — index.php
══════════════════════════════════════════════════════════════════ */

/* Hero mode switcher */
.op-hero-modes { margin-top: 1.5rem; }
.op-hero-mode-tabs {
  display: flex; gap: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: .75rem;
  display: inline-flex;
}
.op-hero-mode-tab {
  background: none; border: none;
  color: rgba(255,255,255,.65);
  font-size: .84rem; font-weight: 600;
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.op-hero-mode-tab.active {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* Two-mode explainer cards */
.op-mode-card { border-top: 3px solid var(--fph-border); }
.op-mode-icon { font-size: 2rem; margin-bottom: .6rem; }
.op-mode-list {
  list-style: none; padding: 0; margin: 0;
  font-size: .86rem; color: var(--fph-mid);
}
.op-mode-list li { padding: 3px 0; }
.op-mode-list li::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* Home job preview cards */
.op-home-job-card {
  transition: box-shadow .18s, transform .18s;
  border-left: 3px solid transparent;
}
.op-home-job-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
  border-left-color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════════
   EXPLORE PAGE UNIFIED — explore.php
══════════════════════════════════════════════════════════════════ */

.op-explore-modes {
  display: flex; gap: 4px;
  border-bottom: 2px solid var(--fph-border);
  padding-bottom: 0;
}
.op-explore-mode-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: .88rem; font-weight: 600;
  color: var(--fph-muted);
  text-decoration: none;
  border: 2px solid transparent;
  border-bottom: none;
  margin-bottom: -2px;
  transition: color .15s, background .15s;
}
.op-explore-mode-btn:hover { color: var(--fph-dark); background: var(--fph-subtle); }
.op-explore-mode-btn.active {
  color: var(--fph-dark);
  background: var(--fph-bg);
  border-color: var(--fph-border);
  border-bottom-color: var(--fph-bg);
}
.op-explore-mode-count {
  background: var(--fph-dark);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
}

/* ══════════════════════════════════════════════════════════════════
   PORTFOLIO PAGE — portfolio.php
══════════════════════════════════════════════════════════════════ */

/* Hero section */
.op-porto-hero {
  background: var(--fph-dark);
  color: #fff;
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.op-porto-avatar {
  width: 88px; height: 88px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 3px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; font-weight: 800; color: #fff;
  overflow: hidden;
}
.op-porto-avatar img { width: 100%; height: 100%; object-fit: cover; }
.op-porto-name { font-size: clamp(1.4rem,3vw,2rem); color: #fff; font-weight: 800; }
.op-porto-tagline { color: rgba(255,255,255,.7); font-size: .95rem; }
.op-porto-meta { font-size: .78rem; color: rgba(255,255,255,.55); gap: 1rem !important; }
.op-porto-meta span { display: flex; align-items: center; gap: 4px; }
.op-porto-ghost-btn {
  border-color: rgba(255,255,255,.3) !important;
  color: rgba(255,255,255,.8) !important;
}
.op-porto-ghost-btn:hover {
  border-color: rgba(255,255,255,.7) !important;
  color: #fff !important;
}

/* Stats row */
.op-porto-stats {
  display: flex; gap: 1px;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
}
.op-porto-stat {
  flex: 1;
  background: rgba(255,255,255,.06);
  padding: 14px 12px;
  text-align: center;
}
.op-porto-stat-val { font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.op-porto-stat-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.5); margin-top: 3px; }

/* Portfolio category filter tabs */
.op-porto-tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.op-porto-tab {
  background: var(--fph-white);
  border: 1px solid var(--fph-border);
  color: var(--fph-mid);
  font-size: .8rem; font-weight: 500;
  padding: 5px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.op-porto-tab:hover { border-color: var(--fph-dark); color: var(--fph-dark); }
.op-porto-tab.active { background: var(--fph-dark); border-color: var(--fph-dark); color: #fff; }

/* Portfolio masonry grid */
.op-porto-grid {
  columns: 3;
  column-gap: 16px;
}
@media (max-width: 768px) { .op-porto-grid { columns: 2; } }
@media (max-width: 480px) { .op-porto-grid { columns: 1; } }

.op-porto-item {
  break-inside: avoid;
  margin-bottom: 16px;
}
.op-porto-item-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--fph-subtle);
  border: 1px solid var(--fph-border);
}
.op-porto-item-img { width: 100%; display: block; }
.op-porto-item-img img { width: 100%; height: auto; display: block; transition: transform .3s; }
.op-porto-item-inner:hover img { transform: scale(1.03); }
.op-porto-item-noimg {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 800; color: var(--fph-border);
}
.op-porto-item-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  padding: 20px 12px 10px;
  opacity: 0;
  transition: opacity .2s;
}
.op-porto-item-inner:hover .op-porto-item-overlay { opacity: 1; }
.op-porto-item-title { color: #fff; font-size: .85rem; font-weight: 600; }
.op-porto-item-cat { color: rgba(255,255,255,.65); font-size: .72rem; }

/* Lightbox modal */
.op-porto-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.82);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.op-porto-modal.open { opacity: 1; pointer-events: all; }
.op-porto-modal-inner {
  background: var(--fph-white);
  border-radius: var(--radius);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.op-porto-modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none;
  font-size: 1.6rem; color: var(--fph-muted);
  cursor: pointer; line-height: 1;
  z-index: 1;
}
.op-porto-modal-close:hover { color: var(--fph-dark); }
.op-porto-modal-img { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.op-porto-modal-img img { width: 100%; max-height: 460px; object-fit: contain; background: var(--fph-subtle); display: block; }
.op-porto-modal-noimg {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; font-weight: 800; color: var(--fph-border);
  background: var(--fph-subtle);
}
.op-porto-modal-body { padding: 1.5rem; }
.op-porto-modal-body h4 { margin-bottom: .5rem; }
