.powered-by-text {
  font-size: 13px;
  color: #666;
  text-align: left;
  width: 100%;
  font-weight: 500;
}


.tga-logo {
  width: 150px;
  height: auto;
  padding-top: 0.6rem;
}

.powered-by-tga {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .tga-logo {
    width: 150px;
  }
}

.powered-by-tga {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 25%;
}



#additionalNotesContainer {
  margin-top: 3rem;
  width: 100%;
}

#additionalNotes {
  margin-top: 1rem; 
  width: 100%;
  min-height: 110px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 10px;
  border: 1px solid #d6d6d6;
  background-color: #fafafa;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#additionalNotes:focus {
  outline: none;
  border-color: #571f5a;          /* samma accent som dina knappar */
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(91, 44, 255, 0.1);
}

#additionalNotes::placeholder {
  color: #999;
}

.left-align-wrapper {
  text-align: left;
  width: 100%;
  display: block;
  margin-top: 1rem; /* ger lite luft ovanför */
}

/* Gör så att textinnehåll inte påverkas av centrerade parent-divar */
.left-align-wrapper * {
  text-align: left;
}

/* ===============================
   Extra-option i "Most common"-stil
=============================== */
.extra-option {
  display: inline-flex;               /* gör att bredden blir runt innehållet */
  align-items: left;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 14px;
  font-size: 13px;
  color: #1d1d1d;
  background-color: #ffd700;          /* guldgul bakgrund */
  border: 2px solid #ffd700;          /* samma färg som bakgrund */
  border-radius: 9999px;              /* rundad “pill” */
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  width: fit-content;               /* anpassa bredden efter innehållet */
}

.extra-option:hover {
  background-color: #ffdf33;          /* lite ljusare gul vid hover */
  border-color: #ffdf33;
}

/* Checkboxen */
.extra-option input[type="checkbox"] {
  accent-color: #2b273f;              /* mörk accent för kontrast */
  width: 13px;
  height: 13px;
  cursor: pointer;
}

/* Texten */
.extra-option label {
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  margin: 0;
  padding: 0;
}

/* När ibockad – gör texten lite mörkare */
.extra-option input[type="checkbox"]:checked + label {
  color: #000;
  font-weight: 700;
}


.linktext {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #2b273f; /* Dark plum */
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
  font-size: 13px;
  text-align: left !important;
}

/* Snygg underline-animation */
.linktext::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background-color: #79628b; /* Muted lavender */
  transition: width 0.25s ease;
}

/* Hover-effekt */
.linktext:hover {
  color: #2b273f; /*  */
}

.linktext:hover::after {
  width: 100%;
}

/* Om du vill ha extra fokus-stil vid tab-navigering */
.linktext:focus-visible {
  outline: 2px solid #71cac9; /* Cool Aqua */
  outline-offset: 3px;
  border-radius: 2px;
}

/* ================================
   Hjälptext + ikon (högersektion)
================================ */
.helper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  width: 100%;
  padding-left: 4px;
  font-weight: 600;
  font-size: 18px;
  padding: 0px;
  margin-left: 2px;
}

.helper-header label {
  font-weight: 600;
  font-size: 18px;
  padding: 0px
}

.helper-right {
  display: flex;
  align-items: center; /* ✅ håller text & ikon på samma höjd */
  gap: 6px;            /* avstånd mellan "hjälp?" och frågetecknet */
}

.helper-icon-text {
  font-size: 10px;
  color: #ffffff; /* Deep Purple */
  margin: 0;
  font-weight: 500;
}

.help-link {
  text-decoration: none;
}

.help-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #79628b;
  position: relative;
  color: #fff;
  font-size: 12px;

}

.help-icon:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #571f5a;
  position: relative;
}

/* Tooltip-text */
.help-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  right: 130%; /* placerar tooltipen till vänster */
  transform: translateY(-50%);
  background-color: #2b273f; /* samma mörklila bakgrund */
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: normal; /* tillåter radbrytning */
  width: 220px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Liten pil som pekar mot ikonen */
.help-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 120%;
  transform: translateY(-50%) rotate(180deg); /* 🟢 vänd pilen */
  border-width: 5px;
  border-style: solid;
  border-color: transparent #2b273f transparent transparent;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 99;
}

/* Visa tooltip vid hover */
.help-icon:hover::after,
.help-icon:hover::before {
  opacity: 1;
}


.help-icon-green {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #4c7a50;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: relative; /* krävs för tooltip */
}

.help-icon-green {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #4c7a50;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: relative;
  
}

/* Hover-färg */
.help-icon-green:hover {
  background-color: #7abf7a;
}

/* Tooltip-texten (höger om ikonen) */
.help-icon-green::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  left: 130%;
  transform: translateY(-50%);
  background-color: #2b273f;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: normal;        /* 🟢 tillåter radbrytning */
  width: 220px;               /* 🟢 maxbredd på tooltip */
  line-height: 1.4;           /* 🟢 gör texten luftigare */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Liten pil som pekar mot ikonen */
.help-icon-green::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 120%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent #2b273f transparent transparent;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 99;
}

/* Visa tooltip vid hover */
.help-icon-green:hover::after,
.help-icon-green:hover::before {
  opacity: 1;
}



.golfClub-image-wrapper {
  text-align: center;
  margin-bottom: 1rem;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.club-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 1rem;
}

.secondary-action {
  background: transparent;
  border: 2px solid #79628b;
  color: #79628b;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
}
.secondary-action:hover {
  background: #79628b;
  color: #fff;
}


.btn-primary {
  background: #4c7a50;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #3f6543;
}

.btn-outline {
  margin-top: 1.5rem;
  background: transparent;
  border: 2px solid #79628b;
  color: #79628b;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #79628b;
  color: #fff;
}


/* ==========================================================================
   BEKRÄFTELSESTEG (CONFIRMATION STEP)
========================================================================== */


#confirmationTotal {
  font-size: 1.2em;
  font-weight: 700;
}

#confirmationStep {
  display: flex;
  flex-direction: column;       /* Stapla innehållet snyggt */
  justify-content: center;      /* Centrera vertikalt */
  align-items: center;          /* Centrera horisontellt */
  text-align: center;
  width: 100%;
  min-height: 100vh;            /* Full höjd på viewporten */
  margin: 0 auto;
  padding: 4rem 1rem 6rem 1rem;
  background: linear-gradient(180deg, #fafafa 0%, #f2f0f4 100%);
}

#confirmationStep .helper-header {
  text-align: center;
  margin-bottom: 2rem;
  justify-content: center;
}

.confirmation-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin: auto;
  max-width: 650px;
  width: 100%;
  text-align: center;
  align-self: center;
  animation: fadeInUp 0.5s ease;
}

/* ✅ Ikon + rubrik */
.confirmation-header {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 650px;
  margin: auto; 
}

.confirmation-icon {
  width: 64px;
  height: 64px;
  color: #7abf7a; /* Mjuk grön, matchar dina knappar */
  margin-bottom: 1rem;
  margin: auto;
}

.confirmation-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1d1d1d;
  margin: 0.5rem 0;
}

.confirmation-subtext {
  color: #555;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* 📦 Summering */
.confirmation-summary {
  background: #fafafa;
  border: 1px solid #eee;
  /* border-radius: 12px; */
  padding: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  
}

.confirmation-summary h3 {
  margin-bottom: 1rem;
  color: #2b273f;
  font-size: 1.2rem;
  font-weight: 600;
}


.confirmation-clubs {
  text-align: center;
  margin-top: 1.2rem;
  font-weight: 300;
  color: #1d1d1d;
}



.confirmation-total {
  text-align: center;
  margin-top: 1.2rem;
  font-weight: 200;
  color: #1d1d1d;
}


.confirmation-clubs-block {
  display: inline-block;
  /*margin-top: 1.5rem;*/
  /*background: #fafafa;*/
  /*border-radius: 12px;*/
  padding: 1rem 2rem;
  border: 1px solid #eee;
}

/* 🚚 Extra-block */
.confirmation-extra {
  margin-top: 0;
  background: #f7f2f8;
  /*
  border-radius: 12px;
  */
  padding: 1.5rem;
  
}


.confirmation-extra h4 {
  margin-top: 0;
  color: #571f5a;
  font-size: 1.2rem;
  font-weight: 600;
}

.confirmation-extra p {
  color: #444;
  margin: 0.5rem 0 1rem;
}


.confirmation-club {
  color: #1d1d1d;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.club-name {
  color: #1d1d1d;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.club-price {
  color: #1d1d1d;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* 🛒 Länkknapp */
.btn-primary {
  background: linear-gradient(90deg, #571f5a 0%, #79628b 100%);
  color: #fff;
  font-weight: 400;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* 🔁 Börja om-knappen */
.btn-outline {
  margin-top: 2rem;
  border: 2px solid #571f5a;
  color: #571f5a;
  background: transparent;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: #571f5a;
  color: #fff;
}

/* ✨ Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}





/* ==========================================================================
   BASSTILAR / RESET
========================================================================== */
body {

  
/*  font-family: 'monterrat', sans-serif;*/
  margin: 0;
  padding: 0;
  background-color: #1d1d1d;
  color: #1d1d1d;

}



#valuation-app-container {
  background: #fafafa;
  border-radius: 8px;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: block;
}



button,
select {
  /*font-family: 'Inter', sans-serif;*/
  font-weight: 500;
  color: #1d1d1d;
}

/* ==========================================================================
   LAYOUT
========================================================================== */

/* 🔄 Spinner container */
.spinner-wrapper {
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  height: 40px;
  width: 100%;
  margin: 0;
}

/* 🌀 Själva snurran */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top: 4px solid #cccccc2f; /* Primärfärg */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  align-items: center;
  margin: 0 auto;
}

/* 🔁 Snurrande animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



#valuation-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem;
}


#valuation-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 2rem;
  gap: 2rem;
}

#valuation-summary {
  flex: 1;
  max-width: 40%;
  padding-right: 20px;
}

#valuation-stepflow {
  flex: 1.5;
  max-width: 60%;
}

/* ==========================================================================
   TYPOGRAFI & TEXT
========================================================================== */

.step-box > label {
  text-align: left; /*!important;*/
  display: block;
  width: 100%;
  padding-left: 4px;
  margin-bottom: 8px;
  font-weight: 800 !important;
  color: #1d1d1d;
  font-size: 18px;
}

.loading-text {
  font-size: 13px;
  color: #666;
  margin: -6px 0 10px 4px;
  text-align: center !important;
  width: 100%;
  font-weight: 500;
}

.helper-text {
  font-size: 13px;
  color: #666;
  margin: -6px 0 10px 4px;
  text-align: left;
  width: 100%;
  font-weight: 500;
}


.helper-text a{
  text-decoration: none;
  border-bottom: 1px solid #666; /* Muted Lavender */
  transition: color 0.2s ease, border-color 0.2s ease;
}



.terms-text {
  font-size: 10px;
  color: #666;
  margin: -6px 0 10px 4px;
  text-align: center;
  width: 100%;
  font-weight: 500;
}


.terms-text a{
  text-decoration: none;
  border-bottom: 1px solid #666; /* Muted Lavender */
  transition: color 0.2s ease, border-color 0.2s ease;
}

.extraClubsHelper-text {
  font-size: 13px;
  color: #666;
  margin: 0;
  text-align: left;
  width: 100%;
  font-weight: 500;
  padding-bottom: 0.25rem; 
}

.club-title {
  font-weight: 600;
  font-size: 15px;
  color: #1d1d1d;
}

.club-description {
  font-size: 14px;
  color: #555;
  margin-top: 6px;
}

.club-value {
  font-size: 14px;
  margin-top: 4px;
  color: #333;
}

/* ==========================================================================
   PROGRESS BAR
========================================================================== */
.progress-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px auto 30px auto;
  padding: 0 24px;
}

.back-arrow {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.progress-bar {
  flex: 2;
  background-color: #e0e0e0;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

.progress-bar-fill {
  background-color: #7abf7a !important;
  height: 100%;
  transition: width 0.3s ease-in-out;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}

.progress-text {
  min-width: 50px;
  text-align: right;
  font-size: 14px;
  color: #414141;
}

.progress-text svg {
  fill: #28a745;
}

/* ==========================================================================
   SAMMANFATTNING (SUMMARY BOX)
========================================================================== */
.summary-box {
  background-color: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-size: 15px;
  margin-bottom: 24px;
  margin: 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  

}

.total-value {
  font-weight: bold;
  font-size: 16px;
  margin-top: 16px;
}

/* ==========================================================================
   KLUBBLISTA & KORT (CLUB CARD)
========================================================================== */
.club-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background-color: #f9f9f9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  position: relative;
}

.remove-button,
.remove-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #eee;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 13px;
  border-radius: 4px;
}

.remove-btn {
  font-size: 13px;
  padding: 6px 10px;
  background: #eee;
  margin-top: 8px;
}

.remove-btn .remove-icon {
  display: none;
}

/* ==========================================================================
   Fraktformulär (FORM BOX)
========================================================================== */

.form-box {
  background: #fff;      /* samma bakgrund */
  border: 1px solid #ddd;   /* samma kant */
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.form-box label {
  font-weight: 600;
  margin-top: 0.5rem;
}

.form-box input {
  width: 100%;
  padding: 0.4rem;
  margin-bottom: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.errorMessages {
  color: #b3261e;
  margin-top: 0.5rem;
  font-size: 14px;
  display: none;
}

.confirmMessages {
  color: #1d1d1d;
  margin-top: 0.5rem;
  font-size: 14px;
}

/* ==========================================================================
   SERVICE POINTS (SERVICE POINTS)
========================================================================== */

.qrMockup {
  width: 150px;
  height: 150px;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.sp-row {
  display: flex;
  align-items: center;   /* Vertikal centrering */
  justify-content: Center; /* Vänsterjustering */
  padding: 8px 12px;     /* Mindre padding än tidigare */
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 8px;    /* Mindre mellanrum */
}

.sp-row:hover {
  border-color: #571f5a; /* Deep Purple */
  background-color: #f7f2f8;
}

.sp-name {
  font-weight: 600;
  font-size: 14px;  /* Mindre text */
  color: #1d1d1d;
}

.sp-addr {
  font-size: 13px;
  color: #555;
  margin-top: 2px;  /* Liten spacing */
}

.map-link {
  font-size: 12px;
  color: #1b489b; /* Royal Blue */
  text-decoration: underline;
  margin-top: 2px;
  display: inline-block;
}

/* ==========================================================================
   STEG (STEP BOX)
========================================================================== */
.step-box {
  background-color: #ffffff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 24px;
  max-width: 750px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.step-box select {
  appearance: none;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  font-size: 14px;
  color: #1d1d1d;
  box-sizing: border-box;
  width: 100%;
}

.step-box select:focus {
  outline: none;
  border-color: #79628b;
}

.step-box select,
.step-box .main-action {
  width: 100%;
  margin: 0 auto;
  margin-top: 12px;
  box-sizing: border-box;
}

/* ==========================================================================
   KNAPPAR
========================================================================== */


#ironExtras {
  display: none;
  margin-top: 1rem;
  text-align: left;  /* 👈 gör att allt i div:en vänsterställs */
}

.extra-clubs-container {
  display: flex;
  gap: 1rem; /* avstånd mellan knappar */
  flex-wrap: wrap; /* så de bryts på små skärmar */
}



.extra-club-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.extra-choice {
  border: 2px solid #79628b; /* Muted Lavender */
  background: white;
  color: #1d1d1d;
  padding: 0.5rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  gap: 2rem;
  padding-right: 2rem;
  position: relative;
  text-align: left;
}

.extra-choice:hover {
  background: #eccdd5; /* Soft Pink */
}

.extra-choice.active {
  background: #571f5a; /* Deep Purple */
  color: white;
  border-color: #571f5a;
}

.extra-choice.active::after {
  /* content: "✓"; */
  position: absolute;
  right: 10px;   /* flyttar bort från kanten */
  top: 30%;
  transform: translateY(-50%);
  font-weight: bold;
  size: 10px;
}

#wedgeLoftContainer {
  margin-top: 1rem;
  padding: 1rem;
  background: #f7f2f8; /* Light beige/lavender för att smälta in snyggt */
  border-radius: 10px;
  text-align: center !important;
  align-content: center !important;
}


#customLoftInputWrapper {
  margin-top: 1rem;
}

#customLoftInput {
  width: 80px;
  padding: 8px 10px;
  border: 2px solid #79628b;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

#wedgeLoftContainer .helper-header label,
#customLoftInputWrapper .helper-header label {
  font-size: 16px;
  font-weight: 600;
}

/* Primära knappar */
.main-action {
  padding: 14px 24px;
  font-size: 16px;
  border-radius: 30px;
  background-color: #7abf7a;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.main-action:hover:not(:disabled) {
  background-color: #4c7a50;
}

.main-action:disabled {
  background-color: #ccc;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

/* Gradient-knapp */
.gradient-button {
  /*background: linear-gradient(to right, #4c7a50, #7abf7a, #ffd700);*/
  background: #4c7a50;
  color: white;
}

.gradient-button:disabled {
  background-color: #ccc;
  opacity: 0.6;
  box-shadow: none;
}

.gradient-button:hover {
  opacity: 0.9;
}

/* Sekundär knapp */
.secondary-action {
  background-color: transparent;
  color: #571f5a;
  border: 1px solid #571f5a;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

/* Standardknapp */
.standard-button {
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #f2f2f2;
  color: #1d1d1d;
  cursor: pointer;
}

.standard-button:hover {
  background-color: #e0e0e0;
}

/* Vänster-/Högerval */
.button-choice {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  flex: 1;
  text-align: center;
  padding: 14px 0;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: white;
  transition: background-color 0.2s;
}

.button-choice:hover {
  border-color: #571f5a;
  background-color: #f7f2f8;
}

#handButtons .button-choice.selected {
  border-color: #571f5a;
  background-color: #f7f2f8;
  /*color: #fff;*/
}

.button-choice:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.button-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ==========================================================================
   SKICKVAL (CONDITION OPTIONS)
========================================================================== */



.condition-option.selected {
  border-color: var(--primary-color, #571f5a);
  background-color: var(--primary-color, #f7f2f8);
  color: white;
}


.image-option-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.condition-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
  border: 2px solid #ddd;
  border-radius: 12px;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  width: 100%;
}

.condition-option:hover {
  border-color: #571f5a;
  background-color: #f7f2f8;
}

.condition-option-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.condition-option span,
.condition-option small {
  text-align: left;
  width: 100%;
  word-break: break-word;
}

.condition-option strong,
.condition-option small {
  display: block;
}

.condition-option span {
  font-weight: 600;
  font-size: 15px;
  color: #1d1d1d;
}

.condition-option small {
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}

.condition-option img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
  border: none;
}

/* ==========================================================================
   BADGE & IKONER
========================================================================== */

.highlight-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #ffd700;
  color: #555;
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  max-width: fit-content;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  z-index: 2;
}

.highlight-badge svg {
  width: 10px;
  height: 10px;
  fill: #555;
}

/* ==========================================================================
   POST-ADD-OPTIONS
========================================================================== */
#postAddOptions {
  display: flex;
  gap: 2rem;
  margin: 0;
  flex-wrap: wrap;
}

/* ==========================================================================
   CHECKOUT-STEG
========================================================================== */

#checkoutWrapper {
  display: flex;
  justify-content: center;  /* centrerar horisontellt */
  align-items: flex-start;  /* lägger innehållet högst upp istället för i mitten */
  min-height: auto;         /* ta bort den fasta höjden */
}

.back-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #571f5a; /* Deep Purple */
  display: flex;
  align-items: center;
}
.back-arrow:hover {
  opacity: 0.7;
}

#checkoutSteps .back-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 8px;
  display: flex;
  align-items: center;
}

#checkoutSteps .back-arrow svg {
  stroke: #571f5a; /* din deep purple */
  width: 20px;
  height: 20px;
}

.back-arrow.hidden {
  display: none !important;
}

/* ================================
   Inlämningsställe-boxar (smalare & cleana)
================================ */
.sp-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  max-width: 500px; /* Gör boxen smalare */
  margin: 0 auto 8px auto; /* Centrerar dem */
}

.sp-row:hover {
  border-color: #571f5a;
  background-color: #f7f2f8;
}

.sp-row input[type="radio"] {
  margin: 0;
}

.sp-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-name {
  font-weight: 600;
  font-size: 15px;
}

.sp-addr {
  font-size: 13px;
  color: #555;
}

.form-label {
text-align: left; /*!important;*/
  display: block;
  width: 100%;
  padding-left: 4px;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #2b273f;
  font-size: 14px;
  line-height: 0.8; /* gör labeln mer kompakt */
}

.checkout-layout {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.checkout-left {
  flex: 1;
  min-width: 300px;
}

.checkout-right {
  flex: 1;
  min-width: 300px;
}


.checkout-steps {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0% 10% 5%;
  margin-bottom: 2rem;
  gap: 0.5rem;
}

.step-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #cccccc12;
  background-color: #ccc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  transition: all 0.3s ease;
}

.step-indicator.active {
  background-color: #28a745;
  color: white;
}

.step-line {
  flex: 1;
  height: 2px;
  background-color: #919191;
}


.checkout-step {
  flex: 1;
  padding: 0.5rem;
  background-color: #cccccc12;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
  color: #571f5a;
  margin: 0 0.25rem;
}

.checkout-step.active {
  background-color: #571f5a;
  color: white;
}

#customerForm input,
#customerForm textarea {
  display: block;
  width: 100%;
  padding: 0.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 0rem;
  margin-bottom: 2rem;
  font-size: 14px;
  line-height: 5px !important;
}

/* ==========================================================================
   RESPONSIV DESIGN (MOBILE)
========================================================================== */
@media screen and (max-width: 768px) {
  body {
    padding-bottom: 100px;
  }

  .helper-text {
    font-size: 1.2rem;
  }

  .powered-by-text {
    font-size: 1.2rem;
  }

  .confirmation-subtext {
    font-size: 1.2rem;
  }

  btn.outline {
    font-size: 12px;
    border: 1px solid #571f5a;
  }

  .standard-button {
    font-size: 12px;
  }

#confrimationTotal {
  font-size: 1.2rem;
}

.confirmation-club {
  
  font-size: 1.2rem;
  
}

.club-name {
  
  font-size: 1.2rem;
  
}

.club-price {
  font-size: 1.2rem;
}

  #valuation-container {
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin: 0px !important;
  }



  #valuation-wrapper {
    flex-direction: column;
    padding: 0px;
    gap: 2rem; 
  }

  #valuation-summary,
  #valuation-stepflow {
    max-width: 100%;
    padding: 0;
  }

  .summary-box {
    display: none !important;
  }

  .button-row {
    flex-direction: row;
    gap: 12px;
  }

  #postAddOptions {
    flex-direction: column;
    width: 100%;
    gap: 2rem;
  }

  .checkout-layout {
    flex-direction: column;
    gap: 2rem; 
  }

  .progress-bar {
    height: 6px;
  }

  .progress-container {
    padding: 0;
  }

  .progress-text {
    font-size: 14px;
  }


   .progress-container {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: #ffffff; /* Light Beige från din grafiska profil */
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
  }

  .progress-container.is-stuck {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }



  /*.progress-container.checkout-mode .progress-bar-fill {
  background-color: #1b489b; /* t.ex. Royal Blue 
}*/

  .sticky-wrapper {
    position: fixed;
    margin-top: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: white;
    padding: 16px 24px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    z-index: 1000;
  }

  .sticky-wrapper .main-action {
    max-width: 500px;
    width: 100%;
    border-radius: 30px;
    margin-top: 0;
  }

  .remove-btn .remove-label {
    display: none;
  }

  .remove-btn .remove-icon {
    display: inline;
    font-size: 20px;
    color: #999;
  }

  .remove-btn {
    background: none;
    border: none;
    padding: 4px 10px;
    top: 8px;
    right: 8px;
    cursor: pointer;
  }

  .remove-btn:hover .remove-icon {
    color: #000;
  }

 #checkoutWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;     /* Centrera allt horisontellt */
    justify-content: center; /* Centrera vertikalt om höjden tillåter */
    width: 100%;             /* Stretch till hela skärmens bredd */
    padding: 1rem;           /* Ge lite luft i kanterna */
    box-sizing: border-box;
  }

  #checkoutWrapper .checkout-left,
  #checkoutWrapper .checkout-right,
  #customerForm {
    width: 100%;             /* Full bredd på barnen */
    max-width: 500px;        /* Men sätt en snygg maxbredd */
  }

  .form-box {
    width: 100%;
  }

  
}

/* 🧩 Se till att extra-klubborna alltid visas, även på mobil */
#ironExtras {
  display: none;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

#ironExtras .extra-choice {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid #79628b; /* din Muted Lavender-färg */
  border-radius: 10px;
  padding: 8px 14px;
  background: white;
  color: #1d1d1d;
  cursor: pointer;
  transition: all 0.2s ease;
}

#ironExtras .extra-choice.active {
  background: #79628b; /* markerad */
  color: white;
  border-color: #571f5a;
}

@media (max-width: 768px) {
  #ironExtras {
    justify-content: flex-start; /* vänsterställt även på mobil */
    gap: 0.4rem;
  }
}

/* === BETALNINGSKNAPPAR (Swish / Bank) === */
.payment-details {
  margin-top: 2rem;
  text-align: left;
}

.payment-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.payment-options .button-choice {
   display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  flex: 1;
  text-align: center;
  padding: 14px 0;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: white;
  transition: background-color 0.2s;
}

/* Hover-effekt */
.payment-options .button-choice:hover {
border-color: #571f5a;
  background-color: #f7f2f8;
}

/* Aktivt (selected) läge */
.payment-options .button-choice.selected {
  border-color: #571f5a;
  background-color: #f7f2f8;
}

/* Inaktivt (disabled) läge */
.payment-options .button-choice:disabled {
 background-color: #ccc;
  cursor: not-allowed;
}


/* Mobilanpassning */
@media (max-width: 600px) {
  .payment-options {
    flex-direction: column;
  }

  .payment-options .button-choice {
    flex: 1 1 100%;
  }

  .extra-club-options {
    justify-content: space-between;  /* fyller hela bredden */
    gap: 6px;
  }

  .extra-choice {
    flex: 1 1 calc(25% - 6px);       /* fyra knappar per rad ungefär */
    max-width: none;
    font-size: 0.85rem;
    height: 38px;
  }

}

.extra-club-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.extra-choice {
  padding: 6px 12px;
  border: 1px solid #79628b;
  border-radius: 8px;
  background-color: #fff;
  color: #2b273f;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.extra-choice.selected {
  background-color: var(--primary-color, #be2d69);
  color: white;
  border: 1px solid var(--primary-color, #be2d69);
  transition: background-color 0.2s ease;
}

/*
.input-error {
  border: 2px solid #be2d69; 
  background-color: #fff0f5;
}
*/

/* ==========================================================================
   WEDGE LOFT – VISNING OCH STYLING
========================================================================== */
#wedgeLoftContainer {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: none; /* Light beige/lavender */
  border-radius: 10px;
  text-align: center;
}

/* 🟢 Visa container när inte dold */
#wedgeLoftContainer:not(.hidden) {
  display: block !important;
}

/* 🟣 Knapparna (PW/GW/SW/LW/Ange själv) */
#wedgeLoftOptions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}


#wedgeLoftOptions .extra-choice {
  border: 2px solid #ddd;
  border-radius: 12px;
  background-color: #fff;
  color: #2b273f;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

#wedgeLoftOptions .extra-choice:hover {
  border-color: #571f5a;
  background-color: #f7f2f8;
}

#wedgeLoftOptions .extra-choice.active {
 /* color: #fff;*/
  border-color: #571f5a;
  background-color: #f7f2f8;
}

/* 🟣 Textfältet för "Ange själv" */
.extra-choice-input {
  display: none; /* visas via JS efter klick */
  width: 90px;
  padding: 6px 10px;
  border: 1px solid #571f5a;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.extra-choice-input.visible {
  display: inline-block !important;
}

.hidden {
  display: none !important;
}
