:root {
  --v2-line: rgba(48, 42, 30, 0.12);
  --v2-green: #34ab2a;
  --v2-green-2: #2f9f26;
  --v2-ink: #1f2328;
  --v2-ink-2: #3f453c;
  --v2-gray: #7f857d;
  --v2-card: #ffffff;
  --v2-focus-ring: rgba(52, 171, 42, 0.1);
  --v2-danger: #d33b3b;
}

body {
  background: #e8e6df;
  display: flex;
  justify-content: center;
  padding: 24px 0 40px;
}

#wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.v2-phone {
  width: 100%;
  max-width: 430px;
  min-height: calc(100vh - 64px);
  position: relative;
  background: #f6f7f3;
  border-radius: 28px;
  box-shadow: 0 22px 48px -30px rgba(0, 0, 0, 0.4), 0 10px 22px -20px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.v2-bg-motif {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.v2-bg-motif svg {
  position: absolute;
  opacity: 0.05;
  color: var(--v2-green);
}

.v2-bg-motif .m1 {
  width: 300px;
  height: 300px;
  top: -60px;
  right: -90px;
}

.v2-status-bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.v2-status-bar .group {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.v2-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 48px;
  position: relative;
  z-index: 1;
}

.v2-appbar .back {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--v2-ink);
}

.v2-appbar .back .v2-ic {
  width: 22px;
  height: 22px;
}

.v2-appbar .title {
  font-size: 16px;
  font-weight: 700;
  color: var(--v2-ink);
}

.v2-appbar .sp {
  width: 38px;
  height: 38px;
}

.v2-body {
  min-height: calc(100vh - 64px - 92px);
  display: flex;
  flex-direction: column;
  padding: 0 28px 30px;
  position: relative;
  z-index: 1;
}

.v2-head {
  text-align: center;
  padding: 30px 0 34px;
}

.v2-logo {
  width: 66px;
  height: 66px;
  border-radius: 21px;
  background: linear-gradient(160deg, #45bc38, var(--v2-green));
  display: grid;
  place-items: center;
  color: #ffffff;
  margin: 0 auto 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 24px -8px rgba(40, 150, 28, 0.5);
}

.v2-logo .v2-ic {
  width: 34px;
  height: 34px;
}

.v2-head .t {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.024em;
  color: var(--v2-ink);
}

.v2-head .s {
  font-size: 14px;
  color: var(--v2-gray);
  margin-top: 9px;
  font-weight: 500;
}

.input--typeA {
  margin-bottom: 12px;
}

.v2-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--v2-card);
  border: 1.5px solid var(--v2-line);
  border-radius: 14px;
  padding: 0 16px;
  height: 54px;
  transition: border-color 0.12s, background 0.12s, box-shadow 0.12s;
}

.v2-inp {
  flex: 1;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--v2-ink);
  letter-spacing: -0.014em;
  outline: none;
}

.v2-inp::placeholder {
  color: #adafa4;
  font-weight: 500;
}

.v2-box:focus-within {
  border-color: var(--v2-green);
  box-shadow: 0 0 0 3px var(--v2-focus-ring);
}

.input--typeA.invalid .v2-box {
  border-color: var(--v2-danger);
  box-shadow: 0 0 0 3px rgba(211, 59, 59, 0.12);
}

.info_txt.invalid {
  display: none;
  margin-top: 6px;
  margin-left: 2px;
  color: var(--v2-danger);
  font-size: 12px;
  font-weight: 600;
}

.info_txt.invalid.active {
  display: block;
}

.v2-eye {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--v2-gray);
  flex: 0 0 26px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.v2-eye .v2-ic {
  width: 18px;
  height: 18px;
}

.btn_primary.v2-btn-login {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 8px;
  background: linear-gradient(180deg, #45bc38 0%, var(--v2-green) 52%, var(--v2-green-2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 18px -8px rgba(40, 150, 28, 0.5);
  border: 0;
}

.btn_primary.v2-btn-login:disabled,
.btn_primary.v2-btn-login.disabled {
  opacity: 0.5;
}

.v2-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--v2-gray);
  font-weight: 600;
}

.v2-links .sep {
  width: 1px;
  height: 11px;
  background: var(--v2-line);
}

.v2-links a {
  color: var(--v2-ink-2);
}

.v2-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 18px;
  color: var(--v2-gray);
  font-size: 12px;
  font-weight: 600;
}

.v2-divider::before,
.v2-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--v2-line);
}

.v2-icon-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.v2-icon-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--v2-card);
  border: 1px solid var(--v2-line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.v2-icon-btn .v2-ic {
  width: 22px;
  height: 22px;
}

.v2-icon-btn.kakao {
  background: #fee500;
  border-color: transparent;
  color: #3c1e1e;
}

.v2-icon-btn.naver {
  background: #03c75a;
  border-color: transparent;
  color: #ffffff;
}

.v2-icon-btn.apple {
  background: #111111;
  border-color: transparent;
  color: #ffffff;
}

.v2-signup-foot {
  text-align: center;
  font-size: 13.5px;
  color: var(--v2-gray);
  margin-top: auto;
  padding-top: 26px;
  font-weight: 500;
}

.v2-signup-foot a {
  color: var(--v2-green);
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 460px) {
  body {
    padding: 0;
  }

  .v2-phone {
    max-width: 100%;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }

  .v2-body {
    min-height: calc(100vh - 92px);
  }
}
