* {
    box-sizing: border-box;
}
/* css Strat from here */

.iti {
    width: 100%;
}

.iti__selected-flag{
    padding: 0 6px 0 6px !important;
    background-color: transparent !important;
}
.error {
    border-color: #dc3545;
}

.d-none{
    display: none !important;
}

#MFZ-NewCostCalForm * {
box-sizing: border-box;
/* margin: 0;
padding: 0; */
}

/* Main container styles removed for Webflow integration */

.sticky-summary-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 24px;
    border-radius: 20px;
    background: #F9FAFB;
    height: fit-content;
    background: rgb(255 255 255 / 90%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    isolation: isolate;
}

.form-section {display: flex;flex-direction: column;gap: 24px !important;border-radius: 16px;margin-bottom: 50px !important;}

#MFZ-NewCostCalForm label {
    margin-bottom: 8px;
    display: block;
color: #333;
font-family: "Plus Jakarta Sans";
font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

#MFZ-NewCostCalForm input[type="text"],
#MFZ-NewCostCalForm input[type="email"],
#MFZ-NewCostCalForm input[type="tel"],
#MFZ-NewCostCalForm input[type="number"],
#MFZ-NewCostCalForm select {
width: 100%;
padding: 12px 16px;
border: none;
border-radius: 8px;
border: 1px solid #EDEDED;
background: #FFF;
    font-size: 14px;
    font-family: "Plus Jakarta Sans";
    transition: border-color 0.3s ease;
}
#MFZ-NewCostCalForm select {
    box-shadow: 0px 4px 4px 0px rgba(98, 44, 5, 0.05);
}
#MFZ-NewCostCalForm input[type="text"]:focus,
#MFZ-NewCostCalForm input[type="email"]:focus,
#MFZ-NewCostCalForm input[type="tel"]:focus,
#MFZ-NewCostCalForm input[type="number"]:focus,
#MFZ-NewCostCalForm select:focus {
outline: none;
    border: 1px solid #000;
}

#MFZ-NewCostCalForm select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
color: black;
background-position: 99% center;
background-size: 10px;
background-color: white;
}

/* Section header styling */
.section-header {
    text-align: left;
}

.section-header h2 {
    font-size: 24px;
font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 16px !important;
    line-height: 1.5;
}

.section-subtitle {
font-size: 14px;
    color: #1C1C1C;
    margin: 0;
    font-weight: 400;
    opacity: 0.8;
    margin-bottom: 32px;
}

/* Info Section Styling */
.info-section {
display: flex;
align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    gap: 8px;
    background: rgba(0, 74, 152, 0.04);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;

}

.info-text {
    color: #004A98;
    font-family: "Plus Jakarta Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; 
}
/* License cards styling */
.license-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .license-cards-container {
        margin-bottom: 0px;
        display: flex;
        flex-direction: column-reverse;    
    }
}

.license-card {border-radius: 10px;overflow: hidden;transition: all 0.3s ease;cursor: pointer;border-radius: 20px;border: 1px solid #DADBE1;padding: 16px;background: rgb(255 255 255 / 7%);backdrop-filter: blur(22px) saturate(180%);-webkit-backdrop-filter: blur(22px) saturate(180%);border: 1px solid rgb(255 255 255 / 45%);box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255),11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);overflow: hidden;isolation: isolate;}

.license-card:hover {
background-color: #f9fafb;
}


.license-card-image {
    width: 100%;
    /* height: 89px; */
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 286/87;
    }
[data-license="fawri"] .license-card-image ,
[data-license="regular"] .license-card-image {
    aspect-ratio: 286/386;
}

.license-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .license-card-image {
       aspect-ratio: 100/25;
       min-height: 100px;
    }
}

.license-card-content {
    padding-top: 16px !important;
    display: flex;
    flex-direction: column;
    gap: 16px !important;
}

/* Selected license card styles */
.license-card.selected {
    /* border: 3px solid #EB5F40; */
    background: linear-gradient(0deg, #FFF 0%, #FFF 100%), rgba(217, 217, 217, 0.25);
    padding: 16px;
    background: rgb(255 255 255 / 15%);
    backdrop-filter: blur(40px) saturate(80%);
    -webkit-backdrop-filter: blur(40px) saturate(80%);
    box-shadow: inset 3px 3px 50px #ccdbe845, inset -3px -3px 20px 0px rgb(255 255 255 / 18%),11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
}

.license-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.license-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0;
    line-height: 1.2;
}

.license-duration {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #000;
}


.license-card[data-license="fawri"] .license-duration p {
   margin: 0 !important;
   line-height: 16px !important;
   /* background: var(--Orange, linear-gradient(102deg, #EB5F40 0%, #B5348B 100%)); */
   /* background-clip: text; */
   /* -webkit-background-clip: text; */
   /* -webkit-text-fill-color: transparent; */
   font-size: 12px;
   color: #000;
   font-weight: 500;
}

.duration-icon {
    font-size: 16px;
}

.license-description {
    font-size: 14px;
    color: #1C1C1C;
    line-height: 1.5;
    margin-bottom: 16px !important;
    opacity: 0.8;
}

.license-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.learn-more-btn {
    background: none;
    border: none;
    /* background: linear-gradient(102deg, #EB5F40 0%, #B5348B 100%); */
    /* background-clip: text; */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    color: #7F98A8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.learn-more-btn:hover {
    color: #0171E3;
}
h3+.learn-more-btn{
color: #000;
}

.select-btn {
    padding: 8px 12px !important;
    border-radius: 40px;
    /* background:  linear-gradient(102deg, #EB5F40 0%, #B5348B 100%); */
    /* background-clip: text; */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    width: 101.67px;
    justify-content: center;
    align-items: center;
    border: 1px solid #EDEDED;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    background: transparent;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    overflow: hidden;
    isolation: isolate;
}

.select-btn.selected {
  background: rgba(1, 113, 227, 1);
  color: white;
  -webkit-text-fill-color: white;
  border: none;
  box-shadow: none;
}



/* Check icon styling */
.check-icon {
    font-size: 12px;
    display: flex;
    align-items: center;
}

/* License options styling */
.license-options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.license-option-group{
  display: flex;
  padding: 16px !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-radius: 10px;
  background: rgb(255 255 255 / 7%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgb(255 255 255 / 45%);
  box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
  overflow: hidden;
  isolation: isolate;
}
.license-option-group h4 {font-size: 14px;font-weight: 600;color: #1c1c1c;margin: 0;}

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

.pill-option {
    border-radius: 60px;
    padding:12px !important;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    line-height: normal !important;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
    text-align: center;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    overflow: hidden;
    isolation: isolate;
}


.pill-option:hover {color: #0171E3;}

.pill-option.selected {
    background: rgba(1, 113, 227, 1);
    color: white;
    -webkit-text-fill-color: white;
    border: none;
    box-shadow: none;
    padding: 12px 16px !important;
}

.option-note {
    color: #A5ACB7;
    font-family: "Plus Jakarta Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    opacity: 0.8;
}



.activity-search-container {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 16px 0
}

#MFZ-NewCostCalForm  input.activity-search-input {width: 100%;padding: 12px 12px 12px 36px;border-radius: 8px;border: 1px solid #E0E0E0;background-color: #fff;font-size: 14px;font-family: "Plus Jakarta Sans";}

.activity-search-input:focus {
outline: none;
    border-color: #EB5F40;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 58%;
    transform: translateY(-50%);
    color: #808080;
}

.search-icon svg{
    width: 18px;
    height: 18px;
}

.activity-count {
    display: none;
}

.fee-warning {
    font-family: "Plus Jakarta Sans";
    font-size: 12px;
font-style: normal;
font-weight: 400;
    line-height: 18px;
background: linear-gradient(102deg, #EB5F40 0%, #B5348B 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 8px;
}

/* Visa cards styling */
.visa-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 0;
}

.visa-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 16px;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    isolation: isolate;
}

.visa-card:hover {
   background: #F9FAFB;
}


.visa-card-image {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 286/186;
    border-radius: 15px;
}

.visa-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .visa-card-image img {
        min-height: 160px;
    }
    .visa-cards-container {
        margin-bottom: 0;
    }
}

.visa-card-content {
    padding-top: 16px !important;
}

.visa-card-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0 0 12px 0;
}

.visa-description {
    font-size: 12px;
color: #1C1C1C;
    line-height: 1.5;
    margin-bottom: 16px !important;
font-family: "Plus Jakarta Sans";
    font-weight: 400;
    opacity: 0.8;
}



.visa-toggle-container {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 40px;
  padding: 8px 12px !important;
  background: rgb(255 255 255 / 7%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgb(255 255 255 / 45%);
  box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
  isolation: isolate;
}

.visa-toggle-labels {
    position: relative;
    min-width: 24px;

}

.visa-toggle-label {
    position: absolute;
    left: 2px;
    top: -7px;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    transition: opacity 0.3s ease;
}

.visa-toggle-label.no {
    opacity: 1;
}

.visa-toggle-label.yes {
    opacity: 0;
}

.visa-toggle-switch {
  position: relative;
    display: inline-block;
    width: 50px;
    height: 30px;
    margin-bottom: 0 !important;
}

.visa-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.visa-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 1px 1px 30.993px 0 rgba(39, 67, 103, 0.13);




}

.visa-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    top: 4px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    isolation: isolate;
}

.visa-toggle-switch input:checked + .visa-toggle-slider {background: #0171E3;}

.visa-toggle-switch input:checked + .visa-toggle-slider:before {
    transform: translateX(20px);
}

.visa-toggle-container:has(.visa-toggle-switch input:checked) .visa-toggle-label.no {
    opacity: 0;
}

.visa-toggle-container:has(.visa-toggle-switch input:checked) .visa-toggle-label.yes {
    opacity: 1;
}


.service-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tax-compliance-warning {
    margin-top: 15px;
    padding: 12px 16px;
    background-color: #fff9e9;
    border-left: 4px solid #ffcc00;
    border-radius: 4px;
}

.tax-compliance-warning p {
    margin: 0;
    color: #7a4500;
font-size: 14px;
    font-family: "Plus Jakarta Sans";
    line-height: 1.4;
}

/* Updated Summary Container Styles */
.summary-header {
    /* Base state - minimal spacing when only grand total is shown */
    margin-bottom: 50px;
}

.summary-header.expanded {
    /* Expanded state - with spacing and border when detailed view is shown */
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.summary-header h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 130%;
    text-transform: capitalize;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}
.summary-section h4 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}
.summary-subtitle {
    font-size: 14px;
    color: #1C1C1C;
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    font-weight: 400;

    opacity: 0.8;

}

.summary-section {
    padding-bottom: 24px !important ;
    margin-bottom: 24px !important;
    border-bottom: 1px solid #f3f4f6;
}

.summary-section:last-of-type {
    border-bottom: none;
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

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

.summary-section-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.edit-btn {
display: flex;
align-items: center;
justify-content: center;
    width: 32px;
    height: 32px;
border: none;
    padding: 0 !important;
    background-color: transparent;
    cursor: pointer;

}


.edit-btn svg {
    width: 25px;
    height: 25px;
}

.summary-content {
display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 768px) {
    .summary-content {
        gap: 0px;
    }
}

.summary-row {
display: flex;
    justify-content: space-between;
align-items: center;
}

.summary-label {
    font-size: 14px;
    color: #1C1C1C;
    font-weight: 400;
}

.summary-value {
    font-size: 14px;
    color: #111827;
    font-weight: 500;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px !important;
}

.summary-total .summary-label {
    font-weight: 700;
    color: #0171E3;
}

.summary-price {
    font-size: 14px;
    font-weight: 700;
    color: #0171E3;
}

.bsa-code-container input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    border: 1px solid #EDEDED;
    background: #FFF;
    font-size: 14px;
    font-family: "Plus Jakarta Sans";
    transition: border-color 0.3s ease;
}

.bsa-code-container input:focus {
    outline: none;
    border: 1px solid #EB5F40;
}

.grand-total-container {
    margin: 36px 0 24px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.grand-total {
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 16px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    border-radius: 10px;
    background: #fff;
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

.grand-total-label {
    font-size: 14px;
    color: #111827;
    font-weight: 500;
}

.grand-total-amount {font-size: 18px;font-weight: 700;color: #0171E3;}

.get-call-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 40px;
    background: #fff;
    color: #0171E3;
    border: 1.5px solid #0171E3;
    padding: 16px 24px !important;
    font-size: 16px;
    font-weight: 600;
    font-family: "Plus Jakarta Sans";
    cursor: pointer;
    transition: all 0.3s;
    box-sizing: border-box;
}

.get-call-btn:hover {
    background: #0171E3;
    color: #fff;
    border-color: #0171E3;
}

.get-call-btn svg {
    transition: transform 0.2s;
}

.get-call-btn:hover svg {
    transform: translateX(4px);
}

.activity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    flex-direction: column;
}

.submit-button {
    background:#0171E3;
    color: #fff;
    border: 1px solid #0171E3;
    border-radius: 40px;
    padding: 12px 20px !important;
    font-size: 14px;
    font-weight: 600;
    font-family: "Plus Jakarta Sans";
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    line-height: 1.2;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px !important;
}

.submit-button:hover {
    background: #3498FF;
    color: white;
    border-color: #3498FF;
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.activities-list-container {
    margin-top: 20px;
    padding: 16px;
background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #EFEFEF;
    overflow: hidden;
    max-height: 300px;
    display: none;
}

.activity-checkbox {
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    outline: none;
    transition: all 0.2s ease;
    background-color: white;
}

.activity-checkbox:checked {
    background: linear-gradient(163deg, #EB5F40 10.55%, #42B8C6 118.78%);
    border: none;
}

.activity-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.search-results-dropdown {
    position: absolute;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #DCDCDC;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    margin-top: 5px;
    left: 0;
    top: 100%;
    box-sizing: border-box;
    width: 100%;
    padding: 0 24px;
}

.search-result-items {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f7fafc;
cursor: pointer;
    transition: all 0.2s ease;
    color: #1c1c1c;
    font-family: "Plus Jakarta Sans";
    font-size: 12px;
    font-weight: 500;
}

.search-result-items:hover {
    background: #f7fafc;
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
}

.search-result-items:last-child {
    border-bottom: none;
}

/* Apply modal activity styles to search results */
.search-results-dropdown .modal-activity-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.search-results-dropdown .modal-activity-checkbox.checked {
    background: #0171E3;    
    border: none;
}

.search-results-dropdown .modal-activity-checkbox .check-icon {
    display: none;
    color: white;
    font-size: 12px;
}

.search-results-dropdown .modal-activity-checkbox.checked .check-icon {
    display: block;
}

.search-results-dropdown .modal-activity-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-results-dropdown .modal-activity-info > div:first-child {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.search-results-dropdown .modal-activity-code {
    font-size: 12px;
    font-weight: 500;
    color: #1c1c1c;
    font-family: "Plus Jakarta Sans";
}

.search-results-dropdown .modal-activity-name {
    font-size: 12px;
    font-weight: 500;
    color: #1c1c1c;
    font-family: "Plus Jakarta Sans";
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.no-results, .loading-results, .error-results {
    padding: 16px;
    text-align: center;
    color: #808080;
    font-size: 14px;
}

.error-results {
    color: #E74C3C;
}



@media (max-width: 768px) {
    /* Stack calculator columns and stop sticky summary clipping past the viewport */
    .cc-form .b2c-costcalculator,
    .b2c-costcalculator {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .cc-form .b2c-costcalculator-left,
    .b2c-costcalculator-left,
    .cc-form .b2c-costcalculator--right,
    .b2c-costcalculator--right {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .cc-form {
        max-width: 100%;
        overflow-x: hidden;
    }

    .sticky-summary-container {
        max-width: 100%;
        min-width: 0;
        position: static;
        max-height: none;
        padding: 32px 16px 16px 16px !important;
        border-radius: 20px;
background: #F9FAFB;
    }
    
    .summary-header h3 {
        font-size: 20px;
    }
    
    .grand-total {
        padding: 16px;
        gap: 8px;
    }
    
    .grand-total-amount {
font-size: 18px;
}

    .form-sections-container {
        max-height: none;
        overflow-y: visible;
    }
    
    .form-section {
        padding: 0;
        gap: 0 !important;
    }
    .section-subtitle {
        margin-bottom: 16px !important;
    }
    .form-section:last-of-type {
        margin-bottom: 50px !important;
    }
    .activities-list-container {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Mobile styles for license cards */
    .section-header h2 {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .license-cards-container {
        grid-template-columns: 1fr;
        gap: 16px;

    }
    
    .license-card {
        margin-bottom: 16px;
    }
    
    .license-card-content {
        padding-top: 16px !important;
        gap: 16px !important;
    }
    
    .license-header {

    align-items: center;
        gap: 8px;
    }
    
    .license-description {
    margin-bottom: 20px;
}

    .license-footer {
        gap: 12px;
        align-items: stretch;
    }
    

    
    /* Mobile styles for pill options */
    .license-options-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pill-options {
        gap: 6px;
    }
    
    .pill-option {
        font-size: 13px;
    }
    
    /* Mobile styles for visa cards */
    .visa-cards-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    


    .visa-card-content {
        padding-top: 20px;
        }
    
    .visa-card-image {
        min-height: 160px;
        }
    
    .visa-footer {

    gap: 12px;
        align-items: stretch;
}

    .visa-toggle-container {
        justify-content: center;
}

}

.select2-container {
    margin-bottom: 10px !important;
}

.select2-container--default .select2-selection--single {
    width: 100% !important;
    height: auto !important;
    padding: 10px 15px !important;
    border: none !important;
    border-radius: 8px !important;
    border: 1px solid #EDEDED;
    font-size: 1em !important;
    font-family: inherit !important;
    background-color: white !important;
    background: white url(https://cdn.prod.website-files.com/6746fa16829349829922b7c4/681296908fac04978eeaa8ad_45dfcaee6036e0619a664f55eb31e562_Icon1.svg) no-repeat !important;
    background-position: 99% center !important;
    background-size: 10px !important;
    color: black !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: black !important;
    line-height: normal !important;
    padding-left: 0 !important;
    font-family: inherit !important;
    font-weight: normal !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #757575 !important;
}

.select2-dropdown {
    border: none !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    font-family: inherit !important;
}

.select2-results__option--selected {
    background-color: #F4F2FF !important;
}

/* Add-ons Section Styles */
.addons-container {
    padding: 16px !important;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 10px;
    background: #ffffff96;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ffffff26, inset -3px -3px 10px 1px rgb(213 213 213 / 24%), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    isolation: isolate;
}
@media (max-width: 768px) {
    .addons-container {
        padding: 2px !important;
        gap: 16px !important;
    }
}
@media (max-width: 640px) {
    .license-cards-container {
        gap: 6px;
    }
}
.addon-category-card {
    background: transparent;
    padding: 16px 16px 24px 16px !important;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.addon-category-card:last-of-type {
    border-bottom: none !important;
}
.addon-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.addon-category-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.addon-category-header h3 .addon-title-m {
    font-style: italic;
    font-weight: inherit;
}

.addon-category-header h3.addon-category-title--mcore {
    color: #E1584C;
}

.addon-category-header h3.addon-category-title--mresidency {
    color: #8866A2;
}

.addon-category-header h3.addon-category-title--massist {
    color: #0E8AD9;
}

.addon-category-header h3.addon-category-title--maccounting {
    color: #46B349;
}

.addon-category-description {
    color: #1C1C1C;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px 0 !important;
}

.addon-services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px !important;
    border-radius: 40px;
    background: #ffffff;
    border: 1px solid #EDEDED;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #46464612, inset -3px -3px 10px 1px rgb(255 255 255), 5px 5px 9px 0px rgb(150 150 150 / 13%);
    isolation: isolate;
}

.service-pill:hover {
    color: #ffffff;
    background: #3498FF;
    box-shadow: none;
}

.service-pill.selected {
    background: rgba(1, 113, 227, 1);
    color: white !important;
    box-shadow: none;
}

.service-pill.selected:hover {
    background: #000;
}

.service-pill .check-icon {
    display: none;
    width: 18px;
    height: 18px;
}

.service-pill.selected .check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Mobile responsive */
@media (max-width: 768px) {
    .addon-category-header {
        align-items: flex-start;
        gap: 8px;
    }
    
    .addon-services {
        gap: 8px;
    }
    
    .service-pill {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* Contact Form Section Styles */
.contact-form-section {/* border-radius: 10px; *//* border: 1px solid #DADBE1; *//* overflow: hidden; */}

.contact-form-container {
    flex: 1;
    padding: 40px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 6px 4px 20px 0px #cad4dd3d, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    overflow: hidden;
    isolation: isolate;
    border-radius: 10px;
}

.contact-form-header {

    margin-bottom: 32px !important;
}

.contact-avatars {
display: flex;
    margin-bottom: 24px;
}

.avatar {
    width: 138px;
    height: auto;
   margin-bottom: 8px !important;
}

.contact-title {
    color: #1C1C1C;
    font-family: "Plus Jakarta Sans";
    font-size: 24px;
    font-weight: 600;
    line-height: 130%;
    margin-bottom: 16px !important;
}

.contact-subtitle {
    color: #1C1C1C;
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    font-weight: 400;
    line-height: 24px; 
    opacity: 0.8;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
    gap: 16px;
}

.contact-form-section .form-group {
    margin-bottom: 0;
}

.contact-form-section input::placeholder {
    color: #1C1C1C;
    font-family: "Plus Jakarta Sans";
font-size: 16px;
    font-weight: 500;
line-height: 24px; 
    opacity: 0.5;
}
.contact-form-section label {
    font-size: 14px;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 8px;
    font-family: "Plus Jakarta Sans";
}

.contact-form-section input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background-color: white;
    font-size: 16px;
    transition: border-color 0.2s;
}

.contact-form-section input:focus {
    border-color: #000 !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.1);
}


.contact-form-section .submit-button:hover {
    background-color: #000;
    color: white;
}

.contact-form-section .submit-button svg {
    transition: transform 0.2s;
}

.contact-form-section .submit-button:hover svg {
    transform: translateX(4px);
}

@media (max-width: 980px) {
    .contact-form-container {
        border-radius: 10px;
        border: 1px solid #DADBE1;
        background: rgba(255, 255, 255, 0.60);  
      }
        .license-card {
            background: #FFF;
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
        }
        .license-option-group {
            background: #FFF;
        }
        .addons-container {
            background: #FFF;
        }

}
@media (max-width: 768px) {
    .contact-form-container {
        padding: 16px;
    }
    
    .contact-title {
        font-size: 24px;
    }
    
    .contact-subtitle {
    font-size: 14px;
    }
    
    .contact-form-section .submit-button {
        width: 100%;
        align-self: center;
    }

    #business-activities-section {
        padding: 24px 20px !important;
        gap: 16px !important;
    }

    .scroll-indicator-left {
        left: -5px;
    }

    .scroll-indicator-right {
        right: -5px;
    }
}



/* Selected visa card styles */
.visa-card.selected {
    background: #fff;
    /* box-shadow: none; */
}

/* Change Status Section - using visa card styling */
.change-status-details {
    margin-top: 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .change-status-details {
        flex-direction: column-reverse;
    }
}
.status-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    color: #7F98A8;
    font-weight: 500;
}

.status-info-row:first-child {
    margin-bottom: 0;
}

.status-label {
    color: #7F98A8;
    font-family: "Plus Jakarta Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    opacity: 0.8;
}

.status-count {
    font-family: "Plus Jakarta Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 200% */
    color: #7F98A8;
    opacity: 0.8;
}

.inside-label {
    margin-right: 8px;
    opacity: 1;
    font-weight: 600;
    color: #000;
}
/* Visa header layout */
.visa-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px !important;
}

.visa-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* Visa footer with controls */
.visa-footer {
    position: relative;
    display: flex;
        justify-content: flex-end;
        align-items: center;
}

/* Investor visa: hidden checkbox kept for config / toggleVisaCard — not visible or focusable */
.investor-visa-toggle-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.visa-selected-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    width: 100%;
}

/* Quantity selector with green circle */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border-radius: 50px;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    overflow: hidden;
    isolation: isolate;
}

.quantity-btn {
    background: transparent;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    font-family: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: none;
}

.quantity-btn:hover:not(:disabled) {
    background: #0000000F;
}

.quantity-btn:disabled {
    background: #F5F5F5;
    color: #A0A0A0;
    cursor: not-allowed;
    border-color: #E0E0E0;
    opacity: 0.6;
}

.quantity-value {
    background: transparent;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    font-family: "Plus Jakarta Sans";
    display: flex;
    align-items: center;
    justify-content: center;
}

.fee-warning {
    color: #e53e3e;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
    text-align: center;
    background: #fff5f5;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #fed7d7;
}

#business-activities-section {
    padding: 24px;
    overflow: visible;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    overflow: hidden;
    isolation: isolate;
}

.activity-cards-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 12px;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 7px 5px 20px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255);
    isolation: isolate;
    border-radius: 10px;
}

.scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    color: #666;
}

.scroll-indicator-left {
    left: -20px;
}

.scroll-indicator-right {
    right: -20px;
}

.scroll-indicator:hover {
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #333;
    transform: translateY(-50%) scale(1.05);
}

.scroll-indicator.hidden,
.hidden {
    opacity: 0;
    pointer-events: none;
}
.activity-cards-container {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 192px;
    gap: 10px;
    max-width: 800px;
    padding-bottom: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .activity-cards-container {
       max-width: 85vw !important;
    }
}
/*width*/
.activity-cards-container::-webkit-scrollbar {
    width:4px !important;
    height: 4px !important;
  }
  
  
  /*thumb*/
  .activity-cards-container::-webkit-scrollbar-thumb {
    background: #7F98A8;
    border-style:none;
    border-radius:8px !important;
  }
  .activity-cards-container::-webkit-scrollbar-track {
    background: #F1F1F1;
    border-radius: 3px;
  }


.activity-card {
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    width: 192px;
    height: 100%;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgb(39 67 103 / 10%);
    overflow: hidden;
    isolation: isolate;
}

.activity-card:hover {
    background: #fff;
    box-shadow: none;
}

.activity-card.selected {
    border: 3px solid linear-gradient(102deg, #EB5F40 0%, #B5348B 100%);
    background: #fff;
    box-shadow: none;
}

.free-groups {
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    color: #000;
}
.activity-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.selected-activities-count {
    color: #7D301F;
    font-family: "Plus Jakarta Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 200% */
}

.activity-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: auto;
}

.activity-card.selected .activity-checkbox {
    background: #fff;
    padding: 3px;
}

.activity-checkbox .check-icon {
    display: none;
}

.activity-card.selected .activity-checkbox .check-icon {
    display: block;
}

.activity-card-body {
    text-align: left;
}

.activity-icon {
    width: 36px;
    height: auto;
    margin-bottom: 0;
    filter: invert(1);
}

.activity-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a202c;
    margin: 8px 0;
    line-height: 1.2;
}

.select-activity-link {
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-arrow {
    transition: transform 0.2s ease;
}

.select-activity-link:hover .link-arrow {
    transform: translateX(2px);
}

/* --- Activity Search Modal --- */
.activity-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999999;
}

.activity-modal-content {
    border-radius: 16px;
    width: 600px;
    max-width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    position: relative;
    background: rgb(255 255 255);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    isolation: isolate;
}

/* Mobile sheet-style modals */
@media (max-width: 768px) {
    .activity-modal-overlay {
        background-color: rgba(0, 0, 0, 0.5);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
        align-items: flex-end;
        justify-content: center;
        z-index: 99999999;
    }
    
    .activity-modal-content {
        width: 100%;
        max-width: 100%;
        height: 76vh;
        max-height: 90vh;
    margin: 0;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }
    
    .close-btn {
        top: 12px;
        right: 12px;
        background: transparent;
        box-shadow: none;
        font-size: 20px;
    }
}

.activity-modal-header {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-bottom: none;
    gap: 0;
    position: relative;
}

.activity-modal-header .modal-header-content {
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.activity-modal-header .addon-category-image-container {
    width: 100%;
    order: 1;
}

.activity-modal-header .addon-category-image {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 500/220;
}

@media (max-width: 768px) {
    .activity-modal-header .addon-category-image {
        height: 130px;
    }
}
.activity-modal-header h3 {
    order: 2;
    padding: 0 24px 16px;
}

.activity-modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #1a202c;
}

.close-btn {
    background: white;
    border: none;
    font-family: ui-sans-serif;
    font-size: 23px;
    font-weight: 400;
    cursor: pointer;
    color: #4a5568;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    order: 0;
    margin: 20px 24px;
    margin-left: auto;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    isolation: isolate;
}

.close-btn:hover {
    background: #edf2f7;
    color: #2d3748;
}

.modal-subtitle {
    font-size: 14px;
    color: #718096;
    margin: 10px 0;
    padding: 0 24px;
}

.modal-category-selector {
    padding: 0 24px 16px 24px;
}

.category-selector-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.custom-select-wrapper {
    position: relative;
    padding: 8px;
    background: #F7F7F7;
    border-radius: 10px;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    isolation: isolate;
}

.modal-category-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.2s ease;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.modal-category-select:focus {
    outline: none;
    border-color: #EB5F40;
    box-shadow: 0 0 0 3px rgba(235, 95, 64, 0.1);
}

.modal-category-select:hover {
    border-color: #9CA3AF;
}

.select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #1C1C1C;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.custom-select-wrapper:hover .select-arrow {
    color: #374151;
}

.modal-category-select:focus + .select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #EB5F40;
}

.modal-search-container {
    padding: 0 24px 16px 24px;
    position: relative;
}

.modal-search-input {
    width: 100%;
    padding: 12px 16px 12px 40px !important;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: "Plus Jakarta Sans";
    background: #f7fafc;
    transition: all 0.2s ease;
}

.modal-search-input:focus {
    outline: none;
    border-color: #e53e3e;
    background: white;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.modal-search-icon {
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-90%);
    color: #a0aec0;
    pointer-events: none;
}

#modal-activities-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px;
    max-height: 250px;
}
@media (max-width: 768px) {
    #modal-activities-list {
        max-height: 100%;
    }
}
.modal-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f7fafc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-activity-item:hover {
    background: #f7fafc;
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
}

.modal-activity-item:last-child {
    border-bottom: none;
}

.modal-activity-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.modal-activity-checkbox.checked {
    background: #0171E3;
    border:none;
}

.modal-activity-checkbox .check-icon {
    display: none;
    color: white;
    font-size: 12px;
}

.modal-activity-checkbox.checked .check-icon {
    display: block;
}

.modal-activity-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-activity-info > div:first-child {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.modal-activity-code {
    font-size: 12px;
    font-weight: 500;
    color: #1c1c1c;
    font-family: "Plus Jakarta Sans";
    flex-shrink: 0;
}

.modal-activity-name {
    font-size: 12px;
    font-weight: 500;
    color: #1c1c1c;
    font-family: "Plus Jakarta Sans";
    line-height: 1.3;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap:8px;
}

.modal-activity-labels {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.activity-label {
    display: inline-block;
    padding: 4px;
    border-radius: 12px;
    font-size: 10px;
    line-height: 14px;
    font-weight: 600;
    font-family: "Plus Jakarta Sans";
    text-transform: uppercase;
    color: #eb5f40;
}

.activity-label.pre-approval {
    border-radius: 6px;
    border: 1px solid  #EB5F40;
    background: rgba(235, 95, 64, 0.08);
}

.activity-label.dffbp {
    border-radius: 6px;
    border: 1px solid #EB5F40;
    background: rgba(235, 95, 64, 0.08);
}

.modal-footer {
    padding: 16px 24px 24px 24px;
    border-top: 1px solid #f7fafc;
    display: flex;
    gap: 12px;
}
@media (max-width: 768px) {
    .modal-footer {
        box-shadow: 0px -5px 25.9px 0px rgba(0, 0, 0, 0.15);
    }
    .close-btn {
        top: -80px;
    }
}
.modal-back-btn {
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    isolation: isolate;
    border-radius: 50%;
    padding: 0;
    width: 46px;
    height: 46px;
}


.modal-continue-btn {
    flex: 1;
    background: #fff;
    border: 1px solid #000;
    border-radius: 40px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Plus Jakarta Sans";
}

.modal-continue-btn:hover {
    background: #000;
    color: #fff;
}

.modal-continue-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Addons Modal Specific Styles */
#addons-modal-services-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px;
    max-height: 500px;
}



.addon-category-image-container {
    width: 100%;
    padding: 0 24px 30px;
}

.addon-category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.addon-services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.addon-service-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.2s ease;
        width: 100%;
    }
    

.addon-service-item:last-child {
    border-bottom: none;
}

.addon-service-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.addon-service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.addon-service-name {
    font-size: 14px;
    font-weight: 600;
    color: #1c1c1c;
    font-family: "Plus Jakarta Sans";
    line-height: 1.3;
}

.addon-service-toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.addon-service-toggle-label {
    font-size: 12px;
    font-weight: 500;
    color: #1C1C1C;
    font-family: "Plus Jakarta Sans";
}

.addon-service-toggle-label.selected {
    color: #0171E3;
    font-weight: 600;
}

.addon-service-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
    box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgba(39, 67, 103, 0.13);
    isolation: isolate;
    cursor: pointer;
    transition: all 0.3s ease;
}

.addon-service-toggle.checked {
    background: #0171E3;
    box-shadow: none;
}

.addon-service-toggle-slider {
    position: absolute;
    top: 2px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: linear-gradient(0deg, rgba(53, 98, 141, 0.20) 0%, rgba(53, 98, 141, 0.20) 100%), linear-gradient(180deg, #0171e366 0%, rgba(252, 255, 253, 0.20) 93.45%);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.addon-service-toggle.checked .addon-service-toggle-slider {
    transform: translateX(18px);
    box-shadow: none;
    isolation: isolate;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgb(255 255 255 / 45%);
}

.addon-service-description {
    color: #1C1C1C;
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

/* License Modal Specific Styles */
#license-modal-content {
    flex: 1;
    padding: 0 24px 24px 24px;
    height: 300px;
    overflow: scroll;
}

#license-modal-content p {
    color: #1C1C1C;
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 16px;
}

#license-modal-content p:last-child {
    margin-bottom: 0;
}


/* Grand Total Clickable */
.grand-total {
    cursor: pointer;
    transition: all 0.2s ease;
}

.grand-total:hover {
    background: #f8f9fa;
    border-radius: 8px;
}

/* Detailed Summary (Hidden by default) */
.detailed-summary {
    display: none;
    overflow: scroll;
    height: 400px;
    padding-right: 20px;
}

/* Keep breakdown sections hidden when markup/JS sets inline display:none */
#detailed-summary > .summary-section[style*="display: none"],
#detailed-summary > .summary-section[style*="display:none"],
#addons-summary-section[style*="display: none"],
#addons-summary-section[style*="display:none"] {
    display: none !important;
}

#addons-summary-container .summary-section[style*="display: none"],
#addons-summary-container .summary-section[style*="display:none"] {
    display: none !important;
}
/*width*/
.detailed-summary::-webkit-scrollbar {
    width:4px;
  }
  
  
  /*thumb*/
  .detailed-summary::-webkit-scrollbar-thumb {
    background: #7F98A8;
    border-style:none;
    border-radius:8px;
  }
#license-modal-title {
    padding: 8px 24px;
}



/* Bottom Sheet Overlay */
#bottom-sheet-overlay {
    position: fixed;
        top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#bottom-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
}
.sheet-close-handle {
    display: none;
}


    
    /* Body scroll lock when sheet is open */
    

@media (max-width: 768px) {
    .summary-section-header {
        margin-bottom: 8px !important;
    }
    .sticky-summary-container.sheet-open .detailed-summary {
        max-height: calc(59vh - 60px - 100px);
    }
    .sticky-summary-container.sheet-open {
        height: 74vh;
    }
}
/* Responsive adjustments */
@media (max-width: 480px) {
    .close-btn{
        margin: 0 20px 10px;
    }
    .modal-back-btn{
        width: 50px;
        height: 50px;
    }

}



/* Touch interaction improvements */
@media (max-width: 1200px) {

    
    .sheet-close-handle:active .handle-bar {
        background: #1C1C1C;
    }
}

@media (max-width: 1200px) {
    
    /* Mobile responsive adjustments for Webflow */
    /* Show sticky summary on mobile */
    .sticky-summary-container {
        display: block !important;
        position:relative;
        z-index: 9;
        background: #F9FAFB;
        border-radius: 20px;
        overflow-y: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .activity-cards-container {
        max-width: 93vw;
    }
}

/* Hidden form sections - completely hidden until validated */
.form-section.hidden {
    display: none;
    opacity: 0;
    transform: translateY(30px);
}

/* Revealing form sections with elegant animation */
.form-section.revealing {
    display: block;
    animation: revealSection 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.form-section.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Staggered reveal animation for multiple sections */
.form-section.revealing:nth-of-type(2) {
    animation-delay: 0.1s;
}

.form-section.revealing:nth-of-type(3) {
    animation-delay: 0.2s;
}

.form-section.revealing:nth-of-type(4) {
    animation-delay: 0.3s;
}

.form-section.revealing:nth-of-type(5) {
    animation-delay: 0.4s;
}

.form-section.revealing:nth-of-type(6) {
    animation-delay: 0.5s;
}

/* Elegant reveal animation */
@keyframes revealSection {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
        filter: blur(8px);
    }
    30% {
        opacity: 0.4;
        transform: translateY(20px) scale(0.98);
        filter: blur(4px);
    }
    60% {
        opacity: 0.8;
        transform: translateY(8px) scale(1.01);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* Contact form validation success glow */
.contact-form-section.validated {
    position: relative;
}

.contact-form-section.validated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff91;
    border-radius: 14px;
    z-index: -1;
    animation: validationGlow 2s ease-out;
}

@keyframes validationGlow {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    50% {
        opacity: 1;
        transform: scale(1.01);
    }
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

/* Sections reveal sequence message */
.sections-revealing-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sections-revealing-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.sections-revealing-message h3 {
    font-family: "Plus Jakarta Sans";
    font-size: 18px;
    font-weight: 600;
    color: #1C1C1C;
    margin: 0 0 8px 0;
}

.sections-revealing-message p {
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

/* Contact form completion indicator */
.contact-form-section.completed .contact-form-header::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #75B477 0%, #059669 100%);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20,6 9,17 4,12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.contact-form-section .contact-form-header {
    position: relative;
}

/* Progress indicator enhancement */
.contact-form-progress {
    display: none;
    margin-top: 16px;
    padding: 12px;
    background: #F3F4F6;
    border-radius: 8px;
    border-left: 4px solid #E5E7EB;
    transition: all 0.3s ease;
}

.contact-form-progress.is-visible {
    display: block;
}

.contact-form-progress.completed {
    background: #ECFDF5;
    border-left-color: #75B477;
}

.contact-form-progress.error {
    background: #FEF2F2;
    border-left-color: #EB5F40;
}

.contact-form-progress p {
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    color: #1C1C1C;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form-progress.completed p {
    color: #75B477;
}

.contact-form-progress.error p {
    color: #B42318;
}

.contact-form-progress .progress-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-form-progress .progress-icon svg {
    display: block;
}

.contact-form-progress.completed .progress-icon {
    background: #75B477;
}

.contact-form-progress.error .progress-icon {
    background: #EB5F40;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
}
/* Input field error state */
.contact-form-section input.error {
    border-color: #EB5F40;
    background-color: #FEF2F2;
    box-shadow: 0 0 0 3px rgba(235, 95, 64, 0.1);
}

.contact-form-section input.error:focus {
    outline: none;
    border-color: #EB5F40;
    box-shadow: 0 0 0 3px rgba(235, 95, 64, 0.2);
}

/* Phone input error state */
.phone-input input.error {
    border-color: #EB5F40 !important;
    background-color: #FEF2F2 !important;
}

.phone-input input.error:focus {
    border-color: #EB5F40 !important;
    box-shadow: 0 0 0 3px rgba(235, 95, 64, 0.2) !important;
}

/* Consent Checkbox Styles */
.consent-group {
    margin-top: 16px;
    margin-bottom: 16px;
}

.consent-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 10px;
    cursor: pointer;
}

.consent-checkbox {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    flex-shrink: 0;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    cursor: pointer;
    accent-color: #0171E3 !important;
}

.consent-checkbox.error {
    outline: 2px solid #EB5F40;
    outline-offset: 1px;
}

.consent-text-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

/* Two lines only: line-clamp + max-height so <br> inside doesn’t show a third row in WebKit */
.consent-text-wrap:not(.consent-text-wrap--expanded) .consent-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    max-height: calc(1.6em * 2);
}

.consent-text-wrap--expanded .consent-text {
    display: block;
    max-height: none;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.consent-read-toggle {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: #0171E3;
    font-size: 12px;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", sans-serif;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    flex-shrink: 0;
    align-self: flex-start;
}

.consent-read-toggle:hover {
    color: #0171E3;
}

.consent-read-toggle:focus-visible {
    outline: 2px solid #0171E3;
    outline-offset: 2px;
    border-radius: 2px;
}

.consent-text {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    color: #4B5563;
    width: 100%;
}

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

.consent-text a:hover {
    color: #0171E3;
}

.consent-text strong {
    font-weight: 600;
    color: #1C1C1C;
}

.consent-group .calc-error-message {
    margin-top: 8px;
    padding-left: 28px;
}

/* Mobile responsive for consent */
@media (max-width: 768px) {
    .consent-text {
        font-size: 11px;
        line-height: 1.5;
    }

    .consent-text-wrap:not(.consent-text-wrap--expanded) .consent-text {
        max-height: calc(1.5em * 2);
    }

    .consent-read-toggle {
        font-size: 11px;
    }
}

/* Position relative for overlay positioning */
.sticky-summary-container {
    position: sticky;
    top: 110px;
}


/* Collapsible addons section in sticky summary */
#addons-summary-section {
    transition: all 0.3s ease;
}

#addons-summary-section:not(.expanded) .summary-content {
    display: none;
}

#addons-summary-section.expanded .summary-content {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Sticky Buttons Viewport Control */
.sticky-buttons {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.sticky-buttons.hiding {
    transform: translateY(calc(100% + 60px)) !important;
    opacity: 0 !important;
    visibility: visible !important;
}

.sticky-buttons.hidden {
    transform: translateY(calc(100% + 60px)) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.sticky-buttons.showing {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Calculator-specific error messages to avoid Webflow conflicts */
.calc-error-message {
    color: #EB5F40 !important;
    font-size: 14px !important;
    margin-top: 5px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    line-height: 1.3 !important;
    pointer-events: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
}

/* Force error message visibility - override any external styles */
.calc-error-message:not(:empty) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Calculator-specific error field styling */
input.calc-error,
.calc-error {
    border-color: #E1584C !important;
    border-width: 1px !important;
    border-style: solid !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    outline: none !important;
    box-shadow: 0 0 0 1px rgba(255, 40, 40, 0.2) !important;
}

/* Focus state for error fields */
input.calc-error:focus,
.calc-error:focus {
    border-color: #000 !important;
    box-shadow: 0 0 0 1px rgba(235, 95, 64, 0.3) !important;
    outline: none !important;
}

/* Specific targeting for phone input errors */
.phone-input input.calc-error {
    border-color: #E1584C !important;
    border-width: 1px !important;
    border-style: solid !important;
}

.phone-input input.calc-error:focus {
    border-color: #000 !important;
    box-shadow: 0 0 0 1px rgba(235, 95, 64, 0.2) !important;
    outline: none !important;
}

/* Webflow form override protection */
form[data-name] .calc-error-message,
.w-form .calc-error-message,
[class*="w-"] .calc-error-message {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #000 !important;
    font-size: 14px !important;
    margin-top: 5px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Anti-interference protection */
.calc-error-message * {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-family: inherit !important;
}

/* Mobile-specific error message fixes */
@media (max-width: 768px) {
    .calc-error-message {
        font-size: 13px !important;
        margin-top: 4px !important;
        line-height: 1.2 !important;
    }
    
    input.calc-error,
    .calc-error {
        border-width: 2px !important;
    }
}

/* Animation for error appearance */
@keyframes errorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calc-error-message:not(:empty) {
    animation: errorFadeIn 0.3s ease-out !important;
}

/* Loading state for buttons */
.submit-button:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

select.calc-error {
    border-color: #EB5F40 !important;
    border-width: 1px !important;
    border-style: solid !important;
}

#theFinalSuccessMessage h2 {
    font-family: "Plus Jakarta Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2; /* 109.091% */
    color: #75B477;
}

/* Success Popup Modal */
.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-popup-content {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.success-popup-overlay.show .success-popup-content {
    transform: scale(1) translateY(0);
}

.success-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: color 0.2s ease;
}

.success-popup-close:hover {
    color: #333;
}

.success-popup-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.success-popup-text {
    flex: 1;
}

.success-popup-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.success-popup-description {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.success-popup-image {
    flex-shrink: 0;
}

.popup-team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f0;
}

.pay-for-license-btn:disabled,
.summary-payment-submit:disabled,
.mobile-payment-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.payment-inline-message {
    display: block;
    margin-top: 12px;
    color: #EB5F40;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.payment-inline-message[hidden] {
    display: none !important;
}

.payment-inline-message.is-success {
    color: #2C8F5D;
}

.payment-status-content {
    max-width: 560px;
}

.payment-status-inner {
    display: block;
}

.payment-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(12, 159, 167, 0.12);
    color: #0C9FA7;
}

.payment-status-badge.is-failed {
    background: rgba(235, 95, 64, 0.12);
    color: #EB5F40;
}

.payment-status-badge.is-cancelled {
    background: rgba(250, 161, 41, 0.14);
    color: #B86B00;
}

.payment-status-description {
    margin-bottom: 20px;
}

.payment-status-meta {
    display: grid;
    gap: 12px;
}

.payment-status-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #F7FAFC;
}

.payment-status-label {
    color: #6B7785;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.payment-status-value {
    color: #1C1C1C;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

/* Mobile adjustments for popup */
@media (max-width: 768px) {
    .success-popup-content {
        padding: 24px;
        margin: 16px;
    }
    
    .success-popup-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .success-popup-title {
        font-size: 24px;
    }
    
    .success-popup-description {
        font-size: 15px;
    }
    
    .popup-team-photo {
        width: 100px;
        height: 100px;
    }

    .payment-status-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-status-value {
        text-align: left;
    }
}

/* Success Message Styling */
.success-message-container {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 24px;
    margin: 16px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    max-width: 100%;
    width: 100%;
}

.success-message-container.show {
    opacity: 1;
    transform: translateY(0);
}

/* Success message in sticky summary context */
.sticky-summary-container .success-message-container {
    margin: 16px 0 0 0;
    padding: 20px;
}

.success-message-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 500px;
    margin: 0 auto;
}

.success-text {
    flex: 1;
}

.success-title {
    color: #E74C3C;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.success-description {
    color: #6c757d;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.success-image {
    flex-shrink: 0;
    display: none;
}

.team-member-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .success-message-container {
        padding: 20px;
        margin: 12px 0;
    }
    
    .sticky-summary-container .success-message-container {
        margin: 12px 0 0 0;
        padding: 16px;
    }
    
    .success-message-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 0;
        max-width: 100%;
    }
    
    .success-title {
        font-size: 22px;
    }
    
    .success-description {
        font-size: 14px;
    }
    
    .team-member-photo {
        width: 60px;
        height: 60px;
    }
    
    /* Success message in mobile sheet view */
    .sticky-summary-container.sheet-open .success-message-container {
        margin: 16px 0 0 0;
        padding: 20px;
    }
    
    .sticky-summary-container.sheet-open .success-title {
        font-size: 20px;
    }
    
    .sticky-summary-container.sheet-open .success-description {
        font-size: 13px;
    }
    
}

.iti__country-list {
    z-index: 10000 !important;
    background-color: #fff !important;
}

/* Sticky buttons/navbar hiding animation */
.sticky-buttons.hidden,
.navbar1_container-3.mobile-nav.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-buttons,
.navbar1_container-3.mobile-nav {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#investor-dependent-disclaimer {
margin-bottom: 16px;
}

/* Share Button Styles */
.grand-total {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
}

.grand-total-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    font-family: "Plus Jakarta Sans", sans-serif;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.share-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.share-btn:active {
    transform: scale(0.98);
}

.share-icon {
    width: 20px;
    height: 20px;
    color: #0171E3;
    transition: transform 0.2s ease;
}

.share-btn.loading .share-icon {
    display: none;
}

.share-btn.loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #6b7280;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 4px;
}

.share-btn.copied {
    color: #75B477;
}

.share-btn.copied .share-icon {
    color: #75B477;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .grand-total {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-width: 0;
        max-width: 100%;
    }

    .grand-total-left {
        flex: 1 1 auto;
        min-width: 0;
    }

    .grand-total .share-btn {
        flex-shrink: 0;
    }
    
    .share-btn {
        justify-content: center;
    }

    .get-call-btn {
        max-width: 100%;
        box-sizing: border-box;
    }
}

.visa-toggle-switch input:checked + .visa-toggle-slider:before {
    background: transparent;
    box-shadow: inset 3px 3px 10px #ccdbe800, inset -3px -3px 10px 1px rgb(255 255 255 / 51%);
}

.change-status-card .visa-card-image {
    aspect-ratio: 659/195;
}

#summary-package-type.summary-value {
    color: #0171E3;
    font-weight: 700;
}

.sticky-summary-container:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 290px;
    border-radius: 20px;
    z-index: 0;
    background: linear-gradient(0deg, rgb(187 201 219) 0%, rgba(25, 116, 201, 0.20) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.40) 0%, rgba(131, 132, 132, 0.20) 93.45%);
    pointer-events: none;
    opacity: 0.35;
    transition: opacity 0.3s ease;
}

.sticky-summary-container.summary-pricing-revealed:after {
    opacity: 1;
}

.sticky-summary-container.summary-pricing-revealed {
    overflow: hidden;
}

.sticky-summary-container.summary-pricing-revealed > * {
    position: relative;
    z-index: 1;
}

.modal-back-btn svg rect {
    fill: transparent;
}

.modal-back-btn svg path {
    stroke: #000;
}

h3#addons-modal-title {
    margin: 0;
    line-height: 1.5;
}
/* Height set by JS --summary-success-gradient-height (footer + success block, mirrors mobile sheet gradient) */
body:has(.success-message-container.show) .sticky-summary-container.summary-pricing-revealed:after {
    height: var(--summary-success-gradient-height, 350px);
}

.activity-card.selected .activity-checkbox .check-icon path {
    stroke: currentColor;
}

p#addons-modal-subtitle {
    padding: 0;
}
@media (max-width: 600px){
    .team-member-photo {
        width: 40px;
        height: 40px;
    }
    #theFinalSuccessMessage h2{
        font-size: 18px;
    }
    .change-status-card .visa-card-image{
        min-height: 100px;
        height: auto;   
    }
    .visa-card-image img{
        height: 100%;
    }
    .activity-icon{
        width: 26px;
    }
}


/* Activity Cards Styling */
@media (min-width: 641px){
.activity-cards-container > .activity-card{
  .activity-icon path{
    stroke: #000;
  }
  .link-arrow svg path{
    fill: #000;
  }
  &.selected{
    background: #fff;
    box-shadow: none;
    border-color: #f9f9fc;
    .activity-icon path{
        stroke: #fff !important;
    }
    .activity-card-body{
        h3,.select-activity-link{
            color: #fff;
        }
    }
    .selected-activities-count{
        color: #fff;
    }
    .link-arrow svg path{
        fill: #fff;
    }
  }
}

/* 1–2, 9–10, 17–18 ...  (GREEN) */
.activity-cards-container > .activity-card:nth-child(4n+1){
  .activity-icon path{
    stroke: #75B477;
  }
  &.selected{
    background: linear-gradient(328deg, rgba(72, 157, 62, 0.00) 6.1%, rgba(84, 157, 62, 0.53) 66.65%), linear-gradient(180deg, rgba(0, 0, 0, 0.40) 0%, rgba(131, 132, 132, 0.20) 93.45%);
  }
}

/* 3–4, 11–12, 19–20 ... (VIOLET) */
.activity-cards-container > .activity-card:nth-child(4n+2){
  .activity-icon path{
    stroke: #8866A2;
  }
  &.selected{
    background: linear-gradient(306deg, rgba(150, 37, 236, 0.05) 9.99%, rgba(112, 19, 183, 0.30) 64.01%), linear-gradient(136deg, rgba(0, 0, 0, 0.57) 10.01%, rgba(131, 132, 132, 0.29) 84.97%);
  }
}

/* 5–6, 13–14, 21–22 ... (BLUE) */
.activity-cards-container > .activity-card:nth-child(4n+3){
  .activity-icon path{
    stroke: #0A7A9F;
  }
  &.selected{
    background: linear-gradient(306deg, rgba(25, 116, 201, 0.00) 10.13%, rgba(25, 116, 201, 0.44) 79.58%), linear-gradient(144deg, rgba(0, 0, 0, 0.40) 26.84%, rgba(131, 132, 132, 0.20) 75.3%);
  }
  
}

/* 7–8, 15–16, 23–24 ... (ORANGE) */
.activity-cards-container > .activity-card:nth-child(4n+4){
  .activity-icon path{
    stroke: #E1584C;
  }
  &.selected{
    background: linear-gradient(317deg, rgba(174, 46, 35, 0.10) 8.54%, rgba(177, 27, 57, 0.48) 54.32%), linear-gradient(130deg, rgba(0, 0, 0, 0.40) 19.34%, rgba(131, 132, 132, 0.08) 91.07%);
  }
}
}
/* Grand total sticky for Mobile  */


.quantity-btn {
  position: relative;
}



/* for new color */

.modal-footer{
    .modal-continue-btn,
    .modal-continue-btn{
        background-color: #0171E3;
        border-color: #0171E3;
        color: #fff;
        &:hover{
            background-color: #3498FF;
        }
    }
}
#MFZ-NewCostCalForm{
    .grand-total-container{
        margin: 0 !important;
    }
}

#Country-of-Residence {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 30px; /* Right padding for arrow */
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' width='512' height='512' x='0' y='0' viewBox='0 0 24 24' style='enable-background:new 0 0 512 512' xml:space='preserve' class=''%3e%3cg%3e%3cpath d='M12 16a1 1 0 0 1-.71-.29l-6-6a1 1 0 0 1 1.42-1.42l5.29 5.3 5.29-5.29a1 1 0 0 1 1.41 1.41l-6 6a1 1 0 0 1-.7.29z' data-name='16' fill='%23000000' opacity='1' data-original='%23000000'%3e%3c/path%3e%3c/g%3e%3c/svg%3e") !important;  background-repeat: no-repeat !important;
  background-position: right 10px center !important; /* 👈 Arrow position */
  background-size: 16px 16px !important;
}



/* For mobile design */
@media (max-width: 640px) {

    /* ── Container becomes the clipping viewport ── */
    #MFZ-NewCostCalForm .form-sections-container {
      position: relative;
      overflow: hidden;
    }
    .mfz-section.sec-cc.sec-cc-v2{
        padding-top: 96px;    
        position: relative;
        z-index: 9;    
        .selected-activities-count{
            display: none !important;
        }
        .activity-card.selected{
            background: rgb(255 255 255 / 7%) !important;
            box-shadow: inset 3px 3px 10px #ccdbe870, inset -3px -3px 10px 1px rgb(255 255 255), 11.845px 9.871px 30.993px 0 rgb(39 67 103 / 10%) !important;
            border: 1px solid rgb(255 255 255 / 45%) !important;
            
        }
    }
    .mfz-section.sec-cc.sec-cc-v2 > .mfz-container.mobile-steps-active {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* .mobile-steps-active{
        margin: 0 -16px;
        width: auto;
        max-width: max-content;
    } */
  
    /* ── Hide contact section once wizard starts ── */
    .b2c-costcalculator.mobile-steps-active #MFZ-NewCostCalForm .contact-form-section,
    .cc-form.mobile-steps-active #MFZ-NewCostCalForm .contact-form-section {
      display: none !important;
    }

    /* Hide the bottom sticky summary when the CC section scrolls out of view */
    .sticky-summary-container.cc-section-out-of-view {
      transform: translateY(100%) !important;
      opacity: 0 !important;
      pointer-events: none !important;
      visibility: hidden !important;
      transition: transform 0.35s ease, opacity 0.25s ease, visibility 0s 0.35s !important;
    }
    .sticky-summary-container:not(.cc-section-out-of-view) {
      transition: transform 0.35s ease, opacity 0.25s ease !important;
    }

    /* Push chat widget behind the sticky summary when it's visible */
    body.cc-summary-visible #cl-root {
      z-index: 0 !important;
    }

    /* ── Sticky summary = bottom bar + expandable sheet (same HTML) ── */
    /* top: auto — global .sticky-summary-container { top: 110px } must not apply with fixed or the bar sits below the header */
    .b2c-costcalculator.mobile-steps-active .sticky-summary-container,
    .cc-form.mobile-steps-active .sticky-summary-container {
      position: fixed !important;
      top: auto !important;
      bottom: 0 !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      z-index: 10001 !important;
      border-radius: 16px 16px 0 0 !important;
      border-bottom-left-radius: 0 !important;
      border-bottom-right-radius: 0 !important;
      /* Flat sheet: no inset “glass” shadows (reads as extra white layer) */
      box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.1) !important;
      border: none !important;
      background: #fff !important;
      padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
      display: flex !important;
      flex-wrap: wrap;
      flex-direction: row;
      align-items: center;
      gap: 10px 12px;
      overflow: hidden;
      transition: max-height 0.35s ease;
      isolation: auto !important;
    }

    /* Collapsed wizard bar only: hide decorative ::after */
    .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open)::after,
    .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open)::after {
      display: none !important;
      content: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      height: 0 !important;
      pointer-events: none !important;
    }

    /* Expanded sheet: restore gradient ::after (matches desktop summary-pricing-revealed) */
    /* Height set by JS --summary-footer-gradient-height (footer block only, no % overlap) */
    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open::after,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open::after {
      display: block !important;
      content: '' !important;
      position: absolute !important;
      bottom: 0 !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      height: var(--summary-footer-gradient-height, 200px) !important;
      min-height: 0 !important;
      max-height: none !important;
      border-radius: 16px 16px 0 0 !important;
      z-index: 0 !important;
      background: linear-gradient(0deg, rgb(187 201 219) 0%, rgba(25, 116, 201, 0.20) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.40) 0%, rgba(131, 132, 132, 0.20) 93.45%) !important;
      pointer-events: none !important;
      opacity: 1 !important;
      visibility: visible !important;
      transition: opacity 0.3s ease !important;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open > *,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open > * {
      position: relative !important;
      z-index: 1 !important;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open),
    .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) {
      max-height: 200px;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open) .summary-header,
    .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open) .simplified-summary,
    .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open) .detailed-summary,
    .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) .summary-header,
    .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) .simplified-summary,
    .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) .detailed-summary {
      display: none !important;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open) .sheet-close-handle,
    .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) .sheet-close-handle {
      display: flex !important;
      justify-content: center;
      align-items: center;
      width: 100%;
      flex: 0 0 100%;
      padding: 10px 0 4px;
      margin: 0;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open) .handle-bar,
    .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) .handle-bar {
      width: 60px;
      height: 5px;
      background: #d1d5db;
      border-radius: 4px;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open) .grand-total-container,
    .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) .grand-total-container {
      flex: 1 1 auto;
      min-width: 0;
      margin: 0 !important;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open) .grand-total,
    .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) .grand-total {
      padding: 0 !important;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open) #share-btn,
    .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) #share-btn {
      display: none !important;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open) .get-call-btn,
    .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) .get-call-btn {
      flex: 0 0 auto;
      margin: 0 !important;
      width: auto !important;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open) .grand-total-amount,
    .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) .grand-total-amount {
      color: #000 !important;
    }

    /* Expanded estimate (screenshot 2) */
    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open {
      max-height: 85vh;
      height: 85vh;
      flex-direction: column;
      flex-wrap: nowrap;
      align-items: stretch;
      gap: 0;
      overflow: hidden !important;
      padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open .sheet-close-handle,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open .sheet-close-handle {
      display: flex !important;
      flex: 0 0 auto;
      width: 100%;
      padding: 10px 0 20px;
      justify-content: center;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open .handle-bar,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open .handle-bar {
      width: 130px;
      height: 5px;
      background: #d1d5db;
      border-radius: 4px;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open .summary-header,
    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open .simplified-summary,
    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open .detailed-summary,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open .summary-header,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open .simplified-summary,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open .detailed-summary {
      display: block !important;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open .detailed-summary,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open .detailed-summary {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open #share-btn,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open #share-btn {
      display: inline-flex !important;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open .grand-total-container,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open .grand-total-container {
      flex: 0 0 auto;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open .summary-cta-group,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open .summary-cta-group {
      flex: 0 0 auto;
      flex-direction: column;
      gap: 8px;
      margin-top: 8px !important;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open .get-call-btn,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open .get-call-btn {
      width: 100% !important;
      justify-content: center !important;
    }

    /* Overlay when sheet expanded */
    .b2c-costcalculator.mobile-steps-active #bottom-sheet-overlay.active,
    .cc-form.mobile-steps-active #bottom-sheet-overlay.active {
      display: block !important;
      z-index: 10000;
    }

    .b2c-costcalculator.mobile-steps-active .get-call-btn.mobile-wizard-cta,
    .cc-form.mobile-steps-active .get-call-btn.mobile-wizard-cta {
      background: #0171e3 !important;
      color: #fff !important;
      border: none !important;
      border-radius: 999px !important;
      padding: 10px 16px !important;
      font-weight: 600 !important;
      font-size: 12px !important;
      display: inline-flex !important;
      align-items: center;
      gap: 8px;
    }

    .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open .get-call-btn,
    .cc-form.mobile-steps-active .sticky-summary-container.sheet-open .get-call-btn {
      font-size: 15px !important;
      padding: 14px 22px !important;
      justify-content: center !important;
      background: transparent !important;
      color: #0171E3 !important;
      border: 1.5px solid #0171E3 !important;
    }
  
    /* ── All form-modal panels: default off-screen right (hidden steps / pre-class) ── */
    #MFZ-NewCostCalForm .form-modal {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      background: #fff;
      transform: translateX(100%);
      transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
        visibility 0s linear 0.42s;
      will-change: transform;
      visibility: hidden;
      pointer-events: none;
      padding: 0 16px;
      z-index: 1;
    }
  
    /* ── Active panel: slides in, participates in normal flow for height ── */
    /* translateX(0) still creates a fixed-position containing block — fixed children stick to this panel, not the viewport. */
    #MFZ-NewCostCalForm .form-modal.step-active {
      position: relative;
      transform: none;
      visibility: visible;
      pointer-events: auto;
      z-index: auto;
      will-change: auto;
      transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
        visibility 0s linear 0s;
    }
  
    /* ── Steps before current: full off-screen left (back = slide in from left) ── */
    #MFZ-NewCostCalForm .form-modal.step-before {
      transform: translateX(-100%);
      visibility: hidden;
      pointer-events: none;
      z-index: 1;
      transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
        visibility 0s linear 0.42s;
    }
  
    /* ── Steps after current: full off-screen right (next = slide in from right) ── */
    #MFZ-NewCostCalForm .form-modal.step-after {
      transform: translateX(100%);
      visibility: hidden;
      pointer-events: none;
      z-index: 1;
      transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
        visibility 0s linear 0.42s;
    }
  
    /* ── Mobile step header injected into each panel ── */
    /* Sticky is overridden for .step-active: parent .form-modal uses transform, which breaks viewport sticky. */
    .mobile-step-header {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 20px 0px 20px;
      background: #fff;
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .b2c-costcalculator.mobile-steps-active #MFZ-NewCostCalForm .form-modal.step-active .mobile-step-header,
    .cc-form.mobile-steps-active #MFZ-NewCostCalForm .form-modal.step-active .mobile-step-header,
    #MFZ-NewCostCalForm.mobile-steps-active .form-modal.step-active .mobile-step-header {
      position: fixed;
      top: env(safe-area-inset-top, 0px);
      left: 0;
      right: 0;
      width: 100%;
      max-width: 100vw;
      box-sizing: border-box;
      padding-left: 16px;
      padding-right: 16px;
      z-index: 10000;
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    }

    .b2c-costcalculator.mobile-steps-active #MFZ-NewCostCalForm .form-modal.step-active,
    .cc-form.mobile-steps-active #MFZ-NewCostCalForm .form-modal.step-active,
    #MFZ-NewCostCalForm.mobile-steps-active .form-modal.step-active {
      /* padding-top: calc(env(safe-area-inset-top, 0px) + var(--mobile-step-header-offset, 118px)); */
      padding-top: 30px;
    }

    #MFZ-NewCostCalForm .change-status-section--mobile-merged {
      margin-top: 15px;
      padding-bottom: 0 !important;
      margin-bottom: 0 !important;
    }
  
    .mobile-step-header-row {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      width: 100%;
      gap: 8px;
    }

    .mobile-step-header-left {
      justify-self: start;
    }

    .mobile-step-header-right {
      justify-self: end;
    }
  
    .mobile-step-back-btn {
      width: 40px;
      height: 40px;
      background: transparent;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      padding: 0;
      flex-shrink: 0;
      transition: background 0.2s;
      border-radius: 10px;
    }

    .mobile-step-back-btn:active {
      background: rgba(0, 0, 0, 0.06);
    }
  
    .mobile-step-counter {
      font-size: 14px;
      font-weight: 600;
      color: #000;
      text-align: center;
      justify-self: center;
      grid-column: 2;
      white-space: nowrap;
    }

    .mobile-step-close-btn {
      width: 40px;
      height: 40px;
      background: transparent;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      padding: 0;
      flex-shrink: 0;
      border-radius: 10px;
      transition: background 0.2s;
    }

    .mobile-step-close-btn svg {
      display: block;
    }

    .mobile-step-close-btn:active {
      background: rgba(0, 0, 0, 0.06);
    }
  
  
    /* ── Segmented step progress bar ── */
    .mobile-step-progress {
      display: flex;
      gap: 10px;
      width: 100%;
    }
  
    .step-progress-segment {
      flex: 1;
      height: 5px;
      border-radius: 100px;
      background: #00000010;
      transition: background 0.35s ease, opacity 0.35s ease;
    }
  
  
    /* ── Extra bottom padding so content clears the fixed summary bar ── */
    .b2c-costcalculator.mobile-steps-active #MFZ-NewCostCalForm .form-modal.step-active .form-section,
    .cc-form.mobile-steps-active #MFZ-NewCostCalForm .form-modal.step-active .form-section {
      /* padding-bottom: 120px !important; */
      padding-bottom: 30px !important;
      margin-bottom: 0 !important;
    }

    
    [data-license="fawri"] .license-card-image ,
    [data-license="regular"] .license-card-image {
        aspect-ratio: 1/1;
        max-width: 122px;
        border-radius: 8px;
    }
    .license-cards-container{
        gap: 0 !important;
    }

    .license-cards-container .license-card{
        padding: 12px;
        border-radius: 10px;
        display: flex;
        /* align-items: center; */
        gap: 12px;
    }
    .section-header h2{
        font-size: 20px;
        font-weight: 600;
    }
    .free-groups,
    .section-subtitle{
        color: #A2A5B4;
    }
    .license-card-content{
        padding: 0 !important;
        gap: 8px !important;
        .license-header{
            h3{
                font-size: 14px;
                max-width: 130px;
            }        
            .license-duration{
                font-size: 10px;
                font-weight: 700;
                color: #0171E3;
                padding: 0;
            }
        }
        .license-description{
            margin-top: 0 !important;
            margin-bottom: 6px !important;
            font-size: 12px;
            font-weight: 600;
            color: #B2AEAE;
        }
        .license-footer{
            .learn-more-btn{
                padding: 0 !important;
                font-size: 10px;
                font-weight: 600;
                color: #0171E3;
                svg path{
                    fill: #0171E3;
                }
            }
            .select-btn{
                line-height: 1.1;
                font-size: 12px;
                font-weight: 600;
                padding: 7px !important;
            }
        }
    }

    .license-option-group{
        padding: 6px 0 0 !important;
        gap: 10px;
        border-radius: 0;
        background: unset;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        overflow: unset;
    }
    .quantity-btn {
        background: rgba(0, 0, 0, 0.06);
        border: none;
    }
    .summary-header.expanded {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    .summary-section {
        padding-bottom: 12px !important;
        margin-bottom: 12px !important;
    }

    .visa-cards-container{
        gap: 15px;
        .visa-card{
            padding: 14px;
            border-radius: 8px;
            display: flex;
            gap: 12px;
            .visa-card-image{
                aspect-ratio: 1/1;
                border-radius: 6px;
                overflow: hidden;
                max-width: 120px;     
                max-height: 120px;    
                min-height: 120px;   
                img{
                    width: 100%;
                    height: 100%;
                    min-height: 120px;
                    object-fit: cover;
                }
            }
            .visa-card-content{
                padding: 0 !important;
                .visa-header{
                    margin-bottom: 0;
                    h3{
                        font-size: 14px;
                        font-weight: 600;
                        color: #000;
                    }
                    .learn-more-btn{
                        padding: 0 !important;
                        font-size: 10px;
                        font-weight: 600;
                        color: #0171E3;
                        svg path{
                            fill: #0171E3;
                        }
                    }
                }
            }
        }
    }

    .visa-toggle-container{
        gap: 6px;
        padding: 8px !important;
        .visa-toggle-switch{
            width: 40px;
            height: 26px;
        }
        .visa-toggle-slider:before{
            height: 16px;
            width: 16px;
        }
    }
    .visa-toggle-switch input:checked + .visa-toggle-slider:before {
        transform: translateX(13px);
    }
    .visa-footer{
        .select-btn{
            padding: 6px 8px !important;
            width: 90px;
        }
    }
    .quantity-value {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    .quantity-btn{
        width: 24px;
        height: 24px;
        font-size: 16px;
    }
    .status-label{
        line-height: 1.2;
    }
    .addons-container{
        padding: 0 !important;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        overflow: unset;
        gap: 26px !important;
    }
    .addon-services{
        gap: 10px !important;
        .service-pill{
            font-size: 12px !important;
            border: 1px solid #000;
            box-shadow: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            color: #000;
            &:hover{
                background-color: #3498FF;
                border-color: #3498FF;
                color: #fff;
            }
            &.selected{
                color: #fff;
                background-color: #0171E3;
                border-color: #0171E3;
            }
        }
    }
    .addon-category-header .learn-more-btn{
        color: #0171E3;
        svg path{
            fill: #0171E3;
        }   
    }
    .addon-category-description{
        color: #B2AEAE;
    }

    /* ── Mobile payment step (separate from wizard steps) ── */
    .mobile-payment-step {
      display: none !important;
      position: fixed;
      inset: 0;
      z-index: 10060;
      flex-direction: column;
      background: #f3f4f6;
      overflow: hidden;
    }

    .mobile-payment-step.is-active {
      display: flex !important;
    }

    .mobile-payment-header {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      padding-top: calc(12px + env(safe-area-inset-top, 0px));
      background: #f3f4f6;
    }

    .mobile-payment-back-btn {
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: none;
      background: transparent;
      cursor: pointer;
      padding: 0;
      border-radius: 10px;
    }

    .mobile-payment-title {
      margin: 0;
      font-size: 17px;
      font-weight: 700;
      color: #111827;
    }

    .mobile-payment-header-spacer {
      width: 44px;
      height: 44px;
    }

    .mobile-payment-body {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      min-height: 0;
      padding: 0;
    }

    .mobile-payment-body-scroll {
      flex: 1 1 auto;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding: 0 16px 16px;
    }

    .mobile-payment-footer {
      flex: 0 0 auto;
      padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
      background: #f3f4f6;
      border-top: 1px solid #e5e7eb;
    }

    .mobile-payment-summary-card {
      background: #fff;
      border-radius: 10px;
      padding: 22px;
      margin-bottom: 26px;
    }

    .mobile-payment-fee-list {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .mobile-payment-fee-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      font-size: 12px;
      line-height: 2;
      font-weight: 500;
      color: #111827;
    }

    .mobile-payment-fee-row + .mobile-payment-fee-row {
      margin-top: 5px;
    }

    .mobile-payment-fee-label {
      flex: 1 1 auto;
      min-width: 0;
    }

    .mobile-payment-fee-value {
      flex-shrink: 0;
      font-weight: 700;
    }

    .mobile-payment-card-divider {
      height: 1px;
      background: #e5e7eb;
      margin: 15px 0;
    }

    .mobile-payment-grand-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 6px;
    }

    .mobile-payment-gt-label {
      font-size: 12px;
      font-weight: 500;
      line-height: 1.2;
      color: #0E1012;
    }

    .mobile-payment-gt-amount {
      display: block;
      font-size: 16px;
      font-weight: 700;
      color: #0171e3;
      line-height: 1.5;
    }

    .mobile-payment-order {
      margin: 10px 0 0;
      font-size: 12px;
      color: #9ca3af;
    }

    .mobile-payment-learn-more {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      border: none;
      background: none;
      color: #0171e3;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      padding: 0;
      font-family: inherit;
      flex-shrink: 0;
    }

    .mobile-payment-footnote {
      margin: 12px 0 0;
      font-size: 10px;
      font-weight: 700;
      color: #111827;
      line-height: 1.4;
    }

    .mobile-payment-between-sections {
      height: 1px;
      background: #DFDFDF;
      margin: 15px 0;
    }

    .mobile-payment-section {
      margin-bottom: 10px;
    }

    .mobile-payment-section-title {
      margin: 0 0 15px;
      font-size: 14px;
      font-weight: 700;
      color: #000;
      line-height: 1.5;
      text-transform: capitalize;
    }

    .mobile-payment-row {
      display: flex;
      align-items: center;
      gap: 12px;
      background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    }

    .mobile-payment-row-tall {
      align-items: flex-start;
    }

    .mobile-payment-row-icon {
      flex-shrink: 0;
    }

    .mobile-payment-row-text {
      flex: 1 1 auto;
      font-size: 12px;
      font-weight: 600;
      line-height: 1.5;
      color: #000;
      min-width: 0;
    }

    .mobile-payment-row-stack {
      flex: 1 1 auto;
      min-width: 0;
    }

    .mobile-payment-row-sub {
      display: block;
      margin-top: 4px;
      font-size: 12px;
      color: #9ca3af;
      line-height: 1.35;
    }

    .mobile-payment-tamara-logo {
      flex-shrink: 0;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: #111827;
      padding: 6px 10px;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      background: #fafafa;
    }

    .mobile-payment-add-btn {
      flex-shrink: 0;
      border: none;
      background: none;
      color: #0171e3;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      padding: 6px 4px;
      font-family: inherit;
    }

    .mobile-payment-payable {
      margin: 0 0 12px;
      font-size: 14px;
      font-weight: 700;
      color: #000;
      line-height: 1.5;
        span{
            font-size: 10px;
            font-weight: 400;
            color: #000;
            &#mobile-payment-payable-amount{
                font-size: 14px;
                font-weight: 700;
                color: #000;
                line-height: 1.5;
            }
        }
    }

    .mobile-payment-submit {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: none;
      border-radius: 999px;
      background: #0171e3;
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      padding: 10px 24px;
      cursor: pointer;
      font-family: inherit;
    }

    .mobile-payment-icon{
        aspect-ratio: 58 / 38;
        max-width: 58px;
        display: block;
        img{
            width: 100%;
            height: auto;
            object-fit: contain;
        }
    }

    /* Hide sticky bar on payment unless user opened estimate via Learn More (:not avoids blocking detail sheet) */
    .b2c-costcalculator.mobile-payment-step-active:not(.mobile-payment-detail-from-payment) .sticky-summary-container,
    .cc-form.mobile-payment-step-active:not(.mobile-payment-detail-from-payment) .sticky-summary-container {
      display: none !important;
    }

    /* Payment → Learn More: expanded estimate sheet above payment (z-index above #mobile-payment-step) */
    .b2c-costcalculator.mobile-payment-step-active.mobile-payment-detail-from-payment .sticky-summary-container,
    .cc-form.mobile-payment-step-active.mobile-payment-detail-from-payment .sticky-summary-container {
      display: flex !important;
      flex-direction: column;
      z-index: 10070 !important;
    }

    .b2c-costcalculator.mobile-payment-step-active.mobile-payment-detail-from-payment #bottom-sheet-overlay.active,
    .cc-form.mobile-payment-step-active.mobile-payment-detail-from-payment #bottom-sheet-overlay.active {
      z-index: 10065 !important;
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
    }

    .license-options-container{
        gap: 10px !important;
    }
    .visa-footer{
        .visa-selected-controls{
            justify-content: flex-end;
        }
    }
    #business-activities-section{
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        overflow: unset;
        padding: 0 !important;
    }
    #MFZ-NewCostCalForm input.activity-search-input{
        border-radius: 30px;
        border: 1px solid #0171E3;
        background-color: #fff;
        font-size: 13px;
        color: #000;
        &::placeholder{
            color: #7F98A8;
        }
    }
    .activity-search-container{
        position: relative;
        &::after{
            content: '';
            position: absolute;
            top: 5px;
            right: 5px;
            width: 31px;
            height: 31px;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='31' height='31' viewBox='0 0 31 31' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='15.5' cy='15.5' r='15.5' fill='%230171E3'/%3e%3cpath d='M10 15.5H22' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M16 21.5V9.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e ");
            pointer-events: none;
            background-size: 100%;
            background-repeat: no-repeat;
            background-position: center;
        }
    }
    .search-icon{
        top: 50%;
        svg path{
            stroke: #7F98A8;
        }
    }
    .consent-checkbox{
        accent-color: #0171E3 !important;
    }
    .modal-footer{
        .modal-back-btn {
            width: 42px;
            height: 42px;
        }
    }
    .addon-category-image-container{
        padding: 0px 24px 20px;
    }
    .activity-modal-header .close-btn {
        top: 0;
        position: relative;
        right: 20px;
        margin: 10px 0 10px auto !important;
        background: #fff !important;
    }
    .option-note{
        margin: 0;
    }
    .activity-cards-wrapper{
        padding: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        .activity-cards-container {
            max-width: 100vw !important;
        }
        .scroll-indicator{
            display: none !important;
        }
        .activity-cards-container{
            display: flex;
            flex-direction: column;
            gap: 10px;
            overflow: unset;
            .activity-card{
                width: 100%;
                padding: 12px;
                gap: 12px;
                border-radius: 9px;
                flex-direction: row-reverse;
                .activity-card-header{
                    width: auto;
                    gap: 10px;
                }
                .activity-card-body{
                    flex: 1;  
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    .activity-icon{
                        width: 32px;
                    }
                    .activity-card-content h3{
                        margin-top: 0;
                        font-weight: 600;
                    }
                    .select-activity-link{
                        color: #0171E3;
                        font-size: 12px;
                        font-weight: 600;
                        svg path{
                            fill: #0171E3;
                        }
                    }
                }
            }
            .activity-checkbox {
                width: 22px;
                height: 22px;
            }
        }
    }
    .summary-subtitle{
        color: #B2AEAE;
        margin: 8px 0;
    }
    .license-options-container{
        .visa-footer {
            .visa-selected-controls {
                justify-content: space-between;
            }
        }
    }
}








@media (min-width: 641px) {
  .mobile-payment-step,
  .mobile-payment-step.is-active {
    display: none !important;
  }

  .b2c-costcalculator.mobile-payment-step-active .sticky-summary-container,
  .cc-form.mobile-payment-step-active .sticky-summary-container {
    display: block !important;
  }
}

/* ── Summary CTA button group (Get Instant Quote + Pay For License) ── */
.summary-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.summary-cta-group .get-call-btn {
  margin: 0;
}

.pay-for-license-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 40px;
  background: #0171E3;
  color: #fff;
  border: 1.5px solid #0171E3;
  padding: 14px 24px !important;
  font-size: 16px;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  box-sizing: border-box;
}

.pay-for-license-btn:hover {
  background: #3498FF;
  color: #fff;
  border-color: #3498FF;
}

.pay-for-license-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.pay-for-license-btn:hover svg {
  /* transform: translateX(2px); */
}

/* ── Summary Payment View ── */
.summary-payment-view {
  display: none;
}

.sticky-summary-container.payment-view-active .summary-payment-view {
  display: block;
}

/* Payment header at top (outside summary-payment-view) – hidden by default */
#summary-payment-header-top {
  display: none;
}

.sticky-summary-container.payment-view-active #summary-payment-header-top {
  display: flex;
}

@media (min-width: 641px) {
  .sticky-summary-container.payment-view-active .grand-total-container {
    display: none !important;
  }

  .sticky-summary-container.payment-view-active .detailed-summary {
    display: none !important;
  }
}

.sticky-summary-container.payment-view-active .summary-header,
.sticky-summary-container.payment-view-active .simplified-summary,
.sticky-summary-container.payment-view-active .summary-cta-group {
  display: none !important;
}

/* Hide edit buttons in estimate sections during payment view */
.sticky-summary-container.payment-view-active .detailed-summary .edit-btn {
  display: none !important;
}

/* Hide the simplified fee list in the payment card (full breakdown is shown above) */
.sticky-summary-container.payment-view-active .summary-payment-fee-list,
.sticky-summary-container.payment-view-active .summary-payment-divider {
  display: none !important;
}

.sticky-summary-container.payment-view-active {
  overflow: visible !important;
}

.sticky-summary-container.payment-view-active::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

 
.b2c-costcalculator.mobile-steps-active .b2c-costcalculator--right .sticky-summary-container.payment-view-active::after {
  display: none !important;
}

.summary-payment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.summary-payment-back-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.summary-payment-back-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.summary-payment-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.summary-payment-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.summary-payment-fee-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.summary-payment-fee-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.summary-payment-fee-row + .summary-payment-fee-row {
  margin-top: 6px;
}

.summary-payment-fee-label {
  flex: 1 1 auto;
  min-width: 0;
}

.summary-payment-fee-value {
  flex-shrink: 0;
  font-weight: 700;
}

.summary-payment-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 16px 0;
}

.summary-payment-grand-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-payment-gt-label {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.summary-payment-gt-amount {
  font-size: 18px;
  font-weight: 700;
  color: #0171E3;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.summary-payment-order {
  margin: 12px 0 0;
  font-size: 12px;
  color: #6b7280;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.summary-payment-footnote {
  margin: 12px 0 0;
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.4;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.summary-payment-section {
  margin-bottom: 16px;
  display: none;
}

.summary-payment-section-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.summary-payment-method-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
}

.summary-payment-method-row-tall {
  align-items: flex-start;
}

.summary-payment-method-icon {
  aspect-ratio: 58 / 38;
  max-width: 50px;
  flex-shrink: 0;
}

.summary-payment-method-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.summary-payment-method-text {
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.summary-payment-method-stack {
  flex: 1 1 auto;
  min-width: 0;
}

.summary-payment-method-sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #9ca3af;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.summary-payment-add-btn {
  flex-shrink: 0;
  border: none;
  background: #0171E3;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: background 0.2s;
}

.summary-payment-add-btn:hover {
  background: #005bb5;
}

.summary-payment-between-sections {
  height: 1px;
  background: #e5e7eb;
  margin: 16px 0;
}

.summary-payment-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.summary-payment-payable {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.5;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.summary-payment-payable .summary-payment-payable-suffix {
  font-size: 11px;
  font-weight: 400;
  color: #6b7280;
}

.summary-payment-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 40px;
  background: #0171E3;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.summary-payment-submit:hover {
  background: #005bb5;
}

/* ── Mobile overrides for summary payment view ── */
@media (max-width: 640px) {
  .pay-for-license-btn {
    font-size: 14px;
    padding: 12px 20px !important;
  }

  .summary-cta-group {
    gap: 8px;
  }

  .sticky-summary-container.payment-view-active .sheet-close-handle {
    display: flex !important;
  }

  .sticky-summary-container.payment-view-active {
    overflow-y: auto;
  }

  .summary-payment-card {
    padding: 16px;
    margin-bottom: 16px;
  }

  .summary-payment-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    margin-top: 16px;
    z-index: 2;
  }

  .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open) .pay-for-license-btn,
  .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) .pay-for-license-btn {
    display: none !important;
  }

  .b2c-costcalculator.mobile-steps-active .sticky-summary-container:not(.sheet-open) .summary-cta-group,
  .cc-form.mobile-steps-active .sticky-summary-container:not(.sheet-open) .summary-cta-group {
    flex: 0 0 auto;
    margin: 0 !important;
    width: auto !important;
    flex-direction: row;
    gap: 0;
  }

  .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open .summary-cta-group,
  .cc-form.mobile-steps-active .sticky-summary-container.sheet-open .summary-cta-group {
    flex-direction: column;
    gap: 8px;
  }

  .b2c-costcalculator.mobile-steps-active .sticky-summary-container.sheet-open .pay-for-license-btn,
  .cc-form.mobile-steps-active .sticky-summary-container.sheet-open .pay-for-license-btn {
    display: flex !important;
  }

  .sticky-summary-container.sheet-open.payment-view-active .summary-payment-view {
    display: block !important;
    flex: none;
  }
}
