/* Główny kontener formularza */
#flooren-esalon-form-wrapper {
    max-width: 1292px;
    margin: 0 auto;
    border-radius: 75px;
    padding: 30px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    margin-top: 40px;

    position: relative;
}

.fe-next-step-orange {
    background-color: #FF9202;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 21px;
    font-weight: 500;
    border-radius: 30px;
    padding: 11px 20px;
    border: 1px solid #FF9202;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.fe-next-step-orange svg {
    width: 16px;
    height: auto;
    fill: white;
}

.fe-next-step-orange:hover {
    background-color: white;
    color: #FF9202;
    border: 1px solid #FF9202;
}

.fe-next-step-orange:hover svg {
    fill: #FF9202;
}

/* Stylizacja poszczególnych kroków formularza */
.fe-step {
    /* padding: 20px; */
}

.fe-step h2 {
    font-size: 26px;
    line-height: 28px;
    margin: 0px;
    font-weight: 500;
    color: black;

}

.laptop-abs {
    position: absolute;
    top: -75px;
    right: -75px;
}

#fe-step-1 .fe-next-step-orange {
    margin-top: 60px;
}

#fe-step-1 {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
}

#fe-step-1 h2 {

    margin-bottom: 50px;
}

.step-1-left-col {
    flex: 1 1 436px;
    background-color: white;
    padding: 30px 25px;
    border-radius: 50px;
    max-width: 436px;
}

p.step-1-desc {
    font-size: 14px;
    line-height: 22px;
    color: black;
    padding: 0px;
    margin: 0px;
}

p.step-1-desc b {
    font-weight: 600;
}

.person-bottom {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    justify-content: end;
}

.person-bottom img {
    width: 60px;
    height: 60px;
    border-radius: 60px;
    object-fit: cover;
}
.person-bottom h3{
    margin: 0px;
    margin-bottom: 2px;
    font-size: 13px;
    line-height: 22px;
    font-weight: 600;
    color: black;
}
.person-bottom p{
    font-size: 13px;
    line-height: 22px;
    font-weight: 400;
    color: black;
    font-style: italic;
    margin:0px
}
.how-it-work-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hiw-single-el {
    display: flex;
    gap: 30px;
}

.hiw-single-el h3 {
    margin: 0px;
    margin-bottom: 2px;
    font-size: 16px;
    line-height: 22px;
    color: black;

}

.hiw-single-el p {
    color: #646464;
    font-style: italic;
    font-size: 13px;
    line-height: 20px;
    margin: 0px;
}

.hiw-count {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    border-radius: 35px;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
}


/* -------------------------------------------- STEP 2 */

.fe-step-no-time-available{
    font-size: 13px;
    line-height: 20px;
    margin-top: 20px;
    color: #646464;
    text-align: center;
    font-style: italic;
}
.fe-step-no-time-available a{
    color: #FF9202 !important;
}
#fe-step-2 .fe-next-step-orange{
    margin-top: 35px;
    margin-left: auto;
    margin-right: auto;
}
#fe-step-2 {
    max-width: 830px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0;
}
#fe-step-2 h2{
    text-align: center;
    margin-bottom: 50px;
}
.input-form-wrapper{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px 10px;
}

.select-hour-wrapper{
    grid-column: 2 / 4;
}

/* Grupowanie pól formularza */
.fe-form-group {
    /* margin-bottom: 15px; */
}

.fe-form-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 21px;
    font-weight: 500;
    color: black;

}
.fe-form-group>label{
    padding-left: 20px;
}

.fe-form-group input[type="text"],
.fe-form-group input[type="date"],
.fe-form-group input[type="email"],
.custom-select-trigger {
    width: 100%;
    padding: 11px 20px;
    box-sizing: border-box;
    border-radius: 30px;
    border: 1px solid #CACACA !important;
    background-color: white;
    outline: none !important;
    font-size: 14px;
    line-height: 21px;

}

#fe-time-slots{
    border-radius: 30px;
    border: 1px solid #CACACA !important;
    background-color: white;
    padding: 3px;
    outline: none !important;
}

/* ========================= */
/* Custom select */
/* ========================= */
.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;

}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    display: none;
    z-index: 99;
    max-height: 200px;
    overflow-y: auto;
    /* display: block; */
}

.custom-select-wrapper.open .custom-options {
    display: block;
}

.custom-select-wrapper.open .custom-option {
    display: block;
}

.custom-option {
    padding: 10px;
    cursor: pointer;
    font-size: 12px;
    line-height: 16px;
}

.custom-option:hover,
.custom-option.selected {
    background: #FF9202;
    color: #fff;
}

/* ========================= */
/* Custom radio – kafelki jako przedziały czasowe */
/* ========================= */
#fe-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.fe-time-slot {
    display: inline-block;
    flex: 1 0 131.75px;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 25px;
    /* Owalny kształt */
    cursor: pointer;
    margin-right: 0px !important;
    margin-bottom: 0px !important;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
}

.fe-time-slot.available {
 border-color: #68C19B;
 background-color: #F2FFF9;
 color: #68C19B;
}


/* Ukrywamy natywny radio */
.fe-time-slot input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Styl dla wybranego kafelka */
.fe-time-slot.selected {
    background-color: #379A6F;
    color: #fff;
    border-color: #379A6F;
}

/* Stylizacja kafelków oznaczonych jako zarezerwowane */
.fe-time-slot.booked {
    background-color: #FFEDED;
    border-color: #E5A1A1;
    color: #E5A1A1;
    cursor: not-allowed;
}






/* Custom Checkbox dla zgody (fe-form-group-zgoda) */
.fe-form-group-zgoda input[type="checkbox"] {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #CACACA;
    border-radius: 4px;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: background-color 0.2s, border-color 0.2s;
    position: absolute;
    left: 0px;
    top: 0px;
}

.fe-form-group-zgoda input[type="checkbox"]:hover {
    border-color: #FF9202;
}

.fe-form-group-zgoda input[type="checkbox"]:checked {
    background-color: #FF9202;
    border-color: #FF9202;
}

.fe-form-group-zgoda input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.fe-form-group-zgoda label{
    padding-left: 0px;
    margin-top: 20px;
    margin-bottom: 0px;
    font-size: 11px;
    line-height: 16px;
    color: #646464;
    position: relative;
    padding-left: 30px;
}


/* STEP 3 */

#fe-step-3{
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0px;
}
#fe-step-3 h2{
    text-align: center;
    margin: 0px;
    margin-bottom: 40px;
    color: black;
}
#fe-step-3 p{
    font-size: 14px;
    line-height: 22px;
    color: black;
    margin: 0px;
}

#fe-confirmation-date{
color: #FF9202;
font-weight: bold;
}

#fe-confirmation-time{
    color: #FF9202;
    font-weight: bold;
}

.button-step-3-wrapper{
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.fe-next-step-orange-freesamples{
    background-color: white;
    color: black !important;
    text-decoration: none;
}
.fe-next-step-orange-freesamples svg{
    fill: black !important;
}



@media screen and (max-width: 1010px) {
    #fe-step-1{
        flex-direction: column;
        gap: 35px;
    }
    .step-1-left-col{
        max-width: 100%;
    }
    #fe-step-1 .fe-next-step-orange{
        margin-left: auto;
        margin-right: auto;
    }
    .input-form-wrapper{
        
        grid-template-columns: repeat(2,1fr);
       
    }
    .select-hour-wrapper {
        grid-column: -1 / 1;
    }
    .laptop-abs{
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .input-form-wrapper{
        
        grid-template-columns: repeat(1,1fr);
       
    }
}

.custom-select-trigger svg{
    width: 20px;
    height: auto;
}
.custom-select-wrapper.open svg{
    transform: rotate(180deg);
}
.custom-date-wrapper{
    position: relative;
    overflow: hidden;
}
.custom-date-placeholder{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    /* left: 15px; */
    padding: 11px 10px;
    font-size: 14px;
    line-height: 21px;
    background: white;
    border-radius: 30px;
    margin-left: 10px;
    cursor: pointer;
}





/* Doty do przełączania kroków */
.step-dots {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: 20px;
    top: 50%;
    background: #E6E6E6;
    padding: 7px;
    border-radius: 12px;
    gap: 7px;
}
.step-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
   
    cursor: pointer;
    transition: all 0.2s;
}
.step-dot.active {
    background-color: #FF9202;
    height: 20px;
    border-radius: 5px;
}

@media screen and (max-width: 960px) {
    #flooren-esalon-form-wrapper{
        padding-bottom: 60px;
    }
    .step-dots {
      
        flex-direction: row;
        right: 50%;
        top: initial;
        bottom: 20px;
        transform: translate(50%, 0);
    }
    .step-dot.active{
        width: 20px;
        height: 10px;
    }
    #fe-step-2{
        padding-bottom: 20px;
    }
}


.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay{
    background: #FF9202 !important;

    border-color: #FF9202 !important;
}
.flatpickr-monthDropdown-months{
    border: 1px solid #CACACA !important;
}

.custom-data-wrapper{
    position: relative;
}
.custom-data-wrapper svg{
    position: absolute;
    width: 16px;
    height: auto;
    right: 20px;
    top: 50%;
    transform: translate(0, -50%);
    cursor: pointer;
}