.calculate-page {
    margin-top: 180px;
    min-height: auto;
    overflow: visible;
    background-color: #0f0f0f;
    color: white;
    position: relative;
}

.calculate-title {
    margin-bottom: 20px;
    font-family: Poppins, sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 1.4px;
}



.price-sub {
    font-size: 14px;
    color: white;
    margin-top: 5px;
    font-family: Poppins, sans-serif;
}
#summary-locations {
    text-align: left;
}
.screen-pricing-message {
    font-size: 12px;
    opacity: 0.6;
    font-style: italic;
}
.step-section#step4 .options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

    .step-section#step4 .options input[type="checkbox"] {
        display: none;
    }

        .step-section#step4 .options input[type="checkbox"] + span {
            position: relative;
            padding-left: 30px; 
        }

            .step-section#step4 .options input[type="checkbox"] + span::before {
                content: '';
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 18px;
                height: 18px;
                border-radius: 50%; 
                border: 2px solid #999;
                background-color: #fff;
                transition: all 0.3s ease;
            }

        .step-section#step4 .options input[type="checkbox"]:checked + span::before {
            background-color: #9bbe2c;
            border-color: #9bbe2c;
            content: '✔';
            color: #fff;
            font-size: 14px;
            text-align: center;
            line-height: 18px;
        }

#otherBusinessInput {
    width: 100%;
    padding: 5px 0;
    border: none;
    border-bottom: 1px solid #333;
    background: transparent;
    font-size: 14px;
    outline: none;
    margin-top: 2px;
    color: white;
    font-family: Poppins, sans-serif;
}

    .other-business-input::placeholder {
        color: #888;
        font-style: italic;
    }

.calculate-title span:first-child {
    color: #9bbe2c;
}

.error-message {
    color: #9bbe2c;
    font-size: 0.9em;
    margin-top: 5px;
}
#summary-locations-final,
#summary-service-final {
    text-align: left;
}
.step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    font-family: Poppins, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.5;
}
.one-time {
    margin-bottom: 10px !important;
    justify-content: space-around;
    font-size:16px!important
}
.one-time-step{
    text-align:left;
    font-size:12px;
    font-style:italic;
    padding-bottom:0!important;
    opacity:0.8;
}
.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

    .options label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        font-size: 16px;
        font-weight: 400;
        font-family: Sora, sans-serif;
    }

.options input[type="radio"] {
    accent-color: #9bbe2c;
    width: 18px;
    height: 18px;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-weight: 500;
    font-size: 24px;

}

.options .price {
    color: #9bbe2c;
    margin-left: 5px;
    font-weight: 400;
}


.input-box {
    margin-bottom: 40px;
}

.input-box input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #aaa;
    background-color: transparent;
    color: white;
    font-size: 16px;
    outline: none;
}


.btn:hover {
    background-color: #9bbe2c;
    color: black;
    border-color: #9bbe2c;
}


.styled-select {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,0 140,0 70,70' fill='%23ffffff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.styled-select option {
    background-color: #0f0f0f;
    color: white;
}

#locationSelectorsContainer {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
#locationSelectorsContainer select {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    color: white;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    margin-bottom: 5px;
    border-radius:0;
}

#screenInputsContainer {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.screen-input-group label {
    font-size: 15px;
    margin-bottom: 10px;
    display: inline-block;
    color: white;
}

.screen-input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #aaa;
    background-color: transparent;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    outline: none;
}


.input-box input[type="text"],
.input-box input[type="email"] {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    color: white;
    font-size: 16px;
    outline: none;
    margin-bottom: 30px;
}

.input-box input::placeholder {
    color: #bbb;
    font-weight: 300;
}

.thank-you-message {
    text-align: center;
    margin-bottom: 40px;
}

    .thank-you-message h2 {
        font-size: 40px;
        font-family: Poppins, sans-serif;
        font-weight: 400;
        line-height: 1.4;
        letter-spacing: 1.4px;
        margin-bottom: 20px;
    }

    .thank-you-message span {
        color: #9bbe2c;
        font-size: 40px;
        font-family: Poppins, sans-serif;
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: 1.4px;
        margin-bottom: 20px;
    }

#screenInputsContainer input,
.branch-number-input,
#otherBusinessInput {
    font-size: 16px;
}
#step2 input,
#step2 select,
#step2 textarea,
#step3 input,
#step3 select,
#step3 textarea {
    font-size: 16px;
}
.package-details p {
    font-weight: 500;
    margin-bottom: 15px;
}

.package-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-details li {
    margin: 10px 0;
    font-weight: 300;
    font-size: 15px;
}

.price-box {
    background-color: #9bbe2c;
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
}

.price-amount {
    font-size: 32px;
    font-weight: bold;
}

.price-sub {
    font-size: 14px;
    margin-top: 5px;
}
    .info-icon i {
        font-size: 14px;
        color: #9bbe2c
    }
.info-icon {
    position: relative;
    cursor: pointer;
    display: inline-block;
    margin-left: 4px;
    margin-left: 5px;
    color: #007bff;
    cursor: pointer;
}
#step6 .invoice-cards{
    width:450px;
}

.info-icon[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    margin-top: 30px;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    margin-left: 50%;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    max-width: 250px;
    min-width: 200px;
    width: auto;
    word-wrap: break-word;
    z-index: 10005555;
}

    .info-icon[data-tooltip]:hover::after {
        opacity: 1;
    }



#calculateTitle {
    text-align: center;
    margin-bottom: 15px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
#calculate .invoice-cards {
    display: flex;
    flex-wrap: nowrap;
    width:100%;
    flex-direction: column;
    justify-content: center;
}
#step6 .invoice-cards {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}
td[colspan="2"] {
    text-align: left !important;
    border-bottom: none !important;
}

    #step6 .invoice-cards::-webkit-scrollbar {
        width: 4px;
    }

    #step6 .invoice-cards::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    #step6 .invoice-cards::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 3px;
    }



#calculate #grandTotals,
#step6 #grandTotals {
    width: 100%;
    text-align: center;
    margin-top: 0px;
    font-weight: 600;
    font-size: 20px;
    color: #9bbe2c;
}
#calculate .card,
#step6 .card {
    flex: 1 1 45%; 
    background: #101112;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}
    #calculate .card h3,
    #step6 .card h3 {
        margin-top: 0;
        margin-bottom: 15px;
        color: white;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 8px;
        font-size: 20px;
        font-weight: 600;
        line-height: 1.5;
    }
#calculate .invoiceTable,
#step6 .invoiceTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 15px;
}
    #calculate .invoiceTable thead th,
    #step6 .invoiceTable thead th {
        background: #101112;
        color: white;
        font-weight: 600;
        padding: 10px;
        border-bottom: 2px solid #ddd;
    }
    #calculate .invoiceTable tbody td,
    #step6 .invoiceTable tbody td {
        font-size:16px;
        font-weight:400;
        padding: 10px;
        color: white;
        border-bottom: 1px solid #eee;
        text-align: left;
    }
    #calculate .invoiceTable tbody tr:nth-child(even),
    #step6 .invoiceTable tbody tr:nth-child(even) {
        background: #101112;
    }
    #calculate .invoiceTable tbody tr:last-child td,
    #step6 .invoiceTable tbody tr:last-child td {
        font-weight: bold;
        background: #101112;
        color: #9bbe2c;
        border-top: 2px solid #ccc;
    }
    #calculate .invoiceTable td:last-child,
    #calculate .invoiceTable th:last-child,
    #step6 .invoiceTable td:last-child,
    #step6 .invoiceTable th:last-child {
        text-align: right;
    }
#calculate {
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.calculate-section {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #0f0f0f #f1f1f1;
}

.calculate-section::-webkit-scrollbar {
    width: 4px;                
}

.calculate-section::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 3px;
}
.calculate-section::-webkit-scrollbar-thumb:hover {
    background-color: #555; 
}
.step-wrapper {
    flex: 1 1 60%;
}

.invoice-cards {
    position: sticky;
    top: 13px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.invoice-cards .card {
    margin-bottom: 8px;
}

.invoiceTable {
    width: 100%;
    border-collapse: collapse;
}

.invoiceTable td {
    padding: 5px 8px;
    border-bottom: 1px solid #ddd;
}

.invoiceTable tr:last-child td {
    font-weight: bold;
}

.step-section {
    display: none;
}

.step-section.active {
    display: block;
}

@media (max-width: 900px) {
    #calculate {
        flex-direction: column;
    }
    .invoice-cards {
        position: relative;
        top: 0;
        flex: 1 1 100%;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    #screenInputsContainer{
        gap:10px;
    }
    #step6 .card {
        flex: 1 1 95%;
        padding: 15px;
    }
    #step6 .invoice-cards{
        width:auto;
    }
    .step-section.active {
        padding-bottom: 10px !important;
    }
    #step6 .invoice-cards {
        gap: 15px;
        flex-direction: column; 
    }
    #step6{
        margin-top:-70px;
    }
}


#step6 small {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}



.step-section.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 20px auto;
    text-align: center;
    box-sizing: border-box;
    min-height: auto;
    padding-bottom: 40px;
}
#step6{
    margin-top:-80px;
}

.step-wrapper {
    display: grid;
    grid-template-columns: 0px 1fr;
    align-items: flex-start;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


.buttons {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 20px;
}

.btn {
    background: transparent;
    color: white;
    padding: 12px 40px;
    border: 1px solid white;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 400;
    font-family: Poppins, sans-serif;

}

.buttons .btn:only-child {
    margin-left: auto;
}

.step-form-wrapper form {
    width: 100%;
}

#step3 .step {
    margin-bottom: 0;
}


.step-grid {
    display: grid;
    gap: 30px;
    width: fit-content;
    margin: 0 auto;
}


.step-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    flex-grow: 1;
}
.last-step{
    max-width:750px!important;
}
#summary-service{
    text-align:left;
}
.step-fixed-number {
    border-left: 2px solid gray;
    border-right: 2px solid gray;
    padding-left: 25px;
    padding-right: 25px;
    font-family: Poppins, sans-serif;
    font-size: 22px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

#stepNumber {
    height: fit-content;
    text-align: center;
}


.screen-input-group label {
    font-size: 15px;
    margin-bottom: 10px;
    display: inline-block;
    color: white;
    text-align: left;
    width: 100%;
}


.screen-input-group::before {
    content: none;
}

.screen-input-group label {
    font-size: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-align: left;
    width: 100%;
}

.screen-input-group label .arrow {
    color: #9bbe2c;
    font-weight: bold;
}


.step-wrapper.final-step {
    justify-content: center;
}

.step-wrapper.final-step .calculate-step-container {
    max-width: 1000px;
    width: 100%;
}

.price-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border: 1px solid white;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.price-summary-inner {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}


.package-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-details li {
    margin: 10px 0;
    font-weight: 300;
    font-size: 15px;

    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.package-details li::before {
    content: '→';
    color: #9bbe2c;
    font-weight: bold;
}

#step3 .step-grid {
    width: 100%;
    max-width: 1000px;

}

#step3 .step-form-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#step3 form {
    width: 100%;
}

.step-section {
    display: none !important;
}

.step-section.active {
    display: flex !important;
}



@media(max-width: 1100px) {
    .step-wrapper {
        grid-template-columns: 40px 1fr;
    }
}

@media(max-width: 1000px) {
    .step-wrapper {
        width: 70%;
    }
}
.step-wrapper {
    flex-direction: column;
}

.calculate-section {
    max-height: 100%;
    overflow-y: auto; 
}
@media(max-width: 850px) {
      .step-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;  
    gap: 20px;            
  }

  .step-fixed-number {
    border-left: 2px solid gray;
    border-right: 2px solid gray;
    padding: 0;
    font-size: 22px;      
    text-align: center;
    width: 10%;
  }

  .step {
    font-size: 20px;
    text-align: center;    
  }
  .input-box{
      margin-bottom:10px;
  }
    .buttons .btn:only-child,
    .buttons {
        padding-top: 10px;
    }

}

@media(max-width:500px) {
    .price-summary-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .step-wrapper{
        width:90%;
    }

    .thank-you-message h2 {
        font-size: 25px;
    }

    .calculate-title {
        font-size: 25px;
        max-width: 300px;
        margin: 0 auto;
    }

    #calculateTitle {
        margin-bottom: 30px;
    }

    .calculate-page {
        margin-top: 110px;

    }
    #calculate #grandTotals, #step6 #grandTotals,
    #calculate .card h3, #step6 .card h3 {
        font-size: 18px;
    }
    .invoice-cards{
        margin-top:0!important;
    }
    .styled-select {
        font-size: 12px;
        width: 100%;
        background-size: 10px;
        background-position: right 10px center;
    }

    #locationSelectorsContainer select {
        width: 100%;
        font-size: 12px;
    }

    .screen-input-group input {
        font-size: 12px;
        margin-bottom: 10px;
        width: 100%;
    }


    .input-box input[type="text"],
    .input-box input[type="email"] {
        font-size: 12px;
        margin-bottom: 0;
        width: 100%;
    }

    .options label {
        font-size: 13px;
        text-align: left;
        gap: 5px;
        
    }

    .options input[type="radio"] {
        width: 13px;
        height: 13px;
    }

    #screenInputsContainer {
        margin-bottom: 20px;

    }
    .btn-get-demo,
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

  .step-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;  
    gap: 20px;            
  }

  .step-fixed-number {
    border-left: 2px solid gray;
    border-right: 2px solid gray;
    padding: 0;
    font-size: 18px;      
    text-align: center;
    width: 10%;
  }

  .step {
    font-size: 16px;
    text-align: center;    
  }
}

