* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Pretendard";
}

li {
    list-style: none;
    width: 100%;
}

a {
    text-decoration: none;
}

/*wrap*/
.wrap {
    padding-top: 220px;
    width: 1024px;
    margin: 0 auto;
    text-align: center;
}

/*¸ÞÀÎ Å¸ÀÌÆ²*/
.title {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Pretendard";
    font-size: 38px;
    margin-bottom: 30px;
    color: #888;
}

/*·Î±×ÀÎ Å¸ÀÌÆ²*/
.loginTitle {
    font-size: 38px;
}

/*·Î±×ÀÎ ÀÌ¹ÌÁö*/
.loginImg {
    padding: 3%;
}

/*·Î±×ÀÎ input*/
.inputAll {
    padding-bottom: 3%;
    max-width: 300px;
    margin: 0 auto;
}

.inputAll input {
    border-radius: 2px;
}

.idInput {
    margin-bottom: 15px;
}

.idInput input, .pwInput input, .otpInput input {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    width: 300px;
    height: 45px;
    font-size: 18px;
    padding-left: 1%;
}

.otpInput {
    margin-top: 15px;
    position: relative;
    display: none;
}

.confirmSmsRemainTime {
    position: absolute;
    top: 10px;
    right: 62px;
    font-size: 20px;
    color: #d64141;
}

.reSendBtn {
    position: absolute;
    top: 9px;
    right: 4px;
    background: #00398F;
    color: white;
    border: none;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.saveId {
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
}

.saveId input {
    margin-right: 8px;
    margin-left: 0px;
    width: 14px;
    height: 14px;

    cursor: pointer;
}

.saveId label {
    font-size: 18px;
    cursor: pointer;
}

.loginBtnDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/*·Î±×ÀÎ ¹öÆ°*/
.loginBtnDiv button {
    cursor: pointer;
    width: 200px;
    height: 45px;
    color: rgb(255, 255, 255, 0.9);
    border: none;
    font-size: 20px;
    border-radius: 5px;
}

.checkIpBtn {
    background-color: #00398F;
}

.loginBtn {
    background-color: #00398F;
}

.loginBtn.disabled {
    background-color: #999;
    cursor: default;
}

input:read-only {
    background-color: rgb(232, 240, 254);
}

/* The Modal (background) */
.modal-overlay {
    display: none; /* Initially hidden */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent scrolling when modal is open */
    background-color: rgba(0,0,0,0.4);
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 380px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 10px;
    position: relative;
}

/* Close Button */
.modalClose {
    position: absolute;
    top: 10px;
    right: 10px;
}

.modal_close_btn {
    background: none;
    border: none;
    cursor: pointer;
}

.closeBtn {
    font-size: 28px;
    color: #aaa;
}

.closeBtn:hover,
.closeBtn:focus {
    color: black;
}

.modal-header {
    font-size: 24px;
    margin-bottom: 15px;
}

.modal-body {
    margin-top: 30px;
}

.modal-body input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 5px;
}

.modal-footer {
    text-align: center;
}

.modal-footer button {
    background-color: #00398F;
    color: white;
    padding: 10px 40px;
    margin: 10px 0;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

@media (max-width: 768px) {
    /*wrap*/
    .wrap {
        padding-top: 100px;
        width: 90%;
    }

    /*¸ÞÀÎ Å¸ÀÌÆ²*/
    .title {
        font-size: 32px;
    }

    /*·Î±×ÀÎ Å¸ÀÌÆ²*/
    .loginTitle {
        font-size: 32px;
    }

    .inputAll input {
        width: 300px;
    }

    .inputAll input.saveId {
        width: 14px;
        height: 14px;
        margin-left: 0px;
        margin-right: 8px;
    }

    .loginBtnDiv {
        padding-top: 10px;
    }

    /*·Î±×ÀÎ ¹öÆ°*/
    .loginBtn button {
        width: 300px;
    }

}