*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #e6f0f0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Background Shapes ── */
.bg-shape {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

/* Desktop: full viewport decorative rings (tr_desktop_shape) */
.bg-shape--desktop {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile: bottom-positioned wave shape (tr_mobile_shape (2)) */
.bg-shape--mobile {
  display: none;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* ── Container ── */
.container {
  position: relative;
  z-index: 1;
  max-width: 759px;
  margin: 0 auto;
  padding: 0 0 60px;
}

/* ── Sticky Header ── */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #e6f0f0;
  padding-top: 50px;
}

/* ── Logo Bar ── */
.logo-bar {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  padding: 0;
}

.logo-img {
  height: 24px;
  width: auto;
}

/* ── Progress Section ── */
.progress-section {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 16px 28px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.back-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring-container {
  position: relative;
  width: 119px;
  height: 119px;
  flex-shrink: 0;
}

.progress-ring {
  width: 119px;
  height: 119px;
}

.progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  line-height: 27px;
}

.progress-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-title {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  line-height: 36px;
}

.step-next {
  font-size: 16px;
  font-weight: 600;
  color: #747474;
  line-height: 24px;
}

/* ── Form Card (steps 1-9) ── */
.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px 24px;
  margin-bottom: 16px;
  margin-top: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* ── Form Card (step 0) ── */
.form-card-0step {
  background: #fff;
  border-radius: 30px;
  padding: 20px 20px 20px;
  margin-bottom: 15px;
  margin-top: 20px;
  box-shadow: rgba(149, 157, 165, 0.4) 0px 8px 24px;
}

/* ── Steps ── */
.step[hidden] {
  display: none;
}

.step {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.progress-arc {
  transition: stroke-dashoffset 0.5s ease;
}

/* ── Topic Icon ── */
.topic-icon {
  width: 33px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.question-title {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  line-height: 30px;
  margin-bottom: 10px;
}

.question-desc {
  font-size: 16px;
  font-weight: 400;
  color: #40505b;
  line-height: 24px;
  margin-bottom: 28px;
}

/* ── Help Icon & Tooltip ── */
.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid;
  color: #40505b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  line-height: 1;
  margin-left: 10px;
}

.help-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: normal;
  z-index: 999;
  line-height: normal;
  width: 500px;
}

.help-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
}

.help-tooltip-0step {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 999;
  line-height: normal;
}




.help-icon:hover .help-tooltip,
.help-icon:focus .help-tooltip,
.help-icon:hover .help-tooltip-0step,
.help-icon:focus .help-tooltip-0step {
  display: block;
}

/* ── Options Grid ── */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.options-grid-boendeform {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background: #fff;
  border: 0.5px solid #d9d9d9;
  border-radius: 19px;
  padding: 14px 16px;
  height: 97px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
  color: #40505b;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.option-card:hover {
  border-color: #b0ccc6;
  background: #f5fafa;
}

.option-card.selected {
  background: #e6f0f0;
  border: 1px solid #83a59d;
  color: #000;
  box-shadow: none;
}

.option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-icon img {
    width: 22px;
}

.option-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

/* ── Options List (Step 5: grid on desktop, vertical on mobile) ── */
.options-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.option-card--list {
  height: 97px;
}

/* ── Checkmark ── */
.checkmark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 19px;
  height: 19px;
  background: #00995c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.option-card.selected .checkmark {
  opacity: 1;
  transform: scale(1);
}

/* ── Number Selector (Step 2) ── */
.number-selector {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.number-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0.5px solid #d9d9d9;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #40505b;
  transition: all 0.2s ease;
}

.number-btn:hover {
  border-color: #b0ccc6;
  background: #f5fafa;
}

.number-btn.selected {
  background: #e6f0f0;
  border: 1px solid #83a59d;
  color: #000;
  box-shadow: none;
}

/* ── Input Field (Step 4) ── */
.input-field {
  display: flex;
  align-items: center;
  margin-top: 20px;
  gap: 14px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field.filled {
  border-color: #83a59d;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
}

.input-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.input-content {
  flex: 1;
  min-width: 0;
}

.input-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #40505b;
  line-height: 18px;
}

.input-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.input-value {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  line-height: 24px;
  border: none;
  outline: none;
  background: transparent;
  width: auto;
  min-width: 3ch;
  padding: 0;
}

.input-value::placeholder {
  color: #40505b;
}

.input-suffix {
  font-size: 16px;
  font-weight: 600;
  color: #40505b;
  line-height: 24px;
  flex-shrink: 0;
  display: none;
}

.input-field.filled .input-suffix {
  display: inline;
}

.input-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.input-check svg[hidden] {
  display: none !important;
}

/* ── Continue Button ── */
.bottom-bar {
  margin-top: 16px;
  background: #fff;
  border-radius: 20px;
  padding:20px;
}

.bottom-bar[hidden] {
  display: none;
}

.continue-btn {
  width: 100%;
  height: 61px;
  background: #fda995;
  border: none;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  line-height: 27px;
  transition: background 0.2s ease, opacity 0.2s ease;
  position: relative;
}

.continue-btn svg {
  position: absolute;
  right: 20px;
}

.continue-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.continue-btn:not(:disabled):hover {
  background: #00995c;
  color: #fff;
}

.continue-btn:not(:disabled):active {
  transform: scale(0.99);
}

/* ── Info Banner (Step 4) ── */
.info-banner {
  background: #BFD9D1;
  border-radius: 20px;
  padding: 16px 24px;
  margin-bottom: 15px;
}

.info-banner[hidden] {
  display: none !important;
}

.info-banner strong {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  display: block;
  margin-bottom: 4px;
}

.info-banner p {
  font-size: 13px;
  font-weight: 400;
  color: #40505b;
  line-height: 20px;
}

.info-banner--icon {
  display: flex;
  gap: 12px;
  align-items: center;
  display: flex;
}

.info-banner--icon[hidden] {
  display: none !important;
}

.info-banner-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Motivational Banner (Step 3) ── */
.motivational-banner {
  background: #9fc1b9;
  border-radius: 20px;
  padding: 24px 28px;
  text-align: center;
  margin-bottom: 15px;
}

.motivational-banner[hidden] {
  display: none;
}

.banner-title {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  line-height: 30px;
  margin-bottom: 0.5rem;
}

.banner-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  line-height: 24px;
}

/* ── Trust Badges ── */
.trust-badges {
  background: #fff;
  border-radius: 20px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 15px;
}

.trust-badges[hidden] {
  display: none !important;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #40505b;
  line-height: 28px;
}

.badge-row svg {
  flex-shrink: 0;
}

/* ── Legal Warning ── */
.legal-warning {
  background: #fff;
  border-radius: 20px;
  padding: 18px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.legal-warning[hidden] {
  display: none !important;
}

.warning-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-text {
  font-size: 9px;
  font-weight: 400;
  color: #000;
  line-height: 13.5px;
}

.legal-text strong {
  font-weight: 600;
}

.legal-text a {
  color: #006ea5;
  text-decoration: underline;
}

.legal-text a:hover {
  text-decoration: none;
}

/* ── Date Picker (Step 7) ── */
.date-picker-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.date-picker-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.date-picker-row[hidden] {
  display: none !important;
}

.date-label {
  font-size: 14px;
  font-weight: 600;
  color: #40505b;
  line-height: 21px;
}

.date-label .help-tooltip {
  white-space: nowrap;
  width: auto;
}

.date-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.date-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 0.5px solid #d9d9d9;
  border-radius: 10px;
  padding: 0 16px;
  height: 61px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.date-icon {
  flex-shrink: 0;
  margin-right: 10px;
}

.date-select {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 20px;
}

.date-chevron {
  position: absolute;
  right: 16px;
  pointer-events: none;
}

/* ── Cosigner Cards (Step 10) ── */
.cosigner-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cosigner-card {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 0.5px solid #d9d9d9;
  border-radius: 14px;
  padding: 16px 20px;
  height: 98px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.cosigner-card:hover {
  border-color: #b0ccc6;
  background: #f5fafa;
}

.cosigner-card.selected {
  background: #e6f0f0;
  border: 1px solid #83a59d;
  box-shadow: none;
}

.cosigner-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  margin-left: 16px;
}

.cosigner-title {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  line-height: 24px;
}

.cosigner-desc {
  font-size: 12px;
  font-weight: 400;
  color: #40505b;
  line-height: 18px;
}

.cosigner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cosigner-card .checkmark {
  top: 12px;
  right: 12px;
}

/* ── Wide Input (Steps 6, 9, 10) ── */
.input-value--wide {
  width: 100%;
}

/* ── Cosigner form card spacing ── */
.form-card--cosigner {
  margin-top: 15px;
}

/* ── Step 0: Landing Form ── */

/* Two-column layout on desktop — breaks out of container */
.step0-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px  20px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.step0-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
}

.step0-badges {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.step0-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #40505b;
  background: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.step0-badge i {
  font-size: 16px;
  color: #00995c;
}

.form-card-0step {
  margin-top: 0;
}

/* Warning section (spans full width below columns) */
.step0-warning {
  grid-column: 1 / -1;
}

.step0-warning .warning {
margin-top: 10px;
    display: flex;
    box-shadow: rgba(149, 157, 165, 0.4) 0px 0 3px 1px;
    border-radius: 10px;
    padding: 10px 15px;
    align-items: center;
}

.step0-warning .warning-icon {
  flex-shrink: 0;
 padding: 0 15px 0 0;

}

.step0-warning .warning-icon svg {
  width: 48px;
  height: 48px;
}

.step0-warning .warning p {
  font-size: 11px;
  color: #40505b;
  line-height: 17px;
}

.step0-warning .warning p strong {
  font-size: 13px;
  color: #000;
  display: block;
  margin-bottom: 4px;
}

.step0-warning .warning p a {
  color: #006ea5;
  text-decoration: underline;
}

/* Hide sticky header on step 0 */
.sticky-header.step0-active {
  display: none;
}

/* Trustpilot widget */
.tp-widget-wrapper {
  margin-bottom: 24px;
}

.tp-widget-wrapper a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    justify-content: center;
    padding-bottom: 10px;
    padding-top: 10px;
}

.tp-widget-trustscore {
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  color: #000;
  white-space: nowrap;
}

.tp-widget-stars {
  width: 110px;
  flex-shrink: 0;
}

.tp-star__canvas { fill: #00B67A; }
.tp-star__canvas--half { fill: #dcdce6; }

.tp-widget-logo {
  width: 70px;
  flex-shrink: 0;
}

/* Slider sections */
.slider-section {
  margin-bottom: 32px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.slider-label {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

/* Unit container — matches Trygga's form: "300 000 | kr" */
.unit-container {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #c8c8c8;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.unit-input {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1a2a3a;
  border: none;
  outline: none;
  background: transparent;
  width: 10ch; 
  text-align: right;
  padding: 10px 14px;
}

.unit {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #40505b;
  padding: 0 16px;
  border-left: 1.5px solid #c8c8c8;
  background: #fff;
}

/* Custom range slider */
.custom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(to right, #FDA995 0%, #E6F0F0 0%);
  outline: none;
  cursor: pointer;
  margin: 4px 0;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FDA995;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.custom-slider::-moz-range-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FDA995;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.custom-slider::-moz-range-track {
  height: 10px;
  border-radius: 5px;
}

.slider-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: #747474;
  font-weight: 500;
}

/* Repayment section */
.repayment-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-top: 4px;
}

.repayment-controls {
  display: flex;
  align-items: center;
  gap: 2px
}

.repayment-btn {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  border: none;
  background: #BEDBD4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-border-radius: 50%;
 box-shadow:  0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.repayment-btn svg line {
  stroke: #2c3e3a;
}

.repayment-btn:hover {
  background: #a8cdc5;
}

.repayment-btn:active {
  transform: scale(0.95);
}

.repayment-select {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #000;
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-width: 70px;
}

/* Purpose section */
.purpose-section {
  margin-bottom: 32+px;
}

.purpose-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.purpose-header span{
  font-size: 14px;
  font-weight: 500;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-bottom: 10px;
}

.purpose-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid #d9d9d9;
  border-radius: 16px;
  padding: 18px 8px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
  min-height: 90px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.purpose-card:hover {
  border-color: #b0ccc6;
  background: #f5fafa;
}

.purpose-card.selected {
    box-shadow: rgb(212, 212, 208) 1px 1px 4px 0;
    background: #e6f0f0;
    border: 1px solid #83a59d;}

.purpose-icon {
  color: #40505b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.purpose-icon i {
  font-size: 20px;
  color: #000;
}

.purpose-label {
  font-size: 13px;
  font-weight: 600;
  color: #40505b;
}

.purpose-card.selected .purpose-label {
  color: #000;
}

/* Sub-purpose sections (motorfordon, renovering, hälsa, övrigt) */
.motorfordon-section,
.sub-purpose-section {
  margin: 0px -20px 0px;
  border-radius: 0;
  padding: 16px 20px;
}

.motorfordon-section[hidden],
.sub-purpose-section[hidden] {
  display: none !important;
}

.motorfordon-label,
.sub-purpose-label {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-bottom: 12px;
}

.motorfordon-grid,
.sub-purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Samla lån section */
.samla-section {
  margin: 32px 0;
}

.samla-section[hidden] {
  display: none !important;
}

.samla-value {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

/* Consent section */
.consent-section {
  text-align: center;
  margin-top: 10px;
}

.consent-text {
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.5;
  text-align: center;
  padding: 0rem;
  font-weight: 300;
}

.consent-text a {
  color: #6B9080;
  text-decoration: underline;
  font-weight: 500;
}

.continue-btn--landing {
  margin-top: 0;
}

/* Loan example text below step 0 form */
.loan-example {
  padding: 16px 0px;
  margin-top: 8px;
}

.loan-example p {
font-size: 13px;
    font-weight: 200;
    line-height: normal;
}

/* Tech / BankID badges */
.tech {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.tech .safety {
display: flex;
    align-items: center;
    text-transform: uppercase;
    color: #424960;
    height: 40px;
    margin: 0 0 8px 0;
    font-weight: 300;
    padding-left: 35px;
    background-repeat: no-repeat;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MCA1MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgNTAgNTAiPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+KiB7IGZpbGw6ICMzMzM7IH08L3N0eWxlPjxwYXRoIGQ9Ik0zNCAyM2gtMnYtNGMwLTMuOS0zLjEtNy03LTdzLTcgMy4xLTcgN3Y0aC0ydi00YzAtNSA0LTkgOS05czkgNCA5IDl2NHoiLz48cGF0aCBkPSJNMzMgNDBIMTdjLTEuNyAwLTMtMS4zLTMtM1YyNWMwLTEuNyAxLjMtMyAzLTNoMTZjMS43IDAgMyAxLjMgMyAzdjEyYzAgMS43LTEuMyAzLTMgM3pNMTcgMjRjLS42IDAtMSAuNC0xIDF2MTJjMCAuNi40IDEgMSAxaDE2Yy42IDAgMS0uNCAxLTFWMjVjMC0uNi0uNC0xLTEtMUgxN3oiLz48Y2lyY2xlIGN4PSIyNSIgY3k9IjI4IiByPSIyIi8+PHBhdGggZD0iTTI1LjUgMjhoLTFsLTEgNmgzeiIvPjwvc3ZnPg==);
    background-size: 50px 50px;
    background-position: -7px -7px;
}

.tech .safety img {
  height: 50px;
  width: auto;
}

.tech .bankid img {
  height: 40px;
  width: auto;
}

.loan-example strong {
  font-weight: 600;
}

/* ══════════════════════════════════════════
   RESPONSIVE: Mobile (≤ 480px)
   ══════════════════════════════════════════ */
@media (max-width: 480px) {
  body {
    background: #e6f0f0;
  }

  .consent-text{
    padding: 0;
  }

  .help-tooltip{
    width: auto;
  }

  /* Swap background shapes */
  .bg-shape--desktop {
    display: none;
  }

  .bg-shape--mobile {
    display: block;
  }

  .container {
    max-width: 100%;
    padding: 0 0 0;
  }

  .sticky-header {
    padding-top: 0;
    background: #e6f0f0;
    border-radius: 50%;
  }

  .info-banner {
            margin: 0 19px 12px;
}

  /* Logo bar: left-aligned with bottom border */
  .logo-bar {
    background: #e6f0f0;
    padding: 0 19px;
    height: 48px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
  }

  .logo-img {
    height: 22px;
  }

  /* Progress: rounded bottom corners, full width */
  .progress-section {
    border-radius: 0 0 40px 40px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
    padding: 18px 19px 24px;
    gap: 16px;
    margin-bottom: 16px;
  }

  .back-btn svg {
    width: 10px;
    height: 16px;
  }

  .progress-ring-container {
    width: 85px;
    height: 85px;
  }

  .progress-ring {
    width: 85px;
    height: 85px;
  }

  .progress-text {
    font-size: 17px;
    line-height: 25.5px;
  }

  .step-title {
    font-size: 20px;
    line-height: 30px;
  }

  .step-next {
    font-size: 12px;
    line-height: 18px;
  }

  /* Form card: larger radius, full-width margins */
  .form-card {
    border-radius: 40px;
    margin: 15px 19px 24px;
    padding: 23px 19px 28px;
  }

  .question-title {
    font-size: 18px;
    line-height: 27px;
  }

  .question-desc {
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 24px;
  }

  /* Options: 2x2 grid on mobile */
  .options-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .options-grid-boendeform{
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .option-card {
    height: 94px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
  }

  /* Options list: single column on mobile */
  .options-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .option-card--list {
    height: 90px;
  }

  /* Motivational banner */
  .motivational-banner {
    margin: 0 19px 12px;
    border-radius: 40px;
    padding: 20px;
  }

  /* Trust badges */
  .trust-badges {
    margin: 0 19px 12px;
    padding: 18px 20px;
  }

  .badge-row {
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
  }

  /* Number selector on mobile */
  .number-selector {
    gap: 10px;
  }

  .number-btn {
    width: 48px;
    height: 48px;
    font-size: 16px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
  }

  /* Input field on mobile */
  .input-field {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
  }

  /* Continue button on mobile */
  .bottom-bar {
    margin: 16px 20px;
    border-radius: 20px;
    padding: 20px;
  }

  /* Legal warning */
  .legal-warning {
    margin: 0 19px 16px;
    padding: 18px 20px;
  }

  /* Date picker on mobile */
  .date-select-wrapper {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
  }

  .date-select {
    font-size: 14px;
  }

  /* Cosigner cards on mobile */
  .cosigner-card {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
  }

  /* Cosigner form card on mobile */
  .form-card--cosigner {
    margin-top: 12px;
  }

  /* Step 0: single column on mobile */
  .step0-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .step0-left {
    padding: 16px 19px 0;
  }

  .step0-badges {
    gap: 10px;
  }

  .step0-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .form-card-0step{
        margin-left: 10px;
    margin-right: 10px;
  }


  .step0-warning .warning {
    border-radius: 20px;
    padding: 16px;
  }

  /* Step 0: purpose grid 2 columns on mobile */
  .purpose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .motorfordon-grid,
  .sub-purpose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
