/* KMDC design on top of the legacy Bootstrap 3 pages (account, posting flow). */

.k-legacy #wrapper { background: var(--cream); }
.k-legacy #inhoud .main-container { background: transparent; padding: 32px 0 16px; }
.k-legacy #inhoud .container { max-width: var(--wrap); width: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.k-legacy #inhoud p { margin: 0 0 10px; }
.k-legacy #inhoud h1,.k-legacy #inhoud h2,.k-legacy #inhoud h3,.k-legacy #inhoud h4,.k-legacy #inhoud h5 { font-family: var(--font-head); color: var(--green-800); margin: 0 0 12px; letter-spacing: -0.01em; }
.k-legacy #inhoud .title-2 { font-size: 24px; font-weight: 750; border: 0; padding: 0 0 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.k-legacy #inhoud .title-2 i,.k-legacy #inhoud .title-2 .fa { display: none; }
.k-legacy #inhoud a:not(.k-btn) { color: var(--green-800); }
.k-legacy #inhoud a:not(.k-btn):hover { color: var(--orange-dark); }

/* Cards */
.k-legacy #inhoud .inner-box,.k-legacy #inhoud .page-content > .inner-box,.k-legacy #inhoud .content-box,.k-legacy #inhoud .panel,.k-legacy #inhoud .page-sidebar .inner-box {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: none; padding: 22px; }
.k-legacy #inhoud .panel { padding: 0; overflow: hidden; margin-bottom: 14px; }
.k-legacy #inhoud .panel-heading { background: var(--white) !important; border-bottom: 1px solid var(--line); padding: 14px 18px; }
.k-legacy #inhoud .panel-title,.k-legacy #inhoud .panel-title a { font-family: var(--font-head); font-size: 18px; color: var(--green-800); text-decoration: none; }
.k-legacy #inhoud .panel-body { padding: 20px; }
.k-legacy #inhoud .panel-group .panel + .panel { margin-top: 12px; }

/* Forms */
.k-legacy #inhoud .form-control { height: auto; min-height: 44px; border: 1.5px solid var(--line); border-radius: 10px; box-shadow: none; font-size: 16px; padding: 9px 12px; color: var(--ink); background: var(--white); }
.k-legacy #inhoud textarea.form-control { min-height: 120px; }
.k-legacy #inhoud .form-control:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(53,90,70,.18); }
.k-legacy #inhoud .control-label,.k-legacy #inhoud label { font-weight: 700; color: var(--ink); font-size: 15px; }
.k-legacy #inhoud .help-block { color: var(--muted); font-size: 14px; }
.k-legacy #inhoud .has-error .form-control { border-color: #c0392b; }
.k-legacy #inhoud .has-error .help-block,.k-legacy #inhoud .has-error .control-label { color: #a32a1d; }
.k-legacy #inhoud .input-group-addon { background: var(--cream); border: 1.5px solid var(--line); color: var(--muted); border-radius: 10px; }
.k-legacy #inhoud .input-group .form-control:first-child,.k-legacy #inhoud .input-group-addon:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.k-legacy #inhoud .input-group .form-control:last-child,.k-legacy #inhoud .input-group-addon:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.k-legacy #inhoud .select2-container--default .select2-selection--single { min-height: 44px; border: 1.5px solid var(--line); border-radius: 10px; }
.k-legacy #inhoud .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 40px; }
.k-legacy #inhoud .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.k-legacy #inhoud input[type="checkbox"],.k-legacy #inhoud input[type="radio"] { accent-color: var(--green-800); width: 17px; height: 17px; }

/* Buttons */
.k-legacy #inhoud .btn { border-radius: 999px; font-weight: 700; padding: 10px 20px; border-width: 1.5px; box-shadow: none; text-shadow: none; transition: background .15s, color .15s; }
.k-legacy #inhoud .btn-sm,.k-legacy #inhoud .btn-xs { padding: 6px 14px; font-size: 14px; }
.k-legacy #inhoud .btn-lg { padding: 12px 26px; font-size: 17px; }
.k-legacy #inhoud .btn-primary,.k-legacy #inhoud .btn-success,.k-legacy #inhoud .btn-post,.k-legacy #inhoud .btn-add-listing { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.k-legacy #inhoud .btn-primary:hover,.k-legacy #inhoud .btn-success:hover,.k-legacy #inhoud .btn-primary:focus { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.k-legacy #inhoud .btn-warning,.k-legacy #inhoud .btn-danger { background: var(--white); border-color: #c0392b; color: #a32a1d; }
.k-legacy #inhoud .btn-warning:hover,.k-legacy #inhoud .btn-danger:hover { background: #a32a1d; color: var(--white); }
.k-legacy #inhoud .btn-default,.k-legacy #inhoud .btn-info { background: var(--white); border-color: var(--green-800); color: var(--green-800); }
.k-legacy #inhoud .btn-default:hover,.k-legacy #inhoud .btn-info:hover { background: var(--green-800); color: var(--white); }

/* Tables, badges, alerts, pagination */
.k-legacy #inhoud .table { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.k-legacy #inhoud .table > thead > tr > th { background: var(--cream); color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
.k-legacy #inhoud .table > tbody > tr > td { border-top: 1px solid var(--line); vertical-align: middle; }
.k-legacy #inhoud .badge { background: var(--sage-200); color: var(--green-800); font-weight: 700; border-radius: 999px; }
.k-legacy #inhoud .label-success,.k-legacy #inhoud .label-primary { background: var(--green-800); }
.k-legacy #inhoud .alert { border-radius: var(--radius-s); border: 1px solid var(--line); }
.k-legacy #inhoud .alert-success { background: var(--sage-100); color: var(--green-800); border-color: #cddccf; }
.k-legacy #inhoud .alert-info,.k-legacy #inhoud .alert-warning { background: #fff7d6; color: #5a4300; border-color: #f0dc8c; }
.k-legacy #inhoud .alert-danger { background: #fdecea; color: #8a1c12; border-color: #f2b8b2; }
.k-legacy #inhoud .pagination > li > a,.k-legacy #inhoud .pagination > li > span { border-color: var(--line); color: var(--green-800); }
.k-legacy #inhoud .pagination > .active > a,.k-legacy #inhoud .pagination > .active > span { background: var(--green-800); border-color: var(--green-800); }

/* Posting wizard steps */
.k-legacy #inhoud .wizard { background: transparent; border: 0; margin-bottom: 20px; }
.k-legacy #inhoud .wizard ul { display: flex; flex-wrap: wrap; gap: 8px; background: transparent !important; border: 0 !important; padding: 0; }
.k-legacy #inhoud .wizard ul li { float: none; }
.k-legacy #inhoud .wizard ul li a { display: block; background: var(--white) !important; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 18px; color: var(--muted) !important; font-weight: 700; }
.k-legacy #inhoud .wizard ul li a::before,.k-legacy #inhoud .wizard ul li a::after { display: none !important; }
.k-legacy #inhoud .wizard ul li.active a { background: var(--green-800) !important; border-color: var(--green-800); color: var(--white) !important; }

/* Account */
.k-account-nav { display: grid; gap: 14px; align-content: start; }
.k-account-nav .k-aside-box { padding: 14px; }
.k-count { min-width: 24px; padding: 1px 8px; border-radius: 999px; background: var(--sage-200); color: var(--green-800); font-size: 13px; font-weight: 700; text-align: center; }
.k-aside-list a[aria-current] .k-count { background: var(--green-700); color: var(--white); }
.k-account-close { justify-self: center; font-size: 14.5px; color: var(--muted) !important; }
.k-legacy #inhoud .user-panel-sidebar,.k-legacy #inhoud .collapse-box { display: none; }
.k-legacy #inhoud .header-data .hdata .mcol-left .fa,.k-legacy #inhoud .header-data .hdata i { background: var(--sage-200); color: var(--green-800); }

/* Old category/listing blocks that may still appear */
.k-legacy #inhoud .category-list,.k-legacy #inhoud .tab-box { background: var(--white); border-radius: var(--radius-l); }
.k-legacy #inhoud .item-list { border-bottom: 1px solid var(--line); }
.k-legacy #inhoud .page-bottom-info,.k-legacy #inhoud .h-spacer { display: none; }

@media (max-width: 767px) {
  .k-legacy #inhoud .main-container { padding-top: 20px; }
  .k-legacy #inhoud .page-sidebar { margin-bottom: 20px; }
  .k-legacy #inhoud .form-horizontal .control-label { text-align: left; }
}

.k-legacy #inhoud .k-account-nav .k-btn--orange { color: var(--white); }
.k-legacy #inhoud .k-aside-list a[aria-current] { color: var(--white); }
.k-legacy #inhoud .wizard ul li a { color: var(--ink) !important; }
.k-legacy #inhoud p a:not(.k-btn), .k-legacy #inhoud .help-block a, .k-legacy #inhoud label a { text-decoration: underline; text-underline-offset: 2px; }
/* Wizard steps: centred pills without the old grey chevron bar */
.k-legacy #inhoud .wizard { padding: 8px 0 4px; }
.k-legacy #inhoud .wizard ul.nav-wizard { align-items: center; min-height: 0; }
.k-legacy #inhoud .wizard ul.nav-wizard > li { background: transparent !important; height: auto !important; margin: 0 !important; padding: 0 !important; overflow: visible; }
.k-legacy #inhoud .wizard ul.nav-wizard > li::before, .k-legacy #inhoud .wizard ul.nav-wizard > li::after { display: none !important; content: none !important; }
.k-legacy #inhoud .wizard ul.nav-wizard > li > a { line-height: 1.3 !important; height: auto !important; padding: 10px 20px !important; margin: 0 !important; }
.k-legacy #inhoud .wizard ul.nav-wizard > li.disabled > a { cursor: default; }
/* Less space between the steps and the form */
.k-legacy #inhoud .wizard { margin-bottom: 0; padding-bottom: 0; }
.k-legacy #inhoud #stepWizard ~ .main-container { padding-top: 14px; }

/* ===== Gratis adverteren: all steps in the KMDC style ===== */
/* Steps: equal space above and below */
.k-legacy #inhoud #stepWizard { margin-top: 0 !important; }
.k-legacy #inhoud .wizard { padding: 22px 0 0 !important; margin: 0 !important; }
.k-legacy #inhoud #stepWizard ~ .main-container { padding-top: 22px; }

/* Step heading with icon */
.k-legacy #inhoud .k-step-head { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.k-legacy #inhoud .k-step-head .k-tool-icon { width: 52px; height: 52px; border-radius: 16px; flex: none; }
.k-legacy #inhoud .k-step-head .title-2 { border: 0; padding: 0; margin: 2px 0 4px; font-size: 26px; }
.k-legacy #inhoud .k-step-head p { margin: 0; color: var(--muted); font-size: 16px; max-width: 62ch; }
.k-legacy #inhoud .k-step-head p a { font-weight: 700; color: var(--green-800); }

/* Fields: label above the input, one clear column */
.k-legacy #inhoud #postForm .form-group { margin: 0 0 18px; }
.k-legacy #inhoud #postForm .form-group > .control-label { float: none; display: block; width: 100%; text-align: left; padding: 0 15px 6px; font-size: 15px; font-weight: 700; color: var(--green-800); }
.k-legacy #inhoud #postForm .form-group > .control-label:empty { display: none; }
.k-legacy #inhoud #postForm .form-group > .control-label sup { color: var(--orange-dark); top: -.2em; }
.k-legacy #inhoud #postForm .form-group > [class*="col-md-"] { float: none; width: 100%; max-width: 760px; }
.k-legacy #inhoud #postForm .form-group > .col-md-4 { max-width: 320px; }
.k-legacy #inhoud #postForm .form-control { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; min-height: 48px; }
.k-legacy #inhoud #postForm .form-control:focus { background: var(--white); border-color: var(--green-800); box-shadow: 0 0 0 3px var(--sage-100); }
.k-legacy #inhoud #postForm .help-block { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.k-legacy #inhoud #postForm .input-group-addon { background: var(--sage-100); border: 1px solid var(--line); color: var(--green-800); border-radius: 12px; min-width: 48px; text-align: center; }
.k-legacy #inhoud #postForm .input-group-addon svg { vertical-align: middle; }
.k-legacy #inhoud #postForm .input-group .form-control:first-child { border-radius: 12px 0 0 12px; }
.k-legacy #inhoud #postForm .input-group .form-control:last-child { border-radius: 0 12px 12px 0; }
.k-legacy #inhoud #postForm .input-group-addon:first-child { border-radius: 12px 0 0 12px; border-right: 0; }
.k-legacy #inhoud #postForm .input-group-addon:last-child { border-radius: 0 12px 12px 0; border-left: 0; }
.k-legacy #inhoud #postForm .checkbox label { font-size: 15px; color: var(--muted); }
.k-legacy #inhoud #postForm .checkbox small { font-size: 15px; font-weight: 600; }

/* Selects from the old select plugin */
.k-legacy #inhoud #postForm .selecter { max-width: 100%; }
.k-legacy #inhoud #postForm .selecter .selecter-selected { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; min-height: 48px; padding: 12px 40px 12px 14px; font-size: 16px; color: var(--green-800); line-height: 1.4; }
.k-legacy #inhoud #postForm .selecter.open .selecter-selected, .k-legacy #inhoud #postForm .selecter.focus .selecter-selected { background: var(--white); border-color: var(--green-800); box-shadow: 0 0 0 3px var(--sage-100); }
.k-legacy #inhoud #postForm .selecter .selecter-options { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px rgba(23,46,34,.12); margin-top: 4px; overflow: hidden; }
.k-legacy #inhoud #postForm .selecter .selecter-item { padding: 10px 14px; border: 0; font-size: 15.5px; }
.k-legacy #inhoud #postForm .selecter .selecter-item.selected { background: var(--sage-100); color: var(--green-800); }
.k-legacy #inhoud #postForm .selecter .selecter-item:hover { background: var(--cream); }

/* Rich text editor */
.k-legacy #inhoud #postForm .simditor, .k-legacy #inhoud #postForm .note-editor, .k-legacy #inhoud #postForm .cke { border: 1px solid var(--line) !important; border-radius: 12px; overflow: hidden; }
.k-legacy #inhoud #postForm .simditor .simditor-toolbar { background: var(--cream); border-bottom: 1px solid var(--line); }

/* Section heading "Informatie van de verkoper" */
.k-legacy #inhoud #postForm .content-subheading { display: flex; align-items: center; gap: 12px; border: 0; border-top: 1px solid var(--line); margin: 28px 0 18px; padding: 22px 15px 0; font-size: 20px; color: var(--green-800); }
.k-legacy #inhoud #postForm .content-subheading .k-tool-icon { width: 40px; height: 40px; border-radius: 12px; }
.k-legacy #inhoud #postForm .content-subheading strong { font-family: var(--font-head); font-weight: 800; }

/* Buttons */
.k-legacy #inhoud #postForm .btn, .k-legacy #inhoud .page-content .btn-lg { border-radius: 999px; padding: 13px 30px; font-weight: 800; font-size: 16px; border-width: 1.5px; min-width: 150px; }
.k-legacy #inhoud #postForm .btn + .btn, .k-legacy #inhoud #postForm a.btn + .btn { margin-left: 10px; }
.k-legacy #inhoud #postForm .form-group:last-of-type > .col-md-12 { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* Photo upload zone */
.k-legacy #inhoud .file-input .file-preview { border: 0; padding: 0; background: transparent; }
.k-legacy #inhoud .file-input .file-drop-zone { border: 2px dashed #b9cbbd; border-radius: 16px; background: var(--sage-100); margin: 0; min-height: 220px; display: flex; align-items: center; justify-content: center; }
.k-legacy #inhoud .file-input .file-drop-zone-title { color: var(--green-800); font-family: var(--font-head); font-weight: 800; font-size: 22px; padding: 40px 10px; }
.k-legacy #inhoud .file-input .file-drop-zone-title br + * , .k-legacy #inhoud .file-input .file-drop-zone-title { line-height: 1.4; }
.k-legacy #inhoud .file-input .file-drop-zone.clickable:hover { border-color: var(--green-800); }
.k-legacy #inhoud .file-input .fileinput-remove { display: none; }
.k-legacy #inhoud .file-input .btn-file, .k-legacy #inhoud .file-input .btn-primary { margin-top: 12px; border-radius: 999px; padding: 11px 26px; font-weight: 800; background: var(--green-800); border-color: var(--green-800); }
.k-legacy #inhoud .file-input .krajee-default.file-preview-frame { border-radius: 12px; border: 1px solid var(--line); box-shadow: none; }
.k-legacy #inhoud #picturesBloc > .control-label small { color: var(--muted); font-weight: 600; }

/* Packages */
.k-legacy #inhoud .page-content .well { background: var(--sage-100); border: 0; border-radius: 16px; box-shadow: none; }

/* Finish */
.k-legacy #inhoud .k-finish { text-align: center; padding: 28px 10px 12px; }
.k-legacy #inhoud .k-finish-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sage-100); color: var(--green-800); font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.k-legacy #inhoud .k-finish h2 { font-size: 30px; margin: 0 0 8px; }
.k-legacy #inhoud .k-finish p { color: var(--muted); max-width: 52ch; margin: 0 auto 20px; }
.k-legacy #inhoud .k-finish-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }

@media (max-width: 767px) { .k-legacy #inhoud #postForm .btn + .btn { margin-left: 0; } .k-legacy #inhoud .k-step-head .title-2 { font-size: 22px; } }
.k-legacy #inhoud #postForm .btn, .k-legacy #inhoud #postForm .btn-lg { border-radius: 999px !important; }
.k-legacy #inhoud #postForm .btn-default { background: var(--white) !important; color: var(--green-800) !important; border-color: var(--green-800) !important; }
.k-legacy #inhoud #postForm .btn-default:hover { background: var(--sage-100) !important; }
.k-legacy #inhoud #postForm .btn-primary { background: var(--green-800) !important; color: var(--white) !important; border-color: var(--green-800) !important; }
.k-legacy #inhoud #postForm .form-group > .col-md-12 { float: none !important; width: 100% !important; max-width: none; text-align: center; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.k-legacy #inhoud #postForm .form-group > .col-md-12 .btn + .btn { margin-left: 0; }
.k-legacy #inhoud #picturesBloc > .col-md-8:empty { display: none; }
.k-legacy #inhoud #picturesBloc > .col-md-12 { display: block; text-align: center; padding-top: 4px !important; }
.k-legacy #inhoud .file-input .file-drop-zone-title { font-size: 21px; }
.k-legacy #inhoud .wizard ul.nav-wizard > li > a { display: inline-flex !important; align-items: center; gap: 8px; }
.k-legacy #inhoud .wizard .k-wiz-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sage-100); color: var(--green-800); }
.k-legacy #inhoud .wizard li.active .k-wiz-ic { background: rgba(255,255,255,.18); color: var(--white); }
.k-legacy #inhoud #postForm #picturesBloc > .col-md-12 { display: block !important; }
.k-legacy #inhoud #postForm #picturesBloc .help-block { margin-top: 10px; }
/* Select2 dropdowns in the posting form */
.k-legacy #inhoud #postForm .select2-container { width: 100% !important; }
.k-legacy #inhoud #postForm .select2-container .select2-selection--single { height: 48px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; }
.k-legacy #inhoud #postForm .select2-container .select2-selection__rendered { line-height: 46px; padding-left: 14px; padding-right: 40px; color: var(--green-800); font-size: 16px; }
.k-legacy #inhoud #postForm .select2-container .select2-selection__arrow { height: 46px; right: 10px; }
.k-legacy #inhoud #postForm .select2-container--open .select2-selection--single, .k-legacy #inhoud #postForm .select2-container--focus .select2-selection--single { background: var(--white); border-color: var(--green-800); box-shadow: 0 0 0 3px var(--sage-100); }
.select2-dropdown { border: 1px solid var(--line) !important; border-radius: 12px !important; overflow: hidden; box-shadow: 0 14px 30px rgba(23,46,34,.12); }
.select2-results__option { padding: 9px 14px !important; font-size: 15.5px; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--sage-100) !important; color: var(--green-800) !important; }
.select2-container--default .select2-results__option[aria-selected=true] { background: var(--cream); color: var(--green-800); font-weight: 700; }
