/* BACK CSS */
@charset "utf-8";

@import url("fonts.css");

  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

body {
      font-family: 'Inter', sans-serif;
      background-color: #ffffff;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      position: relative;
      color: #242424;
      font-weight: 400;
    }

    /* ── Logo ─────────────────────────────────────── */
    .logo-wrap {
      position: absolute;
      left: 80px;
      top: 70px;
      width: 148px;
    }

    .logo-ipecs {
      display: block;
      width: 148px;
      height: 30.048px;
    }

    .logo-subtitle {
      display: block;
      margin-left: 51.77px;
      margin-top: 8px;
      width: 96.177px;
      height: 9.941px;
    }

    /* ── Login card ───────────────────────────────── */
    
   .login-box {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      border: 0px solid blue;
      flex-direction: column;
    }
    
    .login-card {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    border: 0px solid red;
    min-height: 550px;
    min-width: 440px;
    }

    .login-card-box {
      width: 380px;
      background: #ffffff;
      border-radius: 8px;
      padding: 60px 50px 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 0px solid red;
    }

    .login-inner {
      width: 280px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }

    /* ── Title ────────────────────────────────────── */
    .login-title {
      width: 100%;
    }

    .login-title h1 {
      font-family: 'Inter', sans-serif;
      font-size: 24px;
      font-weight: 400;
      color: #242424;
      line-height: 32px;
    }

    /* ── Form ─────────────────────────────────────── */
    .login-form {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    .inputs-wrap {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .input-group {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
   
   
   .page-title-qr {
    width: 100%;
	}
       /* ── Page title ───────────────────────────────── */
    .page-title h1 {
      font-family: 'Inter', sans-serif;
      font-size: 24px;
      font-weight: 400;
      color: #242424;
      line-height: 32px;
    }
    
      .page-title-qr h1 {
	     font-family: 'Inter', sans-serif;
	    font-size: 24px;
	    font-weight: 400;
	    color: #242424;
	    line-height: 32px;
	    text-align: left;
    }
    
     .page-title-img h1 {
	     font-family: 'Inter', sans-serif;
	    font-size: 24px;
	    font-weight: 400;
	    color: #242424;
	    line-height: 32px;
	    text-align:center;
    }

    
    /* ── Buttons wrap ─────────────────────────────── */
    .buttons-wrap {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    
    /* ── Primary button (Send Email) ──────────────── */
    .btn-primary-send {
      width: 100%;
      background: #0066ff;
      border: none;
      border-radius: 3px;
      padding: 8px 12px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 32px;
      transition: background 0.15s ease;
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 400;
      color: #ffffff;
      line-height: 16px;
      white-space: nowrap;
        /* 특정 모니터 잔상/선 노출 해결 */
	  background-clip: padding-box;
	  transform: translateZ(0);
	  border: 0px solid !important;
	  outline: none;
    }

    .btn-primary-send:hover {
      background: #0055DD;
    }
    
     .btn-primary-send:active{
      background: #0044BB;
    }


    /* ── Back button (outline) ────────────────────── */
    .btn-back {
      width: 100%;
      background: transparent;
      border: 1px solid #000000;
      border-radius: 3px;
      padding: 8px 12px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      height: 32px;
      text-decoration: none;
      transition: background 0.15s ease;
     font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 400;
      color: #242424;
      line-height: 16px;
      white-space: nowrap;
    }

    .btn-back:hover {
      background: #F3F4F6;
    }

	.btn-back:active {
      background: #D2D6DE;
    }


       /* ── Form area ────────────────────────────────── */
    .form-area {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 28px;
    }
    
    /* ── OTP input boxes ──────────────────────────── */
    /*
     * 6자리를 3+3 두 그룹으로 나눠 gap: 20px 사이 구분선 표시
     * 각 박스: width 48px, height 60px, border-radius 3.6px
     * 기본: border #9A9EA9 1.2px / 포커스: border #0066FF 1px
     */
    .otp-inputs {
      display: flex;
      flex-direction: row;
      gap: 20px;
      align-items: center;
    }

    .otp-group {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 8px;
    }

    .otp-digit {
      width: 48px;
      height: 60px;
      border: 1.2px solid #9A9EA9;
      border-radius: 3.6px;
      background: #ffffff;
      text-align: center;
      font-family: 'Inter', sans-serif;
      font-size: 24px;
      font-weight: 400;
      color: #242424;
      outline: none;
      caret-color: #0066FF;
      transition: border-color 0.15s ease, border-width 0.15s ease;
    }

    .otp-digit:focus {
      border: 1px solid #0066FF;
    }

    .otp-digit.otp-digit--active {
      border: 1px solid #0066FF;
    }
    

    /* ── Guide text ───────────────────────────────── */
    .googleTfaQrcodeDigitLi {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 400;
      color: #242424;
      line-height: 21px;
      text-align: center;
      width: 100%;
    }  
    
   .googleTfaQrcodeNotValidLi {
	color:#FE1440;
	 font-family: 'Inter', sans-serif;
     font-size: 14px;
     font-weight: 400;
     line-height: 21px;
     text-align: center;
     width: 100%;
}
 
     /* ── QR Code area ─────────────────────────────── */
    .qr-image {
      width: 120px;
      height: 120px;
      border-radius: 4px;
      display: block;
    }

	.googleTfaQrcodeLi {
		text-align: center;
	}
	
	.googleTfaQrcodeStringLi {
	      font-family: 'Roboto', sans-serif;
	      font-size: 16px;
	      font-weight: 400;
	      color: #434343;
	      text-align: center;
	      letter-spacing: 0.5px;
	}
	
	.googleTfaQrcodeHeight{
		display: flex;
		gap:30px;
		flex-direction: column;
	}

/* 1. input이 hover, focus, active 상태일 때 부모인 field-box의 테두리 변경 */
.field-box:has(input:hover),
.field-box:has(input:focus),
.field-box:has(input:active) {
  /* 기존에 border가 설정되어 있다면 border-color: red; 만 사용하셔도 됩니다. */
  border: 1px solid #0066ff; 
}

/* 2. input 자체의 기본 테두리와 포커스 아웃라인 제거 (깔끔한 UI를 위해 필수) */
.field-box input {
  border: none; /* input 자체 테두리 제거 */
  outline: none; /* 입력 중(focus)일 때 브라우저에서 기본으로 생기는 테두리 제거 */
}

/* (선택 사항) 이전 질문처럼 라벨(Label) 색상도 같이 빨간색으로 바꾸고 싶다면 아래 코드 유지 */
.input-group:has(input:hover) .input-label,
.input-group:has(input:focus) .input-label,
.input-group:has(input:active) .input-label {
  color: #0066ff;
}

    .input-label {
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      font-weight: 400;
      color: #242424;
      line-height: 16px;
    }

    .field-box {
      width: 100%;
      border: 1px solid #878787;
      border-radius: 2px;
      padding: 8px;
      background: #ffffff;
      display: flex;
      align-items: center;
      gap: 4px;
      height: 32px;
      line-height: 32px;
    }

    .field-box input {
      flex: 1 0 0;
      min-width: 0;
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 400;
      color: #242424;
      line-height: 16px;
      border: none;
      outline: none;
      background: transparent;
    }

.field-box input::-ms-input-placeholder {
	color: #B1B1B1;
}

.field-box input::-webkit-input-placeholder {
	color: #B1B1B1;
}

.field-box input::-moz-placeholder {
	color: #B1B1B1;
}
	
    .field-box img,
    .field-box .icon-btn img {
      width: 16px;
      height: 16px;
      display: block;
      flex-shrink: 0;
    }

    .icon-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 16px;
      height: 16px;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      flex-shrink: 0;
    }

    /* ── Forgot password ──────────────────────────── */
    .forgotId {
      display: block;
      width: 100%;
      text-align: center;
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 400;
      color: #0066FF;
      line-height: 16px;
      text-decoration: none;
      cursor: pointer;
    }

    .forgotId:hover {
      color: #0055DD;
    }
    
     .forgotId:active {
      color: #0044BB;
    }
    

    /* ── Primary button ───────────────────────────── */
.btn-primary {
  width: 100%;
  background: #0066ff;
  border: none;
  border-radius: 3px;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  /* 자연스러운 전환 효과를 위해 transition을 추가하는 것을 추천합니다 */
  transition: background 0.2s ease, box-shadow 0.2s ease;
  /* 특정 모니터 잔상/선 노출 해결 */
  background-clip: padding-box;
  transform: translateZ(0);
  border: 0px solid !important;
  outline: none;
}

/* 마우스를 올렸을 때 (Hover) */
.btn-primary:hover {
  /* X: 0, Y: 2px, Blur: 8px, Spread: 0, #0066ff의 35% 불투명도 */
  box-shadow: none;
  background: #0055DD;
}

/* 클릭했을 때 (Active) */
.btn-primary:active {
  background: #0044BB;
  box-shadow: none;
  /* 클릭 시에도 그림자를 유지하고 싶지 않다면 box-shadow: none; 을 추가해도 좋습니다 */
}

    .btn-primary span {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 400;
      color: #ffffff;
      line-height: 16px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    /* ── Error banner ─────────────────────────────── */
    
    .error-box{
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      border: 0px solid blue;
      flex-direction: column;
    }
    
    .error-banner {
/*       display: none; */
      width: 280px;
/*       margin: 0 auto 20px; */
      background: #fff1f0;
      border: 1px solid #ffccc7;
      border-radius: 4px;
      padding: 10px 12px;
      align-items: flex-start;
      gap: 4px;
       color: #CF1322;
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      font-weight: 400;
      line-height: 18px;
    }
    
    .text-box{
    	 display: flex;
    	 gap:4px
    }

    .error-banner.visible {
      display: flex;
    }

    
    

    /* ── Footer ───────────────────────────────────── */
    .page-footer {
      width: 100%;
      padding: 12px 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
    }

    .page-footer__text {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      font-weight: 400;
      color: #8c8c8c;
      line-height: 14px;
      white-space: nowrap;
    }

    .page-footer__sep {
      width: 1px;
      height: 10px;
      background-color: #8c8c8c;
      flex-shrink: 0;
    }

    .page-footer__link {
      font-family: 'Inter', sans-serif;
      font-size: 11px;
      font-weight: 400;
      color: #0066ff;
      line-height: 14px;
      text-decoration: underline;
      white-space: nowrap;
    }
    
      /* ── Section: heading + description ──────────── */
    .section-heading {
      display: flex;
      flex-direction: column;
      gap: 8px;
      width: 100%;
    }

    .section-heading h2 {
      font-family: 'Inter', sans-serif;
      font-size: 18px;
      font-weight: 400;
      color: #242424;
      line-height: 32px;
    }

    .section-heading p {
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      font-weight: 400;
      color: #242424;
      line-height: 18px;
    }
    
    /* ── Main card ────────────────────────────────── */
    .page-main {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
    }

    .card-box {
      width: 100%;
      max-width: 380px;
      background: #ffffff;
      border-radius: 8px;
      padding: 40px 50px 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height:800px;
      min-width: 440px;
    }

    .card-inner {
      width: 100%;
      max-width: 280px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }    
    
     .card-inner-qr {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 30px;
    }    
      
   /* layer popup */
.layer_divpop {
	overflow: visible;
	line-height: normal;
}

.layer_divpop .divpop_header {
	margin: 0;
	line-height: 40px;
	padding-left: 0px;
	background-color: #c4c4c4;
	height: 40px;
	padding-top: 1px \9;
	color: #000;
	font-size: 16px;
	font-weight: bold;
	text-align: left;
	cursor: move;
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	-ms-text-overflow: ellipsis;
	padding-right: 7px;
}

.layer_divpop .divpop_header_ico {
	line-height: 32px;
	padding-left: 12px;
	font-weight: bold;
}

.layer_divpop .divpop_contents {
	position: relative;
	border: 1px solid #000;
	background: #fff;
}

.layer_divpop .divpop_body {
	color: #444;
	line-height: 14px;
	overflow: hidden
}

.layer_divpop .divpop_close {
	float: right;
	cursor: pointer;
	margin-top: 5px;
	height: 26px;
	width: 26px;
	background: url(../images/popup_close.png) no-repeat;
}

.layer_divpop .divpop_close_none {
	float: right;
	cursor: pointer;
	margin-top: 5px;
	height: 26px;
	width: 26px;
	background: url(../images/blank.png) no-repeat;
}

.divpop_overlay {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: .5;
	-ms-filter: "alpha(opacity=60)";
	background: rgb(0, 0, 0);
}

/* layer dialog */
/* layer dialog */
.layer_dialog {
	overflow: visible;
	line-height: normal;
	width: 400px;
}

.layer_dialog .divpop_header {
	margin: 0;
	background-color: #eef1f3;
	/* 	padding: 10px 10px 0 10px; */
	padding-top: 1px \9;
	color: #333a5a;
	font-size: 15px;
	text-align: left;
	cursor: move;
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	-ms-text-overflow: ellipsis;
	/* 	border-bottom: 1px solid #dbdbdb; */
	font-weight: 500
}

.layer_dialog .divpop_header_ico {
	line-height: 32px;
	padding-left: 12px;
	font-weight: bold;
}

.layer_dialog .divpop_contents {
	position: relative;
	border: 2px solid #5f5f5f;
	background: #fff;
	text-align: center;
}

.layer_dialog .divpop_body {
	color: #444;
	line-height: 16px;
	overflow: hidden;
/* 	min-height: 50px; */
	max-width: 360px;
	width: 360px;
	vertical-align: middle;
	display: inline-block;
	margin: 20px 20px 10px 20px;
	word-wrap: break-word;
}

.layer_dialog .divpop_body .divpop_span_wrapper {
	width: 36px;
	height: 36px;
	display: inline-block;
/* 	vertical-align: top; */
}

.layer_dialog .divpop_body .divpop_text_wrapper {
	/* 	word-break: break-all; */
	word-break: normal;
	max-width: 85%;
	display: inline-block;
	vertical-align: middle !important;
	font-size: 14px;
}

.layer_dialog .divpop_close {
	float: right;
	cursor: pointer;
	margin-top: 10px;
	height: 26px;
	width: 26px;
	background: url(../images/popup_close.png) no-repeat;
}

.layer_dialog .divpop_close_none {
	float: right;
	cursor: pointer;
	margin-top: 2px;
	height: 26px;
	width: 26px;
}

.layer_dialog .btClass {
	padding: 4px 10px;
	border: 1px solid #0078ff;
	color: #0078ff;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	background: #fff;
	font-weight: 400
}

.layer_dialog .btClass:HOVER {
	padding: 4px 10px;
	border: 1px solid #1181ff;
	color: #fff;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	background: #59a7ff;
}

.layer_dialog .btClassCancel {
	padding: 4px 10px;
	border: 1px solid #b1b3b6;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	background: #fff;
	font-weight: 400;
	color: #414042;
}

.layer_dialog.btClassCancel:HOVER {
	padding: 4px 10px;
	border: 1px solid #b1b3b6;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	background: #b1b3b6;
	font-weight: 400;
	color: #414042;
}

.dialog_bottom {
	margin-right: 14px;
	margin-bottom: 14px;
}

.btBox {
	margin-top: 12px;
	height: 25px;
}

.btBox span {
	font-size: 14px;
	vertical-align: middle;
	line-height: 180%;
	margin-right: 20px;
}

.btBox span b {
	color: #2377ff;
}

.btBox li {
	float: right;
	padding-left: 6px;
}

.dialog_overlay {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: .5;
	-ms-filter: "alpha(opacity=60)";
	background: rgb(0, 0, 0);
}

.dialog_alert {
	display: inline-block;
	height: 36px;
	width: 36px;
	vertical-align: middle;
	background: transparent url(../images/dialog/warning.png) no-repeat;
}

.dialog_warning {
	display: inline-block;
	border: none;
	height: 36px;
	width: 36px;
	vertical-align: middle;
	background: transparent url(../images/dialog/warning.png) no-repeat;
}

.dialog_inform {
	display: inline-block;
	height: 36px;
	width: 36px;
	vertical-align: middle;
	background: transparent url(../images/dialog/inform.png) no-repeat;
}

.dialog_confirm {
	display: inline-block;
	border: none;
	height: 36px;
	width: 36px;
	vertical-align: middle;
	background: transparent url(../images/dialog/confirm.png) no-repeat;
}

.dialog_prompt {
	display: inline-block;
	border: none;
	height: 36px;
	width: 36px;
	vertical-align: middle;
	background: transparent url(../images/dialog/alert_blue.png) no-repeat;
}

.dialog_error {
	display: inline-block;
	border: none;
	height: 36px;
	width: 36px;
	vertical-align: middle;
	background: transparent url(../images/dialog/error.png) no-repeat;
}

.dialog_text {
	height: 15px;
	width: 100px;
} 

