/* Lextra Lingua - shared admin layout (Update 6)
   Centred form card, preview popup, and lists styled like the public downloads list (index.php #filesTable). */

/* Centred, prominent form */
.lx-form-card {
  float: none !important;
  margin: 0 auto 30px auto;
  padding: 25px 25px 70px 25px;
  text-align: left;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(33, 59, 82, 0.15);
}
.lx-form-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 15px;
}
.lx-form-toolbar .subm-btn { margin: 0; }
.lx-preview-btn i { margin-right: 4px; }

/* Preview popup */
.lx-preview-modal .modal-body { text-align: left; }
.lx-preview-modal .modal-body img { max-width: 100%; height: auto; }
.lx-preview-modal .modal-header .close,
.lx-preview-modal .modal-header .btn-close {
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  opacity: .6;
}
/* Update 72: same look as the lidkaart / check-in modals */
.lx-preview-modal .modal-content { border: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.lx-preview-modal .modal-header { background: #213b52; color: #fff; border-bottom: 2px solid #fdc134; }
.lx-preview-modal .modal-title { color: #fff; font-family: Poppins, sans-serif; font-weight: 700; }
.lx-preview-modal .modal-header .close { color: #fdc134; opacity: 1; text-shadow: none; }

/* Lists: same look as the public downloads list */
.lx-list-wrap { margin-top: 10px; background: #fff; border-radius: 6px; }
.lx-list { width: 100%; margin-bottom: 0; border: 0; }
.lx-list thead th,
.lx-list tr:first-child th {
  background: #f8f9fa;
  color: #213b52;
  font-weight: 600;
  border-bottom: 2px solid #dee2e6;
  vertical-align: middle;
}
.lx-list td { vertical-align: middle; border-top: 1px solid #dee2e6; }
.lx-list td a { text-decoration: none; }
.lx-list tbody tr:hover, .lx-list tr:hover td { background-color: rgba(0, 0, 0, .04); }

/* Shared list search box */
.lx-listsearch {
  position: relative;
  max-width: 420px;
  margin: 0 0 12px auto;
}
.lx-listsearch i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
}
.lx-listsearch .lx-listsearch-input { padding-left: 36px; }
.lx-listsearch-empty td, div.lx-listsearch-empty {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 12px;
}

/* Update 8: Attesten is a normal link (not a submit button inside the form) */
a.subm-btn.lx-attesten-btn {
  display: inline-block;
  text-decoration: none;
  line-height: normal;
}
a.subm-btn.lx-attesten-btn:hover { text-decoration: none; }

/* Form action buttons (Update 13): compact, one row, never stacked (the card is a flex column) */
.lx-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 15px;
}
.lx-form-actions .lx-action-btn,
.lx-form-toolbar .subm-btn {
  float: none !important;
  width: auto;
  padding: 5px 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 4px;
}
.lx-form-actions .lx-action-btn:first-child { margin-right: auto; }

/* Update 25: shared editor picker (lx-picker.js): saved items in a searchable dropdown in the form toolbar,
   with Wissen / Nieuw / Voorbeeld next to it (same pattern as the attesten e-mail editor, Update 24) */
.lx-picker-toolbar {
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid #eef1f4;
  padding-bottom: 15px;
}
.lx-picker { flex: 1 1 340px; min-width: 0; }
.lx-picker-label {
  display: block;
  font-weight: 600;
  color: #213b52;
  margin-bottom: .3rem;
  font-size: .9rem;
}
.lx-picker-label .icofont-info-circle { cursor: pointer; margin-left: 4px; }
.lx-picker-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.lx-picker-row .lx-picker-filter { flex: 0 1 190px; margin: 0; max-width: none; }
.lx-picker-row .lx-picker-filter input { padding-left: 34px; }
.lx-picker-row .lx-picker-select { flex: 1 1 220px; min-width: 0; width: auto; cursor: pointer; }
select.lx-picker-nohit { border-color: #dc3545; }
.lx-picker-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-picker-buttons .subm-btn {
  margin: 0;
  float: none;
  width: auto;
  padding: 5px 14px;
  font-size: .875rem;
  line-height: 1.5;
  border-radius: 4px;
}
.lx-picker-buttons .lx-picker-del { background: #dc3545; }
.lx-picker-buttons .lx-picker-del:hover:not(:disabled) { background: #c82333; }
.lx-picker-buttons .lx-picker-del:disabled,
.lx-picker-buttons button:disabled { opacity: .45; cursor: not-allowed; }

/* ---------------------------------------------------------------------------------------------
   Update 26: "Lextra 2" for the account pages (useradmin, useredit, usereditspecial, instellingen, login).
   Scoped to <main class="lx2"> and the tab card; nothing else on the site changes.
   --------------------------------------------------------------------------------------------- */
.lx2 section.features { padding: 30px 0; }
.lx2 .section-title { padding-bottom: 18px; }
.lx2 .section-title h2 { margin-bottom: 12px; }

/* Tabs at the top of the page (Bootstrap 4 nav-tabs, lx-tabs.js keeps the open tab after saving) */
.lx-tabs-card {
  max-width: 1040px;
  margin: 0 auto 30px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(33, 59, 82, 0.15);
  text-align: left;
}
.lx-tabs-card.lx2-narrow { max-width: 760px; }
.lx-tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 .5rem;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  border-radius: 8px 8px 0 0;
}
.lx-tabs .nav-item { margin-bottom: -1px; }
.lx-tabs .nav-link {
  color: #213b52;
  font-weight: 600;
  font-size: .9rem;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: .8rem 1rem .65rem;
  background: transparent;
  white-space: nowrap;
}
.lx-tabs .nav-link i { margin-right: .35rem; color: #6c7f91; }
.lx-tabs .nav-link:hover, .lx-tabs .nav-link:focus { border-bottom-color: rgba(253, 193, 52, .55); color: #213b52; }
.lx-tabs .nav-link.active { background: #fff; color: #213b52; border-bottom-color: #fdc134; }
.lx-tabs .nav-link.active i { color: #fdc134; }
.lx-tabs-card > .tab-content { padding: 22px 25px 25px; }
.lx-tabs-card .tab-inner.event-content { min-height: 0; }
.lx-tabs-card .tab-inner > h5:first-child,
.lx2-pane-head h5 {
  color: #213b52;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 14px 0;
}
.lx2-pane-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.lx2-pane-head h5 { margin: 0; }
@media (max-width: 575px) {
  .lx-tabs { padding: 0 .25rem; }
  .lx-tabs .nav-link { padding: .6rem .55rem .5rem; font-size: .8rem; }
  .lx-tabs-card > .tab-content { padding: 16px 14px 18px; }
}

/* Compact blocks with a coloured left border (same idea as the attesten / mijnopleidingen cards) */
.lx2-block {
  background: #fff;
  border-left: 4px solid #213b52;
  border-radius: 6px;
  box-shadow: 0 2px 14px rgba(33, 59, 82, 0.10);
  padding: 14px 18px;
  margin: 0 0 16px 0;
  text-align: left;
}
.lx2-block p:last-child { margin-bottom: 0; }
.lx2-block.lx2-ok, .lx2-st-ok { border-left-color: #28a745 !important; }
.lx2-block.lx2-warn, .lx2-st-warn { border-left-color: #fdc134 !important; }
.lx2-block.lx2-off, .lx2-st-off, .lx2-danger { border-left-color: #dc3545 !important; }
.lx2-block.lx2-info { border-left-color: #0d6efd; }
.lx2 .lx2-block p[style*="text-align"] { margin-bottom: .35rem; }

/* Every section of the user editor is a centred card */
.lx2 section.features > .container.member {
  background: #fff;
  border-left: 4px solid #213b52;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(33, 59, 82, 0.12);
  padding: 22px 25px;
  display: flow-root;
}
.lx2 .container.member .section-title h4 {
  color: #213b52;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 1.15rem;
  margin: 0;
}
.lx2 .container.member > .section-title { padding-bottom: 12px; }
.lx2 .lx2-detail {
  float: right;
  border: 0;
  border-left: 4px solid #e9edf1;
  background: #fbfcfd;
  border-radius: 6px;
  padding-top: 6px;
}
.lx2 .lx2-detail p { margin-bottom: .45rem; }

/* Badges */
.lx2-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: .4rem 0 .2rem; }
.lx2-badge { font-size: .78rem; font-weight: 600; padding: .35em .65em; border-radius: 4px; }
.lx2-badge-ok { background: #28a745; color: #fff; }
.lx2-badge-warn { background: #fdc134; color: #213b52; }
.lx2-badge-off { background: #dc3545; color: #fff; }
.lx2-badge-info { background: #e8eef4; color: #213b52; }
.lx2-badge-role { background: #213b52; color: #fdc134; }

/* Compact action rows */
.lx2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 10px 0 0 0;
}
.lx2-actions .subm-btn, .lx2-actions .btn, .lx2-btn-sm {
  float: none !important;
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 5px 14px;
  font-size: .875rem;
  line-height: 1.5;
  border-radius: 4px;
  text-decoration: none;
}
.lx2-actions a.subm-btn:hover, a.lx2-btn-sm:hover { text-decoration: none; color: #fff; }
.lx2-btn-muted { background: #6c7f91 !important; }
.lx2-btn-muted:hover { background: #56687a !important; }
.lx2-btn-danger { background: #dc3545 !important; }
.lx2-btn-danger:hover { background: #c82333 !important; }
.lx2 .lx-form-actions .subm-btn { float: none !important; }

/* Previous / next member bar (useredit, usereditspecial) */
.lx2-usernav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f4;
}
.lx2-usernav > a { font-weight: 600; color: #213b52; text-decoration: none; }
.lx2-usernav > a:hover { color: #c9930d; }
.lx2-usernav .lx2-actions { margin: 0; }

/* Lists with status (coloured left border on the first cell) */
.lx2 .lx-list tr.lx2-st-ok > td:first-child { box-shadow: inset 4px 0 0 #28a745; }
.lx2 .lx-list tr.lx2-st-warn > td:first-child { box-shadow: inset 4px 0 0 #fdc134; }
.lx2 .lx-list tr.lx2-st-off > td:first-child { box-shadow: inset 4px 0 0 #dc3545; }
.lx2 .lx-list input[type="checkbox"].form-control { vertical-align: middle; margin-right: 6px; }
.lx2 .lx-list label { margin: 0; cursor: pointer; }
.lx2 .lx2-avatar { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; border: 2px solid #fdc134; background: #213b52; }
.lx2 .lx2-rowbtns { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.lx2 .lx-listsearch { margin-left: 0; }

/* Forms inside the tab panes */
.lx-tabs-card .form-group > label { font-weight: 600; color: #213b52; font-size: .92rem; }
.lx-tabs-card .help-block { display: block; font-size: .85rem; }
.lx-tabs-card .help-block:empty { display: none; }
.lx2-sign { margin-top: 16px; }

/* ---------------------------------------------------------------------------------------------
   Update 27: the login form style (Update 26) as a shared form card for the other forms of the site.
   .lx-form-card = the same white centred card as the login tab card (.lx-tabs-card), with padding when
   there are no tabs. Add .lx2-narrow for single short forms (760px). With tabs: put the .lx-tabs list and
   a .tab-content inside the card, exactly like login.php.
   --------------------------------------------------------------------------------------------- */
.lx-form-card {
  max-width: 1040px;
  margin: 10px auto 30px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(33, 59, 82, 0.15);
  text-align: left;
  padding: 22px 25px 25px;
  color: #444;
  float: none;
}
.lx-form-card.lx2-narrow { max-width: 760px; }
.lx-form-card.lx-form-tabs { padding: 0; }
.lx-form-card.lx-form-tabs > .tab-content { padding: 22px 25px 25px; }
.lx-form-card.lx-form-tabs > .lx-form-intro { padding: 18px 25px 0; }
.lx-form-card > h5:first-child, .lx-form-card .tab-pane > h5:first-child, .lx-form-card .lx-form-title {
  color: #213b52;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 14px 0;
  text-transform: none;
}
.lx-form-card label { color: #213b52; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.lx-form-card label input[type="radio"], .lx-form-card label input[type="checkbox"] { margin-right: .25rem; }
.lx-form-card .form-group label + label { font-weight: 400; margin-right: .9rem; }
.lx-form-card .form-control { border-radius: 4px; border-color: #ced4da; box-shadow: none; }
.lx-form-card .form-control:focus { border-color: #fdc134; box-shadow: 0 0 0 .2rem rgba(253, 193, 52, .25); }
.lx-form-card textarea.form-control { min-height: 70px; }
.lx-form-card .help-block { display: block; color: #dc3545; font-size: .85rem; margin-top: .25rem; }
.lx-form-card .help-block:empty { display: none; }
.lx-form-card .subm-btn { margin-top: 4px; }
.lx-form-card a.subm-btn { display: inline-block; text-decoration: none; }
.lx-form-card a.subm-btn:hover { color: #fff; }
.lx-form-card input[type="button"]:not(.subm-btn) {
  background: #fff; color: #213b52; border: 1px solid #213b52; border-radius: 4px;
  padding: 4px 12px; font-size: .85rem; margin: 0 4px 8px 0; cursor: pointer;
}
.lx-form-card input[type="button"]:not(.subm-btn):hover { background: #213b52; color: #fff; }
.lx-form-card form > .col-md-6 { max-width: 100%; padding: 0; }
.lx-form-card .custom-cir label { font-weight: 400; }
.lx-form-card .lx-form-info, .lx-form-info { margin: 18px 0 0 0; }
.lx-form-intro p { text-align: left; margin-bottom: .4rem; }
.lx-form-card .lx-tabs { margin-top: 14px; }
.lx-form-center { text-align: center; }
.lx-form-center .form-group { text-align: left; }
/* bootstrap .card used as a form box (search form on the home page) */
.card.lx-form-card { padding: 0; border: 0; }
/* the assignment (Opdracht) shown above its form */
.lx-form-summary-wrap { max-width: 760px; margin: 0 auto; text-align: left; }
.lx-form-summary { text-align: left; }
.lx-form-summary img.round { display: none; }
.lx-form-summary h6 { color: #213b52 !important; font-weight: 600; margin-bottom: .4rem; }
.lx-form-summary div { color: #444 !important; margin: 0 !important; }
@media (max-width: 575px) {
  .lx-form-card { padding: 16px 14px 18px; margin-left: 0; margin-right: 0; }
  .lx-form-card.lx-form-tabs { padding: 0; }
  .lx-form-card.lx-form-tabs > .tab-content { padding: 16px 14px 18px; }
  .lx-form-card.lx-form-tabs > .lx-form-intro { padding: 14px 14px 0; }
}
.lx-form-card::after { content: ""; display: table; clear: both; }
.lx-form-card hr { border-color: transparent; margin: 6px 0 0; }

/* ---------------------------------------------------------------------------------------------
   Update 28: Lextra 2 availability menu (index.php "Beschikbaarheid" + admin/useredit.php) and the
   opleiding sign-up summary (opleidingen.php). Uses .lx-form-card (Update 27) and .lx2-block (Update 26).
   --------------------------------------------------------------------------------------------- */
/* availability card: coloured left border by status */
.lx-avail { border-left: 5px solid #adb5bd; padding-top: 18px; }
.lx-avail.lx-av-st-on { border-left-color: #28a745; }
.lx-avail.lx-av-st-off { border-left-color: #dc3545; }
.lx-avail.lx-av-st-unk { border-left-color: #fdc134; }
.lx-avail.lx-av-st-plan { border-left-color: #0d6efd; }
.lx-avail label { font-weight: 400; color: #213b52; margin-bottom: 6px; cursor: pointer; }
.lx-avail input[type="radio"] { width: 16px; height: 16px; vertical-align: -3px; margin: 0 7px 0 0; accent-color: #213b52; cursor: pointer; }
.lx-avail h5.lx-av-sub { color: #213b52; font-weight: 600; font-size: .98rem; margin: 4px 0 10px; }
.lx-avail hr, .lx-av-hours hr { width: 100% !important; border: 0; border-top: 1px solid #e3e8ee; height: 0; margin: 14px 0; background: none; }
/* status badges (the lamp stays as a small icon) */
.lx-av-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 11px 3px 4px; border-radius: 999px;
  font-size: .85rem; font-weight: 600 !important; line-height: 1.5;
  margin: 0 0 8px 0; vertical-align: middle;
}
.lx-av-badge.lx-av-on { background: #e6f4ea; color: #1e7e34; }
.lx-av-badge.lx-av-off { background: #fdecea; color: #b02a37; }
.lx-av-badge.lx-av-unk { background: #fff4d6; color: #8a6100; }
.lx-av-badge.lx-av-plan { background: #e7f0fa; color: #1f5f9e; }
.lx-av-lamp { width: 18px; height: 18px; border-radius: 50%; }
/* the "Toepassen" area with the 4-hour note */
.lx-av-warn { background: #f7f9fb; border-radius: 6px; padding: 10px 14px; margin: 6px 0 4px; font-size: .86rem; color: #555; }
.lx-av-warn .subm-btn { display: block; margin: 0 0 6px 0; }
.lx-av-warn .help-block:empty { display: none; }
.lx-av-msg { max-width: 760px; margin: 0 auto 14px auto; }
/* week / week+hour schedules */
.open-hours-container.lx-av-hours {
  background: #fff; color: #444; font-family: inherit;
  max-width: 760px; margin: 0 auto 30px auto; padding: 22px 25px 25px;
  border-radius: 8px; box-shadow: 0 4px 24px rgba(33, 59, 82, 0.15);
  border-left: 5px solid #0d6efd;
}
.lx-av-hours .summary { max-width: none; margin: 8px 0 6px; background: #f2f6fa; border-left: 3px solid #0d6efd; color: #213b52; font-size: .9rem; }
.lx-av-hours .day-group { margin-bottom: 0; }
.lx-av-hours .day-group hr { margin: 6px 0; }
.lx-av-hours .time-inputs { gap: 8px; flex-wrap: wrap; }
.lx-av-hours .time-inputs label { margin: 0; color: #213b52; font-weight: 600; }
.lx-av-hours select { border: 1px solid #ced4da; border-radius: 4px; padding: 3px 6px; background: #fff; color: #213b52; min-width: 82px; }
.lx-av-hours select:focus { border-color: #fdc134; outline: 0; box-shadow: 0 0 0 .2rem rgba(253, 193, 52, .25); }
.lx-av-hours input[type="checkbox"].form-control { accent-color: #213b52; box-shadow: none; }
.lx-av-hours .form-group { margin: 10px 0; }
/* inside the user editor the section is already a white card */
.lx2 .container.member .lx-form-card { box-shadow: none; border-top: 1px solid #e3e8ee; border-right: 1px solid #e3e8ee; border-bottom: 1px solid #e3e8ee; }

/* opleiding: facts as badges + compact summary on top of the sign-up cards */
.lx-opl-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px 0; }
.lx-opl-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f2f6fa; color: #213b52; border-radius: 999px;
  padding: 4px 12px; font-size: .86rem; line-height: 1.45; margin: 0 4px 6px 0;
}
.lx-opl-badge i { color: #fdc134; }
.lx-opl-badge b { font-weight: 600; }
.lx-opl-badge.lx-opl-price { background: #213b52; color: #fff; font-weight: 600; }
.lx-opl-badge.lx-opl-open { background: #e6f4ea; color: #1e7e34; font-weight: 600; }
.lx-opl-badge.lx-opl-off { background: #eceff3; color: #6c757d; font-weight: 600; }
.lx-opl-summary { border-left: 4px solid #fdc134; background: #fafbfc; border-radius: 6px; padding: 10px 14px 6px; margin: 0 0 16px 0; text-align: left; }
.lx-opl-sumtitle { color: #213b52; font-weight: 600; margin-bottom: 8px; }
.lx-form-intro .lx-opl-summary { margin-bottom: 12px; }
.lx-opl-ok { margin: 0; }
.lx-opl-ok p:last-child { margin-bottom: 0; }
@media (max-width: 575px) {
  .open-hours-container.lx-av-hours { padding: 16px 14px 18px; }
  .lx-av-hours select { min-width: 72px; }
}

/* ===== Update 29: places / full badge (opleidingen.php) and capacity notice (admin/newopleidingen.php) ===== */
.lx-opl-badge.lx-opl-free { background: #e8f0fe; color: #1a56c4; font-weight: 600; }
.lx-opl-badge.lx-opl-full { background: #fdecea; color: #b02a37; font-weight: 600; }
.lx-opl-fullmsg { text-align: left; }
.lx-opl-fullmsg p { margin: 0 0 .35rem; }
.lx-opl-refused { font-weight: 600; color: #b02a37; }
.lx-cap-notice { display: inline-block; margin-top: .3rem; padding: .25rem .55rem; border-left: 3px solid #fdc134; background: #fff8e1; color: #6d5200; font-size: .85rem; border-radius: 4px; }

/* ===== Update 30 =====
   Attesten button in Opleidingenbeheer = blue; 'Zoek een vertaler/tolk' search card and results in Lextra 2 */
a.subm-btn.lx-attesten-btn[href^="attesten.php"] { background: #0d6efd; border-color: #0d6efd; color: #fff; }
a.subm-btn.lx-attesten-btn[href^="attesten.php"]:hover, a.subm-btn.lx-attesten-btn[href^="attesten.php"]:focus { background: #0b5ed7; border-color: #0b5ed7; color: #fff; }

.lx-search-card { max-width: 1040px; }
.lx-search-card .lx-form-title { margin: 0 0 .5rem; }
.lx-search-card .lx-form-title i { color: #fdc134; margin-right: .3rem; }
.lx-search-card .form-group { margin-bottom: .5rem; }
.lx-search-card .row { margin-left: -.25rem; margin-right: -.25rem; }
.lx-search-card .row > [class*="col-"] { padding-left: .25rem; padding-right: .25rem; }
.lx-search-card select.form-control, .lx-search-card input.form-control { height: calc(1.5em + .75rem + 2px); font-size: .92rem; }
.lx-search-card .lx-search-submit { width: 100%; margin: 0; float: none; height: calc(1.5em + .75rem + 2px); padding-top: 0; padding-bottom: 0; line-height: 1; }
.lx-res-hint { max-width: 1040px; margin: 14px auto 10px auto; font-size: .85rem; font-weight: 600; color: #213b52; }
.lx-res-hint i { color: #0d6efd; margin-right: .3rem; }
.lx-res-legend { max-width: 1040px; margin: 0 auto 12px auto; text-align: center; font-size: .85rem; color: #213b52; }
.lx-res-legend .lx-av-badge { margin: 2px 3px; }
/* results: one Lextra 2 block per member, left border = availability */
#tolksearchtable.lx-res-list { max-width: 1040px; margin: 0 auto; background: transparent; border: 0; }
#tolksearchtable.lx-res-list, #tolksearchtable.lx-res-list tbody { display: block; }
#tolksearchtable.lx-res-list tr.lx-res-row { display: block; padding: 0 !important; background: transparent; }
#tolksearchtable.lx-res-list tr.lx-res-row[style*="none"] { display: none; }
#tolksearchtable.lx-res-list tr.lx-res-row > td { display: block; padding: 0; border: 0; background: transparent; }
.lx-res {
  background: #fff; border: 1px solid #e3e8ee; border-left: 4px solid #fdc134; border-radius: 8px;
  box-shadow: 0 2px 12px rgba(33, 64, 91, .08); padding: .5rem; margin: 0 0 12px 0; text-align: left; color: #444;
}
.lx-res.lx-res-st-on { border-left-color: #28a745; }
.lx-res.lx-res-st-off { border-left-color: #dc3545; }
.lx-res.lx-res-st-unk { border-left-color: #fdc134; }
.lx-res-head { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.lx-res-head:hover .lx-res-name { color: #1f5f9e; }
.lx-res-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid #fdc134; flex: 0 0 64px; background: #f2f6fa; }
.lx-res-id { display: block; min-width: 0; }
.lx-res-name { font-size: 1.05rem; font-weight: 600; color: #213b52; margin: 0 0 .3rem; font-family: "Raleway", sans-serif; }
.lx-res-badges { display: flex; flex-wrap: wrap; gap: .3rem; }
.lx-res-badges .lx-opl-badge, .lx-res-badges .lx-av-badge { margin: 0; font-size: .8rem; }
.lx-res-badges .pro { position: static; background: #fdc134; color: #213b52; font-weight: 700; }
.lx-res-body { border-top: 1px solid #eef1f5; margin-top: .5rem; padding-top: .4rem; font-size: .9rem; }
.lx-res-body p { margin: .2rem 0; }
.lx-res-body a { color: #1f5f9e; }
@media (max-width: 575px) {
  .lx-res-avatar { width: 48px; height: 48px; flex-basis: 48px; }
  .lx-res-name { font-size: 1rem; }
}

/* ---------------------------------------------------------------------------------------------
   Update 31: availability as clear steps (assets/js/lx-avail.js). The original radios stay in the form
   (hidden); the option cards are their labels.
   --------------------------------------------------------------------------------------------- */
.lx-av-enh form > input[name="lid_beschikbaarheid"], .lx-av-enh form > input[name="lid_beschikbaarheid"] + label,
.lx-av-enh form > br, .lx-av-enh form > hr, .lx-av-enh form > .lx-av-sub, .lx-av-enh form > span.lx-av-badge { display: none !important; }
.lx-av-step { display: flex; align-items: center; gap: .5rem; color: #21405b; font-weight: 700; font-size: 1rem; margin: .75rem 0 .5rem; text-align: left; }
.lx-av-step::before { content: ""; width: 4px; height: 1.1rem; background: #fdc134; border-radius: 2px; }
.lx-av-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .5rem; margin-bottom: .6rem; }
.lx-av-opt { position: relative; display: block; margin: 0 !important; padding: .6rem .7rem .6rem 3rem; border: 2px solid #e1e6ec; border-radius: 8px;
  background: #fff; cursor: pointer; text-align: left; transition: border-color .15s, box-shadow .15s, background .15s; font-weight: 400 !important; }
.lx-av-opt:hover, .lx-av-opt:focus { border-color: #fdc134; outline: none; box-shadow: 0 0 0 .15rem rgba(253, 193, 52, .25); }
.lx-av-opt .lx-av-lamp { position: absolute; left: .65rem; top: .6rem; width: 28px; height: 28px; object-fit: contain; }
.lx-av-opt-t { display: block; color: #21405b; font-weight: 700; font-size: .95rem; line-height: 1.25; }
.lx-av-opt-d { display: block; color: #5b6670; font-size: .82rem; line-height: 1.3; margin-top: .15rem; }
.lx-av-cur { font-style: normal; font-size: .7rem; font-weight: 600; color: #fff; background: #21405b; border-radius: 10px; padding: 1px 7px; vertical-align: middle; }
.lx-av-opt.is-sel { border-color: #21405b; background: #f3f6fa; box-shadow: 0 0 0 .15rem rgba(33, 64, 91, .12); }
.lx-av-opt-on.is-sel { border-color: #28a745; background: #effaf2; }
.lx-av-opt-off.is-sel { border-color: #dc3545; background: #fdf0f1; }
.lx-av-opt-unk.is-sel { border-color: #fdc134; background: #fff9e8; }
.lx-av-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding: .5rem .7rem; border-radius: 8px; background: #f6f9fc;
  border-left: 4px solid #21405b; color: #333; text-align: left; margin-bottom: .4rem; }
.lx-av-summary .lx-av-lamp { width: 22px; height: 22px; object-fit: contain; }
.lx-av-sum-on { border-left-color: #28a745; } .lx-av-sum-off { border-left-color: #dc3545; } .lx-av-sum-unk { border-left-color: #fdc134; }
.lx-av-who { color: #5b6670; }
.lx-av-pend { color: #b26a00; font-size: .85rem; }
.lx-av-enh .lx-av-warn { text-align: left; }
.lx-av-hours > .lx-av-step:first-child { margin-top: 0; }
@media (max-width: 575px) {
  .lx-av-opts { grid-template-columns: 1fr 1fr; }
  .lx-av-opt { padding: .5rem .5rem .5rem 2.6rem; }
  .lx-av-opt .lx-av-lamp { width: 24px; height: 24px; left: .5rem; }
}

/* ---------------------------------------------------------------------------------------------
   Update 33: Instellingen - Gebruikersinformatie and Talen aanpassen in Lextra 2 (members/user_settings.php)
   --------------------------------------------------------------------------------------------- */
.lx-us { text-align: left; }
.lx-us .lx-us-title { display: flex; align-items: center; gap: .45rem; color: #21405b; font-weight: 700; font-size: 1.1rem; margin: 1rem 0 .5rem;
  padding-bottom: .35rem; border-bottom: 2px solid #eef1f5; text-align: left; }
.lx-us .lx-us-title i { color: #fdc134; }
.lx-us label { color: #213b52; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.lx-us .form-control { border-radius: 4px; border-color: #ced4da; box-shadow: none; }
.lx-us .form-control:focus { border-color: #fdc134; box-shadow: 0 0 0 .2rem rgba(253, 193, 52, .25); }
.lx-us .help-block { display: block; color: #dc3545; font-size: .85rem; margin-top: .25rem; }
.lx-us .help-block:empty { display: none; }
/* photo: compact block with a round preview */
.lx-us .lx-us-photo { display: grid !important; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center;
  max-width: 520px; margin: 0 0 .5rem; padding: .6rem .8rem !important; background: #f6f9fc; border: 1px solid #e3e8ee; border-left: 4px solid #fdc134;
  border-radius: 8px; box-shadow: none; text-align: left; float: none; }
.lx-us .lx-us-photo > img.round { grid-row: 1 / span 2; width: 72px; height: 72px; object-fit: cover; border-radius: 50%; margin: 0; padding: 0; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(33, 59, 82, .2); }
.lx-us .lx-us-photo > .lx-us-photo-t { margin: 0; color: #21405b; font-weight: 700; font-size: 1rem; }
.lx-us .lx-us-photo > .buttons { margin: .25rem 0 0; text-align: left; }
.lx-us .lx-us-photo > .buttons button.primary { margin: 0 !important; padding: .3rem .9rem; font-size: .88rem; border-radius: 4px; }
.lx-us .lx-us-photo > .buttons button.primary label { color: inherit; font-weight: 600; font-size: .88rem; margin: 0; }
.lx-us .lx-us-photo > form { grid-column: 1 / -1; }
.lx-us .container.member { padding-left: 0; padding-right: 0; margin-bottom: 0 !important; }
.lx-us .lx-us-req { color: #6c757d !important; text-align: left !important; font-size: .85rem; font-weight: 400; margin: 0 0 .5rem; }
/* user info: 2-column grid, 1 column on a phone */
.lx-us .lx-us-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.25rem; row-gap: .15rem; }
.lx-us .lx-us-form > .form-group { margin-bottom: .75rem; min-width: 0; }
.lx-us .lx-us-form > .lx-us-full, .lx-us .lx-us-form > .lx-us-sec { grid-column: 1 / -1; }
.lx-us .lx-us-form > .lx-us-sec { margin: .5rem 0 .4rem; color: #21405b; font-weight: 700; font-size: 1rem !important; padding-bottom: .3rem; border-bottom: 1px solid #eef1f5; }
.lx-us .lx-us-form > .lx-us-sec u { text-decoration: none; }
.lx-us .lx-us-form .form-group > div[style*="45%"] { width: 100% !important; display: block !important; }
.lx-us .lx-us-form > .lx-us-full:not(.lx-us-save) { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: flex-start; gap: .6rem; flex-wrap: wrap; }
.lx-us .lx-us-form > .lx-us-full:not(.lx-us-save) > label { flex: 1 1 0; font-weight: 400; margin: 2px 0 0; }
.lx-us .lx-us-form > .lx-us-full:not(.lx-us-save) > .help-block { flex-basis: 100%; }
.lx-us .lx-us-form > .lx-us-full:not(.lx-us-save):has(> input[type="password"]) { display: block; }
.lx-us .lx-us-form > .lx-us-full:not(.lx-us-save):has(> input[type="password"]) > label { font-weight: 600; }
.lx-us .lx-us-form > .lx-us-full input[type="password"] { max-width: calc(50% - .625rem); }
.lx-us .lx-us-save { margin-top: .25rem; }
.lx-us .lx-us-save .subm-btn { min-width: 200px; }
.lx-us .lx-us-save hr { display: none; }
/* Talen aanpassen */
.lx-us-talen .lx-us-block { background: #fff; }
.lx-us-talen .lx-list-wrap { border: 0; box-shadow: none; background: transparent; margin-bottom: .5rem; }
.lx-us-talen table.lx-us-chips { width: 100% !important; margin: 0 !important; border: 0; background: transparent; }
.lx-us-talen table.lx-us-chips thead { display: none; }
.lx-us-talen table.lx-us-chips tbody { display: flex; flex-wrap: wrap; gap: .4rem; }
.lx-us-talen table.lx-us-chips.lx-us-combos tbody { flex-direction: column; flex-wrap: nowrap; }
.lx-us-talen table.lx-us-chips tr { display: flex; align-items: center; gap: .5rem; background: #f6f9fc; border: 1px solid #e3e8ee; border-left: 4px solid #21405b;
  border-radius: 8px; padding: .35rem .6rem; }
.lx-us-talen table.lx-us-chips tr:hover { background: #eef3f8; }
.lx-us-talen table.lx-us-chips td { border: 0 !important; padding: 0 !important; background: transparent !important; text-align: left; }
.lx-us-talen table.lx-us-chips td:empty { display: none; }
.lx-us-talen .lx-us-del { order: 2; margin-left: auto; line-height: 0; }
.lx-us-talen .lx-us-del input[type="radio"] { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid #f1c2c7; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='%23dc3545' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.lx-us-talen .lx-us-del input[type="radio"]:hover, .lx-us-talen .lx-us-del input[type="radio"]:focus { background-color: #fdecea; border-color: #dc3545; outline: none; }
.lx-us-talen .lx-us-lang, .lx-us-talen .lx-us-pair { color: #21405b; font-weight: 600; }
.lx-us-talen .lx-us-arrow { color: #fdc134; font-weight: 700; margin: 0 .15rem; }
.lx-us-talen .lx-us-badge { display: inline-flex; align-items: center; gap: .25rem; margin-left: .4rem; padding: 1px 8px; border-radius: 10px; background: #e6f4ea; color: #1e7e34;
  font-size: .78rem; font-weight: 600; white-space: nowrap; }
.lx-us-talen .lx-listsearch { max-width: 360px; margin-bottom: .5rem; }
.lx-us-talen .col-md-12 { padding-left: 0; padding-right: 0; }
.lx-us-talen #deletetopicform > .form-group:first-child > div { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; }
.lx-us-talen #deletetopicform > .form-group:first-child > div > br { display: none; }
.lx-us-talen #deletetopicform > .form-group:first-child > div > label { font-weight: 400; margin: 0 0 0 -.6rem; }
.lx-us-talen #deletetopicform > .form-group:first-child > div > .help-block { flex-basis: 100%; }
.lx-us-talen .container1 > div, .lx-us-talen .container3 > div { margin-bottom: .4rem; }
.lx-us-talen .container1 select { min-width: 220px; max-width: 100%; padding: .3rem .5rem; border: 1px solid #ced4da; border-radius: 4px; }
.lx-us-talen .add_form_field, .lx-us-talen .add_form_field3 { background: #fff; border: 1px dashed #21405b; color: #21405b; border-radius: 6px; padding: .25rem .75rem;
  font-size: .88rem; font-weight: 600; margin: .1rem 0 .4rem; }
.lx-us-talen .add_form_field:hover, .lx-us-talen .add_form_field3:hover { background: #f3f6fa; }
.lx-us-talen .lx-us-addcard { background: #f6f9fc; border: 1px solid #e3e8ee; border-left: 4px solid #fdc134; border-radius: 8px; padding: .6rem .8rem; margin-top: .75rem; }
.lx-us-talen .lx-us-addcard > .form-group:first-child { margin-top: 0 !important; }
.lx-us-talen .lx-us-addcard .container3 > div { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.lx-us-talen .lx-us-addcard .container3 select.form-control { width: auto !important; min-width: 150px; flex: 1 1 150px; display: block !important; }
.lx-us-talen .lx-us-addcard .container3 > br { display: none; }
.lx-us-talen .lx-us-addcard hr, .lx-us-talen > hr { display: none; }
@media (max-width: 767px) {
  .lx-us .lx-us-form { grid-template-columns: 1fr; }
  .lx-us .lx-us-form > .lx-us-full input[type="password"] { max-width: 100%; }
  .lx-us .lx-us-save .subm-btn { width: 100%; }
  .lx-us-talen .lx-us-addcard .container3 select.form-control { flex-basis: 100%; }
  .lx-us-talen .lx-us-addcard .container3 .icofont-arrow-right { display: none; }
}

/* ---------------------------------------------------------------------------------------------
   Update 34: Instellingen - all four tabs centred and aligned in Lextra 2 (members/user_settings.php)
   --------------------------------------------------------------------------------------------- */
.lx-tabs-card .tab-inner.lx-us { max-width: 860px; margin-left: auto; margin-right: auto; }
.lx-us > .lx-us-title:first-child { margin-top: 0; }
.lx-us > h5.lx-us-title { color: #21405b; font-weight: 700; font-size: 1.1rem; }
.lx-us .lx-us-form > .form-group:has(textarea), .lx-us .lx-us-form > .form-group:has(input[type="radio"]),
.lx-us .lx-us-form > .form-group:has(input[type="checkbox"]), .lx-us .lx-us-form > .form-group:has(input[type="password"]),
.lx-us .lx-us-form > .form-group:has(> .subm-btn) { grid-column: 1 / -1; }
.lx-us .lx-us-form > .form-group:has(> div > input[type="checkbox"]) { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: flex-start;
  gap: .6rem; flex-wrap: wrap; }
.lx-us .lx-us-form > .form-group:has(> div > input[type="checkbox"]) > label { flex: 1 1 0; font-weight: 400; margin: 2px 0 0; }
.lx-us .lx-us-form > .form-group:has(> div > input[type="checkbox"]) > .help-block { flex-basis: 100%; }
.lx-us .lx-us-form > .form-group:has(> input[type="radio"]) { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.lx-us .lx-us-form > .form-group:has(> input[type="radio"]) > label:first-child { flex-basis: 100%; margin-bottom: 0; }
.lx-us .lx-us-form > .form-group:has(> input[type="radio"]) > label:not(:first-child) { font-weight: 400; margin: 0 1rem 0 0; }
.lx-us .lx-us-form > .form-group:has(> input[type="radio"]) > br { display: none; }
.lx-us .lx-us-form input[type="password"] { max-width: calc(50% - .625rem); }
.lx-us .lx-us-form > .form-group:has(> .subm-btn) .subm-btn { min-width: 200px; }
.lx-us .lx-us-form > .form-group:has(> .subm-btn) hr { display: none; }
.lx-us textarea.form-control { min-height: 110px; }
.lx-us select.form-control { height: calc(1.5em + .75rem + 2px); }
/* Wachtwoord veranderen */
.lx-us-pw > p { color: #555; margin-bottom: .75rem; }
.lx-us-pw .lx-us-pwform { max-width: 420px; background: #f6f9fc; border: 1px solid #e3e8ee; border-left: 4px solid #fdc134; border-radius: 8px; padding: .8rem 1rem; }
.lx-us-pw .lx-us-pwform .form-group:last-child { margin-bottom: 0; }
.lx-us-pw .lx-us-pwform .subm-btn { min-width: 160px; }
.lx-us-pw .lx-us-pwform .form-group:last-child p { color: #6c757d; margin: .5rem 0 0; }
/* Talen aanpassen: radios, selects and buttons aligned */
.lx-us-talen #deletetopicform > .form-group:first-child > div { gap: .4rem; }
.lx-us-talen #deletetopicform > .form-group:first-child > div > label { margin: 0 1rem 0 0; }
.lx-us-talen #deletetopicform > .form-group:first-child > div > input[type="radio"] { margin: 0; }
.lx-us-talen .lx-list-wrap:has(#lxList9_1) { margin-top: .25rem; }
.lx-us-talen .container1 > div { display: flex; align-items: center; gap: .5rem; max-width: 420px; }
.lx-us-talen .container1 select { flex: 1 1 auto; width: 100%; min-width: 0; height: calc(1.5em + .75rem + 2px); padding: .375rem .75rem; background: #fff;
  color: #495057; border: 1px solid #ced4da; border-radius: 4px; }
.lx-us-talen .container1 select:focus, .lx-us-talen .container3 select:focus { border-color: #fdc134; box-shadow: 0 0 0 .2rem rgba(253, 193, 52, .25); outline: none; }
.lx-us-talen .add_form_field, .lx-us-talen .add_form_field3 { display: inline-flex; align-items: center; gap: .35rem; background: #21405b; color: #fff; border: 1px solid #21405b;
  border-radius: 4px; padding: .4rem 1rem; font-size: .88rem; font-weight: 600; line-height: 1.4; cursor: pointer; transition: background .15s, color .15s; }
.lx-us-talen .add_form_field:hover, .lx-us-talen .add_form_field3:hover, .lx-us-talen .add_form_field:focus, .lx-us-talen .add_form_field3:focus {
  background: #fdc134; border-color: #fdc134; color: #213b52; outline: none; }
.lx-us-talen .add_form_field span, .lx-us-talen .add_form_field3 span { font-size: 1rem !important; line-height: 1; }
.lx-us-talen .deletelang, .lx-us-talen .deletecombo { flex: 0 0 auto; color: #dc3545; border: 1px solid #f1c2c7; background: #fff; border-radius: 4px; padding: .2rem .6rem;
  font-size: .82rem; font-weight: 600; text-decoration: none; }
.lx-us-talen .deletelang:hover, .lx-us-talen .deletecombo:hover { background: #fdecea; border-color: #dc3545; color: #dc3545; text-decoration: none; }
.lx-us-talen .lx-us-addcard .container3 > div { margin-bottom: .5rem !important; }
.lx-us-talen .lx-us-addcard .container3 .icofont-arrow-right { color: #21405b; }
.lx-us-talen .lx-us-addcard .subm-btn { min-width: 200px; }
.lx-us-talen #deletetopicform .subm-btn { min-width: 200px; }
@media (max-width: 767px) {
  .lx-us .lx-us-form input[type="password"] { max-width: 100%; }
  .lx-us .lx-us-form > .form-group:has(> .subm-btn) .subm-btn, .lx-us-talen .subm-btn, .lx-us-pw .subm-btn { width: 100%; }
  .lx-us-pw .lx-us-pwform { max-width: 100%; }
}

/* ===== Update 57: internal opleidingen (badge "Intern" / "Interne", admin setting) ===== */
.lx-opl-badge.lx-opl-intern { background: #efe9fb; color: #5a3d99; font-weight: 600; }
.lx-opl-badge.lx-opl-intern i { color: #7b5cc4; }
.lx-intern-note { display: block; margin-top: .3rem; font-size: .85rem; color: #6c757d; }
