/* Find team members, same chrome as employer dashboard */
.fw-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

.fw-toolbar {
  background: #fff;
  border: 1px solid var(--ed-line, #e2e8f0);
  border-radius: 14px;
  padding: 1rem 1.15rem 1.1rem;
  margin-bottom: 1.25rem;
}

.fw-toolbar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 11rem) auto;
  gap: 0.75rem;
  align-items: end;
}

.fw-toolbar label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.fw-toolbar .form-control,
.fw-toolbar .form-select {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  min-height: 42px;
  width: 100%;
}

.fw-toolbar .btn-primary {
  background: #2563eb !important;
  border-color: #2563eb !important;
  border-radius: 10px !important;
  font-weight: 600;
  min-height: 42px;
  padding: 0 1.15rem;
  color: #fff !important;
  white-space: nowrap;
}

.fw-toolbar .btn-primary:hover,
.fw-toolbar .btn-primary:focus {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #fff !important;
}

.fw-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #f1f5f9;
}

.fw-scope,
.fw-view-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.fw-scope .btn-check,
.fw-view-toggle .btn-check {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.fw-scope .ed-filter,
.fw-view-toggle .ed-filter {
  border-radius: 999px;
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.fw-scope .btn-check:checked + .ed-filter,
.fw-view-toggle .btn-check:checked + .ed-filter {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
}

.fw-scope-hint {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
  min-height: 1.2rem;
}

.fw-results-panel .ed-panel-body {
  padding: 0;
}

.fw-results-meta {
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 600;
}

/* List rows, same pattern as dashboard jobs */
.fw-grid {
  display: block;
}

.fw-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem 1rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--ed-line, #e2e8f0);
  min-width: 0;
}

.fw-row:last-child {
  border-bottom: none;
}

.fw-row-main {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  min-width: 0;
}

.fw-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #dbeafe;
}

.fw-row-copy {
  min-width: 0;
  flex: 1;
}

.fw-row-name {
  margin: 0 0 0.15rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fw-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
}

.fw-row-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  max-width: 100%;
}

.fw-row-meta i {
  opacity: 0.7;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.fw-row-meta .fw-meta-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 18rem;
}

.fw-row-actions .ed-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.fw-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  color: #64748b;
}

.fw-empty-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.fw-empty-actions .btn-primary {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
}

.fw-empty-actions .btn-outline-primary {
  color: #2563eb !important;
  background: #fff !important;
}

.fw-map-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
}

.fw-map-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid #e2e8f0;
}

.fw-map-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.fw-map-head p {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

#workersMap {
  height: min(70vh, 620px);
  width: 100%;
  background: #f1f5f9;
  z-index: 1;
}

.fw-map-pin {
  background: transparent !important;
  border: none !important;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.leaflet-container a {
  color: #2563eb;
}

@media (max-width: 900px) {
  .fw-toolbar-row {
    grid-template-columns: 1fr;
  }

  .fw-toolbar-row > div:last-child .btn {
    width: 100%;
  }

  .fw-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .fw-row-actions {
    justify-content: flex-start;
  }

  .fw-row-actions .ed-action {
    flex: 1 1 auto;
    min-width: calc(33.333% - 0.4rem);
  }
}

@media (max-width: 520px) {
  .fw-row-actions .ed-action {
    flex: 1 1 calc(50% - 0.4rem);
  }

  .fw-row-meta .fw-meta-text {
    max-width: 12rem;
  }
}

.hire-hero {
  margin-bottom: 0.85rem;
  align-items: center;
}

.hire-inbox-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid #dbe3ef;
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.hire-inbox-link:hover {
  border-color: #94a3b8;
  color: #0f172a;
}
.hire-inbox-link.active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: 0 0 0 1px #2563eb;
}
.hire-inbox-link .hire-mode-copy {
  display: inline-flex;
  align-items: center;
}
.hire-inbox-link .hire-mode-copy strong {
  font-size: 0.9rem;
  font-weight: 750;
}

.hire-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.15rem;
}
.hire-mode-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  text-align: center;
  border: 1.5px solid #dbe3ef;
  background: #fff;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  cursor: pointer;
  color: #334155;
  min-height: 0;
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.hire-mode-option:hover {
  transform: translateY(-1px);
  border-color: #94a3b8;
  color: #0f172a;
}
.hire-mode-option.active {
  color: #0f172a;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.hire-mode-option.is-now.active {
  border-color: #ea580c;
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  box-shadow: 0 0 0 1px #ea580c, 0 6px 16px rgba(234, 88, 12, 0.16);
}
.hire-mode-option.is-long.active {
  border-color: #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow: 0 0 0 1px #2563eb, 0 6px 16px rgba(37, 99, 235, 0.14);
}
.hire-mode-option.is-people.active {
  border-color: #059669;
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  box-shadow: 0 0 0 1px #059669, 0 6px 16px rgba(5, 150, 105, 0.14);
}
.hire-mode-icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.92rem;
}
.hire-mode-option.is-now.active .hire-mode-icon {
  background: #ea580c;
  color: #fff;
}
.hire-mode-option.is-long.active .hire-mode-icon {
  background: #2563eb;
  color: #fff;
}
.hire-mode-option.is-people.active .hire-mode-icon {
  background: #059669;
  color: #fff;
}
.hire-mode-option.is-messages.active {
  border-color: #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow: 0 0 0 1px #2563eb, 0 6px 16px rgba(37, 99, 235, 0.14);
}
.hire-mode-option.is-messages.active .hire-mode-icon {
  background: #2563eb;
  color: #fff;
}
.hire-mode-copy {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.hire-mode-copy strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hire-mode-copy span {
  display: none;
}
.hire-mode-option.active .hire-mode-copy span {
  color: #334155;
}

.hire-lane-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.hire-lane-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 12px;
  padding: 0.78rem 1.15rem;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1.2;
  color: #fff !important;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
body .hire-lane-cta.is-now,
.ed-page-head .hire-lane-cta.is-now {
  background: #ea580c !important;
  border-color: #ea580c !important;
  color: #fff !important;
}
.hire-lane-cta.is-now {
  background: #ea580c !important;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.28);
}
.hire-lane-cta.is-now:hover {
  background: #c2410c !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.34);
}
.hire-lane-cta.is-long {
  background: #2563eb !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}
.hire-lane-cta.is-long:hover {
  background: #1d4ed8 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.34);
}
.hire-lane-cta.is-ghost {
  background: #fff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1;
  box-shadow: none;
}
.hire-lane-cta.is-ghost:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: #94a3b8;
  transform: translateY(-1px);
}
.hire-lane-cta.is-people {
  background: #059669 !important;
  box-shadow: 0 8px 18px rgba(5, 150, 105, 0.25);
}
.hire-lane-cta.is-people:hover {
  background: #047857 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.34);
}
.hire-lane-cta.is-people.is-outline {
  background: #fff !important;
  color: #047857 !important;
  border: 1.5px solid #6ee7b7 !important;
  box-shadow: none;
}
.hire-lane-cta.is-people.is-outline:hover {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border-color: #34d399 !important;
}
.hire-lane-hint {
  display: none;
}

.hire-location-suggestions {
  top: 100%;
  left: 0;
  z-index: 1080;
  max-height: 220px;
  overflow-y: auto;
  margin-top: 0.2rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.hire-location-suggestions:empty {
  display: none;
}
.hire-location-suggestions .list-group-item {
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
}
.hire-location-suggestions .list-group-item:last-child {
  border-bottom: 0;
}
.hire-loc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.hire-loc-chip {
  border: 1.5px solid #cbd5e1;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.hire-loc-chip:hover {
  border-color: #94a3b8;
  color: #0f172a;
}
.hire-loc-chip.is-active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}
.hire-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1.5px solid #c7d2fe;
  background: #eef2ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.hire-ai-btn:hover:not(:disabled) {
  background: #e0e7ff;
  border-color: #a5b4fc;
  color: #312e81;
}
.hire-ai-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}
.hire-modal .modal-content,
.hire-modal .modal-body {
  overflow: visible;
}

.hire-people-under-today {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid #e2e8f0;
}
.hire-people-divider {
  margin-bottom: 0.85rem;
}
.hire-people-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.hire-people-sub {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}
.hire-lane-cta.is-ghost.is-open {
  border-color: #059669;
  background: #ecfdf5 !important;
  color: #047857 !important;
}

@media (max-width: 900px) {
  .hire-mode-switch {
    grid-template-columns: 1fr;
  }
  .hire-mode-option {
    min-height: 0;
  }
}

.hire-messages-panel {
  margin-bottom: 1.5rem;
}
.hire-messages-panel .hire-msg-wrap {
  max-width: none;
  padding: 0;
  margin: 0;
}
.hire-messages-panel .msg-shell {
  min-height: min(68vh, 640px);
}

@media (max-width: 860px) {
  .hire-mode-switch {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hire-mode-copy strong {
    font-size: 0.95rem;
  }
}

.fw-instant-posts {
  margin-bottom: 1.25rem;
}
.fw-instant-list {
  padding: 0.85rem 1rem 1rem;
}
.fw-instant-empty {
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 500;
}
.fw-instant-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-top: 1px solid #f1f5f9;
}
.fw-instant-row:first-child { border-top: 0; padding-top: 0; }
.fw-instant-row-main strong {
  display: block;
  font-size: 0.98rem;
  color: #0f172a;
}
.fw-instant-row-meta {
  margin-top: 0.2rem;
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 500;
}
.fw-instant-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex: 0 0 auto;
}
.fw-instant-expiry {
  font-size: 0.75rem;
  font-weight: 700;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  white-space: nowrap;
}

.fw-people-finder {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  border: 1.5px solid #dbe3ef;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.fw-people-finder-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  text-align: left;
  border: 0;
  background: #f8fafc;
  padding: 1rem 1.1rem;
  cursor: pointer;
  color: #0f172a;
}
.fw-people-finder-toggle:hover {
  background: #f1f5f9;
}
.fw-people-finder-toggle-main {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-width: 0;
}
.fw-people-finder-icon {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #475569;
  font-size: 1rem;
}
.fw-people-finder:not(.is-collapsed) .fw-people-finder-icon {
  background: #2563eb;
  color: #fff;
}
.fw-people-finder-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.fw-people-finder-copy strong {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.fw-people-finder-copy span {
  font-size: 0.86rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.35;
}
.fw-people-finder-chevron {
  flex: 0 0 auto;
  color: #64748b;
  transition: transform 0.18s ease;
}
.fw-people-finder:not(.is-collapsed) .fw-people-finder-chevron {
  transform: rotate(180deg);
}
.fw-people-finder-body {
  padding: 0 0.85rem 0.95rem;
  border-top: 1px solid #eef2f7;
}
.fw-people-finder-body .fw-toolbar {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
}
.fw-people-finder-body .fw-results-panel,
.fw-people-finder-body .fw-map-panel {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .fw-instant-row {
    flex-direction: column;
  }
  .fw-instant-row-side {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .fw-shell {
    padding: 1rem 0.85rem 2.5rem;
  }
}

#hireJobs .ed-stats { margin-bottom: 1.25rem; }

@keyframes hire-modal-pop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

body.modal-open .modal-backdrop.show {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hire-modal .modal-dialog {
  max-width: 540px;
}
.hire-modal .modal-dialog.modal-lg {
  max-width: 640px;
}
.hire-modal.show .modal-dialog {
  animation: hire-modal-pop 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hire-modal .modal-content {
  position: relative;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.05),
    0 24px 48px rgba(15, 23, 42, 0.18),
    0 48px 96px rgba(15, 23, 42, 0.14);
}
.hire-modal.is-now .modal-content::before,
.hire-modal.is-long .modal-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 2;
  pointer-events: none;
}
.hire-modal.is-now .modal-content::before {
  background: linear-gradient(90deg, #fb923c 0%, #ea580c 50%, #f97316 100%);
}
.hire-modal.is-long .modal-content::before {
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 50%, #3b82f6 100%);
}
.hire-modal.is-people .modal-content::before {
  background: linear-gradient(90deg, #34d399 0%, #059669 50%, #10b981 100%);
}
.hire-modal-banner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.35rem 1.35rem 1.2rem;
  color: #0f172a;
  overflow: hidden;
}
.hire-modal.is-now .hire-modal-banner {
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 55%, #fed7aa 100%);
  border-bottom: 2px solid rgba(234, 88, 12, 0.35);
}
.hire-modal.is-long .hire-modal-banner {
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 55%, #bfdbfe 100%);
  border-bottom: 2px solid rgba(37, 99, 235, 0.3);
}
.hire-modal.is-people .hire-modal-banner {
  background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 55%, #a7f3d0 100%);
  border-bottom: 2px solid rgba(5, 150, 105, 0.3);
}
.hire-modal.is-now .hire-modal-banner::after,
.hire-modal.is-long .hire-modal-banner::after,
.hire-modal.is-people .hire-modal-banner::after {
  content: "";
  position: absolute;
  top: -55%;
  right: -8%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
}
.hire-modal.is-now .hire-modal-banner::after {
  background: radial-gradient(circle, rgba(234, 88, 12, 0.22) 0%, transparent 68%);
}
.hire-modal.is-long .hire-modal-banner::after {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 68%);
}
.hire-modal.is-people .hire-modal-banner::after {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.22) 0%, transparent 68%);
}
.hire-modal-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
}
.hire-modal.is-now .hire-modal-icon {
  background: linear-gradient(145deg, #fb923c 0%, #ea580c 100%);
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.38);
}
.hire-modal.is-long .hire-modal-icon {
  background: linear-gradient(145deg, #60a5fa 0%, #2563eb 100%);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.32);
}
.hire-modal-banner > div:not(.hire-modal-icon) { min-width: 0; flex: 1 1 auto; position: relative; z-index: 1; }
.hire-modal-banner .btn-close { position: relative; z-index: 1; }
.hire-modal-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hire-modal.is-now .hire-modal-kicker { color: #c2410c; }
.hire-modal.is-long .hire-modal-kicker { color: #1d4ed8; }
.hire-modal.is-people .hire-modal-kicker { color: #047857; }
.hire-modal-banner .modal-title {
  margin: 0;
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
}
.hire-modal-lead {
  margin: 0.22rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.35;
}
.hire-modal-banner .btn-close {
  margin: 0.15rem 0 0 auto;
  flex: 0 0 auto;
}
.hire-modal .modal-body {
  padding: 1.25rem 1.35rem 0.45rem;
  background: #fff;
}
.hire-modal .form-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #334155;
  letter-spacing: -0.01em;
}
.hire-modal .form-control,
.hire-modal .form-select {
  border-radius: 12px;
  border-color: #cbd5e1;
  font-weight: 600;
  color: #0f172a;
}
.hire-modal .form-control:focus,
.hire-modal .form-select:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}
.hire-modal.is-now .form-control:focus,
.hire-modal.is-now .form-select:focus {
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
}
.hire-modal.is-long .form-control:focus,
.hire-modal.is-long .form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}
.hire-modal-error {
  color: #b91c1c;
  font-size: 0.88rem;
  font-weight: 700;
}
.hire-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid #eef2f7;
  padding: 1rem 1.25rem 1.15rem;
}
.hire-modal-footer .hire-lane-cta {
  padding: 0.7rem 1.05rem;
}
.hire-modal-more {
  margin-right: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}
.hire-modal-more:hover {
  color: #1d4ed8;
  text-decoration: underline;
}
.hire-modal #instantPostsModalList.fw-instant-list {
  padding: 0;
}
.hire-modal .fw-instant-empty {
  margin: 0;
  padding: 0.35rem 0 0.6rem;
}

/* Team member profile modal (people finder) */
.fw-member-avatar {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #065f46;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(5, 150, 105, 0.22);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.12);
}

.fw-member-modal-body {
  padding: 1.15rem 1.25rem 1.25rem !important;
}

.fw-member-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.fw-member-detail {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  min-width: 0;
}

.fw-member-detail-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.fw-member-detail-label i {
  width: 0.85rem;
  text-align: center;
  color: #059669;
}

.fw-member-detail-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}

.fw-member-section {
  margin-top: 0.85rem;
}

.fw-member-section h6 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.fw-member-section p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #334155;
}

.fw-member-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.fw-member-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.82rem;
  font-weight: 700;
}

.fw-member-muted {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

@media (max-width: 640px) {
  .hire-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .hire-modal-more {
    margin-right: 0;
    order: 3;
    text-align: center;
  }
  .hire-modal .modal-dialog,
  .hire-modal .modal-dialog.modal-lg {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  .hire-modal .form-control,
  .hire-modal .form-select,
  .hire-modal textarea.form-control {
    font-size: 16px;
  }

  .fw-member-details {
    grid-template-columns: 1fr;
  }

  .hire-modal-footer .hire-lane-cta.is-people,
  .hire-modal-footer .hire-lane-cta.is-people.is-outline {
    width: 100%;
  }
}

.fw-hire-page .ask-modal .modal-dialog {
  max-width: 480px;
}

.fw-hire-page .ask-direct-body {
  padding-top: 0.25rem;
}

.fw-hire-page .ask-modal-footer .ask-modal-cta {
  min-width: min(100%, 280px);
}

.fw-hire-page .fw-ask-recipient {
  margin-top: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.fw-hire-page .fw-ask-recipient-label {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.fw-hire-page .ed-action.is-activate {
  color: #b45309;
  border-color: #fcd34d;
  background: #fffbeb;
}
.fw-hire-page .ed-action.is-activate:hover {
  color: #92400e;
  border-color: #fbbf24;
  background: #fef3c7;
}
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
