body.login-body {
  min-height: 100vh;
  background: linear-gradient(180deg, #a259ff 0%, #6a00f4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(30,22,54,0.13);
  max-width: 400px;
  width: 100%;
  padding: 40px 32px 24px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal-logo {
  width: 54px;
  margin-bottom: 24px;
}
.modal-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #18162c;
  margin-bottom: 8px;
  text-align: center;
}
.modal-desc {
  font-size: 1.05rem;
  color: #6b6b7b;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 400;
}
.modal-social-row {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-bottom: 18px;
}
.modal-social-btn {
  flex: 1;
  border-radius: 12px;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 0.92em 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  border: 1px solid #e3e3e3;
  cursor: pointer;
  background: #fff;
  color: #18162c;
  transition: box-shadow 0.18s, background 0.18s, color 0.18s;
  box-shadow: 0 2px 8px 0 rgba(30,22,54,0.04);
}
.modal-social-btn.kakao {
  background: #fee500;
  color: #3c1e1e;
  border: 1px solid #e3e3e3;
}
.modal-social-btn.kakao:hover {
  background: #ffe666;
  color: #6a00f4;
}
.modal-social-btn.google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-weight: 600;
  font-size: 1.08em;
  background: #fff;
  color: #222;
  border: 1px solid #e3e3e3;
  border-radius: 0.9em;
  padding: 0.7em 1.2em;
  box-shadow: 0 2px 8px 0 rgba(162,89,255,0.08);
  cursor: pointer;
  transition: box-shadow 0.18s;
}
.modal-social-btn.google:hover {
  box-shadow: 0 4px 16px 0 rgba(162,89,255,0.18);
}
.modal-divider {
  width: 100%;
  text-align: center;
  color: #aaa;
  font-size: 1.01rem;
  margin: 18px 0 18px 0;
  position: relative;
  font-weight: 500;
}
.modal-divider:before, .modal-divider:after {
  content: '';
  display: inline-block;
  width: 32%;
  height: 1.5px;
  background: #ececf0;
  vertical-align: middle;
  margin: 0 0.5em;
  border-radius: 2px;
}
.modal-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.modal-input {
  background: #f8f8fa;
  border: 1.5px solid #e3e3e3;
  border-radius: 12px;
  color: #18162c;
  font-size: 1rem;
  padding: 0.85em 1em;
  outline: none;
  transition: border 0.18s;
  font-weight: 500;
}
.modal-input:focus {
  border: 1.5px solid #a259ff;
  background: #f3f3ff;
}
.modal-btn {
  width: 100%;
  background: #23232a;
  color: #fff;
  font-weight: 700;
  font-size: 1.13rem;
  border: none;
  border-radius: 12px;
  padding: 1.05em 0;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(30,22,54,0.08);
  transition: background 0.18s;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.modal-btn:hover {
  background: #18162c;
}
.modal-bottom {
  margin-top: 18px;
  font-size: 1.01rem;
  color: #6b6b7b;
  text-align: center;
  font-weight: 400;
}
.modal-bottom a {
  color: #23232a;
  text-decoration: none;
  font-weight: 700;
  margin-left: 0.2em;
  transition: color 0.18s;
}
.modal-bottom a:hover {
  color: #a259ff;
}
@media (max-width: 900px) {
  .modal {
    max-width: 340px;
    padding: 18px 6px 12px 6px;
  }
  .modal-title {
    font-size: 1.08rem;
  }
  .modal-desc {
    font-size: 0.98rem;
  }
  .modal-input {
    font-size: 0.98rem;
    padding: 0.7em 0.7em;
  }
  .modal-btn {
    font-size: 1.01rem;
    padding: 0.85em 0;
  }
}
@media (max-width: 600px) {
  .modal {
    max-width: 99vw;
    padding: 10px 2vw 10px 2vw;
    border-radius: 12px;
  }
  .modal-title {
    font-size: 0.98rem;
  }
  .modal-desc {
    font-size: 0.92rem;
  }
  .modal-input {
    font-size: 0.95rem;
    padding: 0.6em 0.6em;
    border-radius: 8px;
  }
  .modal-btn {
    font-size: 0.98rem;
    padding: 0.7em 0;
    border-radius: 8px;
  }
  .modal-form {
    gap: 10px;
  }
  .modal-social-row {
    gap: 8px;
  }
}
.modal-close-x {
  position: absolute;
  top: 18px;
  right: 24px;
  color: #6b6b7b;
  font-size: 1.5rem;
  font-weight: 600;
  background: none;
  border: none;
  box-shadow: none;
  cursor: pointer;
  line-height: 1;
  text-align: center;
  z-index: 1001;
}
.modal-close-x:hover {
  color: #a259ff;
}
.google-logo {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}
