/* ==================== 로그인 스타일 ==================== */
.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-container-box {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 384px;
}

/* 로그인 로고 - 충돌 해결 */
.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login-input {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-label {
  color: var(--color-gray-950);
  font-size: 14px;
  font-weight: 400;
}

.input-wrapper {
  position: relative;
}

.input-field {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--bg-gray-300);
  padding: 16px 20px;
  font-size: 14px;
  transition: border-color 0.2s;
  color: var(--bg-gray-950);
}

.input-field:hover {
  border: 1px solid var(--bg-gray-950);
}

.input-field:focus {
  outline: none;
  border-color: var(--bg-gray-500);
}

.input-field::placeholder {
  color: var(--color-gray-400);
}

.password-field {
  padding-right: 50px;
}

.eye-off {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 20px;
  height: 20px;
  transition: opacity 0.2s;
}

.eye-off:hover {
  opacity: 0.8;
}

.eye-on {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 20px;
  height: 20px;
  transition: opacity 0.2s;
}

.login-button-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.login-button {
  background: var(--bg-gray-950);
  border-radius: 8px;
  padding: 16px 26px;
  width: 100%;
  height: 48px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-button:hover {
  opacity: 0.8;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.remember-me-container {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.check-box {
  background: var(--bg-white);
  width: 16px;
  height: 16px;
  border: 1px solid var(--bg-gray-300);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  position: relative;
}

.check-box:hover,
.remember-me-container:hover .check-box {
  border: 1px solid var(--bg-gray-950);
}

.check-box.checked {
  background: var(--bg-gray-950);
  border-color: var(--bg-gray-950);
}

.remember-label {
  color: var(--bg-gray-500);
  font-size: 14px;
  font-weight: 500;
}

.forgot-password {
  color: var(--bg-gray-500);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.2s;
}

.forgot-password:hover {
  opacity: 0.8;
}

.sns {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.sns-icon {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  cursor: pointer;
  transition: color 0.2s;
}

.sns-icon:hover {
  opacity: 0.8;
}

.signup-text {
  color: var(--bg-gray-500);
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  width: 100%;
}

.signup-link {
  color: var(--bg-gray-500);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.signup-link:hover {
  opacity: 0.8;
}

/* 에러 메시지 */
.error-message {
  display: none;
  color: #EF4444;
  font-size: 12px;
  margin-top: opx;
  align-items: center;
  gap: 4px;
}

.error-message.show {
  display: flex;
}

/* 에러 상태일 때 input 스타일 */
.input-field.error {
  border-color: #EF4444;
}

.input-field.error:focus {
  border-color: #EF4444;
}



/* ==================== 비밀번호 찾기 스타일 ==================== */
.password-title-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.password-title {
  color: #030712;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.password-subtitle {
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  line-height: 20px;
}


.back-to-login {
  color: #6b7280;
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.back-to-login:hover {
  opacity: 0.8;
}