button.cta-button-hero,
#lift-layout-wrapper button.cta-button,
.sticky-mobile-bar button.cta-button {
  font-family: inherit;
}

#lift-layout-wrapper .cta-button,
#lift-layout-wrapper .action-box .cta-button,
.sticky-mobile-bar .cta-button {
  color: #ffffff !important;
}

.lift-section .description,
.lift-section .check-list {
  margin-bottom: 2rem;
}

.truck-request-dialog,
.truck-request-dialog *,
.truck-help-trigger,
.truck-help-trigger * {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.truck-request-dialog {
  width: min(92vw, 620px);
  max-width: none;
  max-height: 90vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: auto;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.32);
}

.truck-request-dialog::backdrop {
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(3px);
}

.truck-help-dialog {
  position: fixed;
  inset: auto 20px 84px auto;
  width: min(calc(100vw - 40px), 430px);
  max-height: min(720px, calc(100vh - 110px));
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.3);
}

.truck-dialog-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.truck-dialog-header h2 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.2;
}

.truck-dialog-header p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.truck-dialog-close {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  cursor: pointer;
}

.truck-dialog-close:hover {
  background: #e5e7eb;
}

.truck-dialog-close:focus-visible,
.truck-help-trigger:focus-visible,
.truck-form-submit:focus-visible {
  outline: 3px solid #bfdbfe;
  outline-offset: 2px;
}

.truck-dialog-body {
  padding: 22px 24px 26px;
}

.truck-request-form {
  display: grid;
  gap: 14px;
}

.truck-form-field {
  display: grid;
  gap: 6px;
}

.truck-form-field label {
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
}

.truck-form-field label span {
  color: #6b7280;
  font-weight: 500;
}

.truck-form-field input,
.truck-form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.truck-date-picker {
  position: relative;
}

.truck-date-trigger {
  width: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: 34px 1fr 20px;
  align-items: center;
  gap: 10px;
  padding: 7px 13px 7px 8px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #ffffff;
  color: #6b7280;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.truck-date-trigger:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}

.truck-date-trigger:focus-visible,
.truck-date-trigger.is-open {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13);
}

.truck-date-trigger.has-value {
  color: #111827;
  font-weight: 600;
}

.truck-date-trigger-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #eff6ff;
  color: #2563eb;
}

.truck-date-chevron {
  color: #64748b;
  transition: transform 0.18s ease;
}

.truck-date-trigger.is-open .truck-date-chevron {
  transform: rotate(180deg);
}

.truck-calendar[hidden] {
  display: none;
}

.truck-calendar {
  position: absolute;
  left: 0;
  z-index: 8;
  width: min(100%, 360px);
  margin-top: 8px;
  padding: 14px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.truck-calendar-header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.truck-calendar-month {
  color: #0f172a;
  font-size: 15px;
  font-weight: 750;
  text-align: center;
  text-transform: capitalize;
}

.truck-calendar-nav {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  color: #334155;
  cursor: pointer;
}

.truck-calendar-nav:hover,
.truck-calendar-nav:focus-visible {
  background: #dbeafe;
  color: #1d4ed8;
  outline: none;
}

.truck-calendar-nav:disabled {
  color: #cbd5e1;
  cursor: default;
  background: #f8fafc;
}

.truck-calendar-weekdays,
.truck-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.truck-calendar-weekdays {
  margin-bottom: 4px;
}

.truck-calendar-weekdays span {
  padding: 4px 0;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 750;
  text-align: center;
}

.truck-calendar-day {
  aspect-ratio: 1;
  min-width: 0;
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #1e293b;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.truck-calendar-day:hover:not(:disabled),
.truck-calendar-day:focus-visible {
  background: #eff6ff;
  color: #1d4ed8;
  outline: none;
}

.truck-calendar-day.is-outside {
  color: #94a3b8;
}

.truck-calendar-day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1.5px #93c5fd;
  color: #1d4ed8;
}

.truck-calendar-day.is-selected {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 5px 12px rgba(37, 99, 235, 0.24);
}

.truck-calendar-day:disabled {
  color: #d5dbe4;
  cursor: default;
}

.truck-calendar-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef2f7;
}

.truck-calendar-footer button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  padding: 0 12px;
  background: transparent;
  color: #2563eb;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.truck-calendar-footer button:hover,
.truck-calendar-footer button:focus-visible {
  background: #eff6ff;
  outline: none;
}

.truck-form-field textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.5;
}

.truck-form-field input:focus,
.truck-form-field textarea:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13);
}

.truck-form-field input[aria-invalid="true"],
.truck-form-field textarea[aria-invalid="true"] {
  border-color: #dc2626;
}

.truck-form-error {
  display: none;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 650;
}

.truck-form-error.is-visible {
  display: block;
}

.truck-form-submit {
  min-height: 49px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  background: #2563eb;
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.truck-form-submit:hover {
  background: #1d4ed8;
}

.truck-form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.truck-form-privacy {
  margin: -2px 0 0;
  color: #6b7280;
  font-size: 11.5px;
  line-height: 1.45;
}

.truck-form-privacy a {
  color: #2563eb;
  font-weight: 700;
}

.truck-form-status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.truck-form-status.is-success {
  display: block;
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  color: #166534;
}

.truck-form-status.is-error {
  display: block;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.truck-form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.truck-expert-note {
  margin: 0 0 2px;
  padding: 12px 13px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.5;
}

.truck-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
}

.truck-chat-header .truck-dialog-close {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.truck-chat-header .truck-dialog-close:hover,
.truck-chat-header .truck-dialog-close:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.truck-chat-expert {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.truck-chat-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.truck-chat-avatar i {
  position: absolute;
  right: -1px;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border: 2px solid #2563eb;
  border-radius: 50%;
  background: #4ade80;
}

.truck-chat-expert h2 {
  margin: 0 0 2px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
}

.truck-chat-expert p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11.5px;
  line-height: 1.4;
}

.truck-chat-body {
  padding: 18px;
  overflow: auto;
  background: #f4f7fb;
}

.truck-chat-message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 0 14px;
}

.truck-chat-message > span {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.truck-chat-message p {
  max-width: 310px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #e2e8f0;
  border-radius: 14px 14px 14px 4px;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
  font-size: 12.5px;
  line-height: 1.5;
}

.truck-help-form {
  gap: 11px;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.06);
}

.truck-help-form .truck-form-field {
  gap: 5px;
}

.truck-help-form .truck-form-field label {
  color: #475569;
  font-size: 12px;
  font-weight: 650;
}

.truck-help-form .truck-form-field input {
  min-height: 44px;
  border-color: #dbe3ed;
  border-radius: 10px;
  background: #f8fafc;
}

.truck-help-form .truck-form-submit {
  margin-top: 2px;
  border-radius: 10px;
}

.truck-help-form .truck-form-privacy {
  text-align: center;
}

.truck-help-form.is-complete > :not(.truck-form-status) {
  display: none;
}

.truck-help-form.is-complete {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.truck-help-form.is-complete .truck-form-status.is-success {
  position: relative;
  margin-left: 37px;
  padding: 13px 15px;
  border: 1px solid #bfdbfe;
  border-radius: 14px 14px 14px 4px;
  background: #ffffff;
  color: #1e3a8a;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
  font-weight: 650;
}

.truck-help-form.is-complete .truck-form-status.is-success::before {
  content: "✓";
  position: absolute;
  left: -37px;
  bottom: 0;
  width: 29px;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.truck-help-trigger {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 960;
  width: 58px;
  height: 58px;
  border: 0;
  padding: 0;
  border-radius: 29px;
  overflow: hidden;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  cursor: pointer;
  text-align: left;
  transition: width 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, transform 0.2s ease;
}

.truck-help-trigger:hover,
.truck-help-trigger:focus-visible {
  width: 300px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.28);
  transform: translateY(-2px);
}

.truck-help-copy {
  position: absolute;
  top: 50%;
  right: 67px;
  width: 214px;
  opacity: 0;
  transform: translate(8px, -50%);
  font-size: 12px;
  line-height: 1.4;
  transition: opacity 0.15s ease 0.04s, transform 0.2s ease;
  white-space: nowrap;
}

.truck-help-trigger:hover .truck-help-copy,
.truck-help-trigger:focus-visible .truck-help-copy {
  opacity: 1;
  transform: translate(0, -50%);
}

.truck-help-copy strong {
  display: block;
  margin-bottom: 2px;
  color: #1d4ed8;
  font-size: 13px;
}

.truck-help-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
}

body.truck-dialog-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .truck-help-trigger {
    right: 14px;
    bottom: 76px;
    width: 55px;
    height: 55px;
    padding: 0;
    border-radius: 50%;
  }

  .truck-help-trigger:hover,
  .truck-help-trigger:focus-visible {
    width: 55px;
    transform: none;
  }

  .truck-help-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .truck-help-icon {
    top: 5px;
    right: 5px;
    width: 45px;
    height: 45px;
  }

  .truck-dialog-header,
  .truck-dialog-body {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 600px) {
  .truck-request-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .truck-help-dialog {
    inset: auto 10px 70px 10px;
    width: auto;
    max-height: calc(100vh - 90px);
    border-radius: 17px;
  }

  .truck-chat-header,
  .truck-chat-body {
    padding-left: 15px;
    padding-right: 15px;
  }

  .truck-calendar {
    position: relative;
    width: 100%;
    padding: 11px;
  }

  .truck-calendar-day {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .truck-form-submit,
  .truck-help-trigger {
    transition: none;
  }
}

/* FAQ-rubriken är semantiskt en H2 men behåller utbildningssidornas utseende. */
#lift-layout-wrapper .faq-section h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}
