@charset "utf-8";

/* 기존 login css */
* {
    margin: 0;
    padding: 0;
}

input[type="text"], input[type="password"] {
    padding: 12px 10px 12px 34px;
    border-bottom: 1px solid #ccc;
    background: none;
    transition: all 0.3s;
    border-top: none;
    border-left: none;
    border-right: none;
    color: #666;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
}

input[type="text"] {
    background-repeat: no-repeat;
    background-position: 10px 50%;
}

input[type="password"] {
}

/* ::before 가상 요소로 아이콘 추가 */
.login_id_wrap,
.login_password_wrap {
    position: relative;
}

.login_id_wrap::before,
.login_password_wrap::before {
    content: "";
    background-repeat: no-repeat;
    position: absolute;
    left: 10px;
    width: 20px;
    height: 20px;
    pointer-events: none;
    top: 13px;
}

.login_id_wrap::before {
    background-image: url(../img/login_id.png);
}

.login_password_wrap::before {
    background-image: url(../img/login_pw.png);
}

input[type="text"]:-webkit-autofill,
input[type="text"]:-webkit-autofill:hover,
input[type="text"]:-webkit-autofill:focus,
input[type="text"]:-webkit-autofill:active {
    background-color: #fff !important;
    background-image: url(../img/login_id.png); /* 아이콘 */
    background-repeat: no-repeat;
    background-position: 10px 50%;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-bottom: 1px solid #ffa459;
    outline: none;
    box-sizing: border-box;
    transition: 0.5s;
}

input[type="submit"] {
    padding: 12px 10px;
    transition: all 0.3s;
    color: #fff;
    background: #0065c1;
    border: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    width: 100%;
    height: 50px;
    border-radius: 11px;
    margin-top: 40px
}

input[type="submit"]:hover {
    background-color: #0357a5;
}

input::placeholder {
    margin-left: 20px;
    color: #ccc;
    font-size: 14px;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label {
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

input[type="checkbox"] + label:before {
    content: "";
    width: 13px;
    height: 13px;
    border: 1px solid #9b9b9b;
    border-radius: 2px;
    display: inline-block;
}

input[type="checkbox"]:hover + label:before {
    border: 1px solid #4d4d4d;
}

input[type="checkbox"]:checked + label:before {
    /*background-color: red;*/
    content: "\2714";
    font-size: 10px;
    line-height: 11px;
    color: #fff;
    background-color: #0065c1;
    text-align: center;
    border: 1px solid #0065c1;
}

/********************** login 페이지 리뉴얼 ********************/
.footer_logo img {
    width: 100px;
    position: fixed;
    right: 10px;
    bottom: 10px;
}

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

.login_box {
    position: relative;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    border: solid 1px rgba(0, 0, 0, 0.08);
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_content {
    width: 73%;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login_logo {
    margin: 10px 0 40px;
}

.login_logo img {
    width: 220px;
}

.login_info {
    position: relative;
    width: 100%;
}

.login_info input {
    margin-bottom: 20px;
}

.login_info p {
    font-size: 14px;
    letter-spacing: -1px;
    color: #777;
    text-align: center;
}

.login_footer {
    color: #868686;
    text-align: center;
    font-size: 14px;
    letter-spacing: -1px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    bottom: -35px;
}

.login_footer span a {
    text-decoration: none;
    color: #616161;
}

.login_tooltip {
    visibility: hidden;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    z-index: 1;
    font-size: 12px;
}