:root {
    --ol-yellow-primary: #fbdd11;
    --ol-green-light: #4cb944;
    --ol-green-dark: #004f2d;
    --ol-yellow-white: #faf7c4;
    --ol-yellow-secondary: #f2c900;
    --wa-green: #25d366
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Geologica, sans-serif
}

body {
    background-color: #FEFCF0
}

.disabled {
    display: none !important
}

.btn-disabled {
    pointer-events: none !important;
    opacity: .5;
    transition: 250ms
}

.main-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    /* flex-direction: column; */
}

.main-card {
    width: 75%;
    height: 70vh;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0, 0, 0, .25);
    display: flex;
    min-width: 800px;
    max-width: 1500px;
    min-height: 700px;
    background-color: white;
    position: relative;
}

.left-pannel {
    width: 40%;
    height: 100%;
    display: flex;
    /* justify-content: space-between; */
    flex-direction: column;
    align-items: start;
    background-color: var(--ol-yellow-primary);
    background-image: url("/images/bg-register-page-2.png");
    opacity: 1;
    padding: 1rem 1rem 0 1rem;
    background-position: bottom right;
    background-size: cover;
    background-repeat: no-repeat;
}

.left-pannel #logo {
    margin-top: 25px;
    border-radius: 20px;
    width: 100% !important;
    max-width: 200px;

}

.left-pannel #quote {
    margin: 25px;
    color: var(--ol-green-dark);
    text-align: start;
    font-size: 28px;
    margin-top: 0;
}

.left-pannel #quote span {
    background-color: white;
    padding: 0 0.5rem;
}

.left-pannel #limoncello {
    max-height: 15vh;
    margin-top: auto;
}

#login-card {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column
}

#login-card p {
    opacity: .5
}

#login-qr:not([src]) {
    opacity: 0
}

#login-wa-button-a {
    background-color: var(--wa-green);
    border-radius: 50px;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-top: 2rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700
}

#login-wa-button-a img {
    margin-right: 10px
}

.right-pannel {
    height: 100%;
    width: 60%
}

.form-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

.form-container .form {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.form-container .form>div {
    margin: 0 0 1rem 0;
    width: 100%;
    position: relative
}

.input-container {
    position: relative;

}

.form input,
.form select {
    padding: .5rem;
    font-size: 16px;
    border: 2px solid #F1F1F1;
    border-radius: 50px;
    width: 100%;
    padding-left: 1rem;
    padding-right: 30px
}

.form select {
    padding-right: .5rem
}

.input-container:has(input.form_input_invalid)::after {
    background-image: url(/images/input_invalid.svg)
}

.input-container:has(input.form_input_valid)::after {
    background-image: url(/images/input_valid.svg)
}

.input-container:has(input.form_input_valid)::after,
.input-container:has(input.form_input_invalid)::after,
.input-container:has(input.form_input_loading)::after {
    content: "";
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(50%, -50%);
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat
}

.input-container:has(input.form_input_loading)::after {
    right: 15px !important;
    margin-top: -10px;
    border-radius: 50%;
    border: 2px solid var(--ol-yellow-white);
    border-top-color: var(--ol-green-dark);
    animation: spin .8s linear infinite
}

.form input:focus-visible,
.form select:focus-visible {
    outline: unset
}

.form h5 {
    font-size: 16px;
    color: var(--ol-green-dark);
    margin-bottom: 10px;
}

#login-card h1 {
    margin-bottom: 0.75rem;
    color: var(--ol-green-dark)
}

#login-card p {
    margin-bottom: 2rem;
}

.form h1 {
    margin-bottom: 2rem;
    color: var(--ol-green-dark)
}

.form select {
    width: unset;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: unset
}

.form_input_invalid {
    background-color: #c98c8c
}

#form_error_container {
    width: fit-content;
    padding: 5px 10px;
    border-radius: 50px;
    background-color: #f8d7da;
    border: 2px solid #f85d6c;
    color: #721c24
}

.vat-input {
    display: flex
}

#form_vat_number {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0
}

.name-fields,
.adress2-fields {
    display: flex
}

.name-fields>div:first-child {
    width: 50%;
    margin-right: .25rem
}

.name-fields>div:last-child {
    width: 50%;
    margin-left: .25rem
}

.adress2-fields>div:first-child {
    width: 30%;
    margin-right: .25rem
}

.adress2-fields>div:last-child {
    width: 70%;
    margin-left: .25rem
}

.next-button {
    width: unset !important;
    text-align: center;
    background-color: var(--ol-yellow-primary);
    color: var(--ol-green-dark);
    border-radius: 50px;
    padding: 12px 32px;
    margin-top: 1rem !important;
    cursor: pointer;
    text-transform: capitalize;
    font-weight: 800;
    transition: 200ms
}

.next-button div {
    display: flex;
    align-items: center;

}

.next-button #arrow-next {
    color: var(--ol-green-dark);
    width: 22px;
    margin-left: 0.5rem;
}

.next-button:hover {
    color: var(--ol-yellow-white);
    background-color: var(--ol-green-dark)
}

.next-button:hover #arrow-next {
    color: var(--ol-yellow-white);
}

#loading-card {
    display: flex;
    margin: auto
}

#download-card {
    margin: auto
}

#download-card>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 3rem;

}

#open_dashboard_link {
    margin: 1rem;
    background-color: var(--ol-yellow-primary);
    color: var(--ol-green-dark);
    border-radius: 50px;
    padding: 12px 32px;
    text-decoration: none
}

.horizontal-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.loader {
    border: 8px solid var(--ol-yellow-white);
    border-top: 8px solid var(--ol-green-dark);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite
}

#payment-card {
    margin: auto 5%;
    width: 50%;
    color: var(--ol-green-dark)
}

#sub_month ul {
    list-style-image: url(/images/check_yellow.svg);
}

#sub_year ul {
    list-style-image: url(/images/check_white.svg);
}

.payment-options-container {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    padding: 10px;
    overflow: auto;
}

#payment-card h1 {
    margin: auto;
    margin-bottom: 1rem;
    text-align: center;
}

#payment-card {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

#payment-card::-webkit-scrollbar {
    display: none;
}

.payment-options-container h2 {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.choose_plan {
    text-align: center;
    background-color: var(--ol-yellow-primary);
    color: var(--ol-green-dark);
    border-radius: 50px;
    padding: 12px 0;
    margin-top: 1rem !important;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 800;
    transition: 200ms;
    margin-bottom: 1rem;
}



#sub_year {
    background-color: var(--ol-yellow-primary);
}

#choose_yearly {
    background-color: white !important;

}

.choose_plan:hover {

    background-color: var(--ol-yellow-white)
}

.payment-options-container>div {

    padding: 1.5rem 1.5rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, .25);
    border-radius: 16px
}

.feature_list li {
    margin: .5rem
}

.feature_list {
    margin: 1rem 0 1rem 1rem
}

#sub_fail-card {
    display: contents
}

#sub_fail-card>div {
    margin: auto
}

#sub_success-card {
    display: contents
}

#sub_success-card h1,
#sub_fail-card h1 {
    color: var(--ol-green-dark);
}

#sub_success-card>div,
#sub_fail-card>div {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center
}

.horizontal-layout>a {
    margin: 5px
}

#goto_download,
#try_again_payment {

    padding: 1rem 2rem
}

#googleplaybutton>img {
    height: 60px
}

#two_months {
    background-color: white;
    display: inline;
    padding: 3px 5px;
}

#terms_mobile,
#terms {
    position: absolute;
    bottom: 20px;
    color: black;
    opacity: 0.3;
    font-size: 12px;
}

#terms_mobile {
    position: relative !important;
    text-align: center;
}

#terms_mobile a,
#terms a {
    color: black;
    font-size: 12px;

}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@media only screen and (max-width:1650px) and (min-width:1450px) {
    #payment-card {
        width: 60%;
        margin: auto;

    }
}

@media only screen and (max-width:1450px) and (min-width:800px) {
    #payment-card {
        height: 90%;
        overflow: auto;
    }

    #payment-card h1 {
        margin-top: 1rem;

    }

    .payment-options-container {
        flex-direction: column;

    }

    .payment-options-container>div {
        width: unset;
        margin-bottom: 2rem
    }
}

@media only screen and (max-width:800px) {
    .main-card-container {
        align-items: unset
    }

    .main-card {
        width: 100%;
        min-width: unset;
        flex-direction: column;
        border-radius: unset;
        height: unset;
        overflow: auto
    }

    .general-card {
        margin-bottom: 4rem
    }

    .left-pannel {
        height: unset;
        width: unset;
        flex-direction: unset;
        background-image: none;
    }

    .left-pannel #logo {

        display: none;
    }

    #logo_mobile {
        margin: 0 0 1rem 0;
        width: 25% !important;
        border-radius: 10px;
        max-width: 75px;
        display: inline !important;
    }

    .left-pannel #quote {
        margin: 0 0 0 1rem;
        font-size: 20px
    }

    #download-card>div {
        margin: 2rem 0
    }

    #login-wa-button-a {
        margin-bottom: 1rem
    }

    #login-qr {
        width: 150px;
        height: 150px
    }

    #limoncello {
        display: none
    }

    .form-container {
        height: unset
    }

    .right-pannel {
        width: 100%
    }

    .form-container {
        width: unset;
        margin: 2rem
    }

    .form h1 {
        font-size: 24px;
        text-align: center
    }

    #payment-card {
        width: 90%;
    }

    #payment-card h1 {
        margin-top: 1rem;

    }

    .payment-options-container {
        flex-direction: column;

    }

    .payment-options-container>div {
        width: unset;
        margin-bottom: 2rem
    }

    #sub_fail-card>div,
    #sub_success-card>div {
        margin: auto 3rem;
        text-align: center
    }

    #terms {
        display: none;

    }

    #terms_mobile {
        display: block !important;
    }

}