/* TailTalk — global styles */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: #ffffff;
  color: #171717;
  font-family: "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
}

a,
button,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"],
summary {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
}

.auth-legacy-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.auth-legacy-scale {
  width: 400px;
  height: 244px;
  transform-origin: center center;
}

.auth-legacy-card {
  opacity: 0;
  transition: opacity 0.18s ease;
}

.auth-legacy-card[data-ready="true"] {
  opacity: 1;
}

.auth-legacy-divider-label {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-legacy-divider-text {
  margin: 0;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #a0aec0;
  text-align: center;
}

.auth-legacy-remember {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  line-height: 1;
  appearance: none;
}

.auth-legacy-checkbox {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  z-index: 1;
}

.auth-legacy-remember-text {
  display: block;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #5f6b7a;
  z-index: 2;
}

.auth-legacy-remember .auth-legacy-checkbox {
  flex: 0 0 16px;
  white-space: nowrap;
}

@media (max-width: 430px) {
  .auth-legacy-scale {
    transform: scale(calc((100vw - 32px) / 400));
  }
}
