/* worker-form.css — Form styles for worker profile creation */

.create-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 48px 96px;
}

.create-header {
  margin-bottom: 48px;
}

.create-title {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.create-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
}

.create-sub em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}

.form-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 24px;
}

.worker-form {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-label {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
}

.section-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: -12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.required {
  color: var(--accent);
}

.field__input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--fg);
  font-family: var(--font-b);
  font-size: 16px;
  transition: border-color 0.15s;
  outline: none;
  width: 100%;
}

.field__input:focus {
  border-color: var(--accent);
}

.field__input::placeholder {
  color: var(--muted);
}

.field__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.field__hint {
  font-size: 12px;
  color: var(--muted);
}

/* Service chips */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-chip {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.service-chip input {
  display: none;
}

.service-chip span {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  color: var(--muted);
  transition: all 0.15s;
  user-select: none;
}

.service-chip input:checked + span {
  background: var(--accent-dim);
  border-color: rgba(255, 107, 53, 0.35);
  color: var(--accent);
}

.service-chip:hover span {
  border-color: rgba(255, 107, 53, 0.3);
}

/* Rate row */
.rate-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rate-row .field {
  flex: 1;
}

.rate-sep {
  font-size: 18px;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 22px;
}

/* Submit button */
.btn-create {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.15s;
}

.btn-create:hover {
  opacity: 0.88;
}

/* Back link */
.nav__back {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.nav__back:hover {
  color: var(--fg);
}

@media (max-width: 640px) {
  .create-page { padding: 48px 24px 80px; }
  .rate-row { flex-direction: column; }
  .rate-sep { margin-top: 0; }
}