@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@700;800&family=Pretendard:wght@400;500;600&display=swap");

/* Design Token */
:root {
  /* Refernce Token */
  /* Color */
  /* Primary */
  --purple-100: #d7ccff;
  --purple-200: #af99ff;
  --purple-300: #8766ff;
  --purple-400: #5f33ff;
  --purple-500: #3700ff;
  --purple-600: #2c00cc;
  --purple-700: #210099;
  --purple-800: #160066;
  --purple-900: #0b0033;

  /* Secondary */
  --yellow-100: #fdffe2;
  --yellow-200: #fbffaf;
  --yellow-300: #f8ff7c;
  --yellow-400: #f5ff49;
  --yellow-500: #f3ff16;
  --yellow-600: #d6e200;
  --yellow-700: #a6af00;
  --yellow-800: #757c00;
  --yellow-900: #454900;
  --yellow-1000: #151600;

  /* Nutral */
  --gray-50: #ffffff;
  --gray-100: #e6e6e6;
  --gray-150: #cccccc;
  --gray-200: #b3b3b3;
  --gray-250: #999999;
  --gray-300: #808080;
  --gray-350: #666666;
  --gray-400: #4d4d4d;
  --gray-450: #333333;
  --gray-500: #1a1a1a;

  /* Spacing */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-18: 18px;
  --spacing-20: 20px;
  --spacing-24: 24px;

  /* Font Size */
  --font-sm: 14px;
  --font-md: 16px;
  --font-lg: 18px;
  --font-xl: 20px;
  --font-2xl: 22px;
  --font-3xl: 24px;
  --font-4xl: 28px;
  --font-5xl: 30px;
  --font-6xl: 32px;
  --font-7xl: 34px;
  --font-8xl: 36px;
  --font-9xl: 38px;

  /* System Token */
  /* Background */
  --color-bg-primary: var(--gray-50);
  --color-bg-inverse: var(--gray-500);

  /* Text */
  --color-text-primary: var(--gray-500);
  --color-text-inverse: var(--gray-50);

  /* System */
  /* Danger */
  --danger-default: #e28484;
  --danger-bg: #f6d6d6;
  --danger-text: #cf3131;
  /* Warning */
  --warning-default: #816e37;
  --warning-text: #681919;
  --warning-bg: #dbcea9;
  /* Success */
  --success-default: #166145;
  --success-bg: #baefdb;
  --success-text: #0a6d48;
  /* Warning */
  --warning-default: #0057c9;
  --warning-text: #c9e0ff;
  --warning-bg: #002b63;
  /* Information */
  --information-default: #0057c9;
  --information-bg: #c9e0ff;
  --information-text: #002b63;

  /* Accent */
  --green-10: #d4e9d3;
  --green-10: #b3d7b2;
  --green-10: #93c690;
  --green-10: #72b56e;
  --green-10: #559f51;
  --green-10: #437d40;

  /* Resposive */
  /* Layout Spacing */
  --layout-padding-sm: 16px;
  --layout-padding-md: 24px;

  /* Container */
  --container-max: 1280px;
}

/* css 리셋 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-size: var(--font-md);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
}
ul,
li {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  aspect-ratio: 190/190;
  border: 100px;
  display: block;
  width: 100%;
  object-fit: cover;
}

/* Component Token */
/* Layout */
.layout {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.container {
  position: relative;
  max-width: var(--container-max);
  flex: 1;
  padding: 0 16px;
  /* background-color: #d4d4d4; */
}

/* 로고 */
.logo {
  display: flex;
  margin-top: 6rem;
  flex-direction: column;
  align-items: center; /* 가로 중앙 */
  justify-content: center; /* 세로 중앙 */
}

.logo-wrap {
  background-color: var(--purple-400);
  border-radius: 30px;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  overflow: hidden;
  position: relative;
}

.text {
  gap: var(--spacing-8);
  padding: 8px;
  text-align: center;
}

.logo-name {
  font-size: var(--font-6xl);
  font-weight: 900;
  color: var(--purple-400);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  font-family: Arial, sans-serif;
}

.logo-sub {
  font-size: var(--font-sm);
  color: var(--purple-900);
  font-weight: 400;
  margin-bottom: 2rem;
  font-family: Arial, sans-serif;
}

/* 구글 애플 페이스북 */
.social-row {
  margin: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.social-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

/* 구글 - 흰 배경 + 테두리 */
.social-btn.google {
  background: #f9f9f9;
  border: 1.5px solid #e5e5e5;
}

/* 애플 - 검정 배경 */
.social-btn.apple {
  background: #000;
}

/* 페이스북 - 파란 배경 */
.social-btn.facebook {
  background: #3d4da6;
}
/* 폼 섹션 */
.divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  color: #ccc;
  font-size: 13px;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee;
}

.field-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-bottom: 1.5px solid #eee;
}
.field {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.field:last-child {
  border-bottom: none;
}
.field-input {
  font-size: 14px;
}
.field-label {
  font-size: 14px;
}

.field-email {
  transform: translateX(12px);
  justify-content: flex-start;
  display: flex;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--gray-100);
  background: transparent;
  font-family: inherit;
}
.field-pw {
  justify-content: flex-start;
  display: flex;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--gray-100);
  background: transparent;
  font-family: inherit;
}
.eye-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--gray-350);
  display: flex;
  align-items: center;
}

.check-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 1.4rem;
}
.check-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #6c5ce7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.check-label {
  font-size: 13px;
  color: #555;
}

.login-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 15px;
  background: var(--purple-400);
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 1rem;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.login-btn:hover {
  opacity: 0.9;
}

.find-link {
  display: flex;
  justify-content: center;
  font-size: 13px;
  color: var(--gray-200);
  cursor: pointer;
  text-decoration: none;
}
.find-link:hover {
  color: var(--gray-500);
}

@media screen and (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .card-container {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-20);
  }
}

@media screen and (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }
}
