/* the rest of the account sections will be slowly phased out and replaced with account_new */

/* ================================================================================================================== */
/* Main CSS Adjustments
/* ================================================================================================================== */

body {
    background-color: #f9f9f9;
}

.navbar {
    box-shadow: rgba(0, 0, 0, 0.16) 2px 3px 20px 0px!important;
}

/* Account Content */
.account_content_new {
    max-width: 370px;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    border-radius: 28px;
    box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.24);
    padding: 40px;
    margin-top: 40px !important;
    margin: 0px 16px;
    background: var(--White);
}

@media (max-width: 768px) {
    .account_content_new {
        padding: 32px 32px;
        margin: 0 auto;
        box-shadow: none;
        background: transparent;
    }
}

/* Account Header */
.account_header_new {
    margin-bottom: 24px;
}

.account_header_new h1 {
    font-weight: 500;
    font-size: 36px;
    color: #187AED;
    margin-top: 0px;
    margin-bottom: 12px;
}

.account_header_new p {
    font-family: "Nunito Sans";
    font-size: 18px;
    color: rgba(0, 0, 0, 0.54);
}

/* Account Button */
.account_button_new {
    font-family: "Nunito Sans";
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    background-color: #187AED;
    border: none;
    border-radius: 20px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.32);
    transition: all 0.35s ease;
    padding: 8px 16px;
}

.account_button_new:hover,
.account_button_new:focus {
    box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.32);
    transform: translateY(-2px);
    background-color: #187AED;
    color: #FFFFFF;
}

/* Checkbox Input */
.account_body_new p {
    font-size: 18px;
}

@media (max-width: 768px) {
    .mobile_verification_body p {
        font-size: 16px;
    }
}

.account_body_new #div_id_remember {
    display: flex;
    align-items: center;
}

.account_body_new #div_id_remember label {
    display: flex;
    align-items: center;
    font-family: "Nunito Sans";
    font-size: 14px;
    color: rgba(0, 0, 0, 0.54);
    transition: all 0.35s ease;
    margin-left: 8px;
}

.account_body_new #div_id_remember input {
    border: 1px;
    box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    margin-left: 0px;
    /* Override -20px from forms.less:246 */
    margin-bottom: 2px;
    transition: all 0.35s ease;
    width: 16px;
    height: 16px;
}

.account_body_new #div_id_remember label:hover,
.account_body_new #div_id_remember input:focus {
    color: #187AED;
}

.account_body_new #div_id_remember input:hover,
.account_body_new #div_id_remember input:focus {
    box-shadow: inset 2px 2px 6px rgba(24, 122, 237, 0.36);
}

@media (max-width: 768px) {
    .account_body_new #div_id_remember label {
        margin-left: 2px;
    }
}

/* Text Inputs */
.account_body_new form label:not(#div_id_remember label) {
    display: none;
}

.account_body_new input:not([type="checkbox"]) {
    font-family: "Nunito Sans";
    font-size: 16px;
    background-color: #F5F6FA;
    border: none;
    border-radius: 12px;
    box-shadow: inset 2px 3px 6px rgba(0, 0, 0, 0.16);
    transition: background-color 0.35s ease;
    padding: 0px 16px;
    height: 40px;
}

#div_id_password {
    margin-bottom: 16px;
}

/* Forgot Password (Login) */
.account_forgot_password_link {
    font-family: "Nunito Sans";
    font-size: 14px;
    color: rgba(0, 0, 0, 0.54);
    margin-top: -3px;
    margin-bottom: 16px;
}

.account_forgot_password_link:hover,
.account_forgot_password_link:focus {
    color: #187AED;
}

/* Footnote (Login / Signup / Password Reset) */
.account_footnote {
    font-family: "Nunito Sans";
    font-size: 14px !important;
    text-align: center;
    color: rgba(0, 0, 0, 0.54);
    margin-top: 32px;
    margin-bottom: 0px;
}

.account_footnote span {
    color: #187AED;
}

.account_footnote a {
    margin-left: 8px;
}

.account_footnote .material-icons {
    font-size: 18px;
    vertical-align: bottom;
    transition: all 0.35s ease;
    margin-left: 4px;
}

.account_footnote a:hover .material-icons,
.account_footnote a:focus .material-icons {
    transform: translateX(2px);
}

/* Account Form Errors */
.account_form_errors_new:empty {
    display: none;
}

.account_form_error_new {
    font-family: "Nunito Sans";
    color: #FB3B5B;
    font-size: 14px !important;
    text-align: center;
    background: #F5F6FA;
    border-radius: 12px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.08);
    padding: 14px;
    margin-top: 24px;
    margin-bottom: 0px;
}

.inline-error {
    font-size: 14px !important;
}

.account_form_success {
    font-family: "Nunito Sans";
    color: #49a82f;
    font-size: 14px !important;
    text-align: center;
    background: #F5F6FA;
    border-radius: 12px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.08);
    padding: 14px;
    margin-top: 24px;
    margin-bottom: 0px;
}

/* Account Social Buttons (Login / Signup) */
.account_row {
    width: 100%;
    position: relative;
    margin-bottom: 16px;
    border-radius: 12px;
}

.account_social_button {
    display: flex;
    align-items: center;
    border: 1px solid #EFEFEF;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16);
    transition: all 0.35s ease;
    padding: 8px 16px;
    min-height: 40px;
}

.account_social_button:hover,
.account_social_button:focus {
    box-shadow: 3px 5px 11px rgba(0, 0, 0, 0.16);
    transform: translateY(-2px);
}

.account_social_button p {
    font-family: "Roboto Slab";
    font-size: 16px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.54);
    margin: 0;
}

.account_social_button .social_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 28px;
}

@media (max-width: 768px) {
    .account_social_button p {
        font-size: 14px;
    }

    .account_social_button .social_icon {
        margin-right: 14px;
    }
}

/* Additional small text info (Signup, Mobile Verification) */
.account_agree {
    font-family: "Nunito Sans";
    text-align: center;
    font-size: 12px !important;
    color: rgba(0, 0, 0, 0.36);
    margin-top: 16px;
}

#div_id_captcha {
    display: flex;
    justify-content: center;
}

/* Horizontal Dividers */
.horizontal_divider {
    display: block;
    background-color: rgba(0, 0, 0, 0.18);
    height: 1px;
    margin-top: 32px;
}

.strike {
    display: block;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    margin: 20px 0px;
}

.strike>span {
    display: inline-block;
    font-family: "Nunito Sans";
    font-size: 18px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.36);
    position: relative;
}

.strike>span:before,
.strike>span:after {
    position: absolute;
    top: 50%;
    content: "";
    background: rgba(0, 0, 0, 0.18);
    width: 9999px;
    height: 1px;
}

.strike>span:before {
    right: 100%;
    margin-right: 18px;
}

.strike>span:after {
    left: 100%;
    margin-left: 18px;
}

/* Mobile Verification Code Input */
.code-input-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.code-input-container input[type="text"] {
    font-family: "Nunito Sans";
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    max-width: 60px;
    max-height: 60px;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    transition: background-color 0.35s ease, border-color 0.35s ease;
    border: solid 2px transparent;
}

@media (max-width: 500px) {
    .code-input-container input[type="text"] {
        font-size: 18px;
        margin-right: 1px;
        padding: 4px;
        border: solid 1px transparent;
    }

    .mobile_verification_header h1 {
        font-size: 22px !important;
    }
}

.code-input-container input[type="text"]:last-child {
    margin-right: 0;
}

.code-input-container input[type="text"].has-value,
.code-input-container input[type="text"]:focus {
    border-color: #007bff;
}

/* Back / Close Icons */
.back-icon {
    border: 1px solid #187AED;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    color: #d7d7d7;
    margin-right: 16px;
    min-width: 40px;
    min-height: 40px;
}

.back-icon .fa-arrow-left {
    color: #187AED;
    font-size: 20px;
}

/* ---------------------------------------------------------------------------------------- */

.account_content {
    max-width: 370px;
    font-size: 16px;
    font-weight: 400;
    margin: 10vh auto;
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, .07);
}

.account_content_400 {
    max-width: 400px;
}

.account_content_500 {
    max-width: 500px;
}

.account_content_600 {
    max-width: 600px;
}

.account_content_800 {
    max-width: 800px;
}

.account_content form p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .account_content {
        padding: 32px 32px;
        margin: 0 auto;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }
}

.account_header {}

.account_header h1 {
    margin-top: 0px;
    font-size: 46px;
    color: #187AED;
    font-weight: normal;
    margin-bottom: 16px;
}

.account_header p {
    font-size: 16px !important;
    padding: 4px 0px !important;
    color: rgba(0, 0, 0, 0.54) !important;
}

.account_body.hidelabels form label {
    display: none;
}

.account_body #div_id_remember {
    font-size: 14px !important;
    color: rgba(0, 0, 0, 0.54);
    display: inline;
}

.account_body #div_id_remember label {
    display: block;
}

.account_body #div_id_remember input[type=checkbox] {
    margin-top: 3px;
}

.account_body input[type="text"],
.account_body input[type="email"],
.account_body input[type="password"] {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    height: 40px;
    font-size: 15px;
    transition: all 0.35s ease;
}

.account_body input[type="text"]:focus,
.account_body input[type="email"]:focus,
.account_body input[type="password"]:focus {
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
}

.account_button {
    box-shadow: 0px 3px 10px rgba(24, 122, 237, 0.5);
    margin-bottom: 0;
    transition: all 0.35s ease;
    font-size: 14px;
    margin-top: 25px;
    background-color: #187aed;
    color: white;
    opacity: 1;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.025em;
    display: block;
    border: none;
    border-radius: 1000px;
    padding: 8px 25px;
}

.account_button:hover,
.account_button:focus {
    box-shadow: 0px 5px 15px rgba(24, 122, 237, 0.5);
    transform: translateY(-2px);
    background-color: #187aed;
    color: white;
    opacity: 1;
    border: none;
}

.account_button .material-icons {
    font-size: 18px;
    margin-left: 4px;
    vertical-align: bottom;
    font-style: normal;
    transition: all 0.35s ease;
    opacity: 0;
    margin-right: -20px;
}

.account_button:hover .material-icons,
.account_button:focus .material-icons {
    opacity: 1;
    transform: translateX(2px);
}

.account_button.account_button_small {
    padding: 8px 12px;
    font-size: 15px;
    text-transform: unset;
    display: inline-block;
    border-radius: 5px;
}

.account_form_errors {}

.account_form_errors:empty {
    display: none;
}

/* also need keyframes and -moz-keyframes */
@-webkit-keyframes myshake {
    25% {
        -webkit-transform: translateX(-5px);
    }

    75% {
        -webkit-transform: translateX(5px);
    }

    0%,
    100% {
        -webkit-transform: translateX(0);
    }
}

.account_form_error {
    color: #fb3b5b;
    font-size: 15px !important;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 10px;
    margin-top: 16px;
    -webkit-animation: myshake 0.82s cubic-bezier(.36, .07, .19, .97) both;
}

/* base.html */

.account_full_height {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

/* account_verification_sent.html */

.account_verification_sent .account_header_new h1 {
    font-size: 32px;
    font-weight: 500;
    color: #187AED;
    margin-top: 0px;
    margin-bottom: 12px;
}

.account_verification_sent .account_body_new h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    color: rgba(0, 0, 0, 1);
    margin-top: 0px;
    margin-bottom: 24px;
}

.account_verification_sent .account_body_new p {
    font-family: "Nunito Sans";
    text-align: center;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.54);
}

.account_verification_sent .account_body_new p:last-of-type {
    margin-bottom: 24px;
}

.account_verification_sent .account_body_new a {
    border-bottom: 1px solid transparent;
}

.account_verification_sent .account_body_new a:hover {
    border-color: #187AED;
}

.account_verification_sent .account_followup {
    border: solid 2px #187AED;
    border-radius: 28px;
    padding: 28px;
    width: 100%;
}

.account_verification_sent .horizontal_divider {
    display: block;
    background-color: rgba(0, 0, 0, 0.18);
    margin: 24px 0px;
    height: 1px;
}