:root {
    --primary-blue: #1b3c77;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    --text-gray: #666;
    --danger-red: #d9534f;
}

* {
    box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}


body {
  font-family: 'Roboto', sans-serif;
    background-color: #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.open-btn {
    background: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.open-btn:hover {
    background: #132a54;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
    z-index: 1000;
    overflow-y: auto;
}

.modal-container {
    background: white;
    width: 95%;
    max-width: 1080px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 30px;
    position: relative;
    margin-bottom: 20px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.modal-header h2 {
    color: #ccc;
    margin: 0;
    font-size: 36px;
    font-weight: 600;
}

.amount-text {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 17px;
    width: 220px;
    text-align: end;
}

.stepper-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 350px;
    min-width: 300px;

}

.stepper-line-bg {
    position: absolute;
    top: 4px;
    left: 45px;
    width: 75%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.stepper-line-fill {
    position: absolute;
    top: 4px;
    left: 45px;
    width: 0%;
    height: 2px;
    background: var(--primary-blue);
    z-index: 2;
    transition: 0.4s ease;
}

.step-item {
    position: relative;
    z-index: 3;
    text-align: center;
    flex: 1;
}

.step-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: block;
    transition: 0.3s;
    border: 0px solid white;
    box-shadow: 0 0 0 1px #ccc;
}

.step-label {
    font-size: 10px;
    color: #999;
    display: block;
    white-space: nowrap;
}

.step-item.active .step-dot {
    background: var(--primary-blue);
    box-shadow: 0 0 0 1px var(--primary-blue);
}

.step-item.active .step-label {
    color: var(--primary-blue);
    font-weight: bold;
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
        height: 440px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 14px;
    margin-right: -14px;
    scrollbar-width: thin;
    scrollbar-color: #1b3c77 #f1f1f1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.photo-section {
    display: flex;
    gap: 15px;
    align-items: center;
}

.photo-box {
    width: 90px;
    height: 110px;
    background: #e0e6ed;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.field-group {
    position: relative;
}

.field-group label {
    font-size: 12px;
    color: #505050;
    margin-bottom: 6px;
}

.field-group i {
    position: absolute;
    right: 25px;
    top: 35px;
    font-size: 20px;
    color: #1b3c77;
}

.field-group select {
    padding: 7px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 11px;
    width: 100%;
    outline: none;
    background-color: #fff;
    appearance: none;
    color: #858585;

}

select:focus,
input:focus {

    outline: none;
}

.instruction-box {
    background: #fff;
    font-size: 12px;
    color: #1b1b1b;
    line-height: 15px;
    margin-top: 15px;
}

.instruction-box p {
    margin-bottom: 5px;
}

.additional-services {
    margin-top: 15px;
}

.additional-services h4 {
    color: var(--primary-blue);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-item {
    border: 1px solid #eee;
    padding: 6px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    line-height: normal;
}

.service-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
}

.service-item label input {
    width: 12px;
    height: 12px;
}

.price {
    color: var(--primary-blue);
    font-weight: bold;
}
.address-grid > :first-child {
  border-right: 1px solid #eee;
}
.address-column select,
.address-column input
 {
    padding: 7px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 11px;
    width: 100%;
    outline: none;
    background-color: #fff;
    appearance: none;
    color: #858585;
}
.address-column .same_add123{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: normal;
    color: #000;
    flex-direction: row-reverse;
}
.address-column .same_add123 input{
    width: 15px;
    height: 15px;
    padding: 0px;
    appearance: auto;
    margin: 0px;
}

.all_select34{
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}
#multiStepForm{
    position: relative;
}
.address-column h4 {
color: var(--primary-blue);
    font-size: 18px;

    margin-bottom: 20px;
    display: flex;
    font-weight: 600;
    gap: 20px;
    align-items: center;

}

.row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.single-row {
    margin-bottom: 10px;
}
.Shipping_optionsheading{
color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    font-weight: 600;
    gap: 20px;
}
.shipping-option {
    border: 1px solid #eee;
    padding: 5px 10px;
    line-height: normal;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    border-radius: 4px;
    cursor: pointer;
}
.shipping-option label{
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.review-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.summary-card {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
}


.modal-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    align-items: center;
}

.btn-outline-red {
    border: 1px solid #f28d8d;
    color: var(--danger-red);
    background: white;
    padding: 5px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
}

.nav-right {
    display: flex;
    gap: 10px;
}

.btn-gray {
    background: var(--primary-blue);
    color: white;
    padding: 6px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
}

.btn-blue {
    background: var(--primary-blue);
    color: white;
    padding: 6px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
}

@media (max-width: 768px) {

    .photo-section,
    .address-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .stepper-wrapper {
        width: 100%;
    }

    .modal-container {
        padding: 15px;
    }
}

.profileUp999_wrap {
    display: flex;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    height: 60px;
    width: 60px;
    box-shadow: 0px 0px 10px #00000024;
    background: #e7e7e7;
}

.profileUp999_box {

    position: relative;
    overflow: hidden;
    cursor: pointer;
}

#profileUp999_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profileUp999_upload {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: .3s;
}

.profileUp999_box:hover .profileUp999_upload {
    opacity: 1;
}

.profileUp999_remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #000;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    text-align: center;
    line-height: 22px;
    cursor: pointer;
    display: none;
    z-index: 2;
}

#profileUp999_input {
    display: none;
}

.input_fi23 {
    display: flex;
    flex-wrap: wrap;
}

.comments_box2 label {
    display: block;
    font-size: 12px;
    color: #4f4f4f;
    margin-bottom: 6px;
}

.comments_box2 textarea {
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 12px;
    width: 100%;
    outline: none;
    background-color: #fff;
    appearance: none;
    color: #858585;
    height: 38px;
}

.btn_boxadmore32 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.btn_boxadmore32 h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f3a8a;
}

.add_morebtn34 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #1f3a8a;

}

.add_morebtn34::after {
    content: "+";
    font-size: 21px;
    line-height: 1;
    background: #1f3a8a;
    height: 25px;
    width: 25px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media(max-width:576px) {
    .btn_boxadmore32 {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.multiForm_clone {
    position: relative;
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.multiForm_remove {
    position: absolute;
    top: 10px;
    right: 0;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}

.first_box1 {
    height: 440px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 14px;
    margin-right: -14px;
    scrollbar-width: thin;
    scrollbar-color: #1b3c77 #f1f1f1;
}
.first_box1::-webkit-scrollbar {
    width: 6px;
}
.first_box1::-webkit-scrollbar-track {
    background: #1b3c77;
    border-radius: 10px;
}
.first_box1::-webkit-scrollbar-thumb {
    background: #1b3c77;
    border-radius: 10px;
}
.first_box1::-webkit-scrollbar-thumb:hover {
    background: #1b3c77;
}


/* step 4 css start */

.head1 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.order-summary-section p{
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}
.order-summary-section p span{
    color: #000;
}
.order-summary-section .order-info{
    display: flex;
    align-items: center;
    gap: 10px;
}
.order-summary-section .order-info img{
    height: 80px;
    width: 80px;
    border-radius: 10px;
    object-fit: cover;
}
.order-summary-section .order-info ul{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 0px 30px;
}

.order-summary-section .order-info ul li{
  font-size: 13px;
  color: #333;
}
.last_finalprice12{
    list-style: none;
    padding: 0px;
    
}
.last_finalprice12 li{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.last_finalprice12 li p{
color: #000 !important;
    font-size: 14px;
    font-weight: 500;
}
.last_finalprice12 li span{
    font-weight: 600;
    color: var(--primary-blue);
}

.border-b1{
    border-bottom: 1px solid #eee;
    padding-bottom: 0px;
    margin-bottom: 10px;

}
.border-l1{
    border-left: 1px solid #eee;
    padding-bottom: 10px;
}


/* input new desgin  */
        /* Main Container */
        .option-container {
display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    transition: 0.2s;
    max-width: 600px;
    user-select: none;
        }

        /* Checkbox wrapper */
        .checkbox-wrapper {
            display: flex;
            align-items: center;
            flex-grow: 1;
        }

        /* Hidden Original Checkbox */
        .checkbox-wrapper input[type="checkbox"] {
            display: none;
        }

        /* Custom Checkbox Box */
        .custom-checkbox {
width: 12px;
    height: 12px;
    border: 1.5px solid #2b4c8c;
    border-radius: 2px;
    margin-right: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
    transition: all 0.2s;
        }

        /* Inside square when checked */
        .custom-checkbox::after {
            content: "";
            width: 8px;
            height: 8px;
            background-color: #2b4c8c;
            display: none;
            border-radius: 1px;
        }

        /* Checked State Styling */
        .checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox {
            background-color: transparent; 
        }

        .checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox::after {
            display: block;
        }

        /* Text Content */
        .label-text {
            font-size: 12px;
            color: #333;
        }

        /* Price Styling */
        .price {
            font-weight: bold;
            color: #2b4c8c;
            font-size: 12px;
        }

        /* Hover Effect */
        .option-container:hover {
            border-color: #ccc;
        }


.option-container.all_select34{
    padding: 0px;
    border: none;
}
/* mobile responsive  */

@media (max-width: 992px) {
    .modal-header {
        flex-direction: column;
        gap: 10px;
    }
    .modal-header .amount-text{
        text-align: center;
    }
    .field-group select{
        margin-bottom: 10px;
    }
    .address-column h4{
        margin: 10px 0px;
    }
}

@media screen and (max-width: 768px) {
    .stepper-line-bg{
        left: 45px;
    }
    .stepper-line-fill{
        left: 40px;
    }
    .address-column .field-group{
        padding: 0px;
    }
    .all_select34{
        position: relative;
        bottom: 0px;
        left: auto;
        transform: none;
        margin-bottom: 10px;
    }
    .order-summary-section .order-info{
                flex-direction: column;
        align-items: start;
    }
    .order-summary-section .order-info ul{
        display: block;
    }
    .photo-section{
        flex-direction: column;
    }
    .photo-section .row{
        margin: 0px;
    }
    .photo-section .row .field-group{
        padding: 0px;
    }
}



