﻿/*#region  Account layout */
/*------------------------------------------------------------------------------
Account layout
------------------------------------------------------------------------------*/
:root {
    --bs-body-bg: #FFFFFF;
    --icon-font-size-regular: 18px;
}

body {
    background: var(--bs-body-bg);
    letter-spacing: 0.01em;
}

.form-summary-error {
    display: none; /* Will be shown using notification instead */
}

.modal-backdrop {
    z-index: 1023;
}
.auth-wrapper > div {
    z-index: 1026; /* for pop out*/
}

.backdrop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1025;
    width: 100vw;
    height: 100vh;
    opacity: 0.6;
    background-color: #000000;
}

.modal-backdrop.show {
    opacity: 0;
}

.home-redirect {
    display: flex;
    justify-content: flex-end;
    padding: 0 20px 0 20px;
}

.home-redirect .btn-close {
    /*color: red;*/
}

.auth-wrapper.force-container {
    min-height: calc(100vh - 210px);
    top: 95px;
}

.auth-wrapper .logo-container {
    text-align: center;
    margin: 20px 0 11px 0;
}

.auth-wrapper .logo-container img {
    height: 31.5px;
    width: 180px;
}

.auth-wrapper form {
    margin-bottom: 0;
}

.auth-wrapper form .form-group {
    margin-bottom: 24px;
}

.auth-wrapper .pc-h-item {
    padding: 0px 8px 0 8px;
}

.auth-wrapper .card {
    padding: 20px 0 20px 0;
    box-shadow: none;
    /*border: 0.65px solid #F2F2F2;*/
    border-radius: 18px;
}

.auth-wrapper .card .card-body {
    max-width: 500px;
    min-width: 500px;
    padding: 40px 50px 30px 50px;
}

.form-group label {
    font-weight: 400;
    padding-top: 2px;
    margin-bottom: 8px;
    line-height: 16px;
}

.footer {
    top: 60px;
}

.auth-footer .footer {
    top: 0;
    margin-top: 0;
}

.auth-footer-text {
    margin: 16px 0 0 0;
}

input[type="email"], input[type="number"],
.auth-wrapper input[type="text"], input[type="tel"],
input[type="url"], input[type="password"], textarea, select {
    height: 40px;
    border: 1px solid #CDCDCD;
    border-radius: 4px;
    padding: 13px 16px 12px 16px;
    margin-bottom: 2px;
}


input[type="email"]:focus, input[type="number"]:focus,
.auth-wrapper input[type="text"]:focus, input[type="tel"]:focus,
input[type="url"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
    border-color: #181817;
    box-shadow: none;
}

.form-control::-moz-placeholder {
    color: #CDCDCD;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #CDCDCD;
    opacity: 1;
}

.form-control::placeholder {
    color: #CDCDCD;
    opacity: 1;
}

.auth-wrapper form .feather {
    color: #CDCDCD;
}

.auth-wrapper .form-text {
    font-size: 14px;
    line-height: 16px;
    color: #666666;
    margin-top: 0;
}

.auth-wrapper .form-text i.feather {
    font-size: 15px;
    color: #EC3D3D;
    /*font-weight: bold;*/
    display: none;
}

.auth-wrapper span.text-danger {
    margin-bottom: 2px;
    position: absolute;
}

.auth-wrapper .input-group-text {
    font-size: 14px;
    font-weight: 400;
    color: #181717;
    height: 40px;
    background-color: #f0f2f8;
    border: 1px solid #CDCDCD;
    border-radius: 4px;
}

.auth-wrapper form  .form-check-input[type="checkbox"] {
    border-radius: 4px;
    height: 20px;
    width: 20px;
}

.auth-wrapper form .form-check-label {
    line-height: 16px;
    padding-left: 5px;
    margin-bottom: 4px;
}

header .auth-logo-container {
    width: 100%;
    margin: 0 auto;
    min-width: 375px;
    text-align: center;
    background: #FCE9DF;
    height: 48px;
    line-height: 48px;
}

header .auth-logo-container img {
    width: 120px;
    height: 21px;
    object-fit: contain;
}
/*----------------------------------------------------------------------------*/
/*#endregion */

/*#region  Sign in / sign up section */
/*------------------------------------------------------------------------------
Sign in / sign up section
------------------------------------------------------------------------------*/
.password-field {
    display: flex;
    position: relative;
}

#Input_Password, #signUpPassword {
    /* Prevent typed password from overlapping toggle password icon */
    /* 40px makes it look like there is a 13px to the left and right of the toggle password icon */
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    z-index: auto;
    right: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.auth-wrapper form .toggle-password #toggle_password {
    float: right;
    position: relative;
    margin-top: calc(-1 * ((var(--form-field-component-height) + var(--icon-font-size-regular)) / 2)); /* Minus half input height + half icon height */
    margin-right: var(--spacing-small);
    font-size: var(--icon-font-size-regular);
    cursor: pointer;
}
.auth-wrapper form button, .auth-wrapper form a.continue-ad-btn {
    margin: 0 auto;
    margin-top: 38px;
    margin-bottom: 0;
    display: block;
    min-width: 215px;
    width: 100%;
    height: 60px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
}

.auth-wrapper form a.continue-ad-btn {
    font-size: 16px;
    line-height: 60px;
}

.auth-wrapper ul.nav-tabs li:nth-of-type(1) {
    order: 1;
    color: #181717;
}

.auth-wrapper ul.nav-tabs li:nth-of-type(2) {
    order: 4;
}

.auth-wrapper ul.nav-tabs li:nth-of-type(3) {
    order: 3;
    font-size: 9px;
    line-height: 35px;
    padding-top: 4px;
}
.auth-wrapper ul.nav-tabs li:nth-of-type(4) {
    order: 2;
}

    .auth-wrapper ul.nav-tabs li:nth-of-type(2) .nav-link,
    .auth-wrapper ul.nav-tabs li:nth-of-type(4) .nav-link {
        text-decoration: underline;
        font-weight: 400;
        font-size: 20px;
        line-height: 35px;
        padding-left: 16px;
        padding-right: 0px;
        cursor: pointer;
    }


.auth-wrapper ul.nav-tabs li:nth-of-type(2) .active,
.auth-wrapper ul.nav-tabs li:nth-of-type(4) .active {
    text-decoration: none;
    font-weight: 600;
    font-size: 30px;
    line-height: 35px;
    padding-left: 5px;
    padding-right:16px;
    cursor: text;
}

.auth-wrapper .nav-tabs .nav-link.active,
.auth-wrapper .nav-tabs .nav-item.show .nav-link {
    color: #181717;
    background-color: #ffffff;
    padding-left: 5px;
}

.auth-wrapper .input-group:not(.has-validation) > :not(:last-child):not(:first-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.auth-wrapper .pc-h-item a img {
    border-radius: 24px;
    height: 34px;
    width: 34px;
    background: #FFFFFF;
}

.register-clarify {
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 24px;
}

.register-clarify .clarify-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.register-clarify .clarify-content {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #B01F0E;
    margin-bottom: 0;
}

.register-clarify .clarify-content strong {
    font-weight: 600;
}

/* Divider lines with centered text */
.text-divider {
    display: flex;
    align-items: center;
    text-align: center;
    padding: 32px 40px 16px 40px;
}

/* To show the lines on right and left sides of the text with spacing 16px */
.text-divider::after,
.text-divider::before {
    content: "";
    border-top: 1px solid #D9D9D9;
    flex: 1;
}

.text-divider:not(:empty)::before {
    margin-right: 16px;
}

.text-divider:not(:empty)::after {
    margin-left: 16px;
}

.auth-wrapper .form-select {
    display: block;
    width: 101px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #293240;
    background-color: #F5F5F5;
    border: 1px solid #CDCDCD;
    transition: none;
}
.input-group input[type='tel'] {
    width: calc(100% - 101px);
}

.auth-wrapper .form-select:focus{
    border-color: #181717;
    box-shadow: none;
}

.in-app, .collection-header .search-input.in-app {
    display: none;
}

.novela-logo.in-app {
    display: flex;
    pointer-events: none;
}
/*----------------------------------------------------------------------------*/
/*#endregion */



/*#region  Welcome, verify email, forgot password, reset password */
/*------------------------------------------------------------------------------
Welcome, verify email, forgot password, reset password
------------------------------------------------------------------------------*/
.force-container .card {
    padding: 0;
}

.force-container .card .verify-container, .force-container .card .mobile-verify-container {
    max-width: 500px;
    min-width: 500px;
    padding: 0;
}
.auth-img-container img {
    width: 100%;
    min-width: 375px;
    object-fit: contain;
    position: relative;
    border-radius: 18px 18px 0 0;
}

.auth-img-container a.btn-close, .verify-container a.btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 5;
}

.force-container .form-container {
    padding: 50px;
}

.verify-container div p, .mobile-verify-container div p {
    line-height: 20px;
    font-size: 14px;
    margin-bottom: 24px;
}

.verify-container div p, .mobile-verify-container div p,
.forgot-password-container form p,
.reset-password-container form p {
    margin-bottom: 16px;
}

.verify-container button[type='submit'], .mobile-verify-container button[type='button'] {
    margin-bottom: 0;
    min-width: 230px;
}

/* !!! Jentz styling modifed */
/*--------------------------------*/
.verify-container div p.auth-title, .mobile-verify-container div p.auth-title .auth-title {
    font-family: 'Alegreya Sans';
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
    /*margin-bottom: 24px;*/ /* !!! since insert the flag, im using a div class to wrap it*/
}

/* !!! Jentz - in line 452, it does not detect the mobile-verify-container */ 
.mobile-verify-container p.auth-title {
    font-family: 'Alegreya Sans';
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
}

.auth-wrapper .logo-container.force-password-logo {
    margin: 40px 0 20px 0;
}
.auth-wrapper .card .card-body.forgot-password-container,
.auth-wrapper .card .card-body.reset-password-container {
    padding-bottom: 40px;
}

.forgot-password-container .auth-title, .reset-password-container .auth-title {
    font-family: 'Alegreya Sans';
    text-align: center;
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
}

.flag-text-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.flag-text-container .flag-right{
   margin: 0 0 0 16px;
}

.flag-text-container .auth-title{
    margin: 0;
}
/*--------------------------------*/

.auth-proceed {
    text-align: center;
    margin-bottom: 0;
}

.auth-wrapper .text-important {
    color: #181717;
    font-weight: 600;
    text-decoration: none;
}

.mobile-verify-container form .otp-input {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-wrapper .mobile-verify-container form button.resend-btn {
    margin: 0;
    min-width: 0;
    text-transform: none;
    color: #666666;
    border: none;
    padding: 0 2px 0 0;
    width: fit-content;
    height: fit-content;
    pointer-events: auto;
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    text-decoration: underline;
    letter-spacing: 0.01em;
}

.auth-wrapper .mobile-verify-container form button.resend-btn.disabled {
    color: #DED4D0;
    text-decoration: none;
    pointer-events: none;
}
/*----------------------------------------------------------------------------*/
/*#endregion */



/*#region  Media queries */
/*------------------------------------------------------------------------------
Media queries
------------------------------------------------------------------------------*/
@media (max-width: 991.98px) {
    .footer {
        top: 100px;
    }
    .auth-wrapper form button {
        font-size: 16px;
    }
}
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {

    .auth-wrapper .card .card-body {
        min-width: 375px;
        padding: 32px 16px 48px 16px;
        margin: auto;
        width: 100%;
    }

    .modal-backdrop {
        z-index: 1025;
    }

    .auth-wrapper > div {
        z-index: 1024; /* for pop out*/
    }

    .backdrop-overlay, .auth-img-container a.btn-close, .verify-container a.btn-close {
        display: none;
    }

    .modal-backdrop.show {
        opacity: 0.5;
    }

    .fullscreen-md-view {
        width: 100vw;
        height: 100%;
        max-height: none;
        margin: 0;
        z-index: 9999;
        position: fixed;
        top: 0;
        left: 0;
        display: block;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .auth-wrapper {
        display: block;
        margin: 0;
        top: 0;
        background: #FFFFFF;
        margin-bottom: -90px;
    }

    .auth-wrapper.force-container {
        margin: 0;
        width: 100%;
        background: #FFFFFF;
        display: block;
        top: 87px;
    }

    .footer {
        top: 50px;
    }

    .force-container .card .card-body.verify-container {
        position: relative;
        left: 0;
        padding: 0;
    }

    .force-container .form-container {
        padding: 32px 16px 40px 16px;
    }

    .auth-wrapper.force-container .card .card-body {
        max-width: none;
        width: 100%;
    }

    .force-password-logo {
        display: none;
    }

    .auth-wrapper.force-container .card .card-body.forgot-password-container, .auth-wrapper.force-container .card .card-body.reset-password-container {
        max-width: 500px;
        width: 100%;
    }

    .pc-header {
        z-index: 1;
    }

    .auth-wrapper .card {
        padding: 0;
        margin: 0;
        border-radius:0;
        border: none;
    }

    .auth-wrapper .fullscreen-md-view .card-body, 
    .force-container .card, .verify-container {
        margin: 0 auto;
        border: none;
    }

    .auth-img-container img {
        border-radius: 0;
        width: 100%;
    }
    
    .auth-wrapper form .form-check-input[type="checkbox"] {
        margin-right: 0;
    }

    .modal#termsOfUse .modal-header, .modal#privacyPolicy .modal-header {
        padding-top: 24px;
    }

    .auth-wrapper form button, .auth-wrapper form a.continue-ad-btn {
        font-size: 14px;
        height: 40px;
    }

    .auth-wrapper form a.continue-ad-btn {
        line-height: 40px;
    }

    /* !!! Jentz styling modifed */
    /*--------------------------------*/
    .forgot-password-container .auth-title, .reset-password-container .auth-title {
        text-align: center;
        font-size: 24px;
        line-height: 29px;
    }

    .verify-container div p.auth-title, .mobile-verify-container div p.auth-title .auth-title {
        font-size: 24px;
        line-height: 29px;
        /*margin-bottom: 24px;*/ /* !!! since insert the flag, im using a div class to wrap it*/
    }

    .mobile-verify-container p.auth-title {
        font-size: 24px;
        line-height: 29px;
    }
    /*--------------------------------*/
}

@media (max-width: 575.98px) {
    .auth-wrapper.force-container {
        top: 85px;
    }

    .force-container .form-container {
        padding: 32px 8px 40px 8px;
    }

    .auth-wrapper .card .card-body {
        /* temp for safe area*/
        padding: 32px 8px 48px 8px;
        min-width: 350px;
        width:100%;
    }

    .auth-wrapper .card .card-body.store-screen {
        /* temp for safe area*/
        padding-left: 16px;
        padding-right: 16px;
    }

    .auth-wrapper .nav-tabs .nav-link {
        font-size: 24px;
        line-height: 28px;
    }

    .auth-wrapper ul.nav-tabs li:nth-of-type(3) {
        line-height: 28px;
        padding-top: 4px;
    }

    .auth-wrapper ul.nav-tabs li:nth-of-type(2) .nav-link,
    .auth-wrapper ul.nav-tabs li:nth-of-type(4) .nav-link {
        font-size: 16px;
        line-height: 28px;
    }

    .auth-wrapper ul.nav-tabs li:nth-of-type(2) .active,
    .auth-wrapper ul.nav-tabs li:nth-of-type(4) .active {
        font-size: 24px;
        line-height: 28px;
    }
}
/*----------------------------------------------------------------------------*/
/*#endregion */