/* loginstyle.css */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*  1. 전체 페이지 컨테이너 (.login-container)를 flex로 감싸서 중앙 정렬  */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* 화면 높이 전체를 채워 세로 중앙 정렬 */
  width: 100%;
  background-color: #f9f9f9; /* 필요에 따라 배경색 조정 */
  box-sizing: border-box;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*  2. 로그인 래퍼(.login-wrapper)에 최대 너비 지정 및 padding 추가  */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.login-wrapper {
  width: 360px;            /* 적당한 고정 너비(모바일도 고려해 max-width 사용) */
  max-width: 90%;          /* 화면이 좁으면 90% 이하로 줄어들도록 */
  padding: 30px 20px;      /* 안쪽 여백 */
  box-sizing: border-box;
  background-color: #ffffff; /* 흰색 배경(필요 시 변경) */
  border-radius: 8px;      /* 적당히 모서리 둥글게 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 은은한 그림자 */
  position: relative;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*  3. 로고 링크 위치 조정 (절대 위치 대신 상단 중앙 혹은 .login-wrapper 내에서 정렬)  */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-logo {
  display: block;
  margin: 0 auto 20px;  /* 상단에 20px 간격 띄우고 중앙 정렬 */
  font-family: "Roboto-Bold", Helvetica, sans-serif;
  font-weight: 700;
  color: #000000;
  font-size: 32px;
  text-decoration: none;
  text-align: center;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*  4. 제목 · 부제목 스타일링  */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.login-title {
  font-family: "Roboto-Bold", Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: #333333;
}

.login-subtitle {
  font-family: "Roboto-Regular", Helvetica, sans-serif;
  font-size: 14px;
  text-align: center;
  margin-bottom: 24px;
  color: #666666;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*  5. 입력 필드 래퍼 및 레이블  */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.input-label {
  font-family: "Roboto-Regular", Helvetica, sans-serif;
  font-size: 14px;
  color: #555555;
  margin-bottom: 4px;
}

.email-input-wrapper,
.password-input-wrapper {
  margin-bottom: 16px;
}

.email-input-wrapper input,
.password-input-wrapper input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background-color: #f2f2f0;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.email-input-wrapper input:focus,
.password-input-wrapper input:focus {
  border-color: #a0a0a0;
  background-color: #ffffff;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*  6. 로그인 버튼  */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.login-button {
  width: 100%;
  padding: 12px 0;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: "Roboto-Medium", Helvetica, sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 8px;
}

.login-button:hover {
  background-color: #464646;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*  7. 구분선(divider-line)  */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.divider-line {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
  margin: 24px 0 16px 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*  8. Google 로그인 버튼 중앙 정렬  */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.g_id_signin {
  display: block !important;
  margin: 0 auto 20px; /* 아래쪽에 간격 20px 부여 */
  width: 240px;        /* Google 버튼의 고정 너비를 지정(필요 시 조정) */
  max-width: 100%;     /* 모바일에서 넘치지 않도록 */
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*  9. 추가 링크 (아이디/비밀번호 찾기)  */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.extra-links {
  margin: 10px auto;
  text-align: center;
  font-family: "Roboto-Regular", Helvetica, sans-serif;
  font-size: 13px;
  color: #999999;
}

.extra-links a {
  color: #999999;
  text-decoration: none;
  margin: 0 6px;
}

.extra-links a:hover {
  color: #666666;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*  10. 회원가입 버튼  */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.signup-button {
  width: 100%;
  padding: 12px 0;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: "Roboto-Medium", Helvetica, sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 8px;
}

.signup-button:hover {
  background-color: #474747;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*  11. 반응형(Mobile) 추가 보정  */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 480px) {
  .login-wrapper {
    padding: 20px 12px;
  }
  .login-title {
    font-size: 20px;
  }
  .login-subtitle {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .g_id_signin {
    width: 100%; /* 화면 너비에 꽉 차도록 */
  }
}
