/* ========================================= import font 'Montserrat' from google ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap');

/* ========================================= Start Global Rules =========================================*/

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-image: url(../images/sign-up-bg.png);
    background-size: 100% 100%;
    overflow: auto;
    height: 100vh;
    /* background-repeat: no-repeat; */
    width: 100%;
}

button {
    border: none;
}

a {
    text-decoration: none;
}

/* ::-webkit-scrollbar {
    display: none;
  } */
.page {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ========================================= End Global Rules ========================================= */
.link-back {
    position: absolute;
    margin-top: 13px;
    margin-left: 19px;
    z-index: 9999;
}

.back {
    width: max-content;
    height: auto;
    margin-top: 13px;
    display: flex;
    align-items: center;
}

.back span {
    font-size: 15px;
    color: #727272;
    margin-left: 6px;
}

.arrow-img {
    width: 8px;
    height: 10px;
    background-image: url(../images/icons/Arrow-white.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.back span {
    font-size: 15px;
    color: #FFFFFF;
    margin-left: 6px;
}

/* ========================================= Start left-section ========================================= */
.left-section {
    width: 399px;
    height: auto;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    background-color: #BA9950;
}

.left-section::before {
    content: "";
    position: absolute;
    z-index: -9999;
    height: 700px;
    width: 100%;
    background-color: #BA9950;
    left: 0;
}

.left-section p {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    max-width: 266px;
    color: white;
    margin-top: 33px;
}

.left-section>:nth-child(2) div {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-top: 16px;
}

.left-section>:nth-child(2) div>:nth-child(2) {
    margin-left: 11px;
    margin-right: 11px;
}

.left-section>:nth-child(2) div>:first-child,
.left-section>:nth-child(2) div>:nth-child(3) {
    width: 18px;
    height: 1px;
    background-color: white;
}

.quote {
    position: absolute;
    bottom: 0;
}

/* ========================================= End left-section ========================================= */


/*  ========================================= Start Sign-Up =========================================  */
.sign-up {
    width: calc(100% - 399px);
    /* height: 100vh; */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* align-self: flex-start; */
}

.sign-up-container {
    max-width: 794px;
    min-height: 427px;
    background-color: #F7F7F7;
    border: 1px solid #BA9950;
    margin: 0 auto;
    padding: 35px;
    box-shadow: 0px 13px 20px #00000014;
}

input[type="checkbox"] {
    position: relative;
    width: 19px;
    height: 19px;
    color: #BA9950;
    border: 1px solid #BA9950;
    appearance: none;
    outline: 0;
    cursor: pointer;
    transition: background 175ms cubic-bezier(0.1, 0.1, 0.25, 1);
}

input[type="checkbox"] {
    border: 1px solid #DCD6CA !important;
    border-radius: 0 !important;
}

input[type="checkbox"]:focus {
    box-shadow: none;
}

input[type="checkbox"]::before {
    position: absolute;
    content: '';
    display: block;
    top: 2px;
    left: 7px;
    width: 8px;
    height: 14px;
    border-style: solid;
    border-color: white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

label:not(.form-check-label) {
    font-size: 12px;
    color: #727272;
}

.form-check-label {
    font-size: 15px;
    margin-left: 8px;
    color: #727272;
}

input[type="checkbox"]:checked {
    color: white;
    border-color: #BA9950;
    background: #BA9950;

}

.form-control {
    max-width: 352px;
    height: 50px;
    border-radius: 0px;
    border: 1px solid #DBD5C9;
}

.form-control:focus {
    outline: none !important;
    border: 1px solid #DBD5C9;
    box-shadow: none !important;
}

input[type="checkbox"]:checked&::before {
    opacity: 1;
}

#Phone {
    text-indent: 40px;
}

.Phone-number-container {
    position: relative;
}

.flag {
    position: absolute;
    left: 15px;
    display: flex;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
}

.flag>:nth-child(2) {
    margin-left: 5px;
}

.submit {
    width: 194px;
    height: 39px;
    background-color: #BA9950;
    color: white;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

::placeholder {
    font-size: 15px !important;
    color: #727272;
    font-weight: normal !important;
}

.sign-up-footer {
    display: flex;
    align-items: center;
    font-size: 15px;
    width: max-content;
    margin: 20px auto;
}

.sign-up-footer p {
    margin-bottom: 0;
    color: #727272;
}

.sign-up-footer a {
    margin-left: 34px;
    font-weight: bold;
    color: #1A1818;
}

@media (max-width:1200px) {
    .left-section {
        display: none;
    }

    .sign-up {
        width: 100%;
        height: 100vh;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .sign-up-container {
        max-width: fit-content;
    }

    .form-control {
        max-width: 100%;
    }

    .back span {
        color: #727272;
    }

    .arrow-img {
        background-image: url(../images/icons/Arrow-back.svg);
    }

    .sign-up {
        flex-direction: column;
    }

    .logo {
        width: 100%;
        height: 60px;
        background-image: url(../images/Logo.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
        margin-bottom: 20px;
    }
}

@media (max-width:992px) {
    .sign-up-container {
        padding: 10px;
    }

    .sign-up-footer {
        bottom: 5px;
    }

    .form-control {
        max-width: 100%;
        height: 35px;
        border-radius: 0px;
    }

}

@media (max-width:768px) {
    .sign-up-container {
        padding: 15px;
    }

    body {
        overflow: auto;
    }
}

@media (max-width:576px) {
    .sign-up-container {
        padding: 20px;
    }

    .checkbox-container {
        display: flex;
        align-items: flex-start;
        margin-top: 10px;
    }

    .sign-up {
        margin-top: 20px;
        height: fit-content;
    }

    .sign-up-footer {
        bottom: -10px;
    }
}

@media (max-width:400px) {
    input[type="checkbox"] {
        width: 25px;
        height: 19px;
    }

    .sign-up-footer {
        bottom: -2px;
    }
}

@media(min-width:1200px) {
    .sign-up {
        margin-top: 50px;
    }
}

@media(max-width:1200px) {
    .link-back {
        position: relative;
    }
}

@media(max-width:576px) {
    body {
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
}

/*  ========================================= End Sign-Up =========================================  */