/* Fix CSS - Override styles to match Figma design exactly */

/* Header Section - Transparent background */
.smmom-header-section {
  background: transparent ;
  padding: 0;
}

/* Remove dynamic background colors from header */
.smmom-header-section[data-current-step="1"],
.smmom-header-section[data-current-step="2"],
.smmom-header-section[data-current-step="3"] {
  background: transparent ;
}

/* Step Pills - Tab Style Design with ::before and ::after */
.smmom-step-pills {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
  align-items: flex-end;
  margin-top: 2rem;
  justify-content: flex-start;
  position: relative;
}

.smmom-step-pill {
  padding: 1rem 2.5rem ;
  background: rgba(255, 255, 255, 0.6) ;
  font-weight: 700 ;
  font-size: 1rem ;
  cursor: pointer ;
  transition: all 0.3s ease ;
  color: #000000 ;
  border: none ;
  position: relative;
  z-index: 1;
  border-radius: 15px 15px 0 0 ;
  min-width: 160px;
  text-align: center;
  margin-right: 5px;
}

/* Curved edge on the right side using ::after */
.smmom-step-pill::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -15px;
  width: 15px;
  height: 15px;
  background: transparent;
  border-bottom-left-radius: 15px;
  box-shadow: -5px 0 0 0 rgba(255, 255, 255, 0.6);
  z-index: 1;
}

/* Curved edge on the left side using ::before */
.smmom-step-pill::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -15px;
  width: 15px;
  height: 15px;
  background: transparent;
  border-bottom-right-radius: 15px;
  box-shadow: 5px 0 0 0 rgba(255, 255, 255, 0.6);
  z-index: 1;
}

/* First pill - no left curve */
.smmom-step-pill[data-step="1"]::before {
  display: none;
}

/* Active step pill - matches current step background */
.smmom-step-pill.active {
  z-index: 3;
  padding: 1rem 2.5rem 1rem 2.5rem ;
  margin-bottom: -1px;
  border-radius: 15px 15px 0 0 ;
}

/* Step 1 active - Pink */
 .smmom-step-pill[data-step="1"] , .smmom-step-pill[data-step="1"]:hover {
  background: #E8A8BE ;
  color: #FFFFFF ;
}

.smmom-step-pill[data-step="1"]::after {
  box-shadow: -5px 2px 0px 2px #E8A8BE;
}

 .smmom-step-pill[data-step="1"]::before {
  box-shadow: 5px 0 0 0 #E8A8BE;
}

/* Step 2 active - Beige */
 .smmom-step-pill[data-step="2"], .smmom-step-pill[data-step="2"]:hover  {
  background: #F5E6D3 ;
  color: #8B5E3C ;
}

.smmom-step-pill[data-step="2"]::after {
  box-shadow: -5px 2px 0px 2px #F5E6D3;
}

.smmom-step-pill[data-step="2"]::before {
  box-shadow: 5px 3px 0 0 #F5E6D3;
}

/* Step 3 active - Brown */
 .smmom-step-pill[data-step="3"], .smmom-step-pill[data-step="3"]:hover  {
  background: #A1510C ;
  color: #FFFFFF ;
}

 .smmom-step-pill[data-step="3"]::after {
  box-shadow: -5px 2px 0px 2px #A1510C;
}

.smmom-step-pill[data-step="3"]::before {
  box-shadow: 5px 3px 0 0 #A1510C;
}

/* Hover effect for inactive pills */
.smmom-step-pill:hover:not(.active) {
  z-index: 2;
  transform: translateY(-2px);
}

/* Progress bar styling */
.smmom-progress-container {
  margin-bottom: 1.5rem;
}

.smmom-progress-bar {
  border: none ;
  background: #F7E5D3;
}

/* Progress fill colors based on step */
 .smmom-progress-fill {
  background: #E8A8BE ;
}

 .smmom-progress-fill {
  background: #E39BB4 ;
}

.smmom-progress-fill {
  background: #8B5E3C ;
}

/* Form title styling */
.smmom-form-title {
  color: #8B5E3C;
    margin-bottom: 1rem;
    font-family: Montserrat;
    font-weight: 900;
    font-style: Black;
    font-size: 35px !important;
    line-height: 45px;
    letter-spacing: 0%;
    text-align: left;
    font-family: 'Mangana Sega', sans-serif !important;
}

/* Progress text */
.smmom-progress-text {
  color: #8B5E3C ;
  font-weight: 600 ;
}

/* Sector/Poste Label */
.smmom-sector-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #A1510C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* ========== STEP 1 PACKAGE CARDS ========== */

/* Package card styling */
.smmom-package-card {
  padding: 2rem 1.5rem ;
  text-align: center;
  position: relative;
}

/* Package card - De base has pink background */
.smmom-package-card[data-package="forfait2"] {
  background: #F5C9D8 ;
}

/* Package name/title */
.smmom-package-name {
     font-family: 'Hanson', sans-serif ;
    font-size: 1.4rem ;
    font-weight: 700 ;
    color: #A1510C ;
    text-transform: none;
    line-height: 1.2;
    max-width: 180px;
    margin: 0 auto ;
}

/* Package subtitle */
.smmom-package-subtitle {
  font-family: 'Montserrat', sans-serif ;
    font-size: 1.4rem ;
    font-weight: 600 ;
    color: #A1510C ;
    margin: 0 0 1rem 0 ;
    line-height: 1;
}

/* Package description */
.smmom-package-description {
  font-family: 'Montserrat', sans-serif ;
  font-size: 0.875rem ;
  font-weight: 400 ;
  color: #A1510C ;
  margin: 0 0 1rem 0 ;
  line-height: 1.5;
}

/* Package value text (e.g., "Valeur de 199 $") */
.smmom-package-value {
  font-family: 'Montserrat', sans-serif ;
  font-size: 0.875rem ;
  font-weight: 600 ;
  color: #A1510C ;
  margin: 0 0 1.5rem 0 ;
  line-height: 1.4;
}

/* Package pricing */
.smmom-package-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Current price */
.smmom-package-card .smmom-price-current {
  font-family: 'Hanson', sans-serif ;
  font-size: 2.5rem ;
  font-weight: 700 ;
  color: #E39BB4;
  line-height: 1;
}

/* Old price (strikethrough) */
.smmom-package-card .smmom-price-old {
  font-family: 'Hanson', sans-serif ;
  font-size: 1.25rem ;
  color: #A1510C ;
  text-decoration: line-through;
  opacity: 0.7;
}
.smmom-package-card.selected .smmom-price-current {
    color: #d54376;
}
/* Info icon positioning */
.smmom-package-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  border: none ;
  margin-top: -10px;
}

.smmom-package-icon .smmom-info-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(227, 155, 180, 1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  font-style: normal;
  cursor: pointer;
}
.smmom-sector-price {
    color: #E39BB4;
}
.smmom-service-card.smmom-sector-card.selected .smmom-sector-price {
    color: #d54376;
}

/* ========== STEP 3 ADD-ON CARDS ========== */

/* Add-on card styling */
.smmom-addon-card {
  background: #FFFFFF ;
  padding: 2rem 1.5rem ;
  text-align: center;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Selected add-on card - brown background */
.smmom-addon-card.selected {
  background: rgba(227, 155, 180, 0.2);
}

/* Add-on name/title */
.smmom-addon-name {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 600 ;
  color: #A1510C ;
  margin: 0 0 1.5rem 0 ;
  line-height: 1.3;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Selected card text color */


/* Container for toggle and price - inline display */
.smmom-addon-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: auto;
}

/* Add-on pricing - inline with toggle */
.smmom-addon-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.smmom-addon-pricing .smmom-price-current {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  background: #e39bb4;
  color: #FFFFFF;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  min-width: 100px;
  text-align: center;
}

/* Selected card price color */
.smmom-addon-card.selected .smmom-addon-pricing .smmom-price-current {
 

  background: #a1510c;
    color: #ffffff;
}

/* Toggle switch container - inline with price */
.smmom-service-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

/* Toggle switch styling */
.smmom-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  cursor: pointer;
}

.smmom-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.smmom-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #F7E5D3;
  transition: 0.3s;
  border-radius: 30px;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.smmom-toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 2px;
  bottom: 2px;
  background-color: #FFFFFF;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.smmom-toggle input:checked + .smmom-toggle-slider {
  background-color: #F7E5D3;
}

.smmom-toggle input:checked + .smmom-toggle-slider:before {
  transform: translateX(30px);
  background-color: #E39BB4;
}

/* Info icon for add-ons */
.smmom-addon-card .smmom-service-info {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.smmom-addon-card .smmom-info-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(227, 155, 180, 1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  font-style: normal;
  cursor: pointer;
}

.smmom-addon-card.selected .smmom-info-icon {
  background: #FFFFFF;
  color: #8B5E3C;
}

/* ========== BUTTONS & NAVIGATION ========== */

/* Form navigation container */
.smmom-form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  background: transparent;
  margin-top: 2rem;
}

/* Step 1 - Only next button visible, align right */
.smmom-form-steps:has(#smmom-step-1.active) .smmom-form-navigation {
  justify-content: flex-end;
}

/* Step 3 - Hide next button, only show back button on left */
.smmom-form-steps:has(#smmom-step-3.active) .smmom-form-navigation #smmom-btn-next {
  display: none;
}

.smmom-form-steps:has(#smmom-step-3.active) .smmom-form-navigation {
  justify-content: flex-start;
}

/* Button base styling */
.smmom-btn {
  padding: 1rem 2.5rem ;
  border-radius: 100px ;
  font-family: 'Montserrat', sans-serif ;
  font-weight: 700 ;
  font-size: 1rem ;
  cursor: pointer ;
  transition: all 0.2s ease ;
  text-decoration: none ;
  display: inline-block ;
  text-align: center ;
  border: none ;
  min-width: 200px;
}

/* Primary button (brown) */
.smmom-btn-primary {
  background: rgba(161, 81, 12, 1) ;
  color: #FFFFFF ;
}

.smmom-btn-primary:hover {
  background: #6d4a2e ;
  transform: translateY(-2px);
}

/* Secondary/Outline button (beige) */
.smmom-btn-secondary,
.smmom-btn-outline {
  background: rgba(255, 255, 255, 1) ;
  color: #A1510C ;
}

.smmom-btn-secondary:hover,
.smmom-btn-outline:hover {
  background: #f0d9bf ;
  transform: translateY(-2px);
}

/* Summary section buttons */
.smmom-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.smmom-summary-actions .smmom-btn {
  width: 100%;
  min-width: auto;
}

/* Submit button in summary */
.smmom-btn-submit {
  background: #E39BB4 ;
  color: #FFFFFF ;
}

.smmom-btn-submit:hover {
  background: #d54376 ;
}

/* ========== PRICE ALIGNMENT ========== */

/* Ensure prices are centered and properly sized */
.smmom-price-current {
  display: block;
  text-align: center;
}

/* Summary prices */
.smmom-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 1rem;
}

.smmom-summary-total {
  font-size: 1.5rem ;
  font-weight: 700 ;
  color: #A1510C ;
  padding-top: 1rem ;
  margin-top: 1rem;
}

.smmom-summary-total span {
  color: #A1510C ;
}
    .smmom-step3-addon {
    background: white;
}

/* ========== SIDEBAR SUMMARY STYLING ========== */

/* Summary title */
.smmom-order-summary h2 {
  font-family: 'Hanson', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 700;
  color: #A1510C;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  text-align: left;
}

/* Summary section */
.smmom-summary-section {
  display: flex;
  flex-direction: column;
}

/* Summary item container */
.smmom-summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E0E0E0;
}

/* Main item row (name and price inline) */
.smmom-summary-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

/* Remove border from last item */
.smmom-summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Summary label (Forfait, Option, Add-Ons) */
.smmom-summary-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #A1510C;
  text-transform: capitalize;
  margin-bottom: 0.25rem;
}

/* Summary value (item name) */
.smmom-summary-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #A1510C;
  line-height: 1.3;
  flex: 1;
}

/* Summary price */
.smmom-summary-price {
  font-family: 'Hanson', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #A1510C;
  text-align: right;
  white-space: nowrap;
}

/* Add-on items styling */
.smmom-summary-addon-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: none;
  padding-bottom: 0.5rem;
}

.smmom-summary-addon-item .smmom-summary-value {
  flex: 1;
  font-size: 0.95rem;
}

.smmom-summary-addon-item .smmom-summary-price {
  font-size: 1rem;
  margin-top: 0;
}

/* Total section */
.smmom-summary-total-section {
  border-top: 2px solid #A1510C;
  padding: 0;
}

.smmom-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Hanson', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #A1510C;
}

.smmom-summary-total span {
  color: #A1510C;
}

/* Summary buttons */
.smmom-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.smmom-summary-actions .smmom-btn {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
}

.smmom-summary-actions .smmom-btn-outline {
  background: #F7E5D3;
  color: #A1510C;
  border: none;
}

.smmom-summary-actions .smmom-btn-submit {
  background: #E39BB4;
  color: #FFFFFF;
}

.smmom-summary-actions .smmom-btn-submit:hover {
  background: #d54376;
}

.smmom-form-navigation button {
    padding: 10px 25px;
    min-width: auto;
}

/* ========== LOADING SPINNER ========== */
.smmom-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: smmom-spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes smmom-spin {
  to { transform: rotate(360deg); }
}

/* ========== MESSAGE MODAL ========== */
.smmom-message-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: smmom-fadeIn 0.3s ease;
}

@keyframes smmom-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.smmom-message-modal {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: smmom-slideUp 0.3s ease;
}

@keyframes smmom-slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.smmom-message-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 1.5rem;
  font-weight: bold;
}

.smmom-message-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  white-space: pre-line;
}

.smmom-message-close {
  background: #A1510C;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.smmom-message-close:hover {
  background: #8B5E3C;
  transform: translateY(-2px);
}

/* Disable button state */
.smmom-btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .smmom-step-pills {
    display: flex
;
    gap: 0;
    flex-wrap: nowrap;
    align-items: flex-end;
    /* margin-top: 2rem; */
    justify-content: flex-start;
    position: relative;
    margin-bottom: -10px;
}
.smmom-step-pill {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s 
ease;
    color: #000000;
    border: none;
    position: relative;
    z-index: 1;
    border-radius: 15px 15px 0 0;
    min-width: unset;
    text-align: center;
    margin-right: 5px;
}
.smmom-step-pill.active {
    z-index: 3;
    padding: 0.5rem;
    margin-bottom: -1px;
    border-radius: 15px 15px 0 0;
}
}



.smmom-step-pills button {
    border: none !important;
     border-radius: 15px 15px 0 0 !important;
}
.smmom-step-pills button:hover,
.smmom-step-pills button:focus{
    border: none !important;
    border-radius: 15px 15px 0 0 !important;
    outline: none !important;
}

.smmom-form-steps {
    position: relative;
    z-index: 2;
}


.smmom-step-pills button {
    border: none !important;
     border-radius: 15px 15px 0 0 !important;
}
.smmom-step-pills button:hover,
.smmom-step-pills button:focus{
    border: none !important;
    border-radius: 15px 15px 0 0 !important;
    outline: none !important;
}

