/* Figma social login, scoped to the new login surfaces. */
.ts-login-modal,
.ts-login-page,
.ts-social-flow {
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  color: #444;
}
.ts-login-modal *,
.ts-login-page *,
.ts-social-flow * { box-sizing: border-box; }
.ts-login-modal .modal-dialog { width: 580px; max-width: calc(100% - 20px); padding: 0; margin: 30px auto; }
.ts-login-modal .modal-content,
.ts-login-page .ts-login-card {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.ts-login-modal .modal-header,
.ts-login-page .ts-login-header {
  min-height: 62px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: #0490FF;
}
.ts-login-modal .modal-title,
.ts-login-page .ts-login-title {
  margin: 0;
  font-family: inherit;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}
.ts-login-modal .ts-login-close {
  float: none;
  width: 22px;
  height: 30px;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  opacity: 1;
}
.ts-login-close img { display: block; width: 22px; height: 30px; }
.ts-login-modal .modal-body { padding: 0; }
.ts-login-content { width: 100%; padding: 48px 55px; }
.ts-login-form { margin: 0; }
.ts-login-fields { display: flex; flex-direction: column; gap: 15px; }
.ts-login-field-group { min-width: 0; }
.ts-login-field {
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
  margin: 0;
  border: 1px solid #ddd;
  background: #fff;
}
.ts-login-field:focus-within {
  border-color: #66afe9;
  box-shadow: 0 0 8px rgba(102, 175, 233, .6);
}
.ts-login-validation label.error {
  display: table;
  margin: 3px 0 0;
  padding: 5px 8px;
  border-radius: 2px;
  background: #d65c4f;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
}
.ts-login-field .form-control {
  width: 100%;
  height: 48px;
  padding: 0 60px 0 10px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #444;
  font-size: 16px;
  font-weight: 400;
  background: transparent;
}
.ts-login-field .form-control::placeholder { color: #999; opacity: 1; }
.ts-login-field .form-control:focus { box-shadow: none; }
.ts-login-input-icon {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 40px;
  display: block;
}
.ts-login-input-icon img { display: block; width: 44px; height: 40px; }
.ts-login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  margin-top: 25px;
  padding: 0;
  border: 1px solid #0099CC;
  border-radius: 12px;
  background: #0490FF;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.ts-login-submit:hover,
.ts-login-submit:focus { color: #fff; background: #0490FF; border-color: #0099CC; }
.ts-login-assist { padding-top: 20px; text-align: center; }
.ts-login-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin: 0;
  padding: 10px 0;
}
.ts-login-links a { color: #999; font-size: 14px; line-height: 18px; }
.ts-login-links a:last-child { color: #31a5ff; }
.ts-login-links .divider { width: 1px; height: 13px; background: #999; }
.ts-login-family { margin-top: 12px; text-align: center; }
.ts-login-family-sites { display: flex; justify-content: center; gap: 20px; margin: 0; }
.ts-login-family-sites span { font-size: 14px; font-weight: 700; line-height: 18px; }
.ts-login-family-sites span:nth-child(1) { color: #0d5dc9; }
.ts-login-family-sites span:nth-child(2) { color: #fb0; }
.ts-login-family-sites span:nth-child(3) { color: #0eadee; }
.ts-login-family p { margin: 8px 0 0; color: #666; font-size: 13px; line-height: 16px; }
.ts-social-login { padding-top: 30px; }
.ts-social-label { display: flex; align-items: center; gap: 8px; color: #666; font-size: 14px; line-height: 17px; white-space: nowrap; }
.ts-social-label::before,
.ts-social-label::after { content: ""; height: 1px; min-width: 0; flex: 1; background: #ddd; }
.ts-social-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 26px; }
.ts-social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
}
.ts-social-button[data-social-provider="kakao"] { background: #ffeb00; }
.ts-social-button[data-social-provider="naver"] { background: #03c75a; }
.ts-social-button[data-social-provider="google"] { background: #efefef; }
.ts-social-button img { display: block; max-width: none; }
.ts-social-button[data-social-provider="kakao"] img { width: 32px; height: 31px; }
.ts-social-button[data-social-provider="naver"] img { width: 18px; height: 18px; }
.ts-social-button[data-social-provider="google"] img { width: 28px; height: 28px; }
.ts-login-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 33px;
  margin-top: 26px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(239,111,91,.1);
  color: #ef6f5b;
  font-size: 14px;
  line-height: 17px;
}
.ts-login-status[hidden] { display: none; }
.ts-login-status img { width: 16px; height: 16px; }
.ts-login-page .ts-login-card { width: 580px; max-width: 100%; margin: 0 auto 40px; }
.ts-login-page .ts-login-content { padding-left: 55px; padding-right: 55px; }
@media (max-width: 600px) {
  .ts-login-modal .modal-dialog { margin: 10px auto; }
  .ts-login-content,
  .ts-login-page .ts-login-content { padding: 30px 20px; }
  .ts-login-family-sites { gap: 12px; }
  .ts-login-family p { line-height: 1.4; }
}

.ts-social-flow .modal-dialog { width: 580px; max-width: calc(100% - 20px); padding: 0; margin: 30px auto; }
.ts-social-flow .modal-content { position: relative; border: 0; border-radius: 20px; box-shadow: none; overflow: hidden; background: #fff; }
.ts-flow-nav { position: absolute; z-index: 2; top: 20px; right: 20px; left: 20px; display: flex; justify-content: space-between; height: 30px; pointer-events: none; }
.ts-flow-nav button { display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: none; pointer-events: auto; }
.ts-flow-back { width: 27px; height: 22px; visibility: hidden; }
.ts-flow-close { width: 22px; height: 22px; margin-left: auto; }
.ts-flow-back img { width: 27px; height: 20px; }
.ts-flow-close img { width: 22px; height: 22px; }
.ts-social-flow[data-social-state="verify"] .ts-flow-back { visibility: visible; }
.ts-flow-view { padding: 48px; text-align: center; }
.ts-flow-view[hidden] { display: none; }
.ts-flow-view h2 { margin: 0; color: #444; font-family: inherit; font-size: 30px; font-weight: 700; line-height: 1.35; letter-spacing: -.5px; }
.ts-flow-intro { margin: 20px 0 0; color: #999; font-size: 14px; font-weight: 500; line-height: 1.4; }
.ts-flow-description { margin: 20px 0 0; color: #666; font-size: 16px; line-height: 1.45; }
.ts-flow-small { margin: 12px 0 0; color: #999; font-size: 13px; line-height: 1.25; }
.ts-flow-illustration { display: block; width: 120px; height: 120px; margin: 0 auto 20px; }
.ts-flow-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 60px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.ts-flow-primary { background: #31a5ff; color: #fff; }
.ts-flow-outline { border: 1px solid #139ced; background: #fff; color: #31a5ff; }
.ts-provider-button { background: #ffeb00; color: #3c1e1e; }
.ts-social-flow[data-social-provider="naver"] .ts-provider-button { background: #03c75a; color: #fff; }
.ts-social-flow[data-social-provider="google"] .ts-provider-button { background: #efefef; color: #444; }
.ts-provider-icon { display: none; width: 32px; height: 31px; }
.ts-social-flow[data-social-provider="kakao"] .ts-provider-kakao { display: block; }
.ts-social-flow[data-social-provider="naver"] .ts-provider-naver { display: block; width: 18px; height: 18px; }
.ts-social-flow[data-social-provider="google"] .ts-provider-google { display: block; width: 28px; height: 28px; }
.ts-flow-return { display: block; margin: 20px auto 0; padding: 0; border: 0; background: none; color: #999; font-size: 14px; font-weight: 500; line-height: 18px; text-decoration: underline; }
.ts-flow-registered h2 { font-size: 26px; line-height: 1; letter-spacing: 0; }
.ts-flow-registered .ts-flow-button { margin-top: 20px; }
.ts-flow-verify { padding-top: 72px; text-align: left; }
.ts-flow-verify h2 { font-size: 28px; line-height: 1.3; }
.ts-flow-verify .ts-flow-intro { margin-top: 24px; font-size: 16px; font-weight: 400; line-height: 1.45; }
.ts-flow-form { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; text-align: left; }
.ts-flow-form label { display: flex; flex-direction: column; gap: 8px; margin: 0; color: #333; font-size: 16px; font-weight: 700; line-height: 19px; }
.ts-flow-form input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #666;
  font-size: 16px;
  font-weight: 400;
}
.ts-flow-form input[readonly] { background: #f7f8f9; }
.ts-social-flow .ts-flow-view input:focus {
  border: 3px solid #31A5FF;
  outline: none;
}
.ts-flow-form input::placeholder { color: #999; }
.ts-flow-form .ts-flow-button { margin-top: 10px; }
.ts-flow-status { display: flex; align-items: center; gap: 8px; min-height: 33px; padding: 8px 12px; border-radius: 8px; background: rgba(239,111,91,.1); color: #ef6f5b; font-size: 14px; line-height: 17px; }
.ts-flow-status[hidden] { display: none; }
.ts-flow-status img { width: 16px; height: 16px; }
.ts-flow-help { margin: 15px 0 0; color: #999; font-size: 13px; line-height: 1; text-align: center; }
.ts-flow-help a { color: #31a5ff; }
.ts-flow-no-account .ts-flow-button:first-of-type { margin-top: 20px; }
.ts-flow-no-account .ts-flow-outline { margin-top: 8px; }
.ts-flow-no-account .ts-flow-return { margin-top: 28px; }
.ts-flow-linked .ts-flow-box { margin-top: 20px; }
.ts-flow-linked .ts-flow-button { margin-top: 20px; }
.ts-flow-box { margin: 20px 0 0; padding: 15px; border: 1px solid #e6e6e6; border-radius: 10px; background: #f7f8f9; color: #666; font-size: 14px; line-height: 1.4; }
.ts-flow-email .ts-flow-form { gap: 0; margin-top: 16px; }
.ts-flow-email .ts-flow-form .ts-flow-small { text-align: center; }
.ts-flow-email .ts-flow-form .ts-flow-button { margin-top: 20px; }
.ts-flow-expired .ts-flow-description { color: #999; font-size: 13px; }
.ts-flow-expired .ts-flow-button { margin-top: 20px; }
.ts-flow-multiple .ts-flow-button { margin-top: 20px; }
@media (max-width: 600px) {
  .ts-social-flow .modal-dialog { margin: 10px auto; }
  .ts-flow-view { padding: 48px 24px 30px; }
  .ts-flow-view h2 { font-size: 24px; }
  .ts-flow-registered h2 { font-size: 23px; }
  .ts-flow-verify h2 { font-size: 24px; }
  .ts-flow-button { font-size: 15px; }
}
