@charset "UTF-8";
/* JiD Virksomheder - landing page and dashboard. Colours from jid-theme's tokens (fallbacks for safety).
   Grids use minmax(0, 1fr): text from companies must never widen the page on a phone (theme rule, 1.12.2).
   Elements that are also .jid-container are prefixed with .jid-vk-page: the theme's container padding/max-width won otherwise. */

.jid-vk-page { padding-bottom: var(--jid-space-2xl, 64px); }
.jid-vk-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jid-vk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons the theme does not have. */
.jid-btn--ghost { background: transparent; color: var(--jid-gray-700, #2d3a4a); border-color: var(--jid-gray-200, #e2e7eb); }
.jid-btn--ghost:hover { border-color: var(--jid-gray-400, #8e9baa); }
.jid-btn--danger { background: #fff; color: var(--jid-red, #dc2626); border-color: #f3c4c4; }
.jid-btn--danger:hover { background: #fef2f2; }
/* Busy: still looks active (owner's rule) and shows a spinner. */
.jid-btn.is-busy, .jid-btn.is-busy:disabled { opacity: 1; cursor: progress; }
.jid-btn.is-busy::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: jid-vk-spin .7s linear infinite; }
@keyframes jid-vk-spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------- landing */

.jid-vk-hero { padding: var(--jid-space-2xl, 64px) 0 var(--jid-space-xl, 40px); background: var(--jid-brand-50, #f0fdf8); }
.jid-vk-hero__title { font-family: var(--jid-font-display, Georgia, serif); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 var(--jid-space-md, 16px); max-width: 18em; overflow-wrap: anywhere; }
.jid-vk-hero__lead { font-size: 1.1rem; line-height: 1.6; color: var(--jid-gray-600, #42526b); max-width: 36em; margin: 0 0 var(--jid-space-lg, 24px); }

.jid-vk-numbers { border-bottom: 1px solid var(--jid-gray-100, #f1f4f6); }
/* Side by side with a fixed gap, not spread over the width (owner 10/11-2026: two numbers sat too far apart). */
.jid-vk-page .jid-vk-numbers__grid { display: flex; flex-wrap: wrap; gap: var(--jid-space-md, 16px) 72px; padding-top: var(--jid-space-lg, 24px); padding-bottom: var(--jid-space-lg, 24px); }
.jid-vk-number strong { display: block; font-size: 1.8rem; color: var(--jid-brand-darker, #028064); }
.jid-vk-number span { color: var(--jid-gray-600, #42526b); }

.jid-vk-section { padding: var(--jid-space-xl, 40px) 0; }
.jid-vk-section--tint { background: var(--jid-gray-50, #f8fafb); }
.jid-vk-section h2 { font-family: var(--jid-font-display, Georgia, serif); font-size: 1.6rem; margin: 0 0 var(--jid-space-lg, 24px); }

.jid-vk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--jid-space-lg, 24px); margin: 0; padding: 0; list-style: none; counter-reset: s; }
.jid-vk-steps li { counter-increment: s; padding: var(--jid-space-lg, 24px); background: #fff; border: 1px solid var(--jid-gray-200, #e2e7eb); border-radius: var(--jid-radius-lg, 16px); line-height: 1.55; }
.jid-vk-steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%; background: var(--jid-brand, #04b88e); color: #fff; font-weight: 700; }
.jid-vk-steps strong { display: block; margin-bottom: 4px; }

.jid-vk-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--jid-space-md, 16px) var(--jid-space-xl, 40px); margin: 0; padding: 0; list-style: none; }
.jid-vk-benefits li { position: relative; padding-left: 36px; line-height: 1.55; }
/* 0.4.1: an SVG tick in a round badge. The raw "✓" became "âœ“" on live, where the CSS is served as text/css without a charset. */
.jid-vk-benefits li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--jid-brand-light, #e6f9f3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23028064' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Full container width so the FAQ lines up with the sections above; only its content is narrowed (owner 10/11-2026). */
.jid-vk-page .jid-vk-faq > * { max-width: 760px; }
.jid-vk-faq__item { border-bottom: 1px solid var(--jid-gray-200, #e2e7eb); }
/* FAQ icon (0.3.1): a chevron in a round brand-tinted badge on the right, turned when open, instead of the browser's triangle. */
.jid-vk-faq__item summary { position: relative; display: block; padding: 16px 48px 16px 0; cursor: pointer; font-weight: 600; list-style: none; }
.jid-vk-faq__item summary::-webkit-details-marker { display: none; }
.jid-vk-faq__item summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--jid-brand-light, #e6f9f3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23028064' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s ease, background-color .2s ease; }
.jid-vk-faq__item summary:hover::after { background-color: var(--jid-brand-50, #d5f5ea); }
.jid-vk-faq__item[open] summary::after { transform: rotate(180deg); }
.jid-vk-faq__item summary:focus-visible { outline: 2px solid var(--jid-brand, #04b88e); outline-offset: 4px; border-radius: 4px; }
.jid-vk-faq__item p { padding: 0 48px 16px 0; }
@media (prefers-reduced-motion: reduce) { .jid-vk-faq__item summary::after { transition: none; } }
.jid-vk-faq__item p { margin: 0; line-height: 1.6; color: var(--jid-gray-600, #42526b); }

.jid-vk-page .jid-vk-signup { max-width: 560px; }

/* Sign-up popup (0.3.0). Native <dialog>: the browser puts it in the top layer, above the theme's header. */
.jid-vk-cta p { margin: 0 0 var(--jid-space-lg, 24px); color: var(--jid-gray-600, #42526b); }
.jid-vk-modal { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: var(--jid-space-lg, 24px); border: 0; border-radius: 14px; background: #fff; color: inherit; box-shadow: 0 20px 60px rgba(15, 23, 42, .25); overflow: auto; }
.jid-vk-modal::backdrop { background: rgba(15, 23, 42, .55); }
.jid-vk-modal__title { font-family: var(--jid-font-display, Georgia, serif); font-size: 1.5rem; line-height: 1.2; margin: 0 40px var(--jid-space-lg, 24px) 0; }
.jid-vk-modal__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--jid-gray-100, #f1f4f6); font-size: 26px; line-height: 1; cursor: pointer; color: var(--jid-gray-700, #2d3a4a); }
.jid-vk-modal__close:hover { background: var(--jid-gray-200, #e2e7eb); }
/* Without JS: #opret in the address shows the form in the page. */
.jid-vk-modal:target:not([open]) { display: block; position: static; margin: var(--jid-space-xl, 40px) auto; box-shadow: none; max-height: none; }
.jid-vk-modal:target:not([open]) .jid-vk-modal__close { display: none; }
html.jvk-modal-open { overflow: hidden; }
@media (max-width: 560px) {
	.jid-vk-modal { width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: var(--jid-space-md, 16px); }
	.jid-vk-modal__title { font-size: 1.3rem; }
}

/* ---------------------------------------------------------------- forms */

.jid-vk-form { display: grid; gap: var(--jid-space-md, 16px); }
.jid-vk-fs { border: 1px solid var(--jid-gray-200, #e2e7eb); border-radius: var(--jid-radius-lg, 16px); padding: var(--jid-space-lg, 24px); margin: 0; display: grid; gap: var(--jid-space-md, 16px); background: #fff; min-width: 0; }
.jid-vk-fs legend { font-weight: 700; padding: 0 6px; }
.jid-vk-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--jid-space-md, 16px); }
.jid-vk-field { display: grid; gap: 6px; min-width: 0; }
.jid-vk-field[hidden] { display: none; }
.jid-vk-field label, .jid-vk-label { font-weight: 600; font-size: .95rem; }
.jid-vk-field input[type="text"], .jid-vk-field input[type="email"], .jid-vk-field input[type="tel"], .jid-vk-field input[type="password"],
.jid-vk-field input[type="date"], .jid-vk-field input[type="number"], .jid-vk-field select, .jid-vk-field textarea,
.jid-vk-fs > .jid-vk-field > input, .jid-vk-form--job input[name="soeg"] {
	width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; font-size: 16px; /* 16px: no iOS zoom */
	border: 1px solid var(--jid-gray-300, #c9d1d8); border-radius: var(--jid-radius, 10px); background: #fff; color: var(--jid-gray-900, #0f1923);
}
.jid-vk-field textarea { line-height: 1.55; resize: vertical; }
.jid-vk-field input:focus, .jid-vk-field select:focus, .jid-vk-field textarea:focus { outline: 2px solid var(--jid-brand, #04b88e); outline-offset: 1px; border-color: var(--jid-brand, #04b88e); }
.jid-vk-field__help { margin: 0; font-size: .85rem; color: var(--jid-gray-500, #5f6f80); }
.jid-vk-field__error { margin: 0; font-size: .85rem; color: var(--jid-red, #dc2626); }
.jid-vk-field.has-error input, .jid-vk-field.has-error select, .jid-vk-field.has-error textarea { border-color: var(--jid-red, #dc2626); }
.jid-vk-field--check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.jid-vk-field--check input { margin-top: 4px; }
.jid-vk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jid-vk-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--jid-gray-300, #c9d1d8); border-radius: var(--jid-radius-full, 9999px); font-weight: 400 !important; cursor: pointer; background: #fff; }
.jid-vk-chip:has(input:checked) { border-color: var(--jid-brand, #04b88e); background: var(--jid-brand-50, #f0fdf8); }
.jid-vk-cvr-status { margin: -8px 0 0; font-size: .85rem; color: var(--jid-gray-500, #5f6f80); min-height: 1em; }
.jid-vk-form__bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.jid-vk-form__note { margin: 0; font-size: .9rem; color: var(--jid-gray-500, #5f6f80); }
.jid-vk-logo { max-width: 160px; max-height: 64px; height: auto; display: block; }

.jid-vk-notice { padding: 12px 16px; border-radius: var(--jid-radius, 10px); margin: 0 0 var(--jid-space-md, 16px); }
.jid-vk-notice--ok { background: var(--jid-brand-50, #f0fdf8); border: 1px solid var(--jid-brand-light, #e6f9f3); }
.jid-vk-notice--error { background: #fef2f2; border: 1px solid #f3c4c4; }

/* ------------------------------------------------------------ dashboard */

.jid-vk-page .jid-vk-dash { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--jid-space-xl, 40px); padding-top: var(--jid-space-xl, 40px); align-items: start; }
.jid-vk-dash__company { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 0 0 var(--jid-space-md, 16px); overflow-wrap: anywhere; }
.jid-vk-dash__company img { width: 40px; height: 40px; object-fit: contain; border: 1px solid var(--jid-gray-200, #e2e7eb); border-radius: 8px; background: #fff; }
.jid-vk-dash__nav { display: grid; gap: 2px; }
.jid-vk-dash__nav a { padding: 9px 12px; border-radius: var(--jid-radius, 10px); color: var(--jid-gray-700, #2d3a4a); text-decoration: none; }
.jid-vk-dash__nav a:hover { background: var(--jid-gray-50, #f8fafb); }
.jid-vk-dash__nav a[aria-current="page"] { background: var(--jid-brand-50, #f0fdf8); color: var(--jid-brand-darker, #028064); font-weight: 600; }
.jid-vk-h1, .jid-vk-welcome h1 { font-family: var(--jid-font-display, Georgia, serif); font-size: 1.8rem; margin: 0 0 var(--jid-space-md, 16px); overflow-wrap: anywhere; }
.jid-vk-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: var(--jid-space-lg, 24px) 0 var(--jid-space-md, 16px); }
.jid-vk-head .jid-vk-h1, .jid-vk-head h2 { margin: 0; }
.jid-vk-welcome { padding: var(--jid-space-xl, 40px); background: var(--jid-brand-50, #f0fdf8); border-radius: var(--jid-radius-lg, 16px); }
.jid-vk-muted { color: var(--jid-gray-500, #5f6f80); font-size: .9em; }

.jid-vk-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--jid-space-md, 16px); }
.jid-vk-card { padding: var(--jid-space-md, 16px); border: 1px solid var(--jid-gray-200, #e2e7eb); border-radius: var(--jid-radius-lg, 16px); background: #fff; display: grid; gap: 2px; }
.jid-vk-card strong { font-size: 1.6rem; }
.jid-vk-card span { font-weight: 600; }
.jid-vk-card small { color: var(--jid-gray-500, #5f6f80); }

.jid-vk-jobs { display: grid; gap: 12px; }
.jid-vk-job { display: grid; gap: 10px; padding: var(--jid-space-md, 16px); border: 1px solid var(--jid-gray-200, #e2e7eb); border-radius: var(--jid-radius-lg, 16px); background: #fff; }
.jid-vk-job__title { margin: 6px 0 4px; font-size: 1.1rem; overflow-wrap: anywhere; }
.jid-vk-job__title a { color: inherit; }
.jid-vk-job__meta { margin: 0; color: var(--jid-gray-600, #42526b); font-size: .9rem; }
.jid-vk-job__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.jid-vk-inline { display: inline; margin: 0; }
.jid-vk-status { display: inline-block; padding: 3px 10px; border-radius: var(--jid-radius-full, 9999px); font-size: .8rem; font-weight: 600; background: var(--jid-gray-100, #f1f4f6); color: var(--jid-gray-700, #2d3a4a); }
.jid-vk-status--online { background: var(--jid-brand-light, #e6f9f3); color: var(--jid-brand-darker, #028064); }
.jid-vk-status--pending { background: #fff7e6; color: #8a5a00; }
.jid-vk-status--udlobet { background: #fef2f2; color: #9b1c1c; }
.jid-vk-status--boost { background: #eef2ff; color: #3730a3; }

.jid-vk-tabs { display: flex; gap: 8px; }
.jid-vk-tabs a { padding: 6px 12px; border: 1px solid var(--jid-gray-200, #e2e7eb); border-radius: var(--jid-radius-full, 9999px); text-decoration: none; color: inherit; }
.jid-vk-tabs a[aria-current] { border-color: var(--jid-brand, #04b88e); background: var(--jid-brand-50, #f0fdf8); }
.jid-vk-table { width: 100%; border-collapse: collapse; margin: var(--jid-space-md, 16px) 0; font-size: .95rem; }
.jid-vk-table th, .jid-vk-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--jid-gray-100, #f1f4f6); overflow-wrap: anywhere; }
.jid-vk-table td:nth-child(n+2), .jid-vk-table th:nth-child(n+2) { white-space: nowrap; }
/* Boost (0.2.0) */
.jid-vk-table-wrap { overflow-x: auto; }
.jid-vk-table-wrap .jid-vk-table td:nth-child(2) { white-space: normal; min-width: 12em; }
.jid-vk-back { margin: 0 0 var(--jid-space-sm, 8px); }
/* 0.4.1: the Boost page as one card - lead, the three benefits, the price block and the buttons. */
.jid-vk-boost { max-width: 44em; padding: var(--jid-space-lg, 24px); background: #fff; border: 1px solid var(--jid-gray-200, #e2e7eb); border-radius: var(--jid-radius-lg, 16px); }
.jid-vk-boost__lead { font-size: 1.15rem; font-weight: 600; margin: 0 0 var(--jid-space-md, 16px); }
.jid-vk-boost .jid-vk-benefits { gap: 14px; }
.jid-vk-boost__price { padding: 14px 16px; border-radius: var(--jid-radius, 10px); background: var(--jid-brand-50, #f0fdf8); }
.jid-vk-boost__price strong { font-size: 1.35rem; }
.jid-vk-boost > .jid-vk-muted:last-child { margin-bottom: 0; }
.jid-vk-logo-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.jid-vk-benefits--one { grid-template-columns: minmax(0, 1fr); margin-bottom: var(--jid-space-lg, 24px); }
.jid-vk-boost__price { margin: 0 0 var(--jid-space-md, 16px); }
.jid-vk-ean { margin-top: var(--jid-space-md, 16px); }
.jid-vk-bars { display: flex; align-items: flex-end; gap: 2px; height: 140px; padding: 8px 0; border-bottom: 1px solid var(--jid-gray-200, #e2e7eb); }
.jid-vk-bar { flex: 1 1 0; min-width: 2px; background: var(--jid-brand, #04b88e); border-radius: 2px 2px 0 0; }
.jid-vk-bars__axis { display: flex; justify-content: space-between; margin: 4px 0 var(--jid-space-lg, 24px); font-size: .8rem; color: var(--jid-gray-500, #5f6f80); }
.jid-vk-danger { margin-top: var(--jid-space-xl, 40px); padding: var(--jid-space-lg, 24px); border: 1px solid #f3c4c4; border-radius: var(--jid-radius-lg, 16px); }
.jid-vk-danger h2 { margin: 0; font-size: 1.1rem; }
.jid-vk-danger p { margin: 0; }

/* --------------------------------------------------------------- mobile */

@media (max-width: 860px) {
	.jid-vk-page .jid-vk-dash { grid-template-columns: minmax(0, 1fr); gap: var(--jid-space-md, 16px); padding-top: var(--jid-space-lg, 24px); }
	/* Wraps instead of scrolling: with "Køb" (0.2.0) the active item could sit out of view. */
	.jid-vk-dash__nav { display: flex; flex-wrap: wrap; gap: 4px; padding-bottom: 4px; }
	.jid-vk-dash__nav a { white-space: nowrap; }
	.jid-vk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jid-vk-steps, .jid-vk-benefits { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.jid-vk-page .jid-vk-numbers__grid { flex-direction: column; }
	.jid-vk-fs { padding: var(--jid-space-md, 16px); }
	.jid-vk-table td:nth-child(n+2), .jid-vk-table th:nth-child(n+2) { white-space: normal; }
}

/* Køb (0.2.0): one card per purchase on a phone - six columns do not fit 360 px. */
@media (max-width: 560px) {
	.jid-vk-table--stack thead { display: none; }
	.jid-vk-table--stack tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--jid-gray-100, #f1f4f6); }
	.jid-vk-table--stack td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border: 0; white-space: normal !important; overflow-wrap: normal; text-align: right; }
	.jid-vk-table--stack td::before { content: attr(data-label); flex: none; color: var(--jid-gray-500, #64748b); text-align: left; }
}

/* Virksomheds Manager (0.4.0) */
.jid-vk-switchbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; margin: 0 0 var(--jid-space-md, 16px); border: 1px solid #f0d9a8; border-radius: var(--jid-radius, 10px); background: #fff7e6; color: #5c3d00; }
.jid-vk-mgr__facts { margin: 0 0 var(--jid-space-sm, 8px); color: var(--jid-gray-600, #42526b); overflow-wrap: anywhere; }
.jid-vk-mgr .jid-vk-tabs { flex-wrap: wrap; margin: var(--jid-space-md, 16px) 0; }
.jid-vk-mgr__fields { margin: 0; }
.jid-vk-mgr__fields th { width: 11em; color: var(--jid-gray-600, #42526b); font-weight: 600; }
.jid-vk-mgr__fields td { white-space: normal !important; }
.jid-vk-mgr__text summary { cursor: pointer; font-weight: 600; }
.jid-vk-mgr__text > div { max-width: 44em; padding: 8px 0; overflow-wrap: anywhere; }
.jid-vk-mgr__acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.jid-vk-mgr__list td:nth-child(2) { white-space: normal; }
.jid-vk-mgr__sum td { border-top: 2px solid var(--jid-gray-200, #e2e7eb); }
@media (max-width: 560px) {
	.jid-vk-mgr__fields th { width: auto; }
	.jid-vk-mgr__acts { justify-content: flex-start; padding-top: 6px !important; }
}

/* Icons on buttons and menu items (0.5.0, jid_vk_icon()). */
.jid-vk-page .jid-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.jid-vk-ico { flex: none; width: 1.05em; height: 1.05em; }
.jid-vk-dash__nav a { display: flex; align-items: center; gap: 10px; }
.jid-vk-dash__nav .jid-vk-ico { width: 18px; height: 18px; opacity: .8; }
.jid-vk-dash__nav a[aria-current="page"] .jid-vk-ico { opacity: 1; }

/* The job description editor (0.5.0): WordPress' own TinyMCE, teeny, framed like the other fields. */
.jid-vk-editor .wp-editor-wrap { border: 1px solid var(--jid-gray-300, #cdd5dc); border-radius: var(--jid-radius, 10px); overflow: hidden; background: #fff; }
.jid-vk-editor .wp-editor-wrap:focus-within { border-color: var(--jid-brand, #04b88e); box-shadow: 0 0 0 3px var(--jid-brand-light, #e6f9f3); }
.jid-vk-editor .mce-tinymce { border: 0 !important; box-shadow: none !important; }
.jid-vk-editor .mce-top-part::before { box-shadow: none !important; }
.jid-vk-editor .mce-toolbar-grp { background: var(--jid-gray-50, #f8fafb) !important; border-bottom: 1px solid var(--jid-gray-200, #e2e7eb) !important; }
.jid-vk-editor .wp-editor-area { border: 0; padding: 12px; font: inherit; width: 100%; }
.has-error .jid-vk-editor .wp-editor-wrap { border-color: #d33; }
