.v-modal-box.cj-hire-box {
  width: min(460px, calc(100vw - 2rem));
  max-width: 460px;
  max-height: min(620px, calc(100vh - 2rem));
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  transition:
    width 0.25s ease,
    max-width 0.25s ease,
    max-height 0.25s ease;
}

.v-modal-box.cj-hire-box.cj-hire-box--success {
  width: min(30rem, calc(100vw - 2rem));
  max-width: 30rem;
  height: auto;
}

.cj-hire-box .v-modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(var(--color-gray-200-rgb), 0.4);
  flex-shrink: 0;
}

.cj-hire-box .v-modal-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(var(--color-gray-200-rgb), 0.4);
  background: rgba(var(--color-gray-100-rgb), 0.4);
  flex-shrink: 0;
}

.cj-hire-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.cj-step {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.cj-step[hidden] {
  display: none;
}

.cj-step-2 {
  min-height: 0;
}

.cj-hire-grid-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.85rem 1rem 1.1rem;
}

.cj-hire-grid-wrap::-webkit-scrollbar {
  width: 10px;
}
.cj-hire-grid-wrap::-webkit-scrollbar-thumb {
  background: rgba(var(--color-gray-400-rgb), 0.35);
  border-radius: 999px;
}
.cj-hire-grid-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.cj-hire-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cj-hire-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  padding: 0.6rem 0.85rem;
  border-radius: 0.75rem;
  background: var(--white-color, #fff);
  border: 1px solid rgba(var(--color-gray-200-rgb), 0.85);
  box-shadow: 0 1px 2px rgba(var(--black-color-rgb, 0, 0, 0), 0.04);
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.cj-hire-card:hover {
  border-color: rgba(var(--primary-color-rgb), 0.55);
  box-shadow: 0 6px 16px -8px rgba(var(--primary-color-rgb), 0.35);
  transform: translateY(-1px);
}

.cj-hire-card:focus-visible {
  outline: none;
  border-color: rgba(var(--primary-color-rgb), 0.65);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

.cj-hire-card.is-selected {
  border-color: rgba(var(--primary-color-rgb), 0.75);
  background: rgba(var(--primary-color-rgb), 0.06);
  box-shadow:
    0 0 0 1px rgba(var(--primary-color-rgb), 0.55) inset,
    0 8px 22px -10px rgba(var(--primary-color-rgb), 0.45);
}

.cj-hire-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-gray-200-rgb), 0.4);
}

.cj-hire-avatar .pfp-img,
.cj-hire-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cj-hire-avatar-text {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.cj-hire-name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.cj-hire-radio {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--color-gray-400-rgb), 0.7);
  background: var(--white-color, #fff);
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.cj-hire-card.is-selected .cj-hire-radio {
  border-color: var(--primary-color);
  background: var(--primary-color);
}

.cj-hire-card.is-selected .cj-hire-radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--white-color, #fff);
}
