/* 로그인 모달 */
.login-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.login-modal.is-open {
  display: flex;
}

.login-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.login-modal-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.login-modal-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 16px 10px;
  border-bottom: 1px solid #eee;
}

.login-modal-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin: -4px -4px 0 0;
  padding: 0;
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: #888;
  cursor: pointer;
}

.login-modal-close:hover {
  color: #333;
}

.login-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #fff3f3;
  border: 1px solid #fcc;
  border-radius: 4px;
  color: #c00;
  font-size: 14px;
}

.login-form {
  margin: 0;
  padding: 20px 24px 24px;
}

.login-form-group {
  margin-bottom: 12px;
}

.login-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
}

.login-input:focus {
  outline: none;
  border-color: #666;
}

.login-input::placeholder {
  color: #999;
}

.login-options {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.login-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.login-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.login-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
}

.login-btn-primary {
  background: #3366cc;
  color: #fff;
  border: 1px solid #3366cc;
}

.login-btn-primary:hover {
  background: #2952a3;
  border-color: #2952a3;
}

.login-btn-secondary {
  background: #fff;
  color: #3366cc;
  border: 1px solid #3366cc;
}

.login-btn-secondary:hover {
  background: #f0f4ff;
}

.login-links {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}

.login-links a {
  color: #888;
  text-decoration: none;
}

.login-links a:hover {
  color: #333;
  text-decoration: underline;
}

.login-links-sep {
  margin: 0 8px;
  color: #ccc;
}

.login-easy {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.login-easy-title {
  margin: 0 0 12px 0;
  font-size: 13px;
  color: #666;
  text-align: center;
}

.login-easy-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.login-easy-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  line-height: 48px;
  text-align: center;
}

.login-easy-naver {
  background: #03c75a;
}

.login-easy-kakao {
  background: #fee500;
  color: #3c1e1e;
}

.login-easy-btn:hover {
  opacity: 0.9;
}
