@charset "utf-8";
@import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@1.0/nanumsquare.css);

:root {
    --color-bk: #000;
    --color-wht: #fff;
    --color-line: #dcdcdc;
    --color-gray2: #5a5a5a;
    --color-777: #777;
    --color-red: #f9506c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
}

.login_page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url(img/login-bg_mgm02.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    margin: 0 auto;
}

/* Login_Container */
.login_container {
    margin: 0 auto;
    width: 470px
}
.contract_container {
    margin: 0 auto;
    width: 700px
}
.subject-txt {
    height: 500px;
    overflow-y: scroll;
    padding: 20px;
    font-size: 15px;
    background-color: rgba(0, 0, 0, 0.2);
}
.bt-layout {
    display: block;
    text-align: center;
    margin-top: 20px;
}

.bt-layout button {
    display: inline-block;
    background-color: #000;
    color: #FFF;
    text-align: center;
    line-height: 50px;
    font-size: 16px;
    border: 0;
    border-radius: 25px;
    width: 30%;
    cursor: pointer;
}

.bt-layout button:last-child {
    background-color: #dcdcdc;
    color: #333;
}

.bt-layout button~button {
    margin-left: 20px;
}

.bt-layout button:hover {
    background-color: #f9506c;
    color: #FFF;
    transition: all .3s;
}

.wrapper {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: var(--color-wht);
    border-radius: 10px;
    padding: 16px 40px;
}

.wrapper .login_logo {
    display: flex;
    width: 230px;
    height: 100%;
    margin: 30px auto 0px;
}

.wrapper .login {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}

.language_ment {
    font-family: 'NanumSquare', sans-serif;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    word-wrap: break-word;
}


/* select language box */
.language_container {
    width: 100%;
    margin: 0 auto;
}

.select-box {
    display: flex;
    flex-direction: column;
    font-size: 16px;
}

.select-box .options-container {
    background: #2f3640;
    color: var(--color-wht);
    max-height: 0;
    width: 100%;
    opacity: 0;
    transition: all 0.4s;
    border-radius: 8px;
    overflow: hidden;
    order: 1;
}

.selected {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    margin-bottom: 8px;
    color: var(--color-wht);
    position: relative;
    order: 0;
}

.selected::after {
    content: "";
    background: url(img/angle-down-solid.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    height: 100%;
    width: 32px;
    right: 10px;
    top: 4px;
}

.select-box .options-container.active {
    max-height: 160px;
    opacity: 1;
    overflow-y: scroll;
}

.select-box .options-container.active+.selected::after {
    transform: rotateX(180deg);
    top: -4px;
}

.select-box .options-container::-webkit-scrollbar {
    width: 8px;
    background: #3f3f3f;
    border-radius: 0 8px 8px 0;
}

.select-box .options-container::-webkit-scrollbar-thumb {
    background: var(--color-wht);
    border-radius: 8px;
}

.select-box .option {
    padding: 10px 24px;
}

.selected {
    padding: 8px 24px;
    cursor: pointer;
}

.select-box .option:hover {
    background: var(--color-red);
}

.select-box label {
    cursor: pointer;
}

.select-box .option .radio {
    display: none;
}


/* Login INFO */
.input-div {
    position: relative;
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
}

.input-div.focus {
    border: 2px solid var(--color-wht);
    transition: 0.3s;
}

.input-div.focus .i i {
    color: var(--color-wht);
    transition: 0.3s;
}

.input-div.focus div h5 {
    color: transparent;
}

.input-div.one {
    margin-top: 20px;
}

.input-div.two {
    margin-bottom: 30px;
}

.login-container .i {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    padding-left: 18px;
}

.login-container .i i {
    color: rgba(255, 255, 255, 0.3);
    transition: 0.3s;
}

.input-div>div {
    position: relative;
    height: 45px;
}

.input-div>div h5 {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    transition: 0.3s;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5)
}

.login-container .input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: none;
    outline: none;
    background: none;
    padding: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-wht);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    background-color: #eaffd0 !important; /* 자동 완성된 입력 필드의 배경색을 변경합니다. */
    -webkit-text-fill-color: var(--color-wht) !important;
    caret-color: var(--color-wht) !important;
}

/* forgot & remember */
.wrapper .remember-forgot {
    display: flex;
    justify-content: space-between;
    margin: -15px 0 40px;
}

.wrapper .remember-forgot a {
    font-size: 16px;
}


/* ------------checkbox------------- */
.remember-forgot .checkbox[type=checkbox] {
    display: none;
}

.remember-forgot label.input-label {
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
}

.remember-forgot label.input-label::before {
    display: inline-block;
    margin-right: 6px;
    font-family: FontAwesome;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
    -webkit-transition: transform 0.2s ease-out, color 0.2s ease;
    -moz-transition: transform 0.2s ease-out, color 0.2s ease;
    -ms-transition: transform 0.2s ease-out, color 0.2s ease;
    -o-transition: transform 0.2s ease-out, color 0.2s ease;
    transition: transform 0.2s ease-out, color 0.2s ease;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    -moz-transform: scale3d(0.8, 0.8, 1);
    -ms-transform: scale3d(0.8, 0.8, 1);
    -o-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
}

.remember-forgot label.input-label.checkbox::before {
    content: "\f0c8";
}

.remember-forgot input.checkbox+label.input-label:hover::before {
    -webkit-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    -o-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.remember-forgot input.checkbox+label.input-label:active::before {
    -webkit-transform: scale3d(1.5, 1.5, 1);
    -moz-transform: scale3d(1.5, 1.5, 1);
    -ms-transform: scale3d(1.5, 1.5, 1);
    -o-transform: scale3d(1.5, 1.5, 1);
    transform: scale3d(1.5, 1.5, 1);
}

.remember-forgot input.checkbox:checked+label.input-label::before {
    display: inline-block;
    font-family: FontAwesome;
    color: var(--color-red);
    -webkit-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    -o-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.remember-forgot input.checkbox:checked+label.input-label.checkbox::before {
    content: "\f14a";
}

/* ------------checkbox -end------------- */


.wrapper .remember-forgot a {
    color: var(--color-line);
}

.wrapper .remember-forgot a:hover {
    text-decoration: underline;
}

/* Login BTN */
.wrapper .log_btn {
    width: 100%;
    height: 45px;
    background: var(--color-line);
    border: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.wrapper .log_btn:hover {
    background: var(--color-red);
    color: #fff;
    transition: 0.3s;
}


/* Register */
.wrapper .register-link {
    font-size: 16px;
    text-align: center;
    margin: 20px 0 5px;
}

.wrapper .register-link a {
    color: var(--color-line);
    text-decoration: none;
    font-weight: 600;
    padding-left: 10px;
}

.wrapper .register-link a:hover {
    text-decoration: underline;
}


/* Reserved */
.reserved {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 14px;
}

.reserved p {
    font-family: sans-serif;
    color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width:768px) {
    .login_container {
        margin: 0 auto;
        width: 70%
    }

    .login_page {
      background: url(img/m_smartk888_bg.jpg) no-repeat;
  }
}

@media screen and (max-width:630px) {
    .wrapper .remember-forgot a {
        font-size: 14px;
    }

    .remember-forgot label.input-label {
        font-size: 14px;
    }

    .wrapper .register-link {
        font-size: 14px;
    }

}

@media screen and (max-width:480px) {
    .login_container {
        margin: 0 auto;
        width: 80%
    }

    .login_container {
        margin: 0 auto;
        width: 90%
    }

    .select-box {
        font-size: 14px;
    }

    .selected {
        padding: 8px 24px 8px 14px;
    }

    .selected::after {
        right: 3px;
    }

    .input-div>div {
        padding: 0;
        height: 30px;
    }

    .input-div h5 {
        font-size: 16px;
    }


    .login-container .input {
        font-size: 16px;
        padding: 0.5rem 1.5rem;
    }

    .login-container .i {
        font-size: 14px;
    }

    .wrapper {
        padding: 16px;
    }
    .wrapper .login_logo {
        width: 170px;
    }

    .wrapper .login {
        font-size: 20px;
    }

    .wrapper .language_ment {
        font-size: 10px;
    }

    .wrapper .input_box {
        margin: 10px auto;
        font-size: 14px;
    }

    .wrapper .input_box.password {
        margin-bottom: 30px;
    }

    .wrapper .remember-forgot {
        display: grid;
    }

    .remember-forgot .input-label {
        margin-bottom: 10px;
    }
}