@charset "UTF-8";

/* =========================
   base
========================= */
:root{
    --boxWidth: 720px;
    --loginCardWidth: 630px;
    --inputBorder: 1px solid #cdcdcd;
    --borderColor: #e6edf5;

    --color-primary: #486C96;
    --color-primary-dark: #366dad;
    --color-text-sub: #777;
    --color-line-soft: #e6edf5;

    --color-btn-login: #f3bf36;
    --color-btn-login-hover: #deae1e;

    --shadow-card: 6px 7px 7px 0 rgb(54 108 134 / 17%);
}

*{
    box-sizing: border-box;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

html,
body{
    margin: 0;
    padding: 0;
    min-height: 100%;
}

button,
input,
select,
textarea{
    font: inherit;
}

a{
    text-decoration: none;
}

input::placeholder{
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 16px;
}

.srOnly{
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}


/* =========================
   page background
========================= */
.loginWrapper{
    position: relative;
    min-height: 100vh;
    min-width: 280px;
    overflow-x: hidden;
    overflow-y: hidden;
}

.loginWrapper::before{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(#e9f1ff, #ffffff);
}

.loginWrapper .bgCircle{
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.loginWrapper .bgCircle.bg-right{
    background: url("/images/login_right.png") no-repeat bottom right / contain;
    z-index: 1;
}

.loginWrapper .bgCircle.bg-left{
    background: url("/images/login_left.png") no-repeat bottom left / contain;
}

/* =========================
   login layout
========================= */
.loginBox-wrapper{
    width: min(87%, var(--boxWidth));
    max-width: var(--boxWidth);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 333;
    /* margin-top: -7em; */
}

.loginBox{
    display: block;
    width: 100%;
}

.loginTitle{
    display: block;
    height: 3em;
    /* margin: 0 0 0.9em; */
    background: url("/images/logo.svg") no-repeat center bottom / contain;
}

fieldset{
    margin: 0;
    padding: 0;
    border: 0;
}

.loginArea{
    position: relative;
    margin: 0 auto;
    display: block;
    background: #fff;
    padding: 1.75em 3em 1.5em;
    border-radius: 1em;
    box-shadow: var(--shadow-card);
    max-width: var(--loginCardWidth);
    width: 100%;
    overflow: auto;
    max-height: calc(100vh - 3em);
}

/* =========================
   form controls
========================= */
.loginInput{
    margin-top: 1.52em;
}

.loginInput:first-child{
    margin-top: 0;
}

.loginInput label{
    display: block;
    padding-bottom: .5em;
    font-size: 1.1em;
    font-weight: 400;
    color: var(--color-primary);
}

[class^='icoLogin']{
    --iconWidth: 1.2em;
    --iconHeight: var(--iconWidth);
    --iconColor: #486C96;

    display: inline-block;
    width: var(--iconWidth);
    height: var(--iconHeight);
    margin-right: 5px;
    vertical-align: middle;
    overflow: hidden;
    text-indent: -999em;
    background: var(--iconColor);
}

.icoLogin_user{
    mask: url("/images/user.svg") no-repeat 0 0 / var(--iconWidth) var(--iconHeight);
}

.icoLogin_lock{
    mask: url("/images/Lock.svg") no-repeat 0 0 / var(--iconWidth) var(--iconHeight);
}

.loginInput input{
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: var(--inputBorder);
    border-color: var(--color-primary-dark);
    border-radius: 7px;
    background: #fff;
    font-size: 16px;
    color: var(--color-primary);
}

.loginInput input:focus,
.loginInput input:active{
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgb(72 108 150 / 12%);
}

.loginInput input::placeholder{
    color: var(--color-primary);
    font-weight: normal;
}

.loginArea .formControl{--FormHeight: 2.3rem}
.loginArea .inputGroup{align-items: center;}
/* =========================
   check / button / links
========================= */
.loginChecks{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.loginChecks input[type='checkbox']{
    width: 18px;
    height: 18px;
    margin: 0;
    vertical-align: middle;
}

.loginChecks label{
    margin: 0;
    font-size: 14px;
    color: var(--color-text-sub);
}

.btnLogin{
    display: block;
    width: 100%;
    margin-top: 1.4em;
    padding: 0;
    border: 0;
    border-radius: 11px;
    background: var(--color-btn-login);
    text-align: center;
    line-height: 3.35em;
    font-size: 1.35em;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
}

.btnLogin:hover{
    background: var(--color-btn-login-hover);
}
.btnServiceGuide{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: 10px;
    border: 1px solid var(--color-primary);
    border-radius: 9px;
    background: #fff;
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btnServiceGuide:hover{
    background: var(--color-primary);
    color: #fff;
}

.loginTextWrap{
    float: left;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.loginTextWrap .labelText{
    display: inline-block;
    line-height: 24px;
    color: var(--color-text-sub);
    font-size: 14px;
    opacity: 0.7;
}

.loginTextWrap .labelText:hover{
    opacity: 1;
}

.btnLgOutline{
    float: right;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
    margin-top: 10px;
    padding: 0 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #4f4f4f;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    opacity: 0.5;
}

.btnLgOutline:hover{
    opacity: 1;
}

/* =========================
   company info
========================= */
.loginComInfoBox{
    clear: both;
    margin-top: 4.5em;
    padding-top: 0;
}

.loginComInfoBox .inner{
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
}

.comDetails{
    padding: 0;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
    word-break: keep-all;
    white-space: normal;
    opacity: .82;
}

.comDetails p{
    margin: 0;
}

.copyrights{
    margin-top: 5px;
    font-size: 12px;
    text-align: center;
    opacity: 0.7;
}

/* optional customer button */
.comCall .ascall{
    --iconSize: 40px;
    font-size: 1em;
}

.comCall .ascall em{
    font-size: 1.75em;
}

.btnCustomer{
    --textColor: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 330px;
    margin: 0 auto;
    padding: 12px 15px;
    border-radius: 8px;
    background: #5a7ebc;
    color: var(--textColor);
    gap: 8px;
    font-size: 15px;
}

.btnCustomer .subTit{
    font-size: 0.9rem;
    font-weight: 400;
}

.btnCustomer .icoPhone{
    --iconSize: 1.15em;
    width: var(--iconSize);
    height: var(--iconSize);
    mask: url("/images/ico/icoCall.svg") no-repeat 0 0 / var(--iconSize) var(--iconSize);
    background: var(--textColor);
}

.btnCustomer strong{
    font-size: 1.1em;
    font-weight: 700;
}

.btnCustomer span{
    font-size: 0.85em;
    opacity: 0.9;
}

/* =========================
   common for join/find pages
   use: class="wrap loginPage joinPage"
========================= */
.wrap.loginPage.joinPage .loginWrapper{
    padding: 40px 20px 60px;
}

.wrap.loginPage.joinPage .loginBox-wrapper{
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
    height: auto;
}

.joinBox{
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 1.25em 1.5em 1.5em;
    border-radius: 1em;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.contHeader{
    padding-bottom: .5em;
    border-bottom: 1px solid var(--borderColor);
}

/* =========================
   join / find helpers
========================= */
.joinBox .inputGroup{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.joinBox .inputGroup .formControl{
    flex: 1;
    min-width: 0;
}

.joinBox .inputGroup .button{
    flex: 0 0 auto;
}

.formHint{
    margin: 8px 0 0 10px;
    font-size: 12px;
}

.formOptional{
    color: #999;
    font-size: 13px;
}

.emailSelect{
    width: 40%;
    min-width: 140px;
}

.deviceTableArea{
    padding-bottom: 10px;
}

.joinBox .popupBottom{
    padding: 10px 0;
}

.joinBox .btnGroup{
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* popup */
.addPopup{
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgb(0 0 0 / 45%);
}

.addPopup .popupInner{
    width: 100%;
    max-width: 520px;
    margin: 10vh auto 0;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgb(0 0 0 / 18%);
}

/* =========================
   responsive
========================= */

@media (max-width: 780px){
    .loginBox-wrapper{
        width: calc(100% - 24px);
        margin-top: 0;
        font-size: .92em;
    }

    .loginTitle{
        height: 2.6em;
        margin-bottom: .8em;
    }

    .loginArea{
        padding: 1em 1.2em 1.4em;
        border-radius: 14px;
    }

    .loginInput{
        margin-top: 1em;
    }

    .loginInput label{
        font-size: 1em;
    }

    .loginInput input{
        height: 48px;
        font-size: 15px;
    }

    .btnLogin{
        margin-top: 1em;
        line-height: 3.2em;
        font-size: 1.15em;
    }
.btnServiceGuide{
    min-height: 42px;
    font-size: 14px;
}
    .loginTextWrap{
        float: none;
        justify-content: center;
    }

    .btnLgOutline{
        float: none;
        display: flex;
        width: 100%;
        margin-top: 10px;
    }

    .loginComInfoBox{
        margin-top: 2.2em;
    }

    .wrap.loginPage.joinPage .loginWrapper{
        padding: 20px 12px 40px;
    }

    .joinBox{
        padding: 1em;
        border-radius: 14px;
    }

    .joinBox .inputGroup{
        flex-direction: column;
        align-items: stretch;
    }

    .joinBox .inputGroup .button,
    .joinBox .inputGroup select{
        width: 100%;
    }

    .joinBox .btnGroup{
        flex-direction: column;
    }

    .joinBox .btnGroup .button{
        width: 100%;
        text-align: center;
    }

    .joinBox .dataTable,
    .joinBox .dataTable tbody,
    .joinBox .dataTable tr,
    .joinBox .dataTable th,
    .joinBox .dataTable td{
        display: block;
        width: 100%;
    }

    .joinBox .dataTable tr{
        padding: 10px 0;
        border-bottom: 1px solid var(--color-line-soft);
    }

    .joinBox .dataTable th{
        padding: 0 0 6px;
        border: 0;
        text-align: left;
    }

    .joinBox .dataTable td{
        padding: 0;
        border: 0;
    }

    .addPopup .popupInner{
        width: calc(100% - 24px);
        margin-top: 6vh;
        padding: 16px;
    }
}

@media (max-width: 560px){
    .loginArea{
        padding: 1em;
    }

    .loginInput input{
        height: 46px;
        padding: 0 13px;
    }

    .loginTextWrap .labelText,
    .btnLgOutline,
    .comDetails,
    .copyrights{
        font-size: 12px;
    }
}