* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-width: 1200px;
  height: 100%;
}

body {
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans KR",
    sans-serif;

  color: #111111;
  background-color: #f8f8fd;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

/* 메인 영역 */

.login-main {
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 60px 20px;
}

/* 로그인 카드 */

.login-card {
  width: 600px;
  min-height: 618px;

  padding: 72px 76px 64px;

  background-color: #ffffff;
  border-radius: 22px;
}

.login-card-header {
  text-align: center;
  margin-bottom: 29px;
}

.login-title-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;

  margin-bottom: 10px;
}

.login-logo {
  color: #2450d8;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1.2px;
  cursor: pointer;
}

.login-logo:hover {
  color: #1d43bd;
}

.login-title {
  color: #111111;

  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.8px;
}

.login-description {
  color: #595b66;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

/* 로그인 폼 */

.login-form {
  width: 100%;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;

  margin-bottom: 10px;
  padding-left: 8px;

  color: #111111;
  font-size: 16px;
  font-weight: 700;
}

.form-group input {
  width: 100%;
  height: 58px;

  padding: 0 20px;

  color: #222222;
  font-size: 16px;

  background-color: #ffffff;

  border: 1px solid #b9bbc6;
  border-radius: 10px;
  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input::placeholder {
  color: #777986;
}

.form-group input:hover {
  border-color: #8f93a2;
}

.form-group input:focus {
  border-color: #2450d8;
  box-shadow: 0 0 0 3px rgba(36, 80, 216, 0.1);
}

.form-group input.input-error {
  border-color: #e5484d;
}

.form-group input.input-error:focus {
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.1);
}

.error-message {
  min-height: 0;

  margin-top: 7px;
  padding-left: 8px;

  color: #e5484d;
  font-size: 13px;
  line-height: 1.4;
}

.error-message:empty {
  display: none;
}

/* 로그인 버튼 */

.login-button {
  width: 100%;
  height: 58px;

  margin-top: 25px;

  color: #ffffff;
  font-size: 20px;
  font-weight: 700;

  background-color: #2450d8;

  border: none;
  border-radius: 10px;
  cursor: pointer;

  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
}

.login-button:hover {
  background-color: #1d43bd;
}

.login-button:active {
  transform: scale(0.995);
}

.login-button:disabled {
  background-color: #9faee8;
  cursor: not-allowed;
}

.login-error-message {
  min-height: 20px;

  margin-top: 10px;

  color: #e5484d;
  font-size: 14px;
  text-align: center;
}

/* 회원가입 영역 */

.signup-area {
  margin-top: 31px;
  text-align: center;
}

.signup-area p {
  margin-bottom: 4px;

  color: #666873;
  font-size: 15px;
}

.signup-area a {
  color: #2450d8;
  font-size: 15px;
  font-weight: 700;
}

.signup-area a:hover {
  text-decoration: underline;
}