/* Cookie consent: central card, compact bottom bar. Corporate red #D4143C, navy #060062, site font Poppins. */
html.dvc-lock { overflow: hidden; }

.dvc-overlay {
  position: fixed; inset: 0; z-index: 99998;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(8, 12, 24, .62);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  font-family: Poppins, Roboto, Arial, sans-serif;
  animation: dvcFade .25s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .dvc-overlay { background: rgba(8, 12, 24, .82); }
}
@keyframes dvcFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dvc-overlay { animation: none; } }

.dvc-card {
  box-sizing: border-box;
  width: min(560px, 100%);
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #fff; color: #1f1f1f;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
  padding: 34px 40px 26px;
  text-align: center;
  outline: none;
}
.dvc-logo { display: block; margin: 0 auto; width: 204px; height: auto; }
.dvc-card h2 { margin: 20px 0 10px; font-size: 25px; line-height: 1.25; font-weight: 600; color: #111; }
.dvc-card p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; color: #1f1f1f; }

.dvc-btns { display: flex; gap: 12px; margin-top: 20px; }
.dvc-btn {
  flex: 1 1 0; min-height: 50px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 6px 10px;
  background: #D4143C; color: #fff; border: 2px solid #D4143C; border-radius: 6px;
  font: 600 13px/1.25 Poppins, Roboto, Arial, sans-serif;
  letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
}
.dvc-btn:hover { background: #b01032; border-color: #b01032; }
.dvc-btn:focus-visible, .dvc-link:focus-visible, .dvc-legal a:focus-visible, .dvc-sw:focus-visible {
  outline: 3px solid #060062; outline-offset: 2px;
}
.dvc-btn-full { width: 100%; flex: none; margin-top: 16px; }
.dvc-center { margin-top: 14px; text-align: center; }
.dvc-link {
  background: none; border: 0; padding: 4px 6px; cursor: pointer;
  font: 500 14px/1.4 Poppins, Roboto, Arial, sans-serif; color: #060062; text-decoration: underline;
}
.dvc-legal { margin-top: 10px; font-size: 13px; color: #444; }
.dvc-legal a { color: #444; text-decoration: underline; padding: 2px 4px; }
.dvc-legal span { margin: 0 4px; }

/* Manage preferences rows */
.dvc-pref { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; text-align: left; border-top: 1px solid #e5e5e5; padding: 12px 0; }
.dvc-pref b { display: block; font-weight: 600; font-size: 14.5px; color: #111; }
.dvc-pref span { display: block; font-size: 13px; line-height: 1.5; color: #444; margin-top: 2px; }
.dvc-sw { flex: none; width: 46px; height: 26px; border-radius: 99px; background: #b9b9b9; border: 0; position: relative; cursor: pointer; padding: 0; }
.dvc-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; }
.dvc-sw[aria-pressed="true"] { background: #060062; }
.dvc-sw[aria-pressed="true"]::after { left: 23px; }
.dvc-sw:disabled { opacity: .55; cursor: default; }

/* Compact bottom bar (after a click outside the card) */
.dvc-bar {
  /* Below Bootstrap's enquiry form window (backdrop 1040, modal 1050) so the form is never covered; above the fixed menu (1030) */
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035;
  box-sizing: border-box; background: #fff; color: #1f1f1f;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .28);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  font-family: Poppins, Roboto, Arial, sans-serif;
}
.dvc-bar-in { max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.dvc-bar-text { flex: 1 1 340px; min-width: 0; }
.dvc-bar-text b { display: block; font-size: 15.5px; color: #111; margin-bottom: 2px; }
.dvc-bar-text p { margin: 0; font-size: 14px; line-height: 1.5; color: #1f1f1f; }
.dvc-bar .dvc-legal { margin-top: 4px; font-size: 13px; }
.dvc-bar-act { flex: 0 1 430px; min-width: 0; }
.dvc-bar .dvc-btns { margin-top: 0; }
.dvc-bar .dvc-btn { min-height: 46px; font-size: 12.5px; }
.dvc-bar .dvc-center { margin-top: 6px; }

/* Tablet and phone */
@media (max-width: 640px) {
  .dvc-card { padding: 26px 22px 20px; }
  .dvc-logo { width: 156px; }
  .dvc-card h2 { font-size: 21px; margin-top: 16px; }
  .dvc-card p { font-size: 14.5px; }
}
@media (max-width: 440px) {
  .dvc-btns { flex-direction: column; gap: 10px; }
  .dvc-bar { padding-left: 14px; padding-right: 14px; }
  .dvc-bar .dvc-btns { flex-direction: row; gap: 8px; }
  .dvc-bar .dvc-btn { font-size: 11.5px; letter-spacing: .03em; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .dvc-bar-text p { display: none; }
  .dvc-card { padding: 16px 28px 14px; }
  .dvc-logo { width: 120px; }
  .dvc-card h2 { margin-top: 10px; font-size: 20px; }
}
