@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

:root {
  /* 주색상 - 블랙 테마 */
  --primary-color: #000000; /* 블랙 */
  --primary-light: #1a1a1a; /* 어두운 회색 */
  --primary-dark: #000000; /* 블랙 */
  --concept-color-start: #000000; /* 그라데이션 시작 */
  --concept-color-end: #3d3d3d; /* 그라데이션 끝 */

  /* 텍스트 색상 */
  --text-white: #ffffff;
}

body.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: linear-gradient(160deg, var(--concept-color-start) 0%, var(--concept-color-end) 100%);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui,
    Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    sans-serif;
}

.login-container {
  background: transparent;
  text-align: center;
  width: 90vw;
  max-width: 400px;
}

.login-box h1 {
  color: var(--text-white);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.form-group {
  margin-bottom: 12px;
  text-align: left;
}

.input-group {
  position: relative;
}

.input-group input {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  padding: 10px 0;
  outline: none;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.input-group select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  padding: 10px 0;
  outline: none;
  width: 100%;
  cursor: pointer;
}

.input-group select option {
  color: #000;
  background: #fff;
}

.input-group select:focus + .input-line {
  background: rgba(255, 255, 255, 0.8);
  height: 2px;
}

.input-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin-top: 5px;
  transition: all 0.3s ease;
}

.input-group input:focus + .input-line {
  background: rgba(255, 255, 255, 0.8);
  height: 2px;
}

.login-btn {
  padding: 12px;
  font-size: 14px;
  color: #fff;
  background-color: var(--primary-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  height: 45px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.login-btn:hover:not(:disabled) {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.register-link {
  margin-top: 25px;
  text-align: center;
}

.register-link a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.register-link a:hover {
  color: var(--text-white);
}

/* 에러 메시지 */
.error-message {
  color: #ffcccc;
  font-size: 12px;
  margin-top: 5px;
  text-align: left;
}

/* 비활성화 계정 안내 모달 */
.inactive-account-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.inactive-account-modal {
  background: linear-gradient(160deg, var(--concept-color-start) 0%, var(--concept-color-end) 100%);
  border-radius: 15px;
  padding: 40px 35px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.inactive-account-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.inactive-account-icon .material-symbols-outlined {
  font-size: 48px;
  color: var(--text-white);
}

.inactive-account-modal h2 {
  color: var(--text-white);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
}

.inactive-account-modal p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin: 10px 0;
  line-height: 1.6;
}

.inactive-account-subtext {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px !important;
  margin-top: 20px !important;
}

.inactive-account-btn {
  margin-top: 30px;
  padding: 12px 40px;
  font-size: 14px;
  color: #fff;
  background-color: var(--primary-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  height: 45px;
}

.inactive-account-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.inactive-account-btn:active {
  transform: translateY(0);
}