.vj-field { margin-bottom: 12px; }
.vj-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.vj-field input,
.vj-field textarea { width: 100%; max-width: 680px; padding: 10px; box-sizing: border-box; }
.vj-field textarea { min-height: 140px; }
.vj-actions { margin-top: 10px; }
.vj-submit { padding: 10px 14px; cursor: pointer; }
.vj-feedback { margin-top: 10px; padding: 10px; border: 1px solid #ddd; background: #fafafa; }
.vj-feedback:empty { display: none; }
.vj-privacy { font-size: 12px; opacity: .85; margin-top: 10px; }
.vj-hp { display: none; }
.vj-closed-note { padding: 10px; border: 1px solid #ddd; background: #fafafa; }

.vj-apply-inline { margin-top: 16px; display: flex; justify-content: flex-end; }
.vj-open-modal,
.vj-jobrow-apply,
.vj-submit {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #ddd;
  background: #fff;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.vj-modal { display: none; }
.vj-modal.is-open { display: block; }
.vj-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
}
.vj-modal__panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  z-index: 9999;
  box-sizing: border-box;
}
.vj-modal__title { margin: 0 46px 12px 0; }
.vj-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  border-radius: 10px;
}
html.vj-modal-open,
html.vj-modal-open body { overflow: hidden; }

.vj-slider { position: relative; overflow: hidden; border: 1px solid #eee; padding: 14px; background: #fff; }
.vj-slider--transparent { background: transparent; border: none; padding: 0; }
.vj-slider-track { display: flex; transition: transform .35s ease; will-change: transform; }
.vj-slide { flex: 0 0 100%; padding: 10px; box-sizing: border-box; }
.vj-slide--minimal { text-align: center; }
.vj-slide-thumb { display: block; }
.vj-slide-thumb img { width: 100%; height: auto; display: block; }
.vj-slide-title { margin: 10px 0 0; font-size: 1rem; }
.vj-slide-title a { text-decoration: none; }
.vj-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.vj-prev { left: 10px; }
.vj-next { right: 10px; }
.vj-slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.vj-dot { width: 10px; height: 10px; border-radius: 999px; border: 1px solid #bbb; background: transparent; cursor: pointer; padding: 0; }
.vj-dot.is-active { background: #333; border-color: #333; }
.vj-slider[data-arrows="0"] .vj-slider-btn { display: none !important; }
.vj-slider[data-dots="0"] .vj-slider-dots { display: none !important; }

.vj-joblist { display: flex; flex-direction: column; gap: 14px; }
.vj-jobrow {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  border: 1px solid #eee;
  padding: 12px;
  align-items: start;
}
.vj-jobrow-thumb img { width: 100%; height: auto; display: block; }
.vj-jobrow-title { margin: 0 0 6px; }
.vj-jobrow-excerpt { margin: 0 0 10px; opacity: .9; }
.vj-jobrow-actions { margin-top: 8px; display: flex; justify-content: flex-end; }

@media (max-width: 720px) {
  .vj-jobrow { grid-template-columns: 1fr; }
}

.vj-dashboard { margin: 24px 0; }
.vj-dashboard h2 { margin-top: 0; }
.vj-dashboard-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.vj-dashboard-header p { margin: 4px 0 0; opacity: .75; }
.vj-dashboard-logout { margin: 0; }
.vj-dashboard-logout button {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}
.vj-dashboard-grid { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 22px; align-items: start; }
.vj-dashboard-login .vj-dashboard-grid { grid-template-columns: repeat(2, minmax(280px, 1fr)); }
.vj-dashboard-auth { max-width: 520px; }
.vj-dashboard-panel { border: 1px solid #eee; padding: 18px; background: #fff; }
.vj-dashboard-message { margin: 0 0 16px; padding: 12px; border: 1px solid #ddd; background: #fafafa; }
.vj-auth-feedback { margin: 10px 0 0; min-height: 20px; }
.vj-auth-feedback:empty { display: none; }
.vj-auth-email-display { margin: 0 0 12px; font-weight: 600; }
.vj-auth-trust {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 12px;
}
.vj-auth-trust input { margin-top: 3px; }
.vj-auth-back {
  margin-left: 8px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  background: #fff;
  color: inherit;
  cursor: pointer;
}
.vj-dashboard-form select,
.vj-dashboard-form input[type="file"] { width: 100%; max-width: 680px; padding: 10px; box-sizing: border-box; }
.vj-dashboard-thumb { margin-top: 10px; }
.vj-dashboard-thumb img { max-width: 120px; height: auto; display: block; }
.vj-dashboard-cancel { display: inline-block; margin-left: 10px; }
.vj-dashboard-table-wrap { overflow-x: auto; }
.vj-dashboard-table { width: 100%; border-collapse: collapse; }
.vj-dashboard-table th,
.vj-dashboard-table td { padding: 10px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }
.vj-dashboard-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vj-dashboard-actions form { display: inline; margin: 0; }
.vj-dashboard-actions button { padding: 6px 9px; border: 1px solid #ddd; background: #fff; cursor: pointer; }
.vj-dashboard-actions .vj-delete { border-color: #d9b3b3; }
.vj-status { display: inline-block; padding: 3px 8px; border-radius: 999px; border: 1px solid #ddd; font-size: 12px; }
.vj-status--open { background: #f3fff3; }
.vj-status--closed { background: #fafafa; }

@media (max-width: 900px) {
  .vj-dashboard-grid,
  .vj-dashboard-login .vj-dashboard-grid { grid-template-columns: 1fr; }
  .vj-dashboard-header { flex-direction: column; }
}
