/* =========================================================
   BEUKK visual override for Inkoopgemak leverancier
   Target: Bootstrap 3 + Unify
   Safe: CSS only, no layout JS impact
   ========================================================= */

/* ---------- Base ---------- */
body {
  background: #f6f3ea;
  color: #1d1f1d;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.wrapper {
  background: transparent;
}

/* ---------- Topbar ---------- */
.topbar-v1 {
  background: #5f7f62;
  border-bottom: none;
}

.topbar-v1,
.topbar-v1 a,
.topbar-v1 span,
.topbar-v1 li,
.topbar-v1 i {
  color: #ffffff !important;
}

.top-v1-contacts li,
.top-v1-data li {
  opacity: 0.9;
}

/* ---------- Header / Navbar ---------- */
.header-v4 {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.header.header-v4 .container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 30px;
  padding-right: 30px;
}

.navbar {
  border: none;
  margin-bottom: 0;
}

.navbar-brand img {
  max-height: 32px;
}

.navbar-nav > li > a {
  color: #1d1f1d !important;
  font-weight: 600;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.open > a {
  background: rgba(95, 127, 98, 0.12) !important;
  color: #1d1f1d !important;
}

.dropdown-menu {
  border-radius: 10px;
  border: 1px solid #e3ddcd;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.dropdown-menu > li > a:hover {
  background: #eef4ef;
  color: #1d1f1d;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: transparent;
  padding-left: 0;
  margin-top: 8px;
}

.breadcrumb > li > a {
  color: #5f7f62;
  font-weight: 600;
}

/* ---------- Content container ---------- */
.container.content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 30px 30px 0;
  background-color: #f2f7f3; /* heel licht BEUKK-groen */
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(95, 127, 98, 0.08);
}

/* ---------- Headlines ---------- */
.headline h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.6px;
  border-bottom: none;
  padding-bottom: 0;
}

/* ---------- Panels (cards) ---------- */
.panel {
  border-radius: 14px;
  border: 1px solid #e3ddcd;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.panel-heading {
  background: #fbf8f0 !important;
  border-bottom: 1px solid #e3ddcd;
  border-radius: 14px 14px 0 0;
}

.panel-heading h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1d1f1d;
}

.panel-body {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* ---------- Accordion ---------- */
.panel-group .panel + .panel {
  margin-top: 18px;
}

.accordion-toggle {
  text-decoration: none !important;
}

/* ---------- Tables ---------- */
table {
  background: #ffffff;
}

table > tbody > tr > td,
table > tbody > tr > th {
  transition: background-color 0.15s ease-in-out;
}

table > tbody > tr:hover > td,
table > tbody > tr:hover > th {
  background-color: rgba(95, 127, 98, 0.12);
  box-shadow: inset 0 0 0 1px rgba(95, 127, 98, 0.2);
}

.table > thead > tr > th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e3ddcd;
  background-color: #5f7f62;
  color: #ffffff;
  border-color: #5f7f62;
  border-right: 1px solid #ffffff;
}

.table > thead > tr > th:last-child {
  border-right: none;
}

.table > tbody > tr > td {
  border-color: rgba(95, 127, 98, 0.25);
}

.table > tbody > tr:hover {
  background-color: rgba(95, 127, 98, 0.08);
}

.table > tbody > tr.active,
.table > tbody > tr.active:hover {
  background-color: rgba(95, 127, 98, 0.15);
}

th {
  background-color: #5f7f62 !important;
  color: #ffffff !important;
  border-color: #5f7f62 !important;
}

/* om-en-om rijen voor alle tables */
table > tbody > tr:nth-of-type(odd) > td,
table > tbody > tr:nth-of-type(odd) > th,
table > tbody > tr:nth-child(odd) > td,
table > tbody > tr:nth-child(odd) > th,
table > tr:nth-of-type(odd) > td,
table > tr:nth-of-type(odd) > th,
table > tr:nth-child(odd) > td,
table > tr:nth-child(odd) > th {
  background-color: #ffffff;
}

table > tbody > tr:nth-of-type(even) > td,
table > tbody > tr:nth-of-type(even) > th,
table > tbody > tr:nth-child(even) > td,
table > tbody > tr:nth-child(even) > th,
table > tr:nth-of-type(even) > td,
table > tr:nth-of-type(even) > th,
table > tr:nth-child(even) > td,
table > tr:nth-child(even) > th {
  background-color: #e6e6e6;
}

/* om-en-om rijen voor tables met class "table-striped" */
.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(odd) > th,
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th,
.table-striped > tr:nth-of-type(odd) > td,
.table-striped > tr:nth-of-type(odd) > th,
.table-striped > tr:nth-child(odd) > td,
.table-striped > tr:nth-child(odd) > th {
  background-color: #ffffff !important;
}

.table-striped > tbody > tr:nth-of-type(even) > td,
.table-striped > tbody > tr:nth-of-type(even) > th,
.table-striped > tbody > tr:nth-child(even) > td,
.table-striped > tbody > tr:nth-child(even) > th,
.table-striped > tr:nth-of-type(even) > td,
.table-striped > tr:nth-of-type(even) > th,
.table-striped > tr:nth-child(even) > td,
.table-striped > tr:nth-child(even) > th {
  background-color: #e6e6e6 !important;
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 8px;
  font-weight: 600;
}

.btn-primary {
  background: #5f7f62;
  border-color: #5f7f62;
}

.btn-primary:hover {
  background: #54735a;
  border-color: #54735a;
}

.btn-u {
  background-color: #c46a4a !important;
  border-color: #c46a4a !important;
  color: #ffffff !important;
  border-radius: 8px;
  font-weight: 600;
}

.btn-u i,
.btn-u span {
  color: #ffffff !important;
}

.btn-u:hover,
.btn-u:focus,
.btn-u:active {
  background-color: #b85f44 !important;
  border-color: #b85f44 !important;
  color: #ffffff !important;
}

/* ---------- Forms ---------- */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="search"],
select,
textarea {
  background-color: #ffffff !important;
  border: 1.5px solid #9fb8a6 !important;
  color: #1d1f1d;
  padding: 10px 12px;
  height: auto;
  border-radius: 8px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #5f7f62 !important;
  box-shadow: 0 0 0 3px rgba(95, 127, 98, 0.25) !important;
  outline: none;
}

input[disabled],
select[disabled],
textarea[disabled],
input[readonly] {
  background-color: #eef3ef !important;
  border-color: #c8d6cc !important;
  color: #6f7a73;
}

/* ---------- Footer ---------- */
.footer-v2 {
  max-height: 50px !important;
  overflow: hidden !important;
}

.footer-v2,
.footer-v2 a {
  color: #ffffff;
}

.footer-v2 .footer {
  background: #5f7f62;
  height: 50px !important;
  padding: 0 !important;
}

.footer-v2 .footer .container,
.footer-v2 .footer .row {
  height: 100% !important;
}

.footer-v2 .copyright {
  background: #4f6b53;
  display: none !important;
}

.footer-v2 img.footer-logo {
  max-height: 30px;
  display: none !important;
}

/* Radio look zoals in filtermockup */
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ababab;
  border-radius: 50%;
  background: #efefef;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
}

input[type="radio"]::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9b9b9b;
  transform: scale(0);
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ababab;
  border-radius: 0;
  background: #efefef;
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
  cursor: pointer;
}

input[type="checkbox"]:checked {
  background-color: #efefef;
  background-image:
    linear-gradient(-45deg, transparent 52%, #9b9b9b 52%, #9b9b9b 64%, transparent 64%),
    linear-gradient(45deg, transparent 36%, #9b9b9b 36%, #9b9b9b 48%, transparent 48%);
  background-size: 12px 12px, 12px 12px;
  background-position: 6px 2px, 2px 6px;
  background-repeat: no-repeat;
}

.radio input[type="radio"] {
  border-radius: 50% !important;
}

.sky-form .radio i {
  border-radius: 50% !important;
}

/* Filter-specifiek: houd radiostip zichtbaar ondanks inline overrides */
#bestel-filter-collapse .radio input[type="radio"] {
  display: inline-grid !important;
  place-content: center !important;
}

#bestel-filter-collapse .radio input[type="radio"]:checked {
  background-image: radial-gradient(circle, #9b9b9b 0 3px, transparent 4px);
  background-repeat: no-repeat;
  background-position: center;
}
