/* ==========================================
   IN AN HOANG NAM - ADMIN LOGIN (card 2 cot)
========================================== */

body.login {
    --inh-blue: #0875d1;
    --inh-blue-dark: #075db0;
    --inh-side: 300px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 24px 16px;
    box-sizing: border-box;

    background: linear-gradient(180deg, #fff 0%, #e4e7eb 100%);
    background-attachment: fixed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* THE CARD */

body.login #login {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: min(740px, 100%);
    min-height: 580px;
    margin: 0;
    padding: 36px 0 30px var(--inh-side);
    box-sizing: border-box;

    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(16, 42, 84, .14);
}

body.login #login h1 {
    display: none;
}

/* moi phan tu ben phai (tru panel trai) */
body.login #login > :not(.inh-auth-side) {
    margin-left: 36px;
    margin-right: 36px;
}

/* LEFT PANEL */

.inh-auth-side {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--inh-side);
    box-sizing: border-box;
    padding: 32px 28px 22px;

    display: flex;
    flex-direction: column;

    color: #fff;
    background: linear-gradient(160deg, #0a78d0 0%, #0b5aa8 55%, #083f78 100%);
}

.inh-auth-brand {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: .5px;
    line-height: 1.2;
}

.inh-auth-side h2 {
    margin: 22px 0 8px;
    color: #fff;
    font-size: 23px;
    font-weight: 750;
    line-height: 1.25;
}

.inh-auth-side p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 13.5px;
    line-height: 1.6;
}

.inh-auth-points {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.inh-auth-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    line-height: 1.5;
}

.inh-auth-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    font-size: 11px;
    line-height: 1;
}

.inh-auth-art {
    display: block;
    margin-top: auto;
    align-self: center;
    width: 100%;
    max-width: 220px;
    min-height: 0;
    max-height: 38%;
    object-fit: contain;
}

/* RIGHT SIDE: INTRO */

.inh-login-intro {
    margin-bottom: 22px;
}

.inh-login-intro h2 {
    margin: 0 0 6px;
    color: #16233b;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.4px;
}

.inh-login-intro p {
    margin: 0;
    color: #6b778c;
    font-size: 14px;
}

/* FORM */

body.login form#loginform {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.login #loginform p {
    margin: 0 0 16px;
}

body.login #loginform .user-pass-wrap {
    margin: 0 0 10px;
}

body.login #loginform label {
    display: block;
    margin: 0 0 7px;
    color: #34445b;
    font-size: 13px;
    font-weight: 600;
}

body.login #loginform input[type="text"],
body.login #loginform input[type="password"] {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 0 13px;
    box-sizing: border-box;

    border: 1px solid #d9dee6;
    border-radius: 10px;
    background: #fff;
    color: #26364d;
    font-size: 15px;
    box-shadow: none;
    outline: none;
}

body.login #loginform input[type="text"]:focus,
body.login #loginform input[type="password"]:focus {
    border-color: var(--inh-blue);
    box-shadow: 0 0 0 3px rgba(8, 117, 209, .12);
}

/* password eye */

body.login #loginform .wp-pwd {
    position: relative;
}

body.login #loginform .wp-pwd input[type="password"] {
    padding-right: 48px;
}

body.login #loginform .wp-pwd .wp-hide-pw {
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 46px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 0;
    box-shadow: none;
}

body.login #loginform .wp-pwd .wp-hide-pw .dashicons {
    margin: 0;
    color: #55657a;
    line-height: 1;
}

/* "Khong the dang nhap?" */

.inh-login-help {
    margin: 0 0 14px;
    text-align: right;
}

.inh-login-help a {
    color: var(--inh-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.inh-login-help a:hover {
    text-decoration: underline;
}

/* remember me */

body.login #loginform .forgetmenot {
    float: none;
    margin: 0 0 16px;
}

body.login #loginform .forgetmenot label {
    display: inline;
    margin: 0;
    color: #65748a;
    font-size: 13px;
    font-weight: 400;
}

/* submit */

body.login #loginform .submit {
    float: none;
    margin: 0;
}

body.login #loginform #wp-submit {
    float: none;
    width: 100%;
    min-height: 46px;
    padding: 0 18px;

    background: var(--inh-blue);
    border: 0;
    border-radius: 10px;

    color: #fff;
    font-size: 15px;
    font-weight: 650;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
    transition: background .2s ease;
}

body.login #loginform #wp-submit:hover {
    background: var(--inh-blue-dark);
}

/* LINKS BELOW THE FORM */

body.login #nav {
    display: none;
}

body.login #backtoblog {
    margin-top: 20px;
    margin-bottom: 0;
    padding: 0;
    text-align: center;
}

body.login #backtoblog a {
    color: var(--inh-blue);
    font-size: 13px;
    text-decoration: none;
}

body.login #backtoblog a:hover {
    text-decoration: underline;
}

/* ERROR AND NOTICE */

body.login #login > #login_error,
body.login #login > .message,
body.login #login > .success {
    margin-top: 0;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 13px;
    line-height: 1.6;
}

/* LANGUAGE SWITCHER (nam duoi card) */

body.login .language-switcher {
    margin: 18px 0 0;
    padding: 0;
    text-align: center;
}

/* MOBILE: an panel trai */

@media screen and (max-width: 760px) {

    body.login #login {
        min-height: 0;
        padding: 30px 0 26px;
        max-width: 440px;
    }

    .inh-auth-side {
        display: none;
    }

    body.login #login > :not(.inh-auth-side) {
        margin-left: 24px;
        margin-right: 24px;
    }
}