/* General form container styles */
.form-container {
    max-width: 1340px;
    width: 100%;
    min-width: 385px;
    min-height: 386px;
    background-color: #f2f2f2;
	border: 1px solid #A4A4A4;
    border-radius: 20px;
    padding: 40px 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 20px auto 0;
    gap: 32px;
}

/* Header styles */
.header-form {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Steps navigation styles */
.steps-container {
    flex-grow: 1;
    height: 43px;
    display: flex;
    gap: 50px;
    align-items: center;
}

.step {
    flex-grow: 1;
    height: 43px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: flex-end;
}

.step-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #383838;
}

.step-line {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: #EFEFEF;
    background-color: #e0e0e0;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.step-line.filled {
    background: #383838;
}

.step-line .progress-fill {
    height: 100%;
    background-color: #A77B51;
    transition: width 0.3s ease-in-out;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 9999px;
}

/* Title section styles */
.title-container {
    flex-grow: 1;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

#form-header-description {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 500;
    line-height: 1;
}

#form-header-title {
    font-family: 'Roboto', sans-serif;
    font-size: 35px;
    color: #1a1a1a;
    margin-top: 0;
    font-weight: 700;
    line-height: 1;
}

/* Form content area styles */
.content-form {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-bottom: 2px solid #a4a4a4;
    padding-bottom: 30px;
    gap: 30px;
    min-height: 400px;
}

/* Choice buttons styles */
.buttons-block {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    flex-grow: 1;
    align-content: flex-start;
}

.buttons-block .choice-button {
    flex: 1 1 calc(50% - 10px);
    height: 87px;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 15px 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #1a1a1a;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
    text-transform: none;
    border: 2px solid transparent;
}

.buttons-block .choice-button:hover {
    background-color: #f0f0f0;
    border: 2px solid #383838;
}

.buttons-block .choice-button.selected {
    border: 2px solid #383838;
}

.buttons-block .choice-button.buttondot {
    justify-content: left;
    gap: 15px;
}

.choice-button.selected .radio-dot {
    border-color: #a77b51;
    background-color: #e0f0ff;
}

.choice-button.selected .radio-dot::after {
    background-color: #a77b51;
    background-image: url(/wp-content/plugins/po-closet-form/assets/images/icon-checked.png);
}

.button-icons-container {
    display: flex;
    align-content: center;
    align-items: center;
    gap: 15px;
}

.button-icons-container img {
    max-height: 46px;
}

/* Question icon and tooltip styles */
.question-icon {
    width: 28px;
    height: 28px;
    background-color: #DACBB5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    color: #ffffff;
    cursor: help;
    position: relative;
    z-index: 10;
}

.question-icon.tooltip-active .form-tooltip {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    color: #1a1a1a;
}

.form-tooltip {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    margin-right: 10px;
    width: 200px;
    max-width: 200px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    pointer-events: none;
}

.form-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}

/* Radio button dot styles */
.radio-dot {
    width: 21px;
    height: 21px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: #fff;
    flex-shrink: 0;
    position: relative;
}

.radio-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px 9px;
    pointer-events: none;
}

/* Form fields styles */
.form-field {
    /* General styles for form fields can go here */
}

.form-fields-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-fields-grid .form-field {
    flex: 1 1 calc(50% - 10px);
    min-width: 150px;
    box-sizing: border-box;
    max-width: calc(50% - 10px);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"] {
    width: 100%;
    height: 65px;
    border-radius: 15px;
    padding: 15px 25px;
    border: 2px solid #C6C6C6;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
    justify-content: space-between;
    opacity: 1;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus {
    border: 2px solid #FFC935;
}

.form-field input.invalid-field[type="text"],
.form-field input.invalid-field[type="email"],
.form-field input.invalid-field[type="tel"] {
    border: 2px solid #D32F2F !important;
}

input::placeholder {
    color: #999;
    font-style: normal;
    opacity: 1;
}

input::-webkit-input-placeholder {
    color: #999;
    font-style: normal;
    opacity: 1;
}

input::-moz-placeholder {
    color: #999;
    font-style: normal;
    opacity: 1;
}

input:-ms-input-placeholder {
    color: #999;
    font-style: normal;
    opacity: 1;
}

/* Textarea styles for closet elements comments */
textarea#closetElementsComments {
    width: 100%;
    min-height: 150px;
    border-radius: 10px;
    border-width: 2px;
    opacity: 1;
    padding-top: 30px;
    padding-right: 26px;
    padding-bottom: 30px;
    padding-left: 26px;
    gap: 8px;
}

textarea#closetElementsComments,
textarea#closetElementsComments::placeholder {
    color: #1a1a1a;
    font-weight: 500;
    font-size: 17px;
}

#closet-form-app textarea {
    min-height: 132px;
    border-radius: 10px;
    border-width: 2px;
    padding-top: 30px;
    padding-right: 26px;
    padding-bottom: 30px;
    padding-left: 26px;
    border: 2px solid #ffffff;
    background: #f2f2f2;
}

#closet-form-app textarea,
#closet-form-app textarea::placeholder {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #1a1a1a;
}

#closet-form-app textarea:focus {
    border-color: #FFC935 !important;
    outline: none;
}

.comments-field {
    margin-top: 20px;
}

.comments-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.comments-field textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Footer styles */
.footer-form {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.form-navigation-buttons {
    width: 100%;
    display: flex;
    align-items: center;
}

.form-navigation-buttons button {
    font-family: Roboto;
    font-weight: 500;
    font-size: 14px;
    text-transform: capitalize;
}

.form-navigation-buttons button.back-button {
    width: 205px;
    height: 42px;
    border-radius: 7px;
    border: 1px solid #A77B51;
    padding: 10px;
}

.form-navigation-buttons button.back-button:hover {
    background-color: #f0f0f0;
}

.form-navigation-buttons button.next-button,
.form-navigation-buttons button#submit-button {
    width: 205px;
    height: 42px;
    border-radius: 7px;
    padding: 10px;
    background: #A77B51;
    color: #ffffff;
    margin-left: auto;
}

.form-navigation-buttons button.next-button:hover {
    background-color: #555555;
}

.arrow-icon {
    width: 21px;
    height: 15px;
    display: inline-block;
    margin: 0 2px;
    object-fit: contain;
    vertical-align: middle;
}

.back-button img.arrow-icon {
    margin-right: 6px;
}

.next-button img.arrow-icon {
    margin-left: 6px;
}

.existing-design-text {
    width: 100%;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #5f5f5f;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.existing-design-text a {
    color: #1a1a1a;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

/* Measurements layout styles */
.measurements-layout {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.measurements-input-column {
    flex: 2;
    min-width: 300px;
}

.measurements-info-column {
    flex-basis: 45%;
    max-width: 510px;
    min-width: 250px;
    background-color: #f0f0f0;
    gap: 20px;
    display: flex;
    flex-direction: column;
}

/* Video container styles */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 46.08%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Spoiler styles (how to measure section) */
#closet-form-app .spoiler-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

#closet-form-app img.spoiler-icon {
    display: none;
    width: 32px;
    height: 32px;
}

#closet-form-app .spoiler-content {
 
}

/* Styles specific to a mobile-first approach where spoilers are closed by default */
@media (max-width: 700px) {
    #closet-form-app .spoiler-header {
        cursor: pointer;
    }
    #closet-form-app img.spoiler-icon {
        display: block;
    }
    #closet-form-app .spoiler-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-out;
    }
    #closet-form-app .measurements-info-column.active img.spoiler-icon {
        transform: rotate(45deg);
    }
    #closet-form-app .measurements-info-column .info-title {
        font-size: 17px;
        border-bottom: 1px solid #000;
        line-height: 20px;
    }
}

/* Walk-in closet specific styles */
.walk_in_measurements .measurements-layout {
    display: flex;
    gap: 65px;
    flex-wrap: nowrap;
    flex-direction: row;
}

.walk_in_measurements .measurements-input-column {
    flex: 2;
    padding: 72px 24px;
    flex-basis: 60%;
    max-width: 606px;
    width: 100%;
}

.walk_in_measurements .measurements-grid {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.walk_in_measurements .measurements-info-column .info-title {
    margin-bottom: 0px;
    line-height: 1;
}

.measurements-column {
    display: flex;
    flex-direction: column;
}

.measurements-column.side {
    flex: 0 0 72px;
    margin-top: -20px;
}

.measurements-column.center {
    flex: 1 1 auto;
    gap: 20px;
    align-items: center;
    border: 5px solid #1a1a1a;
    border-bottom: transparent;
    height: 192px;
    justify-content: space-around;
    max-width: 385px;
    justify-content: space-between;
}

.measurements-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
}

.measurements-row.bottomline {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 3px !important;
}

.measurements-row.bottomline div {
    width: calc(33% - 12px);
    border-bottom: 5px solid #89B6FF;
}

.measurements-row.bottomline .form-field {
    border-bottom: 5px solid #1a1a1a;
    padding-bottom: 10px;
}

.measurements-row.entrance {
    margin-top: 10px;
}

.measurement-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 72px;
}

.measurement-field label {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    text-align: center;
    color: #1A1A1A;
    margin-bottom: 0px;
}

.measurement-field input[type="text"] {
    width: 72px;
    height: 29px;
    border: 0px solid #ccc;
    border-radius: 10px;
    padding: 8px;
    box-sizing: border-box;
    text-align: center;
    background: #fff;
}

/* Reach-in closet specific styles */
.reach_in_measurements .measurements-layout {
    width: 100%;
    align-items: center;
}

.reach_in_measurements .measurements-input-column {
    display: flex;
    justify-content: center;
}

.reach_in_measurements .content-form {
    width: 100%;
}

.reach_in_measurements .measurements-grid {
    max-width: 386px;
    width: 100%;
}

.reach_in_measurements .measurements-column {
    display: flex;
    justify-content: center !important;
    align-items: center;
}

.reach_in_measurements .measurements-column.side {
    flex: 0 0 72px;
    margin-top: 0px;
    margin-bottom: 20px;
}

.reach_in_measurements .measurements-column.center {
    height: 158px;
}

.reach_in_measurements .measurements-column.center .measurements-row {
    justify-content: space-between;
    padding: 0 10px;
}

.reach_in_measurements .measurements-row.bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: -8px;
    padding: 0px 2px;
}

.reach_in_measurements .measurements-row.bottom .measurement-field {
    width: 33%;
    border-top: 5px solid #1a1a1a;
    padding-top: 15px;
}

.reach_in_measurements .measurements-row.bottom .measurement-field:nth-of-type(2) {
    border-top: 5px solid #89B6FF !important;
}

/* File upload section styles */
#closet-form-app .file-drop-zone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 350px;
    border: 2px dashed #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    position: relative;
}

#closet-form-app .file-drop-zone:hover {
    background-color: #f7f7f7;
    border-color: #a0a0a0;
}

#closet-form-app .file-drop-zone .upload-link {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

#closet-form-app .file-drop-zone .upload-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: #A77B51;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
} 

#closet-form-app .file-drop-zone:hover .upload-link::after {
    transform: scaleX(1);
}

#closet-form-app .file-drop-zone.drag-over {
    background-color: #f0f8ff;
    border-color: #FFC935;
}

#closet-form-app .file-drop-zone-content {
    text-align: center;
    color: #1A1A1A;
    padding-bottom: 35px;
}

#closet-form-app .file-drop-zone .instruction-text {
    margin-bottom: 35px;
    margin-top: 30px;
    max-width: 330px;
    font-family: Roboto;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
}

#closet-form-app .file-drop-zone .example-link {
    /* text-decoration: underline; */
    color: #1A1A1A;
    font-weight: 500;
}

#closet-form-app .file-drop-zone .upload-icon {
    width: 167px;
    height: 146px;
    margin-bottom: 20px;
    opacity: 0.5;
}

#closet-form-app .file-drop-zone .file-name-display {
    font-family: Roboto;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    text-decoration: underline;
    text-decoration-style: solid;
}

#closet-form-app .file-drop-zone .upload-link {
    text-decoration: underline;
    cursor: pointer;
}

#closet-form-app .file-drop-zone .drop-text {
    color: #1a1a1a;
    font-family: Roboto;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
}

#closet-form-app .drop-zone-error {
    color: #D32F2F;
    font-weight: 500;
    margin-top: 15px;
    font-size: 16px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
}

#closet-form-app .uploaded-file-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 350px;
    border: 2px solid #388E3C;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

#closet-form-app .uploaded-file-info .upload-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

#closet-form-app .uploaded-file-info .uploaded-file-name {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
}

#closet-form-app .uploaded-file-info .uploaded-file-size {
    font-size: 16px;
    color: #5f5f5f;
    margin-bottom: 20px;
}

#closet-form-app .uploaded-file-info .delete-file-btn {
    background: none;
    border: 1px solid #D32F2F;
    color: #D32F2F;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

/* Open-wall closet specific styles */
.open_wall_measurements .measurements-layout {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    flex: 1;
}

.open_wall_measurements .content-form {
    flex-direction: row;
}

.open_wall_measurements .comments-field {
    margin-top: 0px;
}

.open_wall_measurements input#wall-width {
    max-width: 558px;
    height: 87px;
    border-radius: 20px;
    justify-content: space-between;
    opacity: 1;
    padding-top: 15px;
    padding-right: 40px;
    padding-bottom: 15px;
    padding-left: 40px;
    font-family: Roboto;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0%;
}

/* Summary section styles */
.summary-title {
    text-align: center;
}

.chek-successfully {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin-left: -72px;
    gap: 20px;
    padding-bottom: 30px;
}

.summary-title h2 {
    color: #43B02A;
    font-weight: 900;
}

.summary-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.summary-details .details {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.summary-details .details ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    list-style: none;
    padding: 0;
}

.summary-details .details ul li {
    flex: 1 1 calc(50% - 10px);
}

/* Thank you page styles */
.end_form_thank_you_std .title-container {
    flex-direction: column-reverse;
    text-align: center;
}

h4.form-content-title {
    font-family: Roboto;
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    color: #1A1A1A;
    margin-bottom: 0px;
}

/* Datepicker styles */
#datepickerContainer {
    width: 100%;
    margin: 30px auto;
    font-family: "Inter", sans-serif;
    border: none;
    box-shadow: none;
}

#datepickerContainer .ui-datepicker {
    width: auto !important;
}

#datepickerContainer .ui-datepicker thead {
    display: none;
}

#datepickerContainer span.ui-datepicker-month {
    font-family: Roboto;
    font-weight: 400;
    font-size: 17px;
    text-transform: uppercase;
    color: #1a1a1a;
}

#datepickerContainer td:hover a.ui-state-hover {
    text-decoration: underline !important;
}

.ui-datepicker {
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}

.ui-datepicker-header {
    background: none;
    border: none;
    color: #333;
    font-weight: bold;
    font-size: 1.2em;
    padding: 10px 0;
    position: relative;
    text-align: center;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    display: none;
}

.ui-datepicker-group {
    width: 33.33%;
    float: left;
    padding: 10px;
    box-sizing: border-box;
}

.ui-datepicker-group-last {
    margin-right: 0;
}

.ui-widget.ui-widget-content {
    border: 1px solid transparent !important;
}

span.ui-datepicker-year {
    display: none !important;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    border: 1px solid transparent !important;
    background: none !important;
    color: #1a1a1a !important;
    font-size: 14px !important;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: 1px solid transparent !important;
    background: none !important;
    color: #1a1a1a !important;
    font-size: 14px !important;
}

.ui-datepicker-today a {
    font-weight: 800 !important;
    color: #1a1a1a !important;
    text-decoration: underline !important;
}

a.ui-state-default.ui-state-active {
    color: #FFC935 !important;
    font-weight: 800;
    border: 1px solid #FFC935 !important;
    border-radius: 5px;
}

.ui-datepicker-month {
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

.ui-datepicker th {
    padding: 8px 5px;
    text-align: center;
    font-weight: normal;
    color: #777;
    font-size: 0.9em;
}

.ui-datepicker td {
    padding: 0;
}

.ui-datepicker td span,
.ui-datepicker td a {
    display: block;
    padding: 8px 5px;
    text-align: center;
    text-decoration: none;
    color: #333;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ui-state-hover,
.ui-state-active {
    background-color: #007bff;
    color: #fff;
    border: none;
}

.ui-state-highlight,
.ui-datepicker-current-day {
    background-color: #f0f0f0;
    color: #333;
}

.ui-datepicker-trigger {
    display: none;
}

#appointmentDate {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

#appointmentDate:focus {
    border-color: #007bff;
}

.datepicker-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}

.datepicker-arrow {
    background: none;
    border: 1px solid #ccc;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
    transition: background 0.2s;
}

.datepicker-arrow:hover {
    background: #f0f0f0;
}

.custom-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    z-index: 10;
}

.custom-nav-arrow.left {
    left: 10px;
}

.custom-nav-arrow.right {
    right: 10px;
}

/* Timezone dropdown styles */
.timezone {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timezone label {
    font-family: Roboto;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 0px;
}

.custom-timezone-dropdown {
    position: relative;
    width: calc(50% - 10px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.selected-timezone {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border: 2px solid #D5D5D5;
    border-radius: 15px;
    cursor: pointer;
    background-color: #fff;
    box-sizing: border-box;
    height: 51px;
}

.selected-timezone:hover {
    border: 1px solid #838383;
}

.selected-timezone.open {
    border: 2px solid #FFC935;
}

.selected-timezone .label,
.selected-timezone .zone-label,
.time-arrow-group span.zone-time {
    font-family: Roboto;
    font-weight: 500;
    font-size: 17px;
    color: #1a1a1a;
}

.selected-timezone .arrow {
    width: 22px;
    height: 14px;
    background-image: url('/wp-content/plugins/po-closet-form/assets/images/dropdown-arrow-up.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
    display: inline-block;
}

.time-arrow-group {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 20px;
}

.timezone-list-outer {
    width: 100%;
    border: 1px solid #C6C6C6;
    border-radius: 15px;
    padding-top: 17px;
    padding-right: 0px;
    padding-bottom: 10px;
    background-color: #fff;
    max-height: 320px;
    box-sizing: border-box;
    z-index: 100;
    padding-left: 0px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease-out, max-height 0.4s ease-out;
}

.timezone-list-outer.open {
    opacity: 1;
    max-height: 320px;
}

.timezone-list-outer.open + .selected-timezone .arrow,
.selected-timezone.open .arrow {
    transform: rotate(180deg);
}

.timezone-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: calc(100% - 10px);
    max-height: 290px;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #FFC935 #ffffff;
}

.timezone-list::-webkit-scrollbar {
    width: 8px;
}

.timezone-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.timezone-list::-webkit-scrollbar-thumb {
    background: #FFC935;
    border-radius: 4px;
}

.timezone-list::-webkit-scrollbar-thumb:hover {
    background: #e6b22e;
}

.timezone-list li {
    padding: 10.5px 17.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
    font-size: 17px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

.timezone-list li.region-label {
    font-weight: bold;
    color: #666;
    cursor: default;
    padding: 10.5px 17.5px;
    margin-top: 10px;
    font-family: Roboto;
    font-weight: 700;
    line-height: 100%;
    color: #1a1a1a;
    font-size: 20px;
}

.timezone-list li.region-label:first-child {
    margin-top: 0;
}

.timezone-list li.timezone-item:hover {
    background-color: #f0f0f0;
}

.timezone-list li.timezone-item.selected {
    background-color: #f3f3f3;
}

/* Summary styles */
.summary-title {
    text-align: center;
}

.chek-successfully {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin-left: -72px;
    gap: 20px;
    padding-bottom: 30px;
}

.summary-title h2 {
    color: #43B02A;
    font-weight: 900;
}

.summary-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.summary-details .details {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.summary-details .details ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    list-style: none;
    padding: 0;
}

.summary-details .details ul li {
    flex: 1 1 calc(50% - 10px);
}


.checkbox-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding-left: 30px;
    user-select: none;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.checkbox-visual {
    position: absolute;
    left: 0;
    top: 0px;
    width: 21px;
    height: 21px;
    border-radius: 3px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px 13px;
    box-sizing: border-box;
    z-index: 1;
}

.checkbox-label input:not(:checked):not(:disabled) + .checkbox-visual {
    background-color: transparent;
    border: 1.5px solid #3D2F26;
    background-image: none;
}

.checkbox-label input:not(:checked):disabled + .checkbox-visual {
    background-color: transparent;
    border: 1.5px solid #C6C6C6;
    background-image: none;
}

.checkbox-label input:checked:not(:disabled) + .checkbox-visual {
    background-color: #3D2F26;
    border: none;
    background-image: url('/wp-content/plugins/po-closet-form/assets/images/icon-checked.png');
    background-size: 14px 10px;
}

.checkbox-label input:checked:disabled + .checkbox-visual {
    background-color: #9F9F9F;
    border: none;
    background-image: url('/wp-content/plugins/po-closet-form/assets/images/icon-checked.png');
    background-size: 14px 10px;
}


/* Responsive styles */
@media (max-width: 1000px) {
    .walk_in_measurements .measurements-layout {
        flex-direction: column;
        align-items: center;
    }
    .walk_in_measurements .measurements-input-column {
        padding: 0px 0px;
    }
    .measurements-info-column {
        width: 100%;
    }
    .buttons-block {
        justify-content: center;
        flex-grow: 1;
        align-content: center;
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .summary-details .details {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .choice-button {
        flex: 1 1 100%;
    }
    .measurements-layout {
        flex-direction: column;
    }
    .measurements-input-column,
    .measurements-info-column {
        min-width: unset;
        width: 100%;
    }
    .summary-details .details {
        flex: 1 1 100%;
    }
    .summary-details .details ul li {
        flex: 1 1 100%;
    }
    .open_wall_measurements .content-form {
        flex-direction: column !important;
    }
    #closet-form-app.open_wall_measurements .measurements-layout {
        height: auto !important;
        max-height: max-content !important;
    }
}

@media (max-width: 745px) {
    .step-text {
        color: #383838;
        font-family: Roboto;
        font-weight: 500;
        font-size: 14px;
        line-height: 100%;
        flex: 1;
    }
    .open_wall_measurements input#wall-width {
        max-width: 100% !important;
    }
    .measurements-info-column {
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .form-container {
        padding: 24px 15px;
    }
    .steps-container {
        gap: 16px;
    }
    #form-header-description {
        height: auto;
    }
    #form-header-title {
        height: auto;
    }
    .buttons-block {
        flex-direction: column;
        align-content: center;
    }
    .buttons-block .choice-button {
        width: 100%;
        max-width:400px;
        text-align: left;
    }
    .button-icons-container img {
        max-height: 30px;
    }
    .buttons-block .choice-button {
        border-radius: 15px;
    }
    .basic_info_std .form-fields-grid {
        flex-direction: column;
        align-content: center;
        width: 100%;
    }
    .form-fields-grid .form-field {
        max-width: none;
        width: 100%;
        height: 51px;
        border-radius: 15px;
    }
    .form-fields-grid {
        gap: 16px;
    }
    h4.form-content-title {
        font-size: 17px;
    }
    .timezone label {
        font-size: 17px;
    }
    .custom-timezone-dropdown {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .form-container {
        border-radius: 0px;
        gap: 30px;
        padding: 24px 15px;
    }
    .title-container {
        gap: 16px;
    }
    .steps-container {
        min-width: 370px;
    }
    .step {
        width: 33%;
    }
    #form-header-description {
        font-size: 14px;
        height: auto;
    }
    #form-header-title {
        font-size: 24px;
        height: auto;
    }
    .buttons-block {
        flex-direction: column;
        align-content: center;
        gap: 10px;
    }
    .buttons-block .choice-button {
        width: 100%;
        max-width:400px;
        height: 51px;
        align-items: center;
        padding: 15px 20px;
        border-radius: 15px;
    }
    .measurements-row.bottomline div {
        width: calc(40% - 12px);
    }
    .measurements-row.bottomline div.wall.entrance {
        width: calc(20% - 12px);
    }
    .form-navigation-buttons {
        gap: 24px;
    }
}