@charset "utf-8";

/* -------------------- */
/*      FONT FACE       */
/* -------------------- */

/* HEAD (제목용) */
@font-face {
  font-family: 'HyundaiSansHead';
  src: url('/static/font/HyundaiSansHead-Light-3ff8b1aef6741dacc1a3fd3ea3173ba1.woff2') format('woff2');
  font-weight: 300;
}
@font-face {
  font-family: 'HyundaiSansHead';
  src: url('/static/font/HyundaiSansHead-Regular-d8ec4c3cee294258abc220329b44d699.woff2') format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'HyundaiSansHead';
  src: url('/static/font/HyundaiSansHead-Medium-ecd20f095d01813142f2effa4bb76b5c.woff2') format('woff2');
  font-weight: 500;
}
@font-face {
  font-family: 'HyundaiSansHead';
  src: url('/static/font/HyundaiSansHead-Bold-aaf305dca3d25641faac81c63720c9ca.woff2') format('woff2');
  font-weight: 700;
}

/* TEXT (본문용) */
@font-face {
  font-family: 'HyundaiSansText';
  src: url('/static/font/HyundaiSansText-Regular-f5ca111b765dc73ed954e9d8eb53c48b.woff2') format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'HyundaiSansText';
  src: url('/static/font/HyundaiSansText-Italic-c6903b03db1f63ee241dc5deee9c87e3.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'HyundaiSansText';
  src: url('/static/font/HyundaiSansText-Medium-ee7f041922b608bcd4bc0a7db5a876a9.woff2') format('woff2');
  font-weight: 500;
}
@font-face {
  font-family: 'HyundaiSansText';
  src: url('/static/font/HyundaiSansText-MediumItalic-1164310a5b607f4652a072239ec7b407.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'HyundaiSansText';
  src: url('/static/font/HyundaiSansText-Bold-49830f58cd86b1229aca6edee0d95024.woff2') format('woff2');
  font-weight: 700;
}
@font-face {
  font-family: 'HyundaiSansText';
  src: url('/static/font/HyundaiSansText-BoldItalic-dc2051a8dc5a81b5cda890fab5f5987d.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
}

/* -------------------- */
/*    COMMON STYLES     */
/* -------------------- */

html body {
  font-family: 'HyundaiSansText' !important;
  background-color: #F6F3F2 !important;
}

select {
  font-family: 'HyundaiSansText' !important;
}

.font-weight-bold2 {
  font-family: 'HyundaiSansHead' !important;
  font-weight: normal !important;
}

.cursor {
  cursor: pointer;
}

.text-wrap {
  word-wrap: break-word;
  word-break: keep-all;
}

@media (max-width: 768px) {
  .mobile-white {
    color: white !important;
  }
}

/* Custom Scrollbar */
.custom-scrollbar-horizontal::-webkit-scrollbar {
  height: 8px;
}
.custom-scrollbar-horizontal::-webkit-scrollbar-track {
  background-color: #efefef;
}
.custom-scrollbar-horizontal::-webkit-scrollbar-thumb {
  background-color: #838383;
}
.custom-scrollbar-horizontal::-webkit-scrollbar-thumb:hover {
  background-color: dimgray;
}

/* -------------------- */
/*      LOGIN PAGE      */
/* -------------------- */

.login-page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  /* background-color: #f7f4f2; */
}

.login-card {
  display: flex;
  width: 1000px;
  height: 620px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

/* LEFT PANEL */
.login-left {
  background: linear-gradient(to bottom, #002C5F 0%, #003D73 60%, #004B89 100%);
  color: #fff;
  width: 500px;
  height: 620px;
  box-sizing: border-box;
  padding: 80px 40px 40px 40px;
}

.title-box {
  width: 420px;
  height: 50px;  /* 고정 높이 */
  margin: 0 auto 20px auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  align-items: flex-end; /* 하단에 정렬해서 밑줄 근처에 위치 */
  padding-bottom: 16px;  /* 텍스트-선 사이 간격 확보 */
}

.login-title {
  font-size: 26px !important;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  height: 34px;
  margin: 0;
  padding: 0;
}

.info-box {
  width: 420px;
  margin: 40px auto 0 auto;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
}

.info-section {
  margin-bottom: 24px;
}
.info-section:last-child {
  margin-bottom: 0;
}

.info-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-title img,
.icon-20 {
  width: 20px;
  height: 20px;
}

.info-section ul {
  padding-left: 20px;
  margin-left: 4px;
}

.info-text,
.info-section p {
  margin-top: 0;
  margin-bottom: 8px;
  /* margin-left: 20px; */
  font-size: 14px;
  line-height: 1.6;
}

.info-section strong {
  font-size: 16px;
}

/* RIGHT PANEL */
.login-right {
  width: 500px;
  height: 620px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.logo {
  width: 156px;
  height: 20px;
  margin-bottom: 30px; /* 로그인 입력 필드와 간격 */
  object-fit: contain;
}

.login-form {
  width: 100%;
  max-width: 300px;
}

.login-form .form-group {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  /* padding-bottom: 4px; */
  border-bottom: 1px solid #ccc; /* 밑줄 유지 */
}

.login-form .form-group img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  flex-shrink: 0;
}

.login-form .form-group input {
  flex: 1;
  height: 40px;
  padding: 0;
  border: none;
  font-size: 14px;
  background: transparent;
  outline: none;
}

.login-form .btn {
  width: 100%;
  height:40px;
  /* padding: 12px 0; */
  background-color: #002c5f;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
}

.login-form .btn:hover {
  /* background-color: #004080; 약간 밝은 파란색 */
  color: #ffffff; /* 반드시 hover에도 지정! */
}

.login-form .forgot-password {
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  color: #666;
}


/* 모바일, 태블릿 대응 */
@media (max-width: 1024px) {
  .login-page-wrapper {
    height: auto;
    padding: 40px 0;
    align-items: flex-start;
  }

  .login-card {
    flex-direction: column-reverse; /* 로그인이 위로, 설명이 아래로 */
    width: 100%;
    max-width: 90%;
    height: auto;
  }

  .login-left,
  .login-right {
    width: 100%;
    height: auto;
    padding: 30px 20px;
    box-sizing: border-box;
  }

  .title-box,
  .info-box {
    width: 100%;
  }

  .login-form {
    max-width: 100%;
  }

  .login-form .form-group {
    border-bottom: 1px solid #ccc;
  }

  .logo {
    margin-bottom: 20px;
  }
}

@media (max-width: 450px) {
  .login-title {
    font-size: 22px !important;
  }
}
