



 /* ============================================
   QuoteRequests Module — Main Stylesheet
   StyleTex v1.0.0
   ============================================ */

/* ----- Reset & Wrapper ----- */


#qr-wrapper {
    background: #f8f7f0;
    min-height: 100vh;
    padding: 49px 20px 56px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2c2c2c;
}

#qr-wrapper * {
    box-sizing: border-box;
}

#qr-container {
    max-width: 1214px;
    margin: 0 auto;
}

/* ----- Intro banner ----- */
.qr-intro-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 400;
    color: #315133;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    line-height: 1.3;
    text-align: center;
    width: max-content;
    margin-inline: auto;
    position: relative;
    z-index: 1;
    padding-bottom: 22px;
}

.qr-intro-banner svg {
     flex-shrink: 0;
     width: 52px !important;
     height: 52px !important;
     color: #f4f191 !important;
     margin-right: -12px !important;
     position: absolute;
     left: -24px;
     top: -24px;
     z-index: 0;
 }

 .qr-intro-banner span{
     z-index: 1;
 }

.qr-intro-banner strong { font-weight: 700; }

/* ----- Step badge ----- */
.qr-step-badge-wrap {
    text-align: center;
    margin-bottom: 14px;
}
.qr-step-badge {
    display: inline-block;
    background: #f4f191;
    color: #315133;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 400;
    padding: 16px 30px;
    border-radius: 100px;
}
.qr-step-badge.active { background: #f4f191; color: #315133; }
.qr-step-badge.completed { background: #315133; color: #fff; }

/* ----- Steps Progress Bar ----- */
.qr-progress-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.qr-progress-step {
    cursor: default;
}

.qr-progress-step .step-badge {
    display: inline-block;
    padding: 7px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    background: #e8e6dc;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.qr-progress-step.active .step-badge {
    background: #d4e46a;
    color: #2d5a1b;
    font-weight: 700;
    border-color: #c0cf45;
}

.qr-progress-step.completed .step-badge {
    background: #2d5a1b;
    color: #fff;
    border-color: #2d5a1b;
}

.qr-progress-step.completed {
    cursor: pointer;
}

.qr-progress-connector {
    width: 40px;
    height: 2px;
    background: #d0cec5;
    flex-shrink: 0;
}

.qr-progress-step.completed + .qr-progress-connector {
    background: #2d5a1b;
}

/* ----- Step Sections ----- */
.qr-step-section {
    display: none;
}

.qr-step-section.active {
    display: block;
    animation: qrSlideIn 0.35s ease;
}

@keyframes qrSlideIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ----- Section Headers ----- */
.qr-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #315133;
    margin: 0 0 65px;
    padding-bottom: 0;
    border-bottom: none;
    text-align: center;
}

.qr-section-subtitle {
    display: none;
}

/* ----- Section block container (Figma pill card) ----- */
.qr-section-block {
    border: 4px solid #fff;
    border-radius: 100px;
    box-shadow: none;
    padding: 44px 75px 32px;
    margin: 0 auto 76px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1214px;
    position: relative;
}
.qr-section-block--client {
    padding-top: 60px;
    min-height: 135px;
}
.qr-section-block--client div.radio{
   display: none;
}
.qr-section-block--products {
    border-radius: 300px;
    padding: 76px 72px 48px;
    max-width: 1214px;
}

.qr-section-block--quantity {
    padding-top: 70px;
    padding-bottom: 30px;
    padding-bottom: 30px;
    min-height: 145px;
    margin-bottom: 41px;

}

.qr-section-block--quantity .radio{
  display: none;
}

/* ----- Subsection pill label ----- */
.qr-subsection-label {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin: 28px auto 24px;
    display: inline-block;
    background: #cfded0;
    border-radius: 100px;
    padding: 20px 38px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-align: center;
    align-self: center;
    white-space: nowrap;
    min-width: 230px;
}

.qr-section-block > .qr-subsection-label {
    margin: 0;
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.qr-subsection-label::before {
    display: none;
}

/* ----- Cards (shared) ----- */
.qr-card {
    border-radius: 12px;
    border: 2px solid #e0ddd0;
    background: #fff;
    cursor: pointer;
    padding: 20px 12px;
    text-align: center;
    transition: all 0.25s ease;
    user-select: none;
    position: relative;
    overflow: hidden;
}


.qr-card:hover {
    border-color: #7ba85a;
    background: #f7faf2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 27, 0.12);
}

.qr-card.selected {
    border-color: #2d5a1b;
    background: #f0f5e9;
    box-shadow: 0 4px 16px rgba(45, 90, 27, 0.18);
}

.qr-card.selected::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background: #2d5a1b;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

.qr-card-icon {
    width: 64px;
    height: 58px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-card-icon svg {
    width: 36px;
    height: 36px;
    transition: fill 0.2s, stroke 0.2s;
}

.qr-card-label {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.3;
}

.qr-card.selected .qr-card-label {
    color: #2d5a1b;
}

.qr-products-grid .qr-card.selected .qr-card-label,
.qr-client-type-grid .qr-card.selected .qr-card-label,
.qr-quantity-group .qr-card.selected .qr-card-label {
    color: #000;
}

/* Hide actual checkboxes/radios inside cards */
.qr-card input[type="checkbox"],
.qr-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* ----- Client Type: simple radio (Figma style) ----- */
.qr-client-type-grid {
    display: flex;
    gap: 72px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.qr-client-type-grid .qr-card {
    flex: none;
    min-width: auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row;
    text-align: left;
    border-radius: 0;
    overflow: visible;
}
.qr-client-type-grid .qr-card:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
}
.qr-client-type-grid .qr-card.selected {
    border: none;
    background: transparent;
    box-shadow: none;
}
.qr-client-type-grid .qr-card.selected::after { display: none; }
.qr-client-type-grid .qr-card-icon { display: none; }
.qr-client-type-grid .qr-card-label {
    font-size: 16px;
    font-weight: 400;
    color: #000;
}
.qr-client-type-grid .qr-card::before {
    content: '';
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    flex-shrink: 0;
    display: block;
    transition: all 0.2s;
}
.qr-client-type-grid .qr-card.selected::before {
    background: #cfded0;
    box-shadow: inset 0 0 0 4px #fff, 0 4px 18px rgba(0,0,0,0.08);
}

/* ----- Products Grid (4 per row) ----- */
.qr-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 34px 64px;
    width: 100%;
}

.qr-products-grid .qr-card {
    min-width: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.qr-products-grid .qr-card .checker span {
    display: none;
}

.qr-products-grid .qr-card:hover {
    border: none;
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px);
}

.qr-products-grid .qr-card.selected {
    border: none;
    background: transparent;
    box-shadow: none;
}

.qr-products-grid .qr-card.selected::after {
    top: 45px;
    right: calc(50% - 45px);
    width: 25px;
    height: 25px;
    background-color: #fff;
    border: 1px solid #e6eee5;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='14' viewBox='0 0 17 14' fill='none'%3E%3Cpath d='M1.5 7.2l4.3 4.3L15.5 1.8' stroke='%23df3146' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 15px;
    z-index: 1;
}

.qr-products-grid .qr-card-label small {
    display: block;
    font-size: 10px;
    line-height: 1.2;
}

/* ----- Quantity: simple radio (Figma style) ----- */
.qr-quantity-group {
    display: flex;
    gap: 92px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 919px;
}

.qr-quantity-group .qr-card {
    flex: none;
    min-width: auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 0;
    text-align: left;
    overflow: visible;
}
.qr-quantity-group .qr-card:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
}
.qr-quantity-group .qr-card.selected {
    border: none;
    background: transparent;
    box-shadow: none;
}
.qr-quantity-group .qr-card.selected::after { display: none; }
.qr-quantity-group .qr-card .qr-card-icon { display: none; }
.qr-quantity-group .qr-card .qr-card-label {
    font-size: 20px;
    font-weight: 500; 
    color: #000;
}
.qr-quantity-group .qr-card::before {
    content: '';
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    flex-shrink: 0;
    display: block;
    transition: all 0.2s;
}
.qr-quantity-group .qr-card.selected::before {
    background: #cfded0;
    box-shadow: inset 0 0 0 5px #fff, 0 4px 18px rgba(0,0,0,0.08);
}

/* ----- Technique Grid (3 per row) ----- */
.qr-technique-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 48px 140px;
    width: 100%;
}

.qr-technique-grid .qr-card .radio{
  display: none;
}

.qr-technique-grid .qr-card {
    min-width: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.qr-technique-grid .qr-card:hover {
    border: none;
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px);
}

.qr-technique-grid .qr-card.selected {
    border: none;
    background: transparent;
    box-shadow: none;
}

.qr-technique-grid .qr-card.selected::after {
    top: 23px;
    right: calc(50% - 38px);
    width: 25px;
    height: 25px;
    background-color: #fff;
    border: 1px solid #e6eee5;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='14' viewBox='0 0 17 14' fill='none'%3E%3Cpath d='M1.5 7.2l4.3 4.3L15.5 1.8' stroke='%23df3146' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px;
    z-index: 1;
}

.qr-technique-grid .qr-card.selected .qr-card-label {
    color: #000;
}

#qr-step-2 .qr-card-icon, #qr-step-1 .qr-card-icon  {
    width: 70px;
    height: 58px;
    position: relative;
}

#qr-step-2 .qr-card-icon svg, #qr-step-1 .qr-card-icon svg {
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 1;
}

#qr-step-2 .qr-card.selected .qr-card-icon::before,#qr-step-1 .qr-card.selected .qr-card-icon::before {
    content: '';
    position: absolute;
    inset: -4px 2px;
    background: #cfded0;
    border-radius: 50%;
    z-index: 0;
}

#qr-step-2 .qr-card-label {
    color: #000;
    font-size: 16px;
    font-weight: 400;
}

.qr-section-block--technique {
    border-radius: 300px;
    padding: 57px 82px 48px;
    max-width: 1214px;
}

.qr-section-block--delay,
.qr-section-block--date,
.qr-section-block--budget {
    padding: 66px 70px 24px;
    min-height: 146px;
}

.qr-section-block--description {
    border-radius: 300px;
    padding: 76px 70px 54px;
    margin: 0px auto 49px;
    min-height: 236px;
}

/* ----- Other product text field ----- */
#qr-other-product-wrap {
    margin-top: 14px;
    display: none;
}

#qr-other-product {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d0cec5;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}

#qr-other-product:focus {
    border-color: #2d5a1b;
}

/* ----- Delay Slider ----- */
.qr-slider-wrap {
    margin-top: 0;
    padding: 0;
    width: 100%;
}

.qr-slider-header {
    display: none;
}

.qr-slider-value-display {
    background: transparent;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    border-radius: 0;
    min-width: 0;
    text-align: center;
}

#qr-delay-slider {
    margin: 0;
}

/* jQuery UI slider overrides */
#qr-delay-slider.ui-slider {
    height: 10px;
    background: #cfded0;
    border: none;
    border-radius: 100px;
}

#qr-delay-slider .ui-slider-range {
    background: #315133;
    border-radius: 100px;
}

#qr-delay-slider .ui-slider-handle {
    width: 23px;
    height: 23px;
    top: -6px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    cursor: grab;
    outline: none;
    transition: transform 0.15s;
}

#qr-delay-slider .ui-slider-handle:hover,
#qr-delay-slider .ui-slider-handle:focus {
    transform: scale(1.2);
}

.qr-slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-top: 16px;
}

/* ----- Date & Budget Row ----- */
.qr-date-budget-row {
    display: block;
    margin-top: 0;
}

.qr-date-budget-row .qr-field-group {
    width: 100%;
    min-width: 0;
}

#qr-step-2 .qr-input,
#qr-step-2 #qr-desired-date {
    border: none;
    border-bottom: 1px solid #315133;
    color: #000;
    font-size: 18px;
    padding: 8px 0 10px;
    text-align: center;
}

#qr-step-2 #qr-desired-date {
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 34px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='22' height='24' fill='none' viewBox='0 0 22 24'%3e%3cpath fill='%23315133' d='M21.683 5.85a4.377 4.377 0 0 0-4.37-4.1h-1.126V.875a.875.875 0 0 0-1.75 0v.875h-7V.875a.875.875 0 0 0-1.75 0v.875H4.56a4.377 4.377 0 0 0-4.369 4.1 107.3 107.3 0 0 0 .014 13.037A4.38 4.38 0 0 0 4.3 22.981a107.064 107.064 0 0 0 13.275 0 4.38 4.38 0 0 0 4.093-4.094c.27-4.324.275-8.71.016-13.037ZM19.92 18.78a2.628 2.628 0 0 1-2.455 2.456 105.7 105.7 0 0 1-13.058 0 2.628 2.628 0 0 1-2.456-2.456 105.57 105.57 0 0 1-.137-10.03H20.06c.11 3.342.067 6.704-.14 10.029ZM6.561 5.25a.875.875 0 0 0 .876-.875V3.5h7v.875a.875.875 0 0 0 1.75 0V3.5h1.126a2.624 2.624 0 0 1 2.623 2.455c.02.347.03.697.046 1.045H1.892c.017-.348.025-.698.046-1.045A2.623 2.623 0 0 1 4.561 3.5h1.126v.875c0 .483.392.875.875.875Z'/%3e%3cpath fill='%23315133' d='M6.562 14a1.312 1.312 0 1 0 0-2.625 1.312 1.312 0 0 0 0 2.625Zm4.375 0a1.312 1.312 0 1 0 0-2.625 1.312 1.312 0 0 0 0 2.625Zm-4.375 4.375a1.312 1.312 0 1 0 0-2.625 1.312 1.312 0 0 0 0 2.625ZM15.312 14a1.312 1.312 0 1 0 0-2.625 1.312 1.312 0 0 0 0 2.625Zm0 4.375a1.312 1.312 0 1 0 0-2.625 1.312 1.312 0 0 0 0 2.625Zm-4.375 0a1.312 1.312 0 1 0 0-2.625 1.312 1.312 0 0 0 0 2.625Z'/%3e%3c/svg%3e ");
}

#qr-step-2 #qr-desired-date::placeholder,
#qr-step-2 .qr-input::placeholder {
    color: transparent;
}

#qr-step-2 .qr-budget-wrap {
    max-width: 396px;
    margin: 0 auto;
}

/* #qr-step-2 .qr-budget-wrap .qr-input {
    padding-right: 42px;
} */

#qr-step-2 .qr-budget-wrap input[type="number"]::-webkit-outer-spin-button,
#qr-step-2 .qr-budget-wrap input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#qr-step-2 .qr-budget-wrap input[type="number"] {
    -moz-appearance: textfield;
}

#qr-step-2 .qr-budget-suffix {
    border-bottom: 1px solid #315133;
    color: #315133;
    font-size: 20px;
    font-weight: 600;
    padding: 8px 0 10px 8px;
}

#qr-step-2 .qr-field-group {
    max-width: 396px;
    margin: 0 auto;
}

/* ----- Description Textarea ----- */
.qr-description-wrap {
    margin-top: 0;
}

.qr-description-wrap textarea {
    width: 100%;
    min-height: 88px;
    padding: 0 0 14px;
    border: none;
    border-bottom: 1px solid #315133;
    border-radius: 0;
    font-size: 16px;
    font-family: inherit;
    background: transparent;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
    color: #000;
}

.qr-description-wrap textarea::placeholder {
    color: #000;
}

.qr-description-wrap textarea:focus {
    border-color: #2d5a1b;
}

.qr-section-block--description .qr-description-wrap {
    width: 100%;
}

.qr-step2-actions {
    justify-content: center;
}

/* ----- Field Groups & Labels ----- */
.qr-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qr-field-label {
    display: none;
}

/* ----- Form (Step 3) ----- */
#qr-step-3 .qr-section-title {
    margin-bottom: 34px;
}

#qr-step-3 .qr-form-field label {
text-align: left;
}

.qr-section-block--personal {
    border-radius: 400px;
    max-width: 1214px;
    margin-bottom: 19px;
    padding: 89px 110px 80px; 
}

#qr-step-3 .qr-form-row {
    gap: 46px 112px;
    width: 100%;
}

#qr-step-3 .qr-form-row + .qr-form-row {
    margin-top: 30px !important;
}

/* #qr-step-3 .qr-form-field {
    gap: 8px;
} */

#qr-step-3 .qr-form-field label {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: none;
}

#qr-step-3 .qr-form-field label span {
    color: #000 !important;
}

#qr-step-3 .qr-input,
#qr-step-3 .qr-select {
    border-bottom: 1px solid #315133;
    color: #000;
    font-size: 16px;
    padding: 0px 0 0px;
}

#qr-step-3 .qr-input::placeholder {
    color: transparent;
}

#qr-step-3 .qr-select option {
    color: #000;
}

#qr-step-3 .qr-phone-wrap {
    align-items: flex-end;
}

#qr-step-3 #qr-phone-prefix {
    border-bottom-color: #315133 !important;
    color: #000 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    min-width: 68px;
    padding: 3px 6px 10px 0 !important;
}

#qr-step-3 .qr-phone-wrap::before {
    display: none;
}

/* intl-tel-input: fit into Hoshi layout */
#qr-step-3 .qr-phone-field .iti {
    width: 100%;
    display: block;
}
#qr-step-3  .iti__selected-dial-code{
  font-size: 16px;
  color: #000;

}

#qr-step-3 .qr-phone-field .iti input[type="tel"] {
    border: none !important;
    box-shadow: none !important;
    outline: none;
    padding: 0 0 0px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #000;
    background: transparent;
    width: 100%;
    transform: translateY(3px);
}

@media (max-width: 480px) {
     #qr-step-3 .qr-phone-field .iti input[type="tel"] {
         transform: translateY(-13px);
    }
}

#qr-step-3 .qr-phone-field .iti__flag-container {
    bottom: 0;
    top: auto;
    height: auto;
}



#qr-step-3 .qr-phone-field .iti__selected-flag {
    background: transparent !important;
    padding: 0;
    height: auto;
    align-items: center !important;
    align-items: flex-end;
}

#qr-step-3 .qr-phone-field .iti__selected-flag:hover,
#qr-step-3 .qr-phone-field .iti__selected-flag:focus {
    background-color: transparent !important;
}

#qr-step-3 #qr-delivery-other-wrap {
    width: 100%;
}


#qr-step-3 .qr-postal-field {
    display: none;
}

.qr-required-note {
    font-size: 10px;
    color: #000;
    margin: 6px 0 0 70px;
    margin-inline: 10px;
    max-width: 900px;
    margin-inline: auto;
}

#qr-step-3 .qr-btn-wrap {
    justify-content: space-between;
    margin-top: 22px;
}

#qr-step-3 .qr-btn-submit {
    background: linear-gradient(90deg, #315133 0%, #62ae68 100%);
    color: #f4f191;
    border-radius: 100px;
    min-width: 225px;
    padding: 20px 52px;
    font-size: 26px;
    letter-spacing: 0;
}

.qr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    margin-bottom: 0;
}

.qr-form-row + .qr-form-row {
    margin-top: 20px;
}

.qr-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qr-form-field label {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qr-input {
    border: none;
    border-bottom: 1.5px solid #ccc;
    border-radius: 0;
    padding: 10px 0 8px;
    font-size: 15px;
    background: transparent;
    outline: none;
    color: #2c2c2c;
    width: 100%;
    transition: border-color 0.2s;
    font-family: inherit;
}

.qr-input:focus {
    border-bottom-color: #2d5a1b;
}

.qr-input::placeholder {
    color: #bbb;
    font-size: 14px;
}

.qr-select {
    border: none;
    border-bottom: 1.5px solid #ccc;
    border-radius: 0;
    padding: 10px 0 8px;
    font-size: 15px;
    background: transparent;
    outline: none;
    color: #2c2c2c;
    width: 100%;
    transition: border-color 0.2s;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8' viewBox='0 0 13 8' fill='none'%3E%3Cpath fill='%23000' d='m11.91 0 1.06 1.061L7.193 6.84a.996.996 0 0 1-1.413 0L0 1.061 1.06.001l5.425 5.424L11.91 0Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 13px 8px;
    font-family: inherit;
    top: -14px;
}

.qr-select:focus {
    border-bottom-color: #2d5a1b;
}



/* ----- Phone field with prefix ----- */
.qr-phone-wrap {
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.qr-phone-prefix {
    border: none;
    border-bottom: 1.5px solid #ccc;
    padding: 10px 10px 8px 0;
    font-size: 15px;
    color: #555;
    background: transparent;
    white-space: nowrap;
    font-weight: 600;
    transition: border-color 0.2s;
    flex-shrink: 0;
}

.qr-phone-wrap .qr-input {
    flex: 1;
    padding-left: 8px;
}

/* ----- Delivery Other field ----- */
#qr-delivery-other-wrap {
    display: none;
    margin-top: 16px;
}

/* ----- File Upload (inline field style) ----- */
.qr-file-field-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 8px;
    cursor: pointer;
}

.qr-file-label-btn {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    width: 100%;
    position: absolute;
    padding-left: 24px;
}


.qr-file-chosen {
    font-size: 14px;
    color: #bbb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}
.qr-file-chosen.has-file {
    color: #315133;
    font-weight: 500;
}

/* ----- Datepicker input ----- */
#qr-desired-date {
    border: none;
    border-bottom: 1.5px solid #ccc;
    border-radius: 0;
    padding: 10px 0 8px;
    font-size: 15px;
    background: transparent;
    outline: none;
    color: #2c2c2c;
    width: 100%;
    transition: border-color 0.2s;
    cursor: pointer;
    font-family: inherit;
}

#qr-desired-date:focus {
    border-bottom-color: #2d5a1b;
}

/* ----- Budget input ----- */
.qr-budget-wrap {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.qr-budget-wrap .qr-input {
    flex: 1;
}

.qr-budget-suffix {
    border-bottom: 1.5px solid #ccc;
    padding: 10px 0 8px 6px;
    font-size: 15px;
    color: #888;
    font-weight: 600;
    white-space: nowrap;
    transition: border-color 0.2s;
    flex-shrink: 0;
    background: transparent;
}

/* ----- Error messages ----- */
.qr-error {
    background: #ffeaea;
    color: #c0392b;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.6;
}

/* ----- Navigation Buttons ----- */
.qr-btn-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 36px;
    gap: 16px;
}

.qr-btn-continue,
.qr-btn-submit {
    background: linear-gradient(135deg, #5a8c35, #2d5a1b);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 60px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin: 0 auto;
    transition: opacity 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
    font-family: inherit;
}

.qr-btn-continue {
    background: linear-gradient(90deg, #315133 0%, #62ae68 100%);
    color: #f4f191;
    border-radius: 100px;
    padding: 21px 52px;
    min-width: 190px;
    font-size: 22px;
    letter-spacing: 0;
}

.qr-btn-continue:hover,
.qr-btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.qr-btn-continue:active,
.qr-btn-submit:active {
    transform: translateY(0);
    opacity: 1;
}

.qr-btn-continue:disabled,
.qr-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ----- Bouton "Retour" (étapes 2 et 3) ----- */
.qr-btn-back {
    background: transparent;
    color: #315133;
    border: 2px solid #315133;
    border-radius: 100px;
    padding: 18px 52px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: background 0.2s, color 0.2s, opacity 0.2s, transform 0.15s;
    letter-spacing: 0;
    font-family: inherit;
}

.qr-btn-back:hover,
.qr-btn-back:focus {
    background: #315133;
    color: #f4f191;
    transform: translateY(-1px);
}

.qr-btn-back:active {
    transform: translateY(0);
    opacity: 1;
}

/* Les boutons principaux portent "margin: 0 auto" : à neutraliser lorsqu'ils
   partagent la ligne avec le bouton "Retour", sinon la paire est décentrée. */
.qr-btn-wrap .qr-btn-back ~ .qr-btn-continue,
.qr-btn-wrap .qr-btn-back ~ .qr-btn-submit {
    margin: 0;
}

/* ----- Success Section ----- */
#qr-success-section {
    display: none;
    text-align: center;
    padding: 82px 20px 64px;
    animation: qrFadeIn 0.5s ease;
}

#qr-success-section {
    mix-blend-mode: darken;
}

@keyframes qrFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.qr-success-icon {
      width: 382px;
    max-width: 72vw;
    margin: 0 auto 44px;
}

.qr-success-icon img {
    display: block;
    height: auto;
    width: 100%;
}

.qr-success-title {
    color: #315133;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.qr-success-title::before {
    content: '“';
    color: #f4f191;
    font-size: 78px;
    font-weight: 700;
    line-height: 0.8;
    margin-right: -6px;
    margin-top: -16px;
}

.qr-success-subtitle,
.qr-btn-home {
    display: none;
}

.qr-btn-home:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

/* ----- jQuery UI Datepicker overrides ----- */
.ui-datepicker {
    border-radius: 14px;
    border: 1px solid #cfded0;
    box-shadow: 0 14px 30px rgba(49, 81, 51, 0.18);
    font-family: inherit;
    font-size: 13px;
    background: #f8f7f0;
    max-width: 400px;
    width: 100%;
    padding: 6px 10px 10px;
}

.ui-datepicker-header {
    background: #315133;
    border: none;
    border-radius: 10px;
    color: #f4f191;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ui-datepicker-title {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ui-datepicker-title select {
    background: rgba(255, 255, 255, 0.12);
    color: #f4f191;
    border: 1px solid rgba(244, 241, 145, 0.35);
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    outline: none;
    appearance: none;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    top: 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
    filter: brightness(0) invert(1);
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    background: rgba(244, 241, 145, 0.2);
    border-radius: 8px;
    transform: translateY(-1px);
}

.ui-datepicker-calendar {
    width: 100%;
    border-collapse: separate;
    border-spacing: 6px 6px;
    margin-top: 6px;
}

.ui-datepicker th {
    color: #315133;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 6px 0;
}

.ui-datepicker td {
    text-align: center;
}

.ui-datepicker td a,
.ui-datepicker td span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: #315133;
    background: #fff;
    border: 1px solid #e4e2d9;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.ui-datepicker td a.ui-state-active,
.ui-datepicker td a.ui-state-highlight {
    background: #315133;
    color: #f4f191;
    border-color: #315133;
    box-shadow: 0 6px 12px rgba(49, 81, 51, 0.25);
}

.ui-datepicker td a:hover {
    background: #f4f191;
    color: #315133;
    border-color: #f4f191;
    box-shadow: 0 4px 10px rgba(244, 241, 145, 0.35);
}

.ui-datepicker td.ui-datepicker-today a {
    background: #cfded0;
    border-color: #cfded0;
    color: #315133;
}

.ui-datepicker td.ui-datepicker-other-month span,
.ui-datepicker td.ui-state-disabled span {
    background: transparent;
    border-color: transparent;
    color: #b6b3a6;
    font-weight: 500;
}

/* ----- Card section divider ----- */
.qr-section-divider {
    height: 1px;
    background: #e8e6dc;
    margin: 32px 0;
}

 #qr-step-3 .qr-section-block--personal .qr-form-field.qr-country-field.input--filled .qr-label-content{
   bottom: 32px;
 }

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
    #qr-wrapper {
        padding: 0 14px 40px;
    }

    .qr-intro-banner {
        align-items: flex-start;
        background: #fff;
        display: flex;
        font-size: 20px;
        justify-content: center;
        line-height: 1.35;
        margin: 0 -14px 18px;
        padding: 13px 28px 16px;
        width: calc(100% + 28px);
        width: auto;
        margin-inline: auto;
        position: relative;
    }

    .qr-intro-banner svg {
        width: 42px !important;
        height: 42px !important;
        margin-right: -14px !important;
        margin-top: -1px;
        left: 46px;
        top: 0;
        z-index: -1;
       
    }

    .qr-step-badge-wrap {
        margin-bottom: 8px;
    }

    .qr-step-badge {
        font-size: 20px;
        padding: 11px 29px;
    }

    .qr-section-title {
        font-size: 24px;
        margin-bottom: 49px;
    }

    .qr-section-block,
    .qr-section-block--client,
    .qr-section-block--products,
    .qr-section-block--quantity {
        width: 100%;
        border-width: 4px;
        border-radius: 70px;
        padding: 57px 18px 30px;
        margin-bottom: 63px;
    }

    .qr-section-block--client {
      min-height: 132px;
    }

    .qr-section-block--products {
        border-radius: 70px;
        padding: 70px 18px 42px;
    }

    .qr-section-block--quantity {
        padding: 46px 64px 34px;
    }

    .qr-subsection-label {
        min-width: 0;
        max-width: calc(100% - 36px);
        padding: 13px 24px;
        font-size: 16px;
    }

    .qr-section-block--client .qr-subsection-label,
    .qr-section-block--quantity .qr-subsection-label {
        min-width: 200px;
    }

    .qr-section-block--products .qr-subsection-label {
        min-width: 234px;
    }

    .qr-page-title {
        font-size: 22px;
    }

    .qr-progress-step .step-badge {
        padding: 6px 14px;
        font-size: 12px;
    }

    .qr-progress-connector {
        width: 24px;
    }

    .qr-products-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 24px 30px;
    }

    .qr-products-grid .qr-card-icon {
        height: 52px;
        margin-bottom: 7px;
    }

    .qr-card-label,
    .qr-products-grid .qr-card-label {
        font-size: 16px;
    }

    .qr-technique-grid .qr-card {
        flex: none;
    }

    .qr-technique-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 28px 18px;
    }

    #qr-step-2 .qr-step-badge-wrap {
        padding-top: 24px;
        margin-bottom: 10px;
    }

    #qr-step-2 .qr-section-title {
        font-size: 24px;
        margin-bottom: 38px;
    }

    #qr-step-2 .qr-section-block--technique {
        border-radius: 86px;
        padding: 70px 32px 42px;
        margin-bottom: 42px;
    }

    #qr-step-2 .qr-section-block--delay {
        border-radius: 86px;
        min-height: 199px;
        padding: 92px 28px 36px;
        margin-bottom: 60px;
    }

    #qr-step-2 .qr-section-block--date,
    #qr-step-2 .qr-section-block--budget {
        border-radius: 76px;
        min-height: 160px;
        padding: 74px 28px 34px;
        margin-bottom: 42px;
    }

    #qr-step-2 .qr-section-block--description {
        border-radius: 86px;
        min-height: 241px;
        padding: 76px 28px 42px;
        margin-bottom: 34px;
    }

    #qr-step-2 .qr-section-block--technique .qr-subsection-label,
    #qr-step-2 .qr-section-block--delay .qr-subsection-label,
    #qr-step-2 .qr-section-block--date .qr-subsection-label,
    #qr-step-2 .qr-section-block--budget .qr-subsection-label {
        min-width: 200px;
    }

    #qr-step-2 .qr-section-block--description .qr-subsection-label {
        min-width: 222px;
    }

    #qr-step-2 .qr-technique-grid {
        gap: 26px 24px;
    }

    #qr-step-2 .qr-card-icon {
        height: 52px;
        margin-bottom: 8px;
    }

    #qr-step-2 .qr-card-icon svg {
        width: 48px;
        height: 48px;
    }

    #qr-step-2 .qr-card-label {
        font-size: 16px;
        line-height: 1.25;
    }

    #qr-step-2 #qr-delay-slider.ui-slider {
        height: 10px;
    }

    #qr-step-2 .qr-slider-labels {
        font-size: 16px;
        margin-top: 14px;
    }

    #qr-step-2 .qr-field-group,
    #qr-step-2 .qr-budget-wrap {
        max-width: 338px;
        width: 100%;
    }

    #qr-step-2 .qr-input,
    #qr-step-2 #qr-desired-date {
        font-size: 16px;
    }

    #qr-step-2 .qr-budget-suffix {
        font-size: 20px;
    }

    #qr-step-2 .qr-description-wrap textarea {
        min-height: 82px;
        font-size: 16px;
    }

    #qr-step-2 .qr-description-wrap textarea::placeholder {
        color: transparent;
    }

    #qr-step-2 .qr-description-wrap::before {
        content: 'Votre demande';
        display: block;
        font-size: 16px;
        color: #000;
        padding-bottom: 12px;
        text-align: left;
    }

    .qr-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #qr-step-3 .qr-section-title {
        font-size: 24px;
        margin-bottom: 54px;
    }

    #qr-step-3 .qr-section-block--personal {
        border-radius: 86px;
        padding: 74px 28px 38px;
        margin-bottom: 18px;
    }

    #qr-step-3 .qr-form-row {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
    }

    #qr-step-3 .qr-form-row + .qr-form-row {
        margin-top: 30px !important;
    }

    #qr-step-3 .qr-form-field label {
        font-size: 14px;
    }

    #qr-step-3 .qr-input,
    #qr-step-3 .qr-select {
        font-size: 14px;
        padding-bottom: 9px;
    }

    #qr-step-3 #qr-phone-prefix {
        font-size: 14px !important;
        min-width: 58px;
        padding-bottom: 9px !important;
    }

    #qr-step-3 .qr-phone-wrap::before {
        width: 14px;
        height: 10px;
        margin-bottom: 12px;
        margin-right: 6px;
    }

    #qr-step-3 .qr-postal-field {
        display: flex;
    }

    #qr-step-3 .qr-delivery-field {
        display: none;
    }

    #qr-step-3 .qr-required-note {
        margin: 10px 0 0 16px;
    }

    #qr-step-3 .qr-btn-wrap {
        margin-top: 26px;
    }

    #qr-step-3 .qr-btn-submit {
        min-width: 225px;
        width: auto;
         padding: 20px 52px;
        font-size: 0;
    }

    #qr-step-3 .qr-btn-submit::after {
        content: 'Continuer';
        font-size: 26px;
    }

    .qr-date-budget-row .qr-field-group {
        flex: 1 1 100%;
    }

    .qr-client-type-grid {
        gap: 28px;
        justify-content: space-between;
    }

    .qr-client-type-grid .qr-card {
        gap: 10px;
    }

    .qr-quantity-group {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        align-items: center;
    }

    .qr-quantity-group .qr-card .qr-card-label {
        font-size: 20px;
    }

    .qr-btn-submit {
        padding: 13px 40px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }

    .qr-btn-continue {
        width: auto;
        min-width: 225px;
        padding: 13px 34px;
        font-size: 26px;
        
    }

    .qr-btn-back {
        width: auto;
        min-width: 225px;
        padding: 13px 34px;
        font-size: 20px;
        text-align: center;
    }

    /* column-reverse : le bouton principal reste en haut, "Retour" en dessous */
    .qr-btn-wrap {
        flex-direction: column-reverse;
    }

    #qr-step-3 .qr-phone-field .iti__flag-container{
      top: -13px;
    }
}

@media (max-width: 480px) {
    .qr-intro-banner {
        font-size: 20px;
        text-align: center;
          display: block;
    }

    #qr-step-1{
       padding-top: 25px;
    }
    .qr-btn-continue {
        padding: 22px 34px;
    }

    .qr-page-title {
        font-size: 20px;
    }

    .qr-progress-step .step-badge {
        padding: 6px 10px;
        font-size: 11px;
    }

    .qr-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }

    .qr-section-title {
        font-size: 24px;
    }

    .qr-section-block,
    .qr-section-block--client,
    .qr-section-block--products,
    .qr-section-block--quantity {
        padding-left: 16px;
        padding-right: 16px;
        margin-bottom: 63px;
    }

    .qr-section-block--quantity {
        padding-left: 34px;
        padding-right: 34px;
        margin-bottom: 46px;
    }

    #qr-step-2 .qr-step-badge-wrap {
        padding-top: 26px;
    }

    #qr-step-2 .qr-section-title {
        font-size: 18px;
        margin-bottom: 36px;
    }

    #qr-step-2 .qr-section-block--technique,
    #qr-step-2 .qr-section-block--delay,
    #qr-step-2 .qr-section-block--date,
    #qr-step-2 .qr-section-block--budget,
    #qr-step-2 .qr-section-block--description {
        border-width: 4px;
        padding-left: 18px;
        padding-right: 18px;
    }

    #qr-step-2 .qr-section-block--technique {
        border-radius: 72px;
        padding-top: 70px;
        margin-bottom: 62px;
    }

    #qr-step-2 .qr-section-block--delay {
        border-radius: 72px;
        padding-top: 92px;
    }

    #qr-step-2 .qr-section-block--date,
    #qr-step-2 .qr-section-block--budget {
        border-radius: 68px;
    }

    #qr-step-2 .qr-section-block--description {
        border-radius: 72px;
    }

    #qr-step-2 .qr-technique-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    #qr-step-2 .qr-card-label {
        font-size: 14px;
    }

    #qr-step-2 .qr-card-icon {
        width: 62px;
        height: 50px;
    }

    #qr-step-2 .qr-card-icon svg {
        width: 44px;
        height: 44px;
    }

    #qr-step-2 .qr-technique-grid .qr-card.selected::after {
        right: calc(50% - 34px);
    }

    #qr-step-3 .qr-step-badge-wrap {
        padding-top: 24px;
    }

    #qr-step-3 .qr-section-title {
        font-size: 18px;
        margin-bottom: 48px;
    }

    #qr-step-3 .qr-section-block--personal {
        border-radius: 72px;
        padding: 60px 20px 34px;
    }

    #qr-step-3 .qr-form-row,
    #qr-step-3 .qr-form-row + .qr-form-row {
        gap: 44px;
        margin-top: 28px !important;
    }

    #qr-step-3 .qr-form-row:first-child {
        margin-top: 0 !important;
    }

    #qr-step-3 .qr-btn-submit::after {
        font-size: 22px;
    }

    .qr-client-type-grid {
        gap: 12px;
    }

    .qr-client-type-grid .qr-card-label {
        font-size: 16px;
    }

    .qr-products-grid .qr-card-label {
        font-size: 14px;
    }

    .qr-products-grid .qr-card-label small {
        font-size: 9px;
    }

    .qr-success-title {
        font-size: 22px;
    }

    .qr-success-icon {
        width: 72px;
        height: 72px;
    }

    .qr-success-icon svg {
        width: 72px;
        height: 72px;
    }

    #qr-success-section {
        padding: 40px 16px 55px;
    }

    .qr-success-icon {
        height: auto;
        max-width: 100vw;
        width: 322px;
    }

    .qr-success-title {
        font-size: 18px;
        max-width: 360px;
    }

    .qr-success-title::before {
        font-size: 56px;
        margin-top: -10px;
    }
}


/* ----- Hoshi animation: Step 3 Informations personnelles ----- */
#qr-step-3 .qr-section-block--personal .qr-form-field {
    position: relative;
    /* overflow: hidden; */
    display: block;
    gap: 0;
}

#qr-step-3 .qr-section-block--personal .qr-form-field.qr-phone-field .qr-label-content{
  display: none;
}

#qr-step-3 .qr-section-block--personal .qr-form-field > .qr-input,
#qr-step-3 .qr-section-block--personal .qr-form-field > .qr-select {
    margin-top: 1.4em;
    padding-top: 0;
    padding-bottom: 12px;
    border-bottom: none !important;
    position: relative;
    z-index: 1;
}

#qr-step-3 .qr-section-block--personal .qr-form-field > .qr-select{
    padding-bottom: 0px;
    margin-top: 32px;
}

#qr-step-3 .qr-section-block--persona .qr-label-content{
    bottom: 33px;
}
#qr-step-3 .qr-section-block--personal .qr-phone-field > .qr-phone-wrap {
    /* margin-top: 1.4em; */
    position: relative;
    margin-top: 16px;
    z-index: 1;
}

#qr-step-3 .qr-section-block--personal .qr-form-field.qr-delivery-field.input--filled .qr-label-content {
     bottom: 32px;
}

#qr-step-3 .qr-section-block--personal .qr-phone-field #qr-phone-prefix,
#qr-step-3 .qr-section-block--personal .qr-phone-field .qr-phone-wrap .qr-input {
    border-bottom: none !important;
}

#qr-step-3 .qr-section-block--personal .qr-form-field > label {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: calc(100% - 1.4em);
    text-align: left;
    pointer-events: none;
    padding: 0;
    display: block;
}

.qr-label-content {
    position: absolute;
    bottom: 25px;
    left: 0;
}

.input--filled .qr-label-content{
      bottom: 40px;
}

#qr-step-3 .qr-section-block--personal .qr-form-field > label::before,
#qr-step-3 .qr-section-block--personal .qr-form-field > label::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 10px);
    border-bottom: 1px solid #c5cfc5;
}

#qr-step-3 .qr-section-block--personal .qr-form-field > label::after {
    margin-top: 2px;
    border-bottom: 3px solid #315133;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
      display: none;
}

#qr-step-3 .qr-section-block--personal .qr-form-field > .qr-input:focus + label::after,
#qr-step-3 .qr-section-block--personal .qr-form-field > .qr-select:focus + label::after,
#qr-step-3 .qr-section-block--personal .qr-form-field.input--filled > label::after {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

#qr-step-3 .qr-section-block--personal .qr-form-field > .qr-input:focus + label .qr-label-content,
#qr-step-3 .qr-section-block--personal .qr-form-field > .qr-select:focus + label .qr-label-content,
#qr-step-3 .qr-section-block--personal .qr-form-field.input--filled .qr-label-content {
    -webkit-animation: qrHoshiAnim 0.3s forwards;
    animation: qrHoshiAnim 0.3s forwards;
}

@-webkit-keyframes qrHoshiAnim {
    50% {
        opacity: 0;
        -webkit-transform: translate3d(1em, 0, 0);
        transform: translate3d(1em, 0, 0);
    }
    51% {
        opacity: 0;
        -webkit-transform: translate3d(-1em, -40%, 0);
        transform: translate3d(-1em, -40%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, -40%, 0);
        transform: translate3d(0, -40%, 0);
    }
}

@keyframes qrHoshiAnim {
    50% {
        opacity: 0;
        -webkit-transform: translate3d(1em, 0, 0);
        transform: translate3d(1em, 0, 0);
    }
    51% {
        opacity: 0;
        -webkit-transform: translate3d(-1em, -40%, 0);
        transform: translate3d(-1em, -40%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, -40%, 0);
        transform: translate3d(0, -40%, 0);
    }
}

