/* 회원가입 · Figma 2096:656 / 2120:* / 2120:1271 */
.r2go-signup-page .shell {
    padding-bottom: 40px;
}

.r2go-signup {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 0 24px;
}

.r2go-signup__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--r2go-brand-header-min-height);
    margin: 0 0 28px;
}

.r2go-signup__logo {
    display: block;
    width: var(--r2go-brand-logo-width);
    height: auto;
}

.r2go-signup__form {
    display: grid;
    gap: 14px;
}

.r2go-signup__field {
    margin: 0;
}

.r2go-signup__referrer-label {
    display: block;
    margin: 0 0 8px;
    padding: 0 4px;
    color: #3887fe;
    font-size: 16px;
    font-weight: 600;
}

.r2go-signup__field--password {
    position: relative;
}

.r2go-signup__field--password .r2go-signup__input {
    padding-right: 56px;
}

.r2go-signup__password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #829ab1;
    cursor: pointer;
}

.r2go-signup__password-toggle:hover,
.r2go-signup__password-toggle:focus-visible {
    color: #3887fe;
    outline: none;
}

.r2go-signup__password-toggle[aria-pressed="true"] {
    color: #3887fe;
}

.r2go-signup__input,
.r2go-signup__btn {
    box-sizing: border-box;
    width: 100%;
    height: 70px;
    margin: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 22px;
    font-weight: 400;
    line-height: 24px;
    -webkit-appearance: none;
    appearance: none;
}

.r2go-signup__input {
    padding: 0 24px;
    border: 1px solid #9ca3af;
    background: #fff;
    color: #4b5563;
    -webkit-text-fill-color: #4b5563;
}

.r2go-signup__input::placeholder {
    color: #c7cdd6;
    -webkit-text-fill-color: #c7cdd6;
    opacity: 1;
}

.r2go-signup__input:focus {
    outline: none;
    border-color: #3887fe;
}

.r2go-signup__input--code {
    border-color: #3887fe;
    color: #3887fe;
    -webkit-text-fill-color: #3887fe;
}

.r2go-signup__input--code::placeholder {
    color: rgba(56, 135, 254, 0.5);
    -webkit-text-fill-color: rgba(56, 135, 254, 0.5);
}

.r2go-signup__input[type="password"] {
    color: #9ca3af;
    -webkit-text-fill-color: #9ca3af;
}

.r2go-signup__code-row {
    display: block;
}

.r2go-signup__code-row.has-timer {
    display: flex;
    align-items: stretch;
    border: 1px solid #3887fe;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.r2go-signup__code-row.has-timer .r2go-signup__input--code {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.r2go-signup__otp-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 5.5em;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: #3887fe;
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.r2go-signup__otp-timer.is-expired {
    color: #cf202f;
}

.r2go-signup__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid #3887fe;
    cursor: pointer;
    text-decoration: none;
    text-align: left;
}

.r2go-signup__btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.r2go-signup__btn--primary {
    background: #3887fe;
    color: #fff;
}

.r2go-signup__btn--outline {
    background: #fff;
    color: #3887fe;
}

.r2go-signup__btn--outline.is-active,
.r2go-signup__btn--submit.is-ready {
    background: #3887fe;
    color: #fff;
}

.r2go-signup__btn--submit:disabled {
    background: #3887fe;
    color: #fff;
    opacity: 1;
}

.r2go-signup__combo {
    display: grid;
    grid-template-columns: 1fr 133px;
    align-items: stretch;
}

.r2go-signup__combo .r2go-signup__input {
    border-color: #3887fe;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    color: #3887fe;
    -webkit-text-fill-color: #3887fe;
}

.r2go-signup__combo .r2go-signup__input::placeholder {
    color: rgba(56, 135, 254, 0.45);
    -webkit-text-fill-color: rgba(56, 135, 254, 0.45);
}

.r2go-address-fields > .r2go-signup__input {
    border-color: #3887fe;
    color: #3887fe;
    -webkit-text-fill-color: #3887fe;
}

.r2go-address-fields > .r2go-signup__input::placeholder {
    color: rgba(56, 135, 254, 0.45);
    -webkit-text-fill-color: rgba(56, 135, 254, 0.45);
}

.r2go-signup__input:-webkit-autofill,
.r2go-signup__input:-webkit-autofill:hover,
.r2go-signup__input:-webkit-autofill:focus {
    box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: #4b5563;
}

.r2go-signup__combo .r2go-signup__input:-webkit-autofill,
.r2go-signup__input--code:-webkit-autofill {
    -webkit-text-fill-color: #3887fe;
}

.r2go-signup__input[type="password"]:-webkit-autofill {
    -webkit-text-fill-color: #9ca3af;
}

.r2go-signup__combo .r2go-signup__btn {
    border: none;
    border-radius: 0 10px 10px 0;
    font-size: 22px;
    box-shadow: none;
}

.r2go-signup__combo--solo {
    grid-template-columns: 1fr;
}

.r2go-signup__combo--solo .r2go-signup__input {
    border-right: 1px solid #3887fe;
    border-radius: 10px;
}

.r2go-signup__hint {
    margin: 10px 0 0;
    padding: 0 4px;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    color: #3887fe;
}

.r2go-signup__hint--muted {
    color: #9ca3af;
}

.r2go-signup__selection {
    margin: -4px 0 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: #eef5ff;
    color: #3887fe;
    font-size: 15px;
    font-weight: 600;
    word-break: break-word;
}

.r2go-signup__password-rules {
    display: grid;
    gap: 6px;
    margin: -2px 0 2px;
    padding: 0 4px;
}

.r2go-signup__password-rule {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #9ca3af;
    font-size: 16px;
    line-height: 24px;
}

.r2go-signup__password-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #c7cdd6;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.r2go-signup__password-rule.is-valid {
    color: #3887fe;
}

.r2go-signup__password-rule.is-valid .r2go-signup__password-check {
    color: #3887fe;
}

.r2go-signup__password-help {
    margin: 0 0 0 26px;
    color: #9ca3af;
    font-size: 14px;
    line-height: 20px;
}

.r2go-signup__agreements {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.r2go-signup__check {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 36px;
    color: #9ca3af;
    font-size: 20px;
    line-height: 24px;
    cursor: pointer;
}

.r2go-signup__check--all {
    font-weight: 500;
}

.r2go-signup__check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.r2go-signup__box {
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    border: 1px solid #3887fe;
    border-radius: 10px;
    background: #fff;
}

.r2go-signup__check input:checked + .r2go-signup__box {
    background: #3887fe;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' d='M1 6l4.5 4.5L15 1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 12px;
}

.r2go-signup__check-label {
    min-width: 0;
}

.r2go-signup__chevron {
    color: #9ca3af;
    font-size: 22px;
    line-height: 1;
}

.r2go-signup__note {
    margin: 4px 0 0;
    padding: 0 4px;
    color: #9ca3af;
    font-size: 16px;
    line-height: 24px;
}

.r2go-signup__note-required {
    color: #cf202f;
    font-weight: 500;
}

.r2go-signup__sponsor-warn {
    margin: 2px 0 10px;
    padding: 0 4px;
    color: #cf202f;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
}
.r2go-signup__sponsor-warn span {
    display: block;
    white-space: nowrap;
}

.r2go-signup__actions {
    display: grid;
    gap: 14px;
    margin-top: 10px;
}

.r2go-signup__errors {
    margin: 0 0 8px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff1f0;
    color: #cf202f;
    font-size: 14px;
    line-height: 1.45;
    list-style: none;
}

.r2go-signup__flash {
    margin: 0 0 8px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #eef5ff;
    color: #3887fe;
    font-size: 14px;
    line-height: 1.45;
}

.r2go-signup__dev {
    margin-top: 4px;
}

.r2go-signup__dev .r2go-signup__btn {
    height: 48px;
    font-size: 15px;
    background: #eef0f3;
    border-color: #dee1e6;
    color: #5b616e;
}

/* 검색 모달 */
.r2go-signup-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.r2go-signup-modal[hidden] {
    display: none !important;
}

.r2go-signup-modal__dim {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(217, 217, 217, 0.8);
    cursor: pointer;
}

.r2go-signup-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 400px);
    max-height: min(70vh, 438px);
    display: flex;
    flex-direction: column;
    padding: 18px 16px 16px;
    border: 1px solid rgba(156, 163, 175, 0.5);
    border-radius: 10px;
    background: #fff;
}

.r2go-signup-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #9ca3af;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.r2go-signup-modal__input {
    width: 100%;
    height: 55px;
    margin: 18px 0 12px;
    padding: 0 16px;
    border: 1px solid #3887fe;
    border-radius: 10px;
    font: inherit;
    font-size: 20px;
    color: #3887fe;
}

.r2go-signup-modal__list {
    flex: 1;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: auto;
    list-style: none;
}

.r2go-signup-modal__item {
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    border: 0;
    background: transparent;
    color: rgba(156, 163, 175, 0.85);
    font: inherit;
    font-size: 20px;
    text-align: left;
    cursor: pointer;
}

.r2go-signup-modal__item span {
    color: #3887fe;
}

.r2go-signup-modal__empty {
    margin: 12px 16px;
    color: #9ca3af;
    font-size: 15px;
}

.r2go-signup-modal__confirm {
    margin-top: 12px;
    height: 52px;
    border: 0;
    border-radius: 10px;
    background: #3887fe;
    color: #fff;
    font: inherit;
    font-size: 18px;
    cursor: pointer;
}

/* 수신거부 안내 */
.r2go-signup-alert {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.r2go-signup-alert[hidden] {
    display: none !important;
}

.r2go-signup-alert__dim {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(217, 217, 217, 0.8);
    cursor: pointer;
}

.r2go-signup-alert__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 320px);
    padding: 28px 22px 18px;
    border: 1px solid #3887fe;
    border-radius: 12px;
    background: #fff;
}

.r2go-signup-alert__title {
    margin: 0 0 12px;
    color: #0a0b0d;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.r2go-signup-alert__body {
    margin: 0 0 18px;
    color: #5b616e;
    font-size: 14px;
    line-height: 1.55;
}

.r2go-signup-alert__ok {
    display: block;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #3887fe;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.r2go-signup-alert__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}

.r2go-signup-alert__cancel {
    border: 0;
    background: transparent;
    color: #5b616e;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.r2go-signup-alert__body {
    white-space: pre-line;
}

/* 완료 화면 · Figma 2120:1271 · 로고 실측 약 178×63 */
.r2go-signup-done {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: calc(100dvh - 80px);
    padding: 120px 20px 40px;
    text-align: center;
}

.r2go-signup-done__logo {
    display: block;
    width: 178px;
    height: auto;
    margin: 0 auto 36px;
}

.r2go-signup-done__msg {
    margin: 0 0 56px;
    max-width: 350px;
    color: #9ca3af;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.45;
}

.r2go-signup-done__msg em {
    font-style: normal;
    font-weight: 500;
    color: #3887fe;
}

.r2go-signup-done__id {
    margin: 0 0 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #0a0b0d;
}

.r2go-signup-done__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 400px);
    height: 70px;
    border: 0;
    border-radius: 10px;
    background: #3887fe;
    color: #fff;
    font: inherit;
    font-size: 26px;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 420px) {
    .r2go-signup__input,
    .r2go-signup__btn {
        height: 58px;
        font-size: 18px;
    }

    .r2go-signup__combo {
        grid-template-columns: 1fr 110px;
    }

    .r2go-signup__check {
        gap: 12px;
        font-size: 16px;
    }

    .r2go-signup__box {
        width: 30px;
        height: 30px;
    }

    .r2go-signup-done__msg {
        font-size: 22px;
    }

    .r2go-signup-done__btn {
        height: 58px;
        font-size: 22px;
    }

    .r2go-signup-done__logo {
        width: 160px;
    }
}
