.closet-system-estimator-section {
    /* display: flex; */
    width: 100%;
    float: left;
    position: relative;
}

.closet-system-estimator-form-inner {
    /* max-width: 1000px !important;
    width: 1000px; */
    position: relative;
}

.closet-system-estimator-form-inner .form-box {
    padding: 40px 40px;
    margin-top: 10px;
}

.form-box {
    background: rgba(234, 234, 234, 0.40);
    border: none;
}

.form-box input,
.form-box .wpcf7-form-control-wrap select {
    background: transparent;
    border-bottom: 1px solid black;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0 !important;
}


.closet-system-estimator-form-inner ::placeholder {
    color: rgba(0, 0, 0, 0.60) !important;
    /* e.g., dark grey */
    font-family: Jost;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.form-box .wpcf7-form-control-wrap input[type=text],
.form-box .wpcf7-form-control-wrap input[type=email],
.form-inner.dd-rd p,
.firstcontact-div span,
.form-box .closet-system-notes-text,
.FileAttachment-label {
    color: rgba(0, 0, 0, 0.60);
    font-family: Jost;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 0;
}

.form-box.dimensions ul.closet-system-notes-text {
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    line-height: 20.23px;
    font-family: jost;
    color: rgba(0, 0, 0, 0.6);
}

.form-box .closet-system-notes-text,
.form-box.dimensions ul.closet-system-notes-text {
    margin-bottom: 1.2rem;
}

.form-box .wpcf7-form-control-wrap select:not([size]):not([multiple]) {
    color: rgba(0, 0, 0, 0.60) !important;
    font-family: Jost;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 14px 14px;
}


input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.8);
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 0;
    /* Makes it square */
    position: relative;
}

input[type="radio"]:checked::before {
    /* content: ""; */
    display: block;
    /* background-color: #000; */
    width: 12px;
    height: 12px;
    position: absolute;
    top: 3px;
    left: 3px;
}

input[type="radio"]:checked {
    background-image: url(https://dev.palmerindustries.com/wp-content/plugins/custom-elementor-widgets/assets/images/on.png);
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(135, 210, 210, 1);
}



.customer-category-options {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url("/wp-content/plugins/custom-elementor-widgets/assets/images/collapse-arrow.png") no-repeat right 0rem center !important;
    padding-right: 2.5rem;
    /* Ensure text doesn't overlap the arrow */
    background-size: 30px 30px !important;
}

/* radio btn css */
.form-box.customer-id .form-inner.closet-system-form-inner {
    display: flex;
    gap: 30px;
    height: 60px;
    padding-top: 10px;
}

.form-box.customer-id .form-inner.closet-system-form-inner .closet-system-firstcontact-radio-btn {
    display: flex;
    gap: 50px;
}

.form-box.customer-id .form-inner.closet-system-form-inner .closet-system-firstcontact-radio-btn span {
    display: flex;
    align-items: center;
}

.project-id-zip-textarea .main-xip.project-zip-radio {
    padding: 0;
}

/* submit button */
button.custom-submit-button {
    padding: 12px 32px;
    background-color: rgba(135, 210, 210, 1);
    color: rgba(36, 36, 36, 1);
    border: 1px solid rgba(135, 210, 210, 1);
    font-size: 18px;
    font-weight: 400;
    line-height: 25.2px;
    font-family: jost;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
}

button.custom-submit-button:hover {
    background-color: transparent;
    border-color: #000;
}

button.custom-submit-button i {
    color: rgba(0, 0, 0, 1);
    font-size: 15px;
    font-weight: 600;
}

button.custom-submit-button:hover i {
    color: rgba(0, 0, 0, 1);
}

.closet-submit-btn.palmer-button {
    height: auto;
}

.closet-submit-btn>p {
    display: contents;
}


/* steps progress */

.step-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    position: relative;
    padding-top: 40px;
    padding-bottom: 30px;
}

.steps-progress.active {
    background-color: rgba(135, 210, 210, 1);
}

.steps-progress {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

}

.steps-progress:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -35px;
    width: 50px;
    height: 2px;
    background-color: #ddd;
    z-index: -1;
    transform: translateY(-50%);
}

.steps-progress.active+.steps-progress::before {
    background-color: rgba(135, 210, 210, 1);
}

.steps-progress p {
    margin-bottom: 0;
}

/* section in grid */


.studio-tubular-section {
    display: flex;
    width: 100%;
    float: left;
    position: relative;
}


/* buttons */

.form-navigation {
    margin-top: 30px;
    display: flex;
    justify-content: right;
    /* aligns buttons to the right */
    gap: 15px;
    /* space between the button divs */
}

.form-navigation div {
    display: inline-block;
}

/* next and back btn css */
button.btn-go-back.palmer-button.palmer-secondary-btn,
button.btn-clear-form.palmer-button.palmer-secondary-btn {
    padding: 12px 32px;
    background-color: #fff;
    color: rgba(36, 36, 36, 1);
    border: 1px solid rgba(135, 210, 210, 1);
    font-size: 18px;
    font-weight: 400;
    line-height: 25.2px;
    font-family: jost;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
}

.studio-tubular-btn {
    background-color: #87D2D2 !important;
    padding: 12px 32px !important;
    color: rgba(36, 36, 36, 1) !important;
    border: 1px solid rgba(135, 210, 210, 1) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 25.2px !important;
    border-radius: 0 !important;
}

.studio-tubular-btn-clr {
    padding: 12px 32px !important;
    background-color: #fff !important;
    color: rgba(36, 36, 36, 1) !important;
    border: 1px solid rgba(135, 210, 210, 1) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 25.2px !important;
    border-radius: 0 !important;
}

button.btn-go-back.palmer-button.palmer-secondary-btn:hover,
button.btn-clear-form.palmer-button.palmer-secondary-btn:hover {
    background-color: transparent;
    border: 1px solid #000;
    color: rgba(36, 36, 36, 1);
}

.studio-tubular-btn-clr:hover {
    background-color: transparent !important;
    border: 1px solid #000 !important;
    color: rgba(36, 36, 36, 1) !important;
}

.studio-tubular-btn:hover {
    background-color: transparent !important;
    border: 1px solid #000 !important;
    color: rgba(36, 36, 36, 1) !important;
}

button.btn-go-back i,
button.btn-clear-form i,
button.btn-next-step i,
.studio-tubular-btn i,
.studio-tubular-btn-clr i {
    color: rgba(0, 0, 0, 1);
    font-size: 15px;
    font-weight: 600;
}

button.btn-next-step.palmer-button.palmer-primary-btn,
.studio-tubular-btn {
    color: rgba(36, 36, 36, 1);
    border: 1px solid rgba(135, 210, 210, 1);
    font-size: 18px;
    font-weight: 400;
    line-height: 25.2px;
    font-family: jost;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
    border-color: transparent;
    border-radius: 0;
}

.mobile-step-progress {
    display: none;
}

.heading-h4 {
    position: relative;
    top: 0;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding-bottom: 38px;
    display: flex;
    justify-content: center;
}

/* inner scroll - 3rd from */
.form-table-wrapper {
    /* shweta */
    /* max-height: 300px; */
    max-height: 320px;
    /*  */
    /* Adjust height to fit about 4 rows */
    overflow-y: auto;
    overflow-x: hidden;
    /* horizontal scroll not needed */
    padding: 0 10px;
}

/* Table styling to keep layout nice */
.form-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
}

/* Optional: Prevent large padding/margin issues */
.form-table-wrapper table td,
.form-table-wrapper table th {
    padding: 10px;
}

.zip-code-col {
    padding-left: 0;
}

.note-col {
    padding-right: 0;
}

.projectnote,
.AdditionalNote {
    border: 1px solid rgba(0, 0, 0, 0.30);
    background: #FFF;
    border-radius: 0 !important;
}

.codedropz-upload-handler {
    border: 1px solid #87D2D2;
    background: #FFF;
    border-radius: 0;
}

b,
strong {
    font-weight: bold !important;
}

.border-bottom {
    border-bottom: 1px solid black;
}

.common-content {
    color: rgba(0, 0, 0, 0.60) !important;
    font-family: Jost;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 0;
}

.form-box h4 {
    font-size: 24px;
    padding-top: 10px;
}

.last-li li {
    color: rgba(0, 0, 0, 0.60);
    font-family: Jost;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.sub-text {
    /* shweta */
    color: rgba(0, 0, 0, 0.60);
    /* color: #e60000; */
    /*  */
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.codedropz-upload-inner .codedropz-btn-wrap a.cd-upload-btn {
    /* background: #99c5b8; */
    border-radius: 0;
    color: #ffffff;
    font-size: 18px;
    text-transform: uppercase;
    height: auto;
    /* border: 1px solid #87D2D2; */
    background: #FFF;
    color: #000;
    display: inline-flex;
    padding: 05px 20px 10px 20px;
    align-items: center;
    gap: 10px;
    font-weight: normal;
    display: block;
    width: 100%;

}

.field-error {
    border-bottom: 2px solid red !important;
}

.last-text-left {
    text-align: center;
}

#rc-anchor-container {
    border: 1px solid rgba(0, 0, 0, 0.20);
    background: #FFF;
    padding: 10px;
    display: inline-block;
    border-radius: 4px;
    /* Optional */
}
.firstcontact-div span.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 0.65em;
    font-weight: 400;
    display: block;
}

.mb-select {
    margin-top: 20px;
}
form a {
    text-decoration: underline !important;
}

@media (max-width: 769px) {
    .closet-system-estimator-section {
        display: block;
    }

    .desktop-progress-bar {
        display: none !important;
    }

    /* mobile-progress bar */
    .mobile-step-progress {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .mobile-step-progress .steps-progress.active::after {
        content: '';
        position: absolute;
        top: 50%;
        /* right: -35px; */
        /* left: -35px; */
        width: 220px;
        height: 2px;
        background-color: #ddd;
        z-index: -1;
        transform: translateY(-50%);
    }

    .mobile-step-progress .steps-progress.active::after {
        content: '';
        position: absolute;
        top: 50%;
        /* right: -35px; */
        /* left: -35px; */
        width: 220px;
        height: 2px;
        background-color: #ddd;
        z-index: -1;
        transform: translateY(-50%);
    }

    .form-box.customer-id .form-inner.closet-system-form-inner {
        display: block;
        height: auto;
        padding-top: 0px;
    }

    .AdditionalNote {
        width: 20em !important;
        height: 1em;
    }

    .note-col {
        padding-left: 0;
    }

    .form-navigation {
        display: block;
        display: flex;
        align-items: center;
        justify-content: center;
	}   

    .form-table-wrapper {
        overflow-x: auto;
        /* Enable horizontal scroll */
    }

    .form-table-wrapper table {
        min-width: 1100px;
        /* Adjust this to the actual width your table needs */
    }

    .customer-category-options {
        white-space: normal !important;
        overflow-wrap: break-word;
        word-break: break-word;
    }
}


/* shweta */
.specification-section .form-title-wrapper {
    display: flex;
    gap: 30px;
}

.specification-section ul.term-defined {
    display: flex;
    gap: 30px;
    margin-left: 0;
}

.specification-section .title-text,
.form-boxdimensionsexcel p {
    color: rgba(0, 0, 0, 0.60);
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.specification-section .form-boxdimensionsexcel p {
    color: #e60000;
}

.specification-section .form-inner-scroll td p {
    color: #000;
    font-size: 14px;
    font-weight: 500;
    word-break: normal;
}

.specification-section .form-table-wrapper td p input,
.specification-section .form-table-wrapper td select {
    color: rgba(0, 0, 0, 0.60) !important;
    font-family: Jost !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    word-break: break-word;
    padding: 5px !important;
}

.specification-section .form-table-wrapper td select {
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background:  url(/wp-content/uploads/2025/05/collapse-arrow.png) no-repeat right 0.1rem center;
    background-size: 16px 16px;

  /* Adjust padding to prevent text overlap */
  padding-right: 20px !important;
  border-bottom: 1px solid #000;
  background-color: transparent;
}

.product-closetestimator-popup p {
    display: flex;
    justify-content: center;
}

/*  */