/* src/main/webapp/resources/css/pages/freight/smallCargo.css */

/* =========================
   KDL 본인인증 모달 v1 (authendModal.css)
   (authendModal.jsp)
========================= */

/* -- 모달 오버레이 및 컨테이너 -- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.53);
  display: none; justify-content: center; align-items: center;
  z-index: 1000;
}
.modal-overlay.visible { display: flex; }

.authenti-modal-container {
  background: #f9fbfd;
  border-radius: 13px;
  box-shadow: 0 6px 32px rgba(44,60,90,.16);
  width: 92vw; max-width: 420px;
  padding: 15px 40px 30px 40px;
  display: flex; flex-direction: column;
  padding: 30px 50px 30px 50px;
  min-height: 410px; overflow-y: auto;
}

/* -- 헤더 -- */
.modal-header-wrap { display: flex; flex-direction: column; margin-bottom: 20px; }
.modal-header-row { display: flex; justify-content: flex-end; align-items: center; min-height: 38px; }
.btn-modal-close {
  font-size: 1.6rem; background: none; border: none;
  color: #616161; border-radius: 50%;
  width: 40px; height: 40px; cursor: pointer; margin-bottom: 15px;
  transition: background 0.18s, color 0.18s;
}
.btn-modal-close:hover { background: #ffebee; color: #d32f2f; }
.modal-title { font-size: 1.3rem; font-weight: 500; color: #222; margin: 0 0 10px 0; text-align: center; }

.authenti-row-wrap {
  display: flex; flex-direction: row; gap: 3px; margin-bottom: 10px; flex-wrap: wrap;
  align-items: center;
}
.authenti-row-wrap input.input-field,
.authenti-row-wrap .email-id-input,
.authenti-row-wrap .email-domain-input {
  width: 100%; min-width: 0; height: 40px; padding: 0 8px; border: 1px solid #348BEE;
  border-radius: 5px; font-size: 1.03rem; color: #333; background-color: #fff;
  box-sizing: border-box; transition: border-color .14s, box-shadow .13s;
}
/* .authenti-row-wrap input.input-field:focus,
.authenti-row-wrap .email-id-input:focus,
.authenti-row-wrap .email-domain-input:focus {
  border-color: #bbaaff; background-color: #f6f2fe;
  box-shadow: 0 0 0 2px #d7cfff, 0 0 0 5px #ede7ff; outline: none;
} */
.authenti-row-wrap input.input-field:disabled {
  background: #f6f8fa; border-color: #dde8f2; color: #b0b7c3; cursor: not-allowed;
}

.btn-request {
  width: 100%; min-width: 90px; height: 40px; font-size: 1.05rem;
  background: #348BEE; color: #fff; border: 1px solid #b5c9e3;
  border-radius: 18px; font-weight: 400; margin-bottom: 5px;
  transition: background 0.16s, color 0.14s;
}
/* .btn-request:hover, */
.btn-confirm-ation:focus-visible,
.btn-request:focus-visible {
  background: #e3f2fd !important; color: #256ac0 !important;
  border-color: #64b9f8 !important;
  box-shadow: 0 0 8px #dbeffe; outline: 1px solid #bbaaff;
}

/* -- 인증/확인 버튼 (공통) -- */
.confirm-button-row { 
  margin-bottom: 5px;
  text-align: center;
 }
.btn-confirm-ation {
  background: linear-gradient(90deg, #348BEE 30%, #2a7adc 100%);
  color: #fff; border-radius: 22px; border: none; font-size: 1.05rem;
  width: 100%; height: 40px; font-weight: 400;
  margin-bottom: 20px; letter-spacing: 0.13em;
  transition: background 0.16s;
  box-shadow: 0 4px 13px #e3e6ff60;
}
.btn-request:disabled,
.btn-confirm-ation:disabled 
 {
  /* background: #e0e0e0; color: #a0a0a0; cursor: not-allowed; box-shadow: none; */
  background: #a9d4fa;     /* 비활성화 시 연한 하늘색 배경 */
  color: #d0e6ff;          /* 텍스트 색상: 더 밝고 연한 파란색 */
  cursor: not-allowed;     /* 마우스 커서 변경 */
  box-shadow: none;        /* 그림자 제거 */
  border: none;            /* 테두리 제거 */
  opacity: 0.9;            /* 전체적으로 약간 투명하게 */
}
.kdl-small-text { font-size: 0.93em; color: #bbaaff; font-weight: 500; letter-spacing: 0.11em; margin-right: 3px; }

/* -- 푸터(로그인 유도) -- */
.authenti-modal-footer {
  display: flex; align-items: center; justify-content: center;
  margin-top: 20px; padding-top: 13px;
  border-top: 1px solid #348bee;
  font-size: 1rem; color: #6a7682;
}
.authenti-modal-footer span { margin-right: 18px; }
.authenti-modal-footer img { width: 22px; height: 22px; margin-right: 6px;}
.btn-result-close {
  height: 30px;background: none; border: none; color: #348bee; font-size: 1.05rem; font-weight: 400;
  cursor: pointer; text-decoration: none; padding: 0 8px; margin-top: 12px; border-radius: 25px;
  border-bottom: 1.5px solid #348bee;
  box-shadow: 0 2px 5px #8a50f7; text-underline-offset: 3px; width: 130px; transition: color .14s;
}
.btn-result-close:hover  {
  color: #8a50f7; text-decoration-color: #8a50f7; text-decoration-thickness: 1.5px;
}
.btn-result-separator {
    margin: 10px 24px 0px 24px;
    color: #bdbdbd; /* 회색 구분선 */
}
.id-pw-space {
  border: none;
  margin-bottom: 35px;
}

/* [탭 활성화] */
.tab-label {
  display: inline-block; padding: 10px 26px; cursor: pointer; font-size: 1.05rem;
  font-weight: 500; color: #737373; background: #f0f6fa;
  border-radius: 13px 13px 0 0; border: none; margin-bottom: -1px;
  transition: background .15s, color .13s;
}
input.modalo-tab-choice:checked + .tab-label {
  color: #348bee; background: #fff; border-bottom: 2px solid #348bee; z-index: 2;
}
.tab-disabled-label {
    pointer-events: none;
    cursor: default;
    opacity: 0.5; /* 시각적으로 비활성화됨을 나타냄 */
}

/* .hidden {
  display: none !important;
} */

/* [결과 안내 박스] */
.authenti-result-msg {
  margin-top: 20px;
  padding: 20px 10px; 
  background: #f8fafb;
  border-radius: 9px;
  border: 1px solid #bcdffb; 
  color: #222; 
  font-size: 1.03rem;
  text-align: center; 
  box-shadow: 0 2px 13px #e5f3ff40;
}
.authenti-result-msg .result-title { 
	font-size: 1.15rem; 
	font-weight: 500;
	color: #2262b2; 
	margin-bottom: 30px;
}
.authenti-result-msg .result-desc,
.authenti-result-msg .result-msg { 
	margin: 7px 0 8px 0; 
	font-weight: 300; 
	text-align: left;
	letter-spacing: 0.07rem;
}
.authenti-result-msg .highlight { 
	color: #2969c8; 
	/* font-weight: 400; background: #e3f2fd; */ 
	border-radius: 5px; 
	padding: 2px 6px;
    letter-spacing: normal;
}

.authenti-expir{
	font-size: 1.03rem; 
	font-weight: 300;
	color: #ff0202;
	letter-spacing: 0.07rem;
}
.authenti-timer {
	font-size: 1.03rem; 
	font-weight: 300;
	color: #8a50f7;
	letter-spacing: 0.07rem;
}

.authenti-success-msg {
	font-size: 1.03rem; 
	font-weight: 300;
	color: #228700;
	letter-spacing: 0.07rem;
}
.authenti-error-msg {
	font-size: 1.03rem; 
	font-weight: 300;
	color: #d32f2f;
	letter-spacing: 0.07rem;
}
.authenti-row-wrap input.input-field[readonly] {
  background: #f6f8fa;
  border-color: #dde8f2;
  color: #b0b7c3;
  cursor: not-allowed;
}
