:root {
    --breakpoint-750: 750px;
}
.hidden-h1 {
    text-indent: -9999px;
    position: absolute;
    z-index: -10;
    font-size: 1px;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.loader-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #cccccc4f;
    border-radius: 24px;
    display: none;
}
.success-container {
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #000;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #ffffff;
    border-radius: 24px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 10;
}

#submitLoader{
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hide-on-desktop {
    display: none;
}
.hide-on-mobile {
    display: block;
}
.page-template-rejestracja .page-content {
    /* overflow-x: hidden; */
    overflow: hidden;
}
footer#main-footer {
    position: relative;
    background-color: #fff;
    z-index: 2;
}
.sal-section-heading {
    position: relative;
    z-index: 2;
    font-size: 24px;
}

.black-rounded-btn {
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
    border-radius: 24px;
    padding: 12px 55px;
}
.black-rounded-btn:hover {
    background-color: #fff;
    color: #000;
}
button#submit-registration-form {
    display: flex;
    align-items: center;
    padding: 8px 55px;
}
.black-orange-rounded-btn {
    background-color: #000;
    border: 1px solid #EF6A55;
    color: #fff;
    border-radius: 24px;
    padding: 12px 55px;
}
.black-orange-rounded-btn:hover {
    background-color: #fff;
    color: #000;
}

.card-white {
    border-radius: 20px;
    background-color: #fff;
}
.card-black {
    border-radius: 20px;
    background-color: #000;
}
.card-orange {
    border-radius: 20px;
    background-color: #F08572;
}

.font-white {
    color: #fff;
}

.font-black {
    color: #000;
}

.sal-wrapper {
    max-width: 1500px;
    margin-inline: auto;
    padding-inline: 1rem;
}



/* Intro section start */
#registration-section {
    background-image: url('../../assets/img/reg_intro_bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom right;
    overflow: hidden;
}

.registration-form-holder {
    display: grid;
    grid-template-columns: 50% 50%;
}
.registration-form-holder::before {
    content: url('../../assets/img/decor-ellipse.png');
    display: block;
    position: absolute;
    top: -20px;
    left: -20px;
    border-radius: 20px;
}
.registration-form-holder #referralSourceNote {
    display: none;
}

.registration-form-holder .black-rounded-btn {
    margin-top: 40px;
    margin-bottom: 22px;
    margin-inline: auto;
}

.registration-form-holder .register-form-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.registration-form-holder .register-form-footer hr {
    margin-bottom: 22px;
}

.registration-form-holder .card-white {
    position: relative;
    z-index: 2;
}
/* phone input */
.registration-form-holder .iti {
    width: 100%;
}
.registration-form-holder .iti .iti__search-icon {
    display: none;
}
.registration-form-holder .iti__dropdown-content {
    border-radius: 17px 17px 0 0 ;
}
.registration-form-holder .iti__selected-country-primary {
    border-radius: 17px 0 0 17px ;
}
.registration-form-holder .iti__search-input {
    min-height: unset !important;
}

.error-message {
    color: #ef4444;
    font-size: 1rem;
    margin-top: 5px;
    font-weight: bold;
    display: none;
}

.input-error {
    border: 2px solid #ef4444 !important;
}

.sal-advantages-title {
    font-size: 28px;
    line-height: unset;
}

.sal-advantages-container {
    position: relative;
}

/* Form */
#registration-form {
    padding: 1.5rem 3.5rem 3.5rem 3.5rem;
}

#registration-form .sal-selects {
    column-gap: 15px;
}

#registration-form .sal-selects > div {
    width: calc(50% - 7.5px);
}

.registration-form-holder .form-header {
    text-align: center;
    padding-inline: 3.5rem;
    margin-top: 2rem;
    font-size: 24px;
    font-weight: 600;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    border-radius: 4px;
    background-color: #eee;
}

.checkbox-container:hover input~.checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked~.checkmark {
    background-color: #EF6A55;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.input-control select,
.input-control input:not([type="checkbox"]),
.input-control textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #6d6d6d;
    color: #575757;
    background-color: #fff;
    border-radius: 17px;
}
input, input:not([type="checkbox"]), select, input:not(.iti__search-input) {
    min-height: 45px ;
}
.input-control select {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.select-wrapper {
    position: relative;
}
.select-wrapper:after {
    display: block;
    top: 25%;
    right: 20px;
    position:absolute;
    content: '';
    background-image: url('../../assets/svg/ChevronDown.svg');
    width: 16px;
    height: 20px;
    font-size: 18px;
}

.input-control select:focus,
.input-control input:not([type="checkbox"]):focus,
.input-control textarea:focus {
    border: 2px solid #000;
}

.input-control label {
    display: inline-block;
    font-size: 12px;
    margin-bottom: 5px;
}

.sal-advantages {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-block: 24px;
}

.sal-advantages > div:not(:last-child) {
    position: relative;
}

.sal-advantages > div:not(:last-child):after {
    content: '';
    display: block;
    position: absolute;
    left: calc(100% + 12px);
    height: 100%;
    width: 1px;
    background-color: gray;
}

/* Three steps section */
#three-steps-section {
    position: relative;
    z-index: 2;
}
#three-steps-section .sal-section-heading {
    margin-bottom: 40px;
    text-align: center;
    color: #000;
}

/* #three-steps-section .decor-ellipse {
    position: absolute;
    top: -25%;
    left: -25%;
    z-index: -1;
    width: 150%;
    max-width: 150%;
} */

#three-steps-section .decor-blot {
    display: none;
}

#three-steps-section .card-white {
    position: relative;
    z-index: 2;
    -webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.14);
    -moz-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.14);
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.14);
}

#three-steps-section .steps-holder {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

#three-steps-section .steps-holder .step {
    display: flex;
    flex-direction: row;
    column-gap: 20px;
}

#three-steps-section .steps-holder .step:not(:last-child) {
    position: relative;
}

#three-steps-section .steps-holder .step:not(:last-child):after {
    position: absolute;
    top: 0;
    content: '';
    display: block;
    width: 1px;
    background-color: #cecece;
    left: 100%;
    height: 100%;
}

#three-steps-section .steps-holder .step-number {
    font-size: 48px;
    font-weight: 100;
    min-width: 30px;
}

#three-steps-section .steps-holder .step-content {
    display: flex;
    gap: 20px;
}

#three-steps-section .steps-holder .step-content img {
    min-width: 40px;
}

#three-steps-section .steps-holder .step-content small {
    font-size: 12px;
}

#three-steps-section .steps-holder .step-content .step-content-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#three-steps-section .steps-holder .step-content .step-content-text p {
    font-size: 16px;
    line-height: unset;
}

#three-steps-section .steps-holder .step-content .step-content-text .black-rounded-btn {
    padding: 10px 16px;
}

#unconvinced-section {
    position: relative;
    z-index: 2;
}

#unconvinced-section .unconvinced-holder {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: dense;
}

#unconvinced-section .unconvinced-holder .text-holder {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 24px;
}

#unconvinced-section .unconvinced-holder .infographic-holder {
    position: relative;
    order: 2;
}

#unconvinced-section .black-orange-rounded-btn {
    padding: 12px 24px;
    width: max-content;
}

#install-app .install-app-holder {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 2;
}
#install-app .install-app-holder .text-holder {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 24px;
}

.fixed-element {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Media Queries - moved to root level for compatibility */
@media (max-width: 750px) {
    .hide-on-desktop {
        display: block;
    }
    .hide-on-mobile {
        display: none;
    }
    #registration-section {
        margin-top: 50px;
    }
    .registration-form-holder::before {
        top: 53%;
        left: -200%;
        border-radius: 20px;
        z-index: 2;
    }
    .registration-form-holder {
        grid-template-columns: 100%;
    }
    .registration-form-holder .sal-advantages-container {
        background-image: url('../../assets/img/reg_intro_bg.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right -150px bottom;
        padding-inline: 24px;
        margin-top: -20px;
        padding-top: 20px;
    }
    .registration-form-holder .sal-advantages-container .sal-advantages-holder {
        padding-block: 60px;
        position: relative;
        z-index: 2;
    }
    .registration-form-holder .sal-advantages-container .sal-advantages-holder .sal-advantages-title br {
        display: block;
    }
    #registration-form {
        padding-inline: 24px;
    }
    .sal-advantages > div:not(:last-child):after {
        display: none;
    }
    .registration-form-holder .form-header {
        margin-top: 0;
        padding-inline: 24px;
    }
    .recomendation-holder {
        background-color: #000;
        margin-inline: -24px;
        padding-block: 15px;
    }
    .sal-wrapper.expandable {
        padding-inline: 0;
    }
    .card-white.rounded-b-mobile {
        border-radius: 0 0 20px 20px;
    }
    #three-steps-section .steps-holder .step:not(:last-child):after {
        top: calc(100% + 25px);
        width: 100%;
        height: 1px;
        left: 0;
    }
    #three-steps-section .steps-holder .step-content .step-content-text .black-rounded-btn {
        font-size: 14px;
    }
    #install-app .install-app-holder .links-holder {
        flex-direction: column;
        gap: 15px;
    }
}

@media (min-width: 750px) {
    .sal-section-heading {
        font-size: 36px;
    }
    .registration-form-holder {
        padding-top: 60px;
        padding-bottom: 120px;
    }
    #registration-form .discount-code-holder {
        max-width: 50%;
    }
    .sal-advantages-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 0 0 60px;
    }
    .sal-advantages {
        margin-block: 40px;
    }
    #three-steps-section .sal-section-heading br {
        display: none;
    }
    #three-steps-section .decor-blot {
        display: block;
        position: absolute;
        top: 100%;
        transform: translateY(-50%);
        max-height: 300px;
        width: 100%;
    }
    #three-steps-section .steps-holder {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    #three-steps-section .steps-holder .step {
        row-gap: 70px;
        flex-direction: column;
        padding-inline: 40px;
        column-gap: 0;
    }
    #three-steps-section .steps-holder .step-number {
        font-size: 80px;
    }
    #three-steps-section .steps-holder .step-content small {
        font-size: 16px;
    }
    #three-steps-section .steps-holder .step-content .step-content-text p {
        font-size: 18px;
    }
    #unconvinced-section .unconvinced-holder .text-holder {
        padding-block: 60px;
    }
    #install-app .install-app-holder .text-holder {
        padding-block: 60px;
    }
}

@media (min-width: 900px) {
    #unconvinced-section .unconvinced-holder {
        grid-template-columns: repeat(2, 1fr);
    }
    #unconvinced-section .unconvinced-holder .infographic-holder {
        order: 1;
    }
    #unconvinced-section .unconvinced-holder .infographic-holder img {
        position: absolute;
        bottom: 0;
        left: 0;
        max-height: calc(100% + 20px);
        aspect-ratio: 184 / 171 auto;
    }
}

@media (min-width: 1200px) {
    .sal-section-heading {
        font-size: 48px;
    }

    #three-steps-section .steps-holder .step-number {
        font-size: 120px;
    }
    #three-steps-section .steps-holder .step-content .step-content-text p {
        font-size: 24px;
    }
    #unconvinced-section .unconvinced-holder .text-holder {
        order: 2;
        padding-block: 150px;
    }
    #install-app .install-app-holder {
        grid-template-columns: 45% 55%;
    }
    #install-app .install-app-holder .text-holder {
        padding-block: 150px;
    }
}
@media (max-width: 1200px) {
    #registration-form .sal-selects > div {
        width: 100%;
    }
}
