html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Noto Sans KR;
}

.login {
  text-align: center;
  min-height: 100vh;
  background: linear-gradient(160deg, #eef1fb 0%, #dde3f7 100%);
}

.login .logo{
  margin: 0 auto;
  margin-top: 60px;
}

.login .description_box{
  margin: 0 auto;
  margin-top: 17px;
  max-width: 485px;
  width: auto;
  height: 45px;
  
  //padding: 10px 71px 6px 72px;
  //opacity: 0.3;
  border-radius: 22.5px;
  background: linear-gradient(135deg, #e8ecf9 0%, #d8e0f5 100%);
  padding-top: 10px
}

.login .description{
  font-size: 2.0rem;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #5472d4;
  //font-weight: 700;
  //line-height: 29px;
}

.login .form-signin {
  margin: 0 auto;
  margin-top : 57px;
  width: 457px;
  height: auto;
  padding-bottom: 28px;
  border-radius: 44px;
  box-shadow: 0 0 10px 0 rgba(55, 55, 74, 0.5);
  background-image: linear-gradient(to bottom, #fff, #eff0f3);
}

.login .form-signin .header{
  margin: 0px;
  padding-top: 16px;
  height: 70px;
  font-size: 35px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #5472d4;
}

.login .form-signin .header-line{
  margin: 0 auto;
  //margin-top: 70px;
  margin-bottom: 20px;
  width: 420px;
  height: 4px;
  background: linear-gradient(90deg, rgba(84,114,212,0.15) 0%, rgba(84,114,212,0.40) 50%, rgba(84,114,212,0.15) 100%);
}

.login .form-signin input[type="text"],
.login .form-signin input[type="password"]{
  margin: 0 auto;
  margin-top: 17px;
  width: 368px;
  height: 48px;
  //padding: 5px 354px 5px 12px;
  border-radius: 14px;
  background-color: #eef1fb;

  font-size: 24px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #3a3f6e;
  
  
  //width: 364px;
  //height: 46px;
  //border: 0px;
  //border-radius: 8px;
  //background: #E6E6EC;
  
  //font-style: normal;
  //font-size: 24px;
  //font-weight: 700;
  //line-height: 24px;
  //color: #8B89A4;
}

.login .form-signin input[type="text"]::placeholder,
.login .form-signin input[type="password"]::placeholder{
  color: rgba(84,114,212,0.35);
}

.login .form-signin input[type="text"]:focus,
.login .form-signin input[type="password"]:focus{
  z-index: 2;
  -moz-box-shadow: 0 0 0 3px rgba(84,114,212,0.18);
  -webkit-box-shadow: 0 0 0 3px rgba(84,114,212,0.18);
  -o-box-shadow: 0 0 0 3px rgba(84,114,212,0.18);
  -ms-box-shadow: 0 0 0 3px rgba(84,114,212,0.18);
  box-shadow: 0 0 0 3px rgba(84,114,212,0.18);
  border-color: rgba(84,114,212,0.40);
}

/* 옵션 행 */
.login .form-signin .options-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px auto 0;
  width: 368px;
}

/* 실제 checkbox 숨김 */
.login .form-signin .option-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* pill 버튼 */
.login .form-signin .option-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 34px;
  border-radius: 17px;
  border: 1.5px solid rgba(84, 114, 212, 0.35);
  background: #eef1fb;
  font-size: 13px;
  font-weight: 600;
  color: rgba(84, 114, 212, 0.7);
  cursor: pointer;
  user-select: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.login .form-signin .option-check:hover {
  border-color: #5472d4;
  color: #5472d4;
  background: #e4e9f8;
}

/* 체크 아이콘 — 미체크: 빈 원 */
.login .form-signin .option-check::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid rgba(84, 114, 212, 0.4);
  background: transparent;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

/* 체크된 상태 — pill 채우기 */
.login .form-signin .option-check:has(input:checked) {
  background: linear-gradient(135deg, #6b83de 0%, #5472d4 100%);
  border-color: #5472d4;
  color: #fff;
  box-shadow: 0 3px 10px rgba(84, 114, 212, 0.38);
}

/* 체크된 상태 — 체크마크 아이콘 */
.login .form-signin .option-check:has(input:checked)::before {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.8 3L9 1' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px;
}

.login .form-signin .btn-login{
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  width: 366px;
  height: 63px;
  //margin: 89px 27px 0;
  //padding: 8px 139px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6b83de 0%, #5472d4 100%);
  border: 0px;
  box-shadow: 0 4px 16px rgba(84,114,212,0.40); transition: all 0.2s ease;

  font-size: 32px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}

/* 에러 오버레이 */
.login .error-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.login .error-overlay.show {
  display: flex;
}
.login .error-overlay .div-message {
  position: static;
  top: auto;
  left: auto;
  right: auto;
}

.login .div-message
{
  margin:0 auto;
  position: absolute;
  top: 381px;
  left:0;
  right:0;
  max-width: 575px;
  width: auto;
  height: 291px;
  //margin: 122px 170px 118px 683px;
  //padding: 5px 76px 29px 77px;
  padding: 0px;
  border-radius: 44px;
  box-shadow: 0 0 10px 0 rgba(55, 55, 74, 0.5);
  background-image: linear-gradient(to bottom, #fff, #eff0f3);
  align-items : center;
}

.login .div-message .message-text
{
  height: 161px;
  vertical-align: middle;
  font-size: 20px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.55;
  letter-spacing: normal;
  text-align: center;
  color: #5472d4;
  padding: 0px;
  
  //vertical-align: middle;
  //display: flex;
  //align-items: center;
}

.login .div-message .message-text .text-1 {
  margin-top: 50px;
  margin-bottom: 0px;
  font-size: 24px;
}

.login .div-message .message-text .text-2 {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 20px;
}

.login .div-message .message-text .text-3 {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 20px;
  color: #a1a1c3;
}

.login .div-message .btn-ok
{
  margin: 0px auto;
  width: 116px;
  height: 51px;
  //margin: 23px 153px 0;
  
  //padding: 2px 28px 2px 29px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6b83de 0%, #5472d4 100%);
  border: 0px;
  box-shadow: 0 3px 12px rgba(84,114,212,0.35); transition: all 0.2s ease;

  font-size: 32px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}



.login .div_complete{
  margin: 0 auto;
  margin-top : 48px;
  width: 457px;
  height: 563px;
  //margin: 48px 229px 111px 742px;
  //padding: 12px 18px 30px 19px;
  border-radius: 44px;
  box-shadow: 0 0 10px 0 rgba(55, 55, 74, 0.5);
  background-image: linear-gradient(to bottom, #fff, #eff0f3);
}

.login .div_complete .header{
  margin: 0px;
  padding-top: 16px;
  height: 70px;
  font-size: 35px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #5472d4;
}

.login .div_complete .header-line{
  margin: 0 auto;
  //margin-top: 70px;
  //margin-bottom: 20px;
  width: 420px;
  height: 4px;
  background: linear-gradient(90deg, rgba(84,114,212,0.15) 0%, rgba(84,114,212,0.40) 50%, rgba(84,114,212,0.15) 100%);
}

.login .div_complete .img_character{
  margin: 0 auto;
  margin-top : 22px;
}

.login .div_complete .message_text{
  margin-top : 7px;
  font-size: 28px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #5472d4;
}
 
@media all and (min-width:768px) and (max-width:1023px) /* 테블릿 가로 (해상도 768px ~ 1023px)*/ 
{ 
  //스타일 입력
}
@media all and (min-width:480px) and (max-width:767px)  /* 모바일 가로 & 테블릿 세로 (해상도 480px ~ 767px)*/ 
{
  
} 
@media all and (max-width:479px)  /* 모바일 세로 (해상도 ~ 479px)*/ 
{

    .login {
        //text-align: center;
    }

        .login .logo {
            width: 220px;
        }

        .login .description_box {
            margin: 17px 10px 0px 10px;
            //margin-top: 17px;
            //max-width: 485px;
            //width: auto;
            //height: 45px;
            //padding: 10px 71px 6px 72px;
            //opacity: 0.3;
            //border-radius: 22.5px;
            //background-color: #dbdbef;
            //padding-top: 10px
        }

        .login .description {
            font-size: 1.6rem;
            //font-weight: bold;
            //font-stretch: normal;
            //font-style: normal;
            //line-height: normal;
            //letter-spacing: normal;
            //text-align: center;
            //color: #545291;
            //font-weight: 700;
            //line-height: 29px;
        }

        .login .form-signin {
            //margin: 0 auto;
            //margin-top: 57px;
            width: 320px;
            height: auto;
            padding-bottom: 20px;
            border-radius: 30px;
            //box-shadow: 0 0 10px 0 rgba(55, 55, 74, 0.5);
            //background-image: linear-gradient(to bottom, #fff, #eff0f3);
        }

        .login .form-signin .options-row {
            width: 85%;
            gap: 8px;
            flex-wrap: wrap;
        }

        .login .form-signin .option-check {
            font-size: 12px;
            padding: 0 12px;
            height: 32px;
        }

            .login .form-signin .header {
                //margin: 0px;
                //padding-top: 16px;
                height: 60px;
                font-size: 28px;
                //font-weight: bold;
                //font-stretch: normal;
                //font-style: normal;
                //line-height: normal;
                //letter-spacing: normal;
                //text-align: center;
                //color: #7675a7;
            }

            .login .form-signin .header-line {
                //margin: 0 auto;
                //margin-top: 70px;
                //margin-bottom: 20px;
                width: 320px;
                //height: 4px;
                //background-color: #c6c5d5;
            }

            .login .form-signin input[type="text"],
            .login .form-signin input[type="password"] {
                //margin: 0 auto;
                //margin-top: 17px;
                width: 280px;
                height: 40px;
                //padding: 5px 354px 5px 12px;
                border-radius: 8px;
                //background-color: #d1d7e3;
                font-size: 20px;
                //font-weight: bold;
                //font-stretch: normal;
                //font-style: normal;
                //line-height: normal;
                //letter-spacing: normal;
                //text-align: left;
                //color: #9294ba;
                //width: 364px;
                //height: 46px;
                //border: 0px;
                //border-radius: 8px;
                //background: #E6E6EC;
                //font-style: normal;
                //font-size: 24px;
                //font-weight: 700;
                //line-height: 24px;
                //color: #8B89A4;
            }

                .login .form-signin input[type="text"]::placeholder,
                .login .form-signin input[type="password"]::placeholder {
                    //color: #9294ba;
                }

                .login .form-signin input[type="text"]:focus,
                .login .form-signin input[type="password"]:focus {
                    //z-index: 2;
                    //-moz-box-shadow: 0 0 7px #9281F2;
                    //-webkit-box-shadow: 0 0 7px #9281F2;
                    //-o-box-shadow: 0 0 7px #9281F2;
                    //-ms-box-shadow: 0 0 7px #9281F2;
                    //box-shadow: 0 0 7px #9281F2;
                    //border-color: #9f9cc8;
                }

            .login .form-signin .btn-login {
                //margin-left: auto;
                //margin-right: auto;
                margin-top: 16px;
                width: 278px;
                height: 63px;
                //margin: 89px 27px 0;
                //padding: 8px 139px;
                border-radius: 14px;
                //background-color: #9f9cc8;
                //border: 0px;
                font-size: 28px;
                //font-weight: bold;
                //font-stretch: normal;
                //font-style: normal;
                //line-height: normal;
                //letter-spacing: normal;
                //text-align: center;
                //color: #fff;
            }

        .login .div-message {
            //margin: 0 auto;
            //position: absolute;
            top: 310px;
            //left: 0;
            //right: 0;
            max-width: 320px;
            //width: auto;
            height: 291px;
            //margin: 122px 170px 118px 683px;
            //padding: 5px 76px 29px 77px;
            //padding: 0px;
            //border-radius: 44px;
            //box-shadow: 0 0 10px 0 rgba(55, 55, 74, 0.5);
            //background-image: linear-gradient(to bottom, #fff, #eff0f3);
            //align-items: center;
        }

            .login .div-message .message-text {
                //height: 161px;
                //vertical-align: middle;
                //font-size: 20px;
                //font-weight: bold;
                //font-stretch: normal;
                //font-style: normal;
                //line-height: 1.55;
                //letter-spacing: normal;
                //text-align: center;
                //color: #545291;
                //padding: 0px;
                //vertical-align: middle;
                //display: flex;
                //align-items: center;
            }

                .login .div-message .message-text .text-1 {
                    //margin-top: 50px;
                    margin-bottom: 10px;
                    font-size: 22px;
                }

                .login .div-message .message-text .text-2 {
                    //margin-top: 0px;
                    //margin-bottom: 0px;
                    font-size: 18px;
                }

                .login .div-message .message-text .text-3 {
                    //margin-top: 0px;
                    //margin-bottom: 0px;
                    //font-size: 20px;
                    //color: #a1a1c3;
                }

            .login .div-message .btn-ok {
                //margin: 0px auto;
                width: 100px;
                height: 46px;
                //margin: 23px 153px 0;
                //padding: 2px 28px 2px 29px;
                border-radius: 10px;
                //background-color: #9f9cc8;
                //border: 0px;
                font-size: 28px;
                //font-weight: bold;
                //font-stretch: normal;
                //font-style: normal;
                //line-height: normal;
                //letter-spacing: normal;
                //text-align: center;
                //color: #fff;
            }



        .login .div_complete {
            //margin: 0 auto;
            //margin-top: 48px;
            width: 320px;
            height: 420px;
            //margin: 48px 229px 111px 742px;
            //padding: 12px 18px 30px 19px;
            border-radius: 24px;
            //box-shadow: 0 0 10px 0 rgba(55, 55, 74, 0.5);
            //background-image: linear-gradient(to bottom, #fff, #eff0f3);
        }

            .login .div_complete .header {
                //margin: 0px;
                //padding-top: 16px;
                height: 60px;
                font-size: 28px;
                //font-weight: bold;
                //font-stretch: normal;
                //font-style: normal;
                //line-height: normal;
                //letter-spacing: normal;
                //text-align: center;
                //color: #7675a7;
            }

            .login .div_complete .header-line {
                //margin: 0 auto;
                //margin-top: 70px;
                //margin-bottom: 20px;
                width: 320px;
                //height: 4px;
                //background-color: #c6c5d5;
            }

            .login .div_complete .img_character {
                //margin: 0 auto;
                //margin-top: 22px;
                width: 200px;
            }

            .login .div_complete .message_text {
                margin-top: 20px;
                font-size: 20px;
                //font-weight: bold;
                //font-stretch: normal;
                //font-style: normal;
                //line-height: normal;
                //letter-spacing: normal;
                //text-align: center;
                //color: #7675a7;
            }

}
