.ax-body.login {
    background: url(/assets/images/login_background.png) center center;
    background-color:white;
    background-size: cover;
    background-repeat: no-repeat;
    color: #263940;
    font-family: "Noto Sans Korean", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    padding: 0px;
    margin: 0px;
    min-height: 100vh;
}

.container{
    position: absolute;
    top: 47%;
    left: 50%;
    right: auto;
    transform: translate(-50%, calc(-50% + 58px));
    width: min(430px, calc(100vw - 36px));
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: auto;
    background-color: #FFFFFFDB;
    background-image: linear-gradient(180deg, #FFFFFFEB 0%, #F7FAFCD6 100%);
    background-repeat: no-repeat;
    color: #263940;
    padding: 46px 44px 38px;
    box-shadow: 0 24px 54px #2F587E2E, 0 8px 24px #05527C1A, inset 0 1px 0 #FFFFFFB8;
    border: 1px solid #DAE5EEDB;
    border-radius: 16px;
    box-sizing: border-box;
    font-weight: 600;
    backdrop-filter: blur(18px);
    overflow: visible;
}

.container:before {
    content: "";
    position: absolute;
    top: 145px;
    left: 50%;
    width: 82px;
    height: 2px;
    transform: translateX(-50%);
    background: #394850;
    border-radius: 999px;
    opacity: 1;
}

.container .img-logo {
    display: block;
    width: min(235px, 74%) !important;
    margin: 0px auto 6px !important;
}

.login-character {
    position: absolute;
    left: 18%;
    top: -157px;
    width: 200px;
    max-width: 82%;
    height: auto;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}

.login-card-subtitle {
    margin: 0 0 36px;
    color: #526B86;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.container h2{
    padding: 10px 15px;
    letter-spacing: 1px;
}

.form-container {
    padding: 0px;
}

.form-container label{
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0;
    color: #394850;
    margin: 0 0 8px;
    font-weight: 700;
}

.form-container label i {
    color: #394850;
    margin-right: 5px;
}

.login-input-wrap {
    position: relative;
    margin: 0 0 18px;
}

.login-input-wrap i {
    position: absolute;
    left: 15px;
    top: 50%;
    z-index: 1;
    color: #394850;
    font-size: 17px;
    transform: translateY(-50%);
    pointer-events: none;
}

select, input[type=text], input[type=password]{
    width: 100%;
    height: 42px;
    padding: 0 14px;
    margin: 0 0 18px;
    display: inline-block;
    box-sizing: border-box;
    color: #394850;
    background-color: #FFFFFFA8;
    border: 1px solid #C9D8E4;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.lgbtn {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    margin: 0 0 18px;
    display: inline-block;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #C9D8E4;
    color: #485861;
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.lgbtn:hover {
    background-color: #fff;
    color: #485861;
}

.login-input-wrap input[type=text],
.login-input-wrap input[type=password] {
    margin-bottom: 0;
    padding-left: 43px;
}

.login-input-wrap.has-password-toggle input[type=password],
.login-input-wrap.has-password-toggle input[type=text] {
    padding-right: 48px;
}

.login-password-toggle {
    position: absolute;
    top: 0;
    right: 8px;
    bottom: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: auto 0;
    padding: 0;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    color: rgba(57, 72, 80, 0.72);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
}

.login-password-toggle i {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-size: inherit;
    line-height: 1;
    transform: none;
    pointer-events: none;
}

.login-password-toggle:hover,
.login-password-toggle:focus,
.login-password-toggle:active {
    outline: none;
    color: #394850;
}

.login-caps-warning {
    display: none;
    margin: -10px 0 14px;
    padding-left: 2px;
    color: #8A5A00;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

select:focus, input[type=text]:focus, input[type=password]:focus{
    outline: none;
    border-color: #394850;
    box-shadow: 0 0 0 3px #05527C29;
    background-color: #F8FCFE;
}

.login-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -2px 0 18px;
    color: #394850;
    font-size: 12px;
    font-weight: 600;
}

.login-form-options label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #394850;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    cursor: pointer;
}

.login-form-options input[type=checkbox] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #394850;
    cursor: pointer;
}

.login-form-options a {
    color: #394850;
    text-decoration: none;
}

select {
    cursor: pointer;
}

.lgbtn{
    height: 42px;
    margin: 0;
    padding: 0 20px;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0;
    background-color: #fff;
    background-image: none;
    border: 1px solid #485861;
    color: #485861;
    border-radius: 5px;
    box-shadow: inset 0 1px 0 #FFFFFF29, 0 5px 12px #05527C33;
    font-weight: 700;
}
.lgbtn:hover{
    background-color: #fff;
    background-image: none;
    border-color: #485861;
    color: #485861;
    box-shadow: inset 0 1px 0 #FFFFFF2E, 0 5px 12px #05527C47;
    transform: translateY(-1px);
}

.ax-padding-box {
    padding: 0;
    text-align: center;
}

.ax-padding-box a {
    display: inline-block;
    margin-top: 18px;
    opacity: 0.78;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.ax-padding-box a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.ax-padding-box img {
    max-width: 160px;
    height: auto;
}

.wrapper {
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.typing-demo {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0;
  font-size: 21px;
  line-height: 1.35;
  color: #263940;
  text-align: center;
  font-weight: 700;
}

.login-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    color: #526B86;
    font-size: 13px;
    font-weight: 500;
}

.login-footer a {
    color: #394850;
    font-weight: 600;
    text-decoration: none;
}

.login-footer .login-footer-separator {
    width: 1px;
    height: 13px;
    background-color: #526B8675;
}

.txt-good-words {
    color: #FFFFFFC7;
}

@media (max-width: 1180px) {
    .container {
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, calc(-50% + 58px));
    }
}

@media (max-width: 520px) {
    .container {
        padding: 30px 24px 28px;
        transform: translate(-50%, calc(-50% + 46px));
    }

    .login-character {
        top: -237px;
        width: 250px;
    }

    .typing-demo {
        font-size: 18px;
    }
}

@keyframes typing {
  from {
    width: 0
  }
}

@keyframes blink {
  50% {
    border-color: transparent
  }
}

/* Unified flat theme */
.ax-body.login {
    color: #394850;
}

.ax-body.login *,
.ax-body.login *::before,
.ax-body.login *::after {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ax-body.login .container,
.ax-body.login .lgbtn {
    background-image: none !important;
}

.ax-body.login .container {
    box-shadow: 0 18px 38px #29425C33 !important;
}

.ax-body.login .container:before {
    background: #394850 !important;
}

.ax-body.login .form-container label,
.ax-body.login .form-container label i,
.ax-body.login .login-input-wrap i,
.ax-body.login .login-form-options,
.ax-body.login .login-form-options label,
.ax-body.login .login-form-options a,
.ax-body.login .login-footer a,
.ax-body.login select,
.ax-body.login input[type=text],
.ax-body.login input[type=password] {
    color: #394850 !important;
}

.ax-body.login select:focus,
.ax-body.login input[type=text]:focus,
.ax-body.login input[type=password]:focus {
    border-color: #394850 !important;
    box-shadow: none !important;
}

.ax-body.login .login-form-options input[type=checkbox] {
    accent-color: #394850;
}

.ax-body.login .lgbtn,
.ax-body.login .lgbtn:hover {
    background-color: #fff;
    background-image: none;
    border-color: #485861;
    color: #485861;
    transform: none;
}

.ax-body.login .lgbtn:hover {
    background-color: #fff;
}

.ax-body.login .form-container .form-group > label {
    display: block;
    text-align: left;
}

.ax-body.login .password-reset-layer {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    background: rgba(21, 34, 45, 0.48);
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    box-sizing: border-box;
}

.ax-body.login .password-reset-card {
    width: min(420px, calc(100vw - 40px));
    margin: 0;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #D8E3EC;
    border-radius: 10px !important;
    box-shadow: 0 22px 52px rgba(28, 52, 74, 0.26) !important;
    overflow: hidden;
}

.ax-body.login .password-reset-head {
    padding: 18px 22px;
    background: #394850;
    color: #fff;
}

.ax-body.login .password-reset-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
}

.ax-body.login .password-reset-subtitle {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    font-weight: 500;
}

.ax-body.login .password-reset-body {
    padding: 22px 24px 20px;
}

.ax-body.login .password-reset-field {
    margin-bottom: 14px;
}

.ax-body.login .password-reset-field label {
    display: block;
    margin: 0 0 7px;
    color: #394850;
    font-size: 12px;
    font-weight: 800;
}

.ax-body.login .password-reset-input {
    position: relative;
}

.ax-body.login .password-reset-input i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #526B86;
    font-size: 14px;
    pointer-events: none;
}

.ax-body.login .password-reset-input input[type=text] {
    height: 42px;
    margin: 0;
    padding-left: 39px;
    background: #fff;
}

.ax-body.login .password-reset-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.ax-body.login .password-reset-actions .btn {
    min-width: 86px;
    height: 38px;
    border-radius: 5px !important;
    font-weight: 700;
}

.ax-body.login .password-reset-actions .btn-primary,
.ax-body.login .password-reset-actions .btn-info {
    background: #394850;
    border-color: #394850;
    color: #fff;
}

.ax-body.login .password-reset-actions .btn-default {
    background: #fff;
    border-color: #C9D8E4;
    color: #394850;
}

.ax-body.login .password-reset-actions .btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.ax-body.login .ax5-ui-dialog,
.ax-body.login .ax5-ui-dialog-mask,
.ax-body.login .ax-dialog,
.ax-body.login .ax-dialog-mask,
.ax-body.login [data-ax5-ui-dialog],
.ax-body.login [data-ax5-ui-dialog-mask] {
    z-index: 20000 !important;
}
