/* 취업포털 — 등록·수정 폼 (구인·채용) */
.wk-form-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 60px;
  box-sizing: border-box;
}

.wk-form-card {
  background: #fff;
  border: 1.5px solid var(--wk-border, #e2e8f0);
  border-radius: 14px;
  padding: 28px 28px 24px;
  box-sizing: border-box;
}

.wk-form-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--wk-text, #1e293b);
  margin: 24px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wk-border, #e2e8f0);
}

.wk-form-section-title:first-child {
  margin-top: 0;
}

.wk-form-section-title i {
  color: var(--wk-primary, #0ea5e9);
  margin-right: 6px;
}

.wk-form-hint {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 14px;
  color: #1e40af;
}

.wk-form-row {
  margin-bottom: 16px;
  min-width: 0;
}

.wk-form-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--wk-text, #1e293b);
  margin-bottom: 6px;
}

.wk-req {
  color: var(--wk-red, #dc2626);
}

.wk-form-input,
.wk-form-select,
.wk-form-textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1.5px solid var(--wk-border, #e2e8f0);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--wk-text, #1e293b);
  font-family: inherit;
  transition: border-color 0.15s;
}

.wk-form-input:focus,
.wk-form-select:focus,
.wk-form-textarea:focus {
  outline: none;
  border-color: var(--wk-primary, #0ea5e9);
}

.wk-form-textarea {
  resize: vertical;
  min-height: 100px;
}

.wk-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.wk-form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wk-salary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.wk-salary-type {
  flex: 0 0 140px;
  width: 140px;
  max-width: 100%;
}

.wk-salary-amount {
  flex: 1 1 200px;
  min-width: 0;
}

.wk-salary-amount.is-disabled {
  background: #f1f5f9;
  color: #94a3b8;
}

.wk-input-date {
  max-width: 280px;
}

.wk-form-note {
  margin: 6px 0 0;
  font-size: 15px;
  color: #64748b;
}

.wk-addr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wk-addr-row .wk-form-input {
  flex: 1 1 220px;
  min-width: 0;
}

.wk-btn-map {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1.5px solid var(--wk-border, #e2e8f0);
  border-radius: 8px;
  background: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  color: var(--wk-text, #1e293b);
  cursor: pointer;
  white-space: nowrap;
}

.wk-btn-map:hover {
  background: #e2e8f0;
}

.wk-mt8 {
  margin-top: 8px;
}

.wk-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.wk-btn-primary {
  padding: 10px 28px;
  background: var(--wk-primary, #0ea5e9);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wk-btn-gray {
  padding: 10px 20px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.wk-alert-error {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  color: #dc2626;
  font-size: 14px;
}

@media (max-width: 720px) {
  .wk-form-grid-2,
  .wk-form-grid-3 {
    grid-template-columns: 1fr;
  }

  .wk-salary-type {
    flex: 1 1 100%;
    width: 100%;
  }

  .wk-input-date {
    max-width: none;
  }

  .wk-form-card {
    padding: 20px 16px;
  }
}
