.main-content {
    flex: 1;
}

.page-main.page-main-guest,
.page-login,
.page-signup {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f2f7ff 0%, #f7f7f7 24%, #ffffff 100%);
}

.site-header {
    height: 9.2rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(130, 150, 180, 0.18);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: auto;
    height: 4.4rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 3.2rem;
}

.header-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.7rem;
    font-weight: 700;
    color: #1c4fa3;
    letter-spacing: -0.5px;
    line-height: 1;
    transition:
            color 0.18s ease,
            transform 0.18s ease,
            opacity 0.18s ease;
}

.header-link img {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

.header-link:hover {
    background: rgba(193, 209, 233, 0.08);
    color: #0f4cae;
    transform: translateY(-1px);
}

.header-link__text {
    display: inline-block;
    line-height: 1.2;
    letter-spacing: -1px;
}

.signup-link {
    color: #22396b;
}

.signup-link:hover {
    background: rgba(195, 207, 235, 0.08);
    color: #1458c7;
}

.hero-section {
    padding: 7rem 0 3rem;
}

.hero-copy {
    max-width: 100rem;
}

.hero-subtitle {
    font-size: 4.5rem;
    line-height: 1.2;
    font-weight: 300;
    letter-spacing: -2.3px;
    color: #8f97a3;

}

.hero-title {
    font-size: 5.2rem;
}

.hero-title.typing::after {
    content: "|";
    display: inline-block;
    margin-left: 0.125rem;
    animation: typing-cursor 0.8s steps(1) infinite;
}

.hero-title.typing.is-done::after {
    display: none;
}

@keyframes typing-cursor {
    50% {
        opacity: 0;
    }
}

.hero-desc {
    margin-top: 1.4rem;
    font-size: 2.2rem;
    color: #66748b;
    line-height: 1.5;
    word-break: keep-all;
}

.service-toolbar {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.2rem;
}

.service-page {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem;
    border: 1px solid rgb(130 150 180 / 18%);
    border-radius: 999px;
    background: rgb(255 255 255 / 72%);
    box-shadow: 0 0.6rem 1.6rem rgb(35 55 90 / 8%);
    backdrop-filter: blur(10px);
}


#pageIndicator {
    min-width: 4.2rem;
    padding: 0 0.8rem;
    color: #718199;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
}

.page-arrow {
    width: 3.2rem;
    height: 3.2rem;
    border: 0;
    border-radius: 50%;
    background: #eef4ff;
    color: #6f84a3;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    transition:
            background-color 0.16s ease,
            color 0.16s ease,
            transform 0.16s ease,
            box-shadow 0.16s ease;
}

.page-arrow:not(:disabled):hover {
    background: #dfeaff;
    transform: translateY(-1px);
    box-shadow: 0 0.4rem 1rem rgb(45 90 160 / 14%);
}

.btn-expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    height: 4.4rem;
    padding: 0 1.6rem;
    border: 1px solid #dde3ee;
    border-radius: 0.8rem;
    background: #fff;
    font-size: 1.5rem;
    color: #9ca7be;
    box-shadow: 1px 1px 6px #efeff9;
}

.btn-expand img {
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
}

.service-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem;
}

.service-card {
    min-height: 28rem;
    padding: 3rem;
    border-radius: 0.8rem;
    background: #eaf0fa;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    --toggle-bg: rgb(0 0 0 / 20%);
    --toggle-checked-bg: rgb(0 0 0 / 20%);
    border: 2px solid transparent;
    transition:
            transform 0.18s ease,
            box-shadow 0.18s ease,
            border-color 0.18s ease;
}


.service-card:not(.is-disabled):hover {
    transform: translateY(-0.6rem);
    box-shadow: 0 1.2rem 2.4rem rgb(31 55 90 / 14%);
}



.service-card__link-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: inherit;
    text-decoration: none;
}

.service-card.is-disabled {
    background: #cbd0d7 !important;
    color: #8b939d;
    box-shadow: inset 0 2px 5px rgb(0 0 0 / 8%);
}

.service-card.is-disabled .service-card__image {
    opacity: 0.45;
    filter: grayscale(1);
}

.service-card__toggle {
    position: absolute;
    left: 22px;
    bottom: 18px;
    width: 6rem;
    height: 6rem;
    border: 0;
    border-radius: 50%;
    background-color: var(--toggle-bg);
    background-image: url('/images/common/plus.png');
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0px 0px 3px 1px #80808054;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.service-card__toggle.is-checked {
    background-color: #ABB7C7;
    background-image: url('/images/common/check.png');
    background-repeat: no-repeat;
    background-position: 6px 11px;
    font-size: 30px;
    font-weight: 700;
    box-shadow: inset 0 3px 9px rgb(0 0 0 / 35%);
    border: 2px solid;
    border-color: #9EAEC3;
}

.service-card.is-disabled .service-card__link-area {
    pointer-events: none;
}

.service-card__content {
    display: flex;
    flex-direction: column;
}

span.service-card__name {
    font-size: 2rem;
    line-height: 1;
    color: #747781;
    letter-spacing: -0.5px;
}

.service-card__abbr {
    font-size: 4.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.service-card__bottom {
    margin-top: 2.4rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 1.6rem;
}

.service-card__link {
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 50%;
    box-shadow: 2px 2px 5px #cdcdcd;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-card__link img {
    width: 2rem;
    height: 2rem;
}

.service-card__image {
    max-width: 13rem;
    max-height: 11rem;
    object-fit: contain;
}

.tone-blue {
    background: #ebf3ff;
    box-shadow: 0px 3px 8px #c2d1e7;
}

.service-card.tone-blue {
    --toggle-checked-bg: #6f95df;
}

.tone-green {
    background: #e6f2e9;
    box-shadow: 0px 3px 8px #c0d5c5;
}

.service-card.tone-green {
    --toggle-checked-bg: #78b99c;
}

.tone-gray {
    background: #eef4f7;
    box-shadow: 0px 3px 8px #ccd4dd;
}

.service-card.tone-gray {
    --toggle-checked-bg: #b0bccd;
}


.tone-purple {
    background: #ece8f8;
    box-shadow: 0px 3px 8px #cabbf5;
}

.service-card.tone-purple {
    --toggle-checked-bg: #9b7add;
}

.tone-beige {
    background: #f5ead7;
    box-shadow: 0px 3px 8px #f1d5a2;
}

.service-card.tone-beige {
    --toggle-checked-bg: #f3d08f;
}

.site-footer {
    margin-top: auto;
    padding: 1.5rem 0;
    background: #f6f8ff;
    border-top: 1px solid #e3e7ef;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 3.2rem;
}

.footer-logo {
    width: auto;
    height: auto;
}

.footer-address {
    font-size: 1.4rem;
    color: #7a8599;
    font-style: normal;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.footer-links a {
    font-size: 1.4rem;
    color: #7a8599;
}

/* 팝업 */
.page-arrow:disabled {
    opacity: 0.4;
    cursor: default;
}

.modal-open {
    overflow: hidden;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.site-modal {
    width: 100%;
    max-width: 72rem;
    max-height: 80vh;
    overflow: hidden;
    border-radius: 2rem;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.site-modal__header {
    height: 7.2rem;
    padding: 0 2.4rem;
    border-bottom: 1px solid #e3e7ef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-modal__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1d2f57;
}

.site-modal__close {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #44526c;
}

.site-modal__body {
    padding: 2.4rem;
    max-height: calc(80vh - 7.2rem);
    overflow-y: auto;
}

.site-modal__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.site-modal__item {
    list-style: none;
}

.site-modal__link {
    min-height: 6.4rem;
    padding: 0 1.8rem;
    border: 1px solid #e3e7ef;
    border-radius: 1.2rem;
    background: #f8faff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.site-modal__name {
    font-size: 1.6rem;
    font-weight: 600;
    color: #22324e;
    line-height: 1.4;
    word-break: keep-all;
}

.site-modal__icon {
    flex-shrink: 0;
    font-size: 1.8rem;
    color: #1458c7;
}

/* login page */
.login-main {
    padding: 7rem 0 8rem;
}

.login-section {
    max-width: 78rem;
    margin: 0 auto;
}

.login-page-title {
    margin-bottom: 3.2rem;
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    text-align: center;
    letter-spacing: -0.03em;
}

.login-box {
    background: #ffffff;
    border: 1px solid #e3e7ef;
    border-radius: 2rem;
    overflow: hidden;
}

.login-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid #d8deea;
    background: #f8faff;
}

.login-tab {
    height: 6.4rem;
    border-bottom: 2px solid transparent;
    font-size: 1.8rem;
    font-weight: 700;
    color: #53627c;
    background: #f8faff;
    white-space: nowrap;
}

.login-panel {
    padding: 4.8rem 4rem;
}

.login-welcome {
    margin-bottom: 3.2rem;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.5;
    color: #23324a;
    text-align: center;
    word-break: keep-all;
}

.integrated-login-box {
    padding: 4rem 3.2rem;
    border-radius: 1.6rem;
    background: #f8faff;
    text-align: center;
}

.integrated-login-brand {
    display: flex;
    justify-content: center;
    align-items: center;
}

.integrated-login-brand__logo {
    width: auto;
    max-width: 24rem;
    height: 6.8rem;
    object-fit: contain;
}

.btn-integrated-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28rem;
    max-width: 100%;
    height: 5.8rem;
    margin-top: 2.8rem;
    padding: 0 2.4rem;
    border-radius: 999px;
    background: #213a8f;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    word-break: keep-all;
}

.integrated-login-desc {
    margin-top: 2.4rem;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #4f5f79;
    word-break: keep-all;
}

.integrated-login-notice {
    margin-top: 0.8rem;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #d43d3d;
    font-weight: 600;
    word-break: keep-all;
}

.login-info-box {
    margin-top: 2.4rem;
    padding: 2.4rem;
    border-radius: 1.6rem;
    background: #f3f5f8;
}

.login-info-box__title {
    display: block;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    color: #222;
    word-break: keep-all;
}

.login-info-box__text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #5f6b7c;
    word-break: keep-all;
}

.id-login-form {
    max-width: 48rem;
    margin: 0 auto;
}

.form-group+.form-group {
    margin-top: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #23324a;
}

.form-input {
    width: 100%;
    height: 5.2rem;
    padding: 0 1.6rem;
    border: 1px solid #cfd7e6;
    border-radius: 0.8rem;
    background: #ffffff;
    font-size: 1.6rem;
    color: #222;
}

.form-input::placeholder {
    color: #98a2b3;
}

.btn-login-submit {
    width: 100%;
    height: 5.8rem;
    margin-top: 2.4rem;
    border-radius: 1.2rem;
    background: #1458c7;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.id-login-links {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    flex-wrap: wrap;
}

.id-login-links a {
    position: relative;
    font-size: 1.4rem;
    color: #66748b;
    white-space: nowrap;
}

.id-login-links a+a::before {
    content: "";
    position: absolute;
    left: -0.9rem;
    top: 50%;
    width: 1px;
    height: 1.2rem;
    background: #cfd7e6;
    transform: translateY(-50%);
}

/* -----------------회원가입------------------------ */
.page-signup .hero-section {
    padding: 6.4rem 0 8rem;
    background: linear-gradient(180deg, #f9fbff 0%, #ffffff 24%);
}

.page-signup .container {
    position: relative;
}

.title {
    text-align: center;
    font-size: 4rem;
    line-height: 1.25;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.6rem;
    letter-spacing: -0.04em;
}

.title .point {
    color: #1458c7;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    font-size: 2.4rem;
    font-weight: 800;
    color: #1d2f57;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.section-line {
    height: 1px;
    background: #e8edf5;
    margin-bottom: 2.8rem;
}

.txt-required {
    font-size: 1.4rem;
    font-weight: 500;
    color: #7a8599;
}

.content-box {
    padding: 3.2rem;
    border: 1px solid #e3eaf4;
    border-radius: 2rem;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

/* step */
.step-box {
    border: 1px solid #e4eaf3;
    border-radius: 2rem;
    padding: 3.6rem 4rem 3rem;
    margin-bottom: 4rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.step-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.2rem;
    --step-line-side: 5.2rem;
    --step-line-top: 2rem;
}

.step-track::before {
    content: "";
    position: absolute;
    top: var(--step-line-top, 2rem);
    left: var(--step-line-left, 5.2rem);
    width: var(--step-line-width, calc(100% - 10.4rem));
    height: 3px;
    background: #d7deea;
    z-index: 1;
}

.step-progress {
    position: absolute;
    top: var(--step-line-top, 2rem);
    left: 0;
    width: 0;
    height: 3px;
    background: #1458c7;
    z-index: 2;
    transition: width 0.25s ease;
}

.step {
    position: relative;
    z-index: 3;
    width: 20%;
    text-align: center;
}

.step-circle {
    width: 4.2rem;
    height: 4.2rem;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
    border: 2px solid #c3cedf;
    background: #ffffff;
    color: #7a879b;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
}

.step-top {
    font-size: 1.3rem;
    color: #7a879b;
    margin-bottom: 0.6rem;
}

.step-label {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.5;
    color: #1f2937;
    word-break: keep-all;
}

.step.active .step-circle {
    background: #1458c7;
    border-color: #1458c7;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(20, 88, 199, 0.08);
}

.step.done .step-circle {
    background: #7c8aa5;
    border-color: #7c8aa5;
    color: #ffffff;
}

/* panel */
.panel {
    display: none;
}

.panel.active {
    display: block;
}

/* step1 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    margin-bottom: 3.8rem;
}

.select-card {
    min-height: 13rem;
    border: 1px solid #e3eaf4;
    border-radius: 1.8rem;
    background: #f8fbff;
    padding: 2.4rem;
    display: flex;
    align-items: center;
    gap: 1.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: inset 0 0 0 1px transparent;
}

.select-card:hover {
    border-color: #bfd3f6;
    background: #fbfdff;
    transform: translateY(-1px);
}

.select-card.active {
    border-color: #1458c7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(20, 88, 199, 0.06);
}

.card-icon {
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 1.6rem;
    background: #e9f1ff;
    color: #1458c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.card-text strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: #1d2f57;
}

.card-text span {
    display: block;
    font-size: 1.4rem;
    color: #6b7890;
    line-height: 1.6;
}

/* step2 약관 */
.agree-page {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.agree-all-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.4rem;
    border: 1px solid #dbe6f7;
    border-radius: 1.6rem;
    background: #f7faff;
}

.agree-all-copy strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1d2f57;
}

.agree-all-copy span {
    display: block;
    margin-top: 0.4rem;
    font-size: 1.4rem;
    color: #6b7890;
    line-height: 1.6;
}

.agree-all-box label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #22324e;
    flex-shrink: 0;
}

.terms-card {
    border: 1px solid #e4eaf3;
    border-radius: 1.8rem;
    background: #ffffff;
    overflow: hidden;
    margin-bottom: 2rem;
}

.terms-card:last-child {
    margin-bottom: 0;
}

.terms-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    padding: 2rem 2.4rem;
    background: #fcfdff;
    border-bottom: 1px solid #edf2f8;
}

.terms-head strong {
    font-size: 1.7rem;
    color: #1f2f49;
    line-height: 1.5;
}

.req {
    color: #1458c7;
    font-weight: 700;
}

.terms-link {
    font-size: 1.4rem;
    color: #1458c7;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.terms-body {
    margin: 2rem 2.4rem;
    padding: 1.8rem 2rem;
    height: 16rem;
    overflow-y: auto;
    border-radius: 1.2rem;
    background: #f6f8fb;
    font-size: 1.4rem;
    line-height: 1.75;
    color: #5a667c;
    white-space: pre-wrap;
}

.terms-foot {
    display: flex;
    gap: 2rem;
    padding: 1.8rem 2.4rem 2.2rem;
    border-top: 1px solid #edf2f8;
}

.terms-foot label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    color: #24344e;
    font-weight: 600;
}


/* step2 본인인증 */
.verify-section {
    margin-top: 3.2rem;
}


.verify-card-wrap {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.verify-card {
    flex: 1;
    padding: 2.8rem 2.4rem;
    border: 1px solid #e3eaf4;
    border-radius: 1.8rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}

.verify-card:hover {
    border-color: #bfd3f6;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(20, 88, 199, 0.08);
}

.verify-card__title {
    margin-bottom: 1.4rem;
    font-size: 1.7rem;
    font-weight: 800;
    color: #1d2f57;
}

.verify-card__icon {
    margin-bottom: 1.4rem;
    display: flex;
    justify-content: center;
}


.verify-card__icon img {
    width: 72px;
    height: 72px;
    display: block;
}

.verify-card__desc {
    margin-bottom: 2rem;
    font-size: 1.4rem;
    line-height: 1.7;
    color: #6b7890;
}

.verify-btn {
    min-width: 16rem;
}

.verify-guide {
    margin: 0;
    padding: 1.6rem 2rem;
    border: 1px solid #e4eaf3;
    border-radius: 1.2rem;
    background: #f8fbff;
    list-style: disc;
    list-style-position: inside;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #6b7890;
}

/* step3 입력 */
.join-form-table {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.join-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.join-row.two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
}

.join-col,
.join-td {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.join-th {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22324e;
    line-height: 1.5;
}

.join-th .req {
    margin-left: 0.2rem;
}

.inline-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* 모바일에서 공간 부족 시 줄바꿈 */
    gap: 1rem;     /* 입력창, 버튼, 메시지 사이 간격 */
}

.input-basic {
    width: 100%;
    height: 5.2rem;
    padding: 0 1.6rem;
    border: 1px solid #cfd9e8;
    border-radius: 1.2rem;
    background: #fff;
    font-size: 1.5rem;
    color: #1f2937;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-basic::placeholder {
    color: #98a2b3;
}

.input-basic:focus {
    outline: none;
    border-color: #1458c7;
    box-shadow: 0 0 0 4px rgba(20, 88, 199, 0.08);
}

.input-id {
    flex: 1;
}

.input-select {
    appearance: none;
    background-image:
            linear-gradient(45deg, transparent 50%, #64748b 50%),
            linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position:
            calc(100% - 20px) calc(50% - 2px),
            calc(100% - 14px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 4.4rem;
}

.form-hint {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #7a879b;
}

.gender-box {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.gender-box label {
    min-width: 8.8rem;
    height: 5.2rem;
    padding: 0 1.8rem;
    border: 1px solid #d6ddeb;
    border-radius: 1.2rem;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

.email-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 18rem;
    gap: 1rem;
    align-items: center;
}

.email-group span {
    font-size: 1.6rem;
    font-weight: 700;
    color: #64748b;
}

/* step4 연계 서비스 선택 */
.step-desc-box {
    margin-bottom: 2rem;
}

.step-desc-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1d2f57;
    margin-bottom: 0.6rem;
    line-height: 1.5;
    word-break: keep-all;
}

.step-desc-text {
    font-size: 1.4rem;
    line-height: 1.7;
    color: #66748b;
    word-break: keep-all;
}

.site-select-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.selected-sites-box {
    padding: 2rem 2.4rem;
    border: 1px solid #e3eaf4;
    border-radius: 1.6rem;
    background: #f8fbff;
}

.selected-sites-head strong {
    font-size: 1.6rem;
    color: #1d2f57;
    line-height: 1.5;
}

.selected-sites-head strong span {
    color: #1458c7;
}

.selected-sites-list {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.selected-site-empty {
    font-size: 1.4rem;
    color: #7a8599;
}

.selected-site-tag {
    display: inline-flex;
    align-items: center;
    height: 3.6rem;
    padding: 0 1.4rem;
    border-radius: 999px;
    background: #eaf3ff;
    color: #1458c7;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.site-table {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    max-height: 42rem;
    overflow-y: auto;
    padding-right: 0.4rem;
}

.site-head {
    display: none;
}

.site-row {
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr) 12rem;
    align-items: center;
    gap: 1.8rem;
    padding: 2rem 2.4rem;
    border: 1px solid #e2e8f2;
    border-radius: 1.8rem;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.site-row:hover {
    border-color: #bfd3f6;
    background: #fbfdff;
}

.site-row:has(.site-check:checked) {
    border-color: #1458c7;
    background: #f7faff;
    box-shadow: 0 0 0 3px rgba(20, 88, 199, 0.06);
}

.site-check-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-check {
    width: 1.8rem;
    height: 1.8rem;
}


.site-info {
    min-width: 0;
}

.site-name-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.site-name {
    font-size: 1.7rem;
    font-weight: 800;
    color: #1f2f49;
    line-height: 1.5;
}

.site-desc {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #66748b;
    word-break: keep-all;
}

.site-side {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.site-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8.8rem;
    height: 3.4rem;
    padding: 0 1.2rem;
    border-radius: 999px;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    background: #eef4ff;
    color: #1458c7;
}

.site-guide-text {
    font-size: 1.4rem;
    line-height: 1.7;
    color: #7a8599;
    word-break: keep-all;
}

.site-register-area {
    display: none;
}

/* step5 완료 */
.complete-wrap {
    max-width: 72rem;
    margin: 0 auto;
    text-align: center;
}

.complete-icon {
    width: 8.8rem;
    height: 8.8rem;
    margin: 0 auto 2.4rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #1f5fd6 0%, #1458c7 100%);
    color: #fff;
    font-size: 3.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(20, 88, 199, 0.18);
}

.complete-wrap h3 {
    margin: 0;
    font-size: 3rem;
    font-weight: 800;
    color: #1d2f57;
    line-height: 1.4;
    word-break: keep-all;
}

.complete-wrap p {
    margin: 1.2rem 0 0;
    font-size: 1.6rem;
    line-height: 1.7;
    color: #66748b;
}

.complete-info,
.complete-site-box {
    margin-top: 2.8rem;
    padding: 2.4rem 2.8rem;
    border: 1px solid #e4eaf3;
    border-radius: 1.8rem;
    background: #ffffff;
    text-align: left;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.4rem 0;
}

.info-row + .info-row {
    border-top: 1px solid #eef2f7;
}

.info-label {
    font-size: 1.5rem;
    color: #6b7280;
    font-weight: 600;
}

.info-value {
    font-size: 1.6rem;
    color: #1f2937;
    font-weight: 700;
    text-align: right;
}

.complete-site-box strong {
    display: block;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    color: #22324e;
}

.complete-site-box ul {
    margin: 0;
    padding-left: 1.8rem;
}

.complete-site-box li {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #475569;
}

/* 버튼 */
.btn-area {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3.2rem;
}

.btn-outline {
    background: #fff;
    border: 1px solid #a9c0f5;
    color: #1458c7;
}

.btn-outline:hover {
    background: #f7faff;
}

.btn-sm {
    min-width: 12rem;
    height: 5.2rem;
    border-radius: 1.2rem;
}

/* 공통 폼 */
.form-box {
    width: 52rem;
    margin: 0 auto 3.8rem;
}

.form-row {
    margin-bottom: 1.6rem;
}

.form-row label {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.form-row input {
    width: 100%;
    height: 4.8rem;
    border: 1px solid #d9d9d9;
    border-radius: 0.8rem;
    padding: 0 1.4rem;
    font-size: 1.4rem;
    outline: none;
}

.form-row input:focus {
    border-color: #1458c7;
}

/* 기존 완료 스타일 호환 */
.complete-box {
    text-align: center;
    padding: 5rem 0 2rem;
}

.complete-box h3 {
    font-size: 2.8rem;
    color: #1458c7;
    margin: 0 0 1rem;
}

.complete-box p {
    margin: 0;
    font-size: 1.5rem;
    color: #555;
}

/* -----------------아이디 찾기------------------------ */
.find-id-main {
    padding: 7rem 0 8rem;
}

.find-id-section {
    max-width: 78rem;
    margin: 0 auto;
}

.find-id-page-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    text-align: center;
    letter-spacing: -0.03em;
}

.find-id-page-desc {
    margin-top: 1.2rem;
    font-size: 1.7rem;
    line-height: 1.7;
    color: #66748b;
    text-align: center;
    word-break: keep-all;
}

.find-id-box {
    margin-top: 3.2rem;
    border: 1px solid #e3e7ef;
    border-radius: 2rem;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.find-id-box__head {
    padding: 2rem 2.8rem;
    border-bottom: 1px solid #e8edf5;
    background: #fcfdff;
}

.find-id-box__head strong {
    font-size: 1.7rem;
    font-weight: 800;
    color: #1d2f57;
}

.find-id-box__body {
    padding: 4.8rem 3.2rem 3.2rem;
}

.auth-card {
    max-width: 28rem;
    margin: 0 auto;
    padding: 2.8rem 2.4rem;
    border: 1px solid #dfe6f2;
    border-radius: 1.8rem;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    text-align: center;
}

.auth-card__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1d2f57;
    margin-bottom: 2rem;
}

.auth-card__icon {
    height: 10rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-auth-start {
    width: 100%;
    height: 5.2rem;
    border-radius: 1.2rem;
    background: #1458c7;
    border: 1px solid #1458c7;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(20, 88, 199, 0.16);
    cursor: pointer;
}

.btn-auth-start:hover {
    background: #0f4cae;
    border-color: #0f4cae;
}

.auth-guide-text {
    margin-top: 2.4rem;
    font-size: 1.4rem;
    line-height: 1.7;
    color: #7a8599;
    text-align: center;
    word-break: keep-all;
}

.find-id-btn-area {
    margin-top: 2.4rem;
    display: flex;
    justify-content: center;
}



/* -----------------아이디 찾기 결과------------------------ */
.find-id-result-main {
    padding: 7rem 0 8rem;
}

.find-id-result-section {
    max-width: 78rem;
    margin: 0 auto;
}

.find-id-result-page-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    text-align: center;
    letter-spacing: -0.03em;
}

.find-id-result-page-desc {
    margin-top: 1.2rem;
    font-size: 1.7rem;
    line-height: 1.7;
    color: #66748b;
    text-align: center;
    word-break: keep-all;
}

.find-id-result-box {
    margin-top: 3.2rem;
    border: 1px solid #e3e7ef;
    border-radius: 2rem;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.find-id-result-box__head {
    padding: 2rem 2.8rem;
    border-bottom: 1px solid #e8edf5;
    background: #fcfdff;
}

.find-id-result-box__head strong {
    font-size: 1.7rem;
    font-weight: 800;
    color: #1d2f57;
}

.find-id-result-box__body {
    padding: 3.2rem;
}

.find-id-result-card {
    padding: 3.2rem 2.4rem;
    border: 1px solid #e8edf5;
    border-radius: 1.8rem;
    background: #f8fbff;
    text-align: center;
}

.find-id-result-item + .find-id-result-item {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e4ebf5;
}

.find-id-result-label {
    display: block;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #7a8599;
}

.find-id-result-id {
    display: block;
    margin-top: 0.8rem;
    font-size: 3rem;
    line-height: 1.3;
    font-weight: 800;
    color: #1458c7;
    letter-spacing: -0.02em;
}

.find-id-result-name {
    display: block;
    margin-top: 0.8rem;
    font-size: 1.7rem;
    line-height: 1.5;
    font-weight: 700;
    color: #1f2937;
}

.find-id-result-guide {
    margin-top: 2.4rem;
    font-size: 1.4rem;
    line-height: 1.7;
    color: #7a8599;
    text-align: center;
    word-break: keep-all;
}

.find-id-result-btn-area {
    margin-top: 2.4rem;
    display: flex;
    justify-content: center;
}




/* -----------------비밀번호 찾기------------------------ */
.find-password-main {
    padding: 7rem 0 8rem;
}

.find-password-section {
    max-width: 78rem;
    margin: 0 auto;
}

.find-password-page-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    text-align: center;
    letter-spacing: -0.03em;
}

.find-password-page-desc {
    margin-top: 1.2rem;
    font-size: 1.7rem;
    line-height: 1.7;
    color: #66748b;
    text-align: center;
    word-break: keep-all;
}

.find-password-box {
    margin-top: 3.2rem;
    border: 1px solid #e3e7ef;
    border-radius: 2rem;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.find-password-box__body {
    padding: 3.2rem;
}

.find-password-form {
    max-width: 56rem;
    margin: 0 auto;
}

.find-password-auth-box {
    margin-top: 3.2rem;
    padding: 2.8rem 2.4rem;
    border: 1px solid #e8edf5;
    border-radius: 1.8rem;
    background: #fcfdff;
}

.find-password-auth-title {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1d2f57;
    text-align: left;
}

.find-password-guide-list {
    margin: 2.4rem 0 0;
    padding-left: 1.8rem;
}

.find-password-guide-list li {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #7a8599;
    word-break: keep-all;
}

.find-password-btn-area {
    margin-top: 2.4rem;
    display: flex;
    justify-content: center;
}

/* -----------------비밀번호 재설정------------------------ */
.reset-password-main {
    padding: 7rem 0 8rem;
}

.reset-password-section {
    max-width: 78rem;
    margin: 0 auto;
}

.reset-password-page-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    text-align: center;
    letter-spacing: -0.03em;
}

.reset-password-page-desc {
    margin-top: 1.2rem;
    font-size: 1.7rem;
    line-height: 1.7;
    color: #66748b;
    text-align: center;
    word-break: keep-all;
}

.reset-password-box {
    margin-top: 3.2rem;
    border: 1px solid #e3e7ef;
    border-radius: 2rem;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.reset-password-form {
    padding: 3.2rem;
}

.reset-password-table {
    border-top: 1px solid #e8edf5;
    border-bottom: 1px solid #e8edf5;
}

.reset-password-row {
    display: grid;
    grid-template-columns: 18rem minmax(0, 1fr);
    border-bottom: 1px solid #eef2f7;
}

.reset-password-row:last-child {
    border-bottom: none;
}

.reset-password-th {
    padding: 1.8rem 2rem;
    background: #f8fbff;
    font-size: 1.5rem;
    font-weight: 700;
    color: #22324e;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.reset-password-td {
    padding: 1.6rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reset-password-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.6;
}

.reset-password-hint {
    margin-top: 0.8rem;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #7a8599;
    word-break: keep-all;
}

.reset-password-btn-area {
    margin-top: 2.4rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.container .container-section {
    margin-top: 6rem;
}

/* -----------------반응형------------------------ */
@media (max-width: 1920px) {
    .container {
        max-width: 1120px;
    }

    .site-header {
        height: 5.6rem;
    }

    .logo img {
        height: 2.5rem;
    }

    .header-actions {
        gap: 2.4rem;
    }

    .header-link {
        font-size: 1.5rem;
    }

    .header-link img {
        width: 1.8rem;
        height: 1.8rem;
    }

    .hero-section {
        padding: 2.4rem 0 2rem;
    }

    .hero-copy {
        max-width: 84rem;
    }

    .hero-subtitle {
        font-size: 3rem;
        letter-spacing: -1.4px;
    }

    .hero-title {
        font-size: 3.8rem;
        line-height: 1.16;
    }

    .hero-desc {
        margin-top: 0.8rem;
        font-size: 1.55rem;
        letter-spacing: -0.04em;
    }

    .service-toolbar {
        margin-top: 0.4rem;
    }

    .service-page {
        padding: 0.35rem;
    }

    #pageIndicator {
        min-width: 3.6rem;
        font-size: 1.25rem;
    }

    .page-arrow {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.9rem;
    }

    .service-grid {
        margin-top: 1.6rem;
        gap: 1.6rem;
    }

    .service-card {
        min-height: 20.8rem;
        padding: 2rem;

    }

    .page-main.page-main-guest {
        height: fit-content;
    }

    span.service-card__name {
        font-size: 1.55rem;
        line-height: 1.25;
    }

    .service-card__abbr {
        font-size: 3.2rem;
        line-height: 1.12;
    }

    .service-card__bottom {
        margin-top: 1.6rem;
    }

    .service-card__image {
        max-width: 8.8rem;
        max-height: 6.8rem;
    }

    .service-card__toggle {
        left: 1.6rem;
        bottom: 1.4rem;
        width: 4.8rem;
        height: 4.8rem;
        font-size: 2.6rem;
    }

    .service-card__toggle.is-checked {
        font-size: 2.4rem;
    }

    .site-footer {
        padding: 1.6rem 0;
    }

    .footer-left {
        gap: 2.4rem;
    }

    .footer-logo {
        height: 2rem;
    }

    .footer-address,
    .footer-links a {
        font-size: 1.3rem;
    }
}

@media (max-width: 1200px) {
    .container .container-section {
        margin-top: 2rem;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .title {
        font-size: 3.6rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 1024px) {
    .login-main {
        padding: 5.6rem 0 6.4rem;
    }

    .login-page-title {
        font-size: 4rem;
        margin-bottom: 2.8rem;
    }

    .login-panel {
        padding: 4rem 3.2rem;
    }

    .login-welcome {
        font-size: 1.8rem;
    }

    .integrated-login-box {
        padding: 3.2rem 2.4rem;
    }

    .btn-integrated-login {
        min-width: 24rem;
    }

    .hero-section {
        padding: 5rem 0 3rem;
    }

    .hero-subtitle,
    .hero-title {
        font-size: 4rem;
    }

    .hero-desc {
        font-size: 1.8rem;
    }

    .service-card__title {
        font-size: 2.8rem;
    }

    .site-footer {
        margin-top: auto;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-signup .hero-section {
        padding: 5.2rem 0 7rem;
    }


    .step-track {
        --step-line-side: 4rem;
    }


    .step-box {
        padding: 3rem 2.8rem 2.6rem;
    }

    .join-row.two-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .email-group {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .email-group .input-select {
        grid-column: 1 / -1;
    }

    .site-row {
        grid-template-columns: 2.8rem minmax(0, 1fr) 10rem;
        gap: 1.6rem;
    }


    /* 아이디찾기 */
    .find-id-main {
        padding: 5.6rem 0 6.4rem;
    }

    .find-id-page-title {
        font-size: 4rem;
    }


    /* 아이디찾기 결과 */
    .find-id-result-main {
        padding: 5.6rem 0 6.4rem;
    }


    .find-id-result-page-title {
        font-size: 4rem;
    }


    /* 비밀번호찾기 */
    .find-password-main {
        padding: 5.6rem 0 6.4rem;
    }

    .find-password-page-title {
        font-size: 4rem;
    }

    .reset-password-main {
        padding: 5.6rem 0 6.4rem;
    }

    /* 비밀번호 재설정 */
    .reset-password-page-title {
        font-size: 4rem;
    }
}

@media (max-width: 820px) {
    .hero-subtitle {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-desc {
        margin-top: 0.5rem;
    }

    .login-main {
        padding: 5.2rem 0 6rem;
    }

    .login-page-title {
        font-size: 3.4rem;
        margin-bottom: 2.4rem;
    }

    .login-box {
        border-radius: 1.6rem;
    }

    .login-tab {
        height: 5.8rem;
        font-size: 1.6rem;
    }

    .login-panel {
        padding: 3.2rem 2.4rem;
    }

    .login-welcome {
        margin-bottom: 2.4rem;
        font-size: 1.7rem;
    }

    .page-main-guest .hero-section {
        padding: 3rem 0 1.6rem;
    }
    .btn-integrated-login {
        width: 100%;
        min-width: auto;
        height: 5.4rem;
        margin-top: 2.4rem;
        font-size: 1.7rem;
    }

    .integrated-login-desc {
        font-size: 1.5rem;
    }

    .integrated-login-notice {
        font-size: 1.4rem;
    }

    .login-info-box {
        padding: 2rem;
        border-radius: 1.4rem;
    }

    .login-info-box__title {
        font-size: 1.5rem;
    }

    .login-info-box__text {
        font-size: 1.4rem;
    }

    .id-login-form {
        max-width: 100%;
    }

    .form-input {
        height: 5.2rem;
        font-size: 1.5rem;
    }

    .btn-login-submit {
        height: 5.4rem;
        font-size: 1.7rem;
    }

    .id-login-links {
        gap: 1.2rem;
    }

    .id-login-links a {
        font-size: 1.35rem;
    }

    .title {
        font-size: 3.2rem;
        margin-bottom: 2.8rem;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .content-box {
        padding: 2.4rem 2rem;
        border-radius: 1.6rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .form-box {
        width: 100%;
    }

    .step-box {
        padding: 2.4rem 1.6rem 2rem;
        border-radius: 1.6rem;
    }

    .step-track {
        gap: 0.8rem;
        --step-line-side: 2.4rem;
    }

    .step-circle {
        width: 3.6rem;
        height: 3.6rem;
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    .step-top {
        font-size: 1.1rem;
    }

    .step-label {
        line-height: 1.4;
    }

    .agree-all-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .terms-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .terms-foot {
        flex-wrap: wrap;
        gap: 1.2rem 2rem;
    }

    .inline-group {
        flex-direction: column;
    }

    .btn-sm {
        width: 100%;
    }

    .email-group {
        grid-template-columns: 1fr;
    }

    .email-group span {
        display: none;
    }

    .site-row {
        grid-template-columns: 2.4rem 1fr;
        align-items: start;
    }

    .site-name,
    .site-desc,
    .site-status {
        grid-column: 2;
    }

    .site-status {
        justify-self: start;
        margin-top: 0.4rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .info-value {
        text-align: left;
    }

    .btn-area {
        margin-top: 2.4rem;
    }

    .step-desc-title {
        font-size: 1.6rem;
    }

    .step-desc-text,
    .site-guide-text,
    .selected-site-empty {
        font-size: 1.35rem;
    }

    .selected-sites-box {
        padding: 1.8rem 2rem;
    }

    .site-search-box {
        justify-content: stretch;
    }

    .site-search-input {
        max-width: 100%;
    }

    .site-row {
        grid-template-columns: 2.4rem 1fr;
        align-items: start;
        padding: 1.8rem 2rem;
    }

    .site-side {
        grid-column: 2;
        justify-content: flex-start;
        margin-top: 0.6rem;
    }


    /* 아이디찾기 */
    .find-id-main {
        padding: 4.8rem 0 5.6rem;
    }

    .find-id-page-title {
        font-size: 3.4rem;
    }

    .find-id-page-desc {
        font-size: 1.6rem;
    }

    .find-id-box {
        border-radius: 1.6rem;
    }

    .find-id-box__head {
        padding: 1.8rem 2rem;
    }

    .find-id-box__body {
        padding: 3.2rem 2.4rem 2.8rem;
    }

    .auth-card {
        max-width: 100%;
    }


    /* 아이디찾기 결과 */
    .find-id-result-main {
        padding: 4.8rem 0 5.6rem;
    }

    .find-id-result-page-title {
        font-size: 3.4rem;
    }

    .find-id-result-page-desc {
        font-size: 1.6rem;
    }

    .find-id-result-box {
        border-radius: 1.6rem;
    }

    .find-id-result-box__head {
        padding: 1.8rem 2rem;
    }

    .find-id-result-box__body {
        padding: 2.4rem;
    }

    .find-id-result-card {
        padding: 2.8rem 2rem;
    }

    .find-id-result-id {
        font-size: 2.6rem;
    }


    /* 비밀번호찿기 */
    .find-password-main {
        padding: 4.8rem 0 5.6rem;
    }

    .find-password-page-title {
        font-size: 3.4rem;
    }

    .find-password-page-desc {
        font-size: 1.6rem;
    }

    .find-password-box {
        border-radius: 1.6rem;
    }

    .find-password-box__body {
        padding: 2.4rem;
    }

    .find-password-auth-box {
        margin-top: 2.8rem;
        padding: 2.4rem 2rem;
        border-radius: 1.6rem;
    }

    .find-password-auth-title {
        font-size: 1.7rem;
    }

    /* 비밀번호 재설정 */
    .reset-password-main {
        padding: 4.8rem 0 5.6rem;
    }

    .reset-password-page-title {
        font-size: 3.4rem;
    }

    .reset-password-page-desc {
        font-size: 1.6rem;
    }

    .reset-password-box {
        border-radius: 1.6rem;
    }

    .reset-password-form {
        padding: 2.4rem;
    }

    .reset-password-row {
        grid-template-columns: 14rem minmax(0, 1fr);
    }

    .reset-password-th,
    .reset-password-td {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    .service-card {
        min-height: auto;
        height: auto;
        padding: 2rem;
    }

    .service-card__link-area {
        flex-direction: column-reverse;
        justify-content: start;
    }

    .service-card__content {
        flex-direction: column-reverse;
    }

    .service-card__bottom {
        margin-top: 0;
        justify-content: start;
    }

    .service-card__toggle {
        right: 22px;
        left: auto;
    }

    .service-card__image {
        max-width: 10rem;
        max-height: 50px;
    }

    .service-card__abbr {
        font-size: 4rem;
    }


    span.service-card__name {
        font-size: 1.7rem;
        letter-spacing: 0px;
    }

    .footer-inner {
        gap: 5px;
    }

}

@media (max-width: 640px) {
    .login-main {
        padding: 3.6rem 0 4.8rem;
    }

    .login-page-title {
        font-size: 2.8rem;
        margin-bottom: 2rem;
    }

    .login-box {
        border-radius: 1.4rem;
    }

    .login-tabs {
        grid-template-columns: 1fr 1fr;
    }

    .login-tab {
        height: 5.2rem;
        font-size: 1.45rem;
        padding: 0 1rem;
    }

    .login-panel {
        padding: 2.4rem 1.8rem;
    }

    .login-welcome {
        font-size: 1.5rem;
        line-height: 1.6;
    }

    .integrated-login-box {
        padding: 2.4rem 1.8rem;
        border-radius: 1.4rem;
    }

    .integrated-login-brand__logo {
        max-width: 18rem;
        height: 5.2rem;
    }

    .btn-integrated-login {
        height: 5rem;
        margin-top: 2rem;
        padding: 0 1.6rem;
        font-size: 1.55rem;
    }

    .integrated-login-desc,
    .integrated-login-notice,
    .login-info-box__text {
        word-break: keep-all;
    }

    .login-info-box {
        margin-top: 2rem;
        padding: 1.8rem 1.6rem;
    }

    .login-info-box__title {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .login-info-box__text {
        font-size: 1.3rem;
        line-height: 1.7;
    }

    .form-group + .form-group {
        margin-top: 1.6rem;
    }

    .form-label {
        font-size: 1.4rem;
    }

    .form-row input {
        height: 4.8rem;
        padding: 0 1.4rem;
        font-size: 1.4rem;
    }

    .btn-login-submit {
        height: 5rem;
        margin-top: 2rem;
        border-radius: 1rem;
        font-size: 1.6rem;
    }

    .id-login-links {
        margin-top: 1.6rem;
        gap: 0.8rem 1.2rem;
    }

    .id-login-links a {
        font-size: 1.3rem;
    }

    .id-login-links a+a::before {
        left: -0.65rem;
        height: 1rem;
    }

    .logo img {
        height: 3.2rem;
    }

    .site-header {
        height: auto;
        padding: 1.6rem 0;
    }

    .header-actions {
        gap: 1.6rem;
    }

    .header-link {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        min-width: 5.6rem;
        font-size: 1.2rem;
        line-height: 1.2;
        text-align: center;
    }

    .header-link img {
        width: 1.6rem;
        height: 1.6rem;
    }

    .header-link__text {
        display: block;
        white-space: nowrap;
    }

    .hero-section {
        padding: 2rem 0 1rem;
    }

    .hero-subtitle
    {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-desc {
        font-size: 1.6rem;
    }

    .service-toolbar {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-bottom: 0rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
        gap: 1.5rem;
    }

    .service-card {
        height: auto;
        padding: 2rem 1rem;
    }

    .service-card__title {
        font-size: 2rem;
    }

    .service-card__image {
        width: auto;
        height: 10rem;
    }

    .service-card__toggle {
        bottom: 22px;
    }

    .service-card__link-area {
        flex-direction: row-reverse;
        justify-content: flex-end;
        flex: inherit;
    }

    .footer-left,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-modal {
        max-width: 100%;
        border-radius: 1.6rem;
    }

    .site-modal__header {
        height: 6.4rem;
        padding: 0 1.6rem;
    }

    .site-modal__title {
        font-size: 1.8rem;
    }

    .site-modal__body {
        padding: 1.6rem;
    }

    .site-modal__list {
        grid-template-columns: 1fr;
    }

    .site-modal__link {
        min-height: 5.8rem;
        padding: 0 1.4rem;
    }

    .site-modal__name {
        font-size: 1.4rem;
    }

    .page-signup .hero-section {
        padding: 3.2rem 0 5.6rem;
    }

    .title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .content-box {
        padding: 2rem 1.6rem;
    }

    .select-card {
        min-height: 11.2rem;
        padding: 2rem 1.8rem;
    }

    .card-icon {
        width: 4.8rem;
        height: 4.8rem;
        border-radius: 1.4rem;
        font-size: 2rem;
    }

    .card-text strong {
        font-size: 1.7rem;
    }

    .card-text span {
        font-size: 1.3rem;
    }

    .terms-head,
    .terms-body,
    .terms-foot {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    .terms-body {
        margin: 1.6rem;
        height: 14rem;
    }

    .input-basic,
    .gender-box label,
    .btn,
    .btn-sm {
        height: 4.8rem;
    }

    .complete-icon {
        width: 7.2rem;
        height: 7.2rem;
        font-size: 3rem;
    }

    .complete-wrap h3 {
        font-size: 2.4rem;
    }

    .complete-wrap p {
        font-size: 1.5rem;
    }

    .complete-info,
    .complete-site-box {
        padding: 2rem;
    }


    .selected-sites-box {
        padding: 1.6rem;
    }

    .selected-site-tag {
        height: 3.4rem;
        font-size: 1.3rem;
    }

    .site-row {
        padding: 1.6rem;
        border-radius: 1.4rem;
    }

    .site-name {
        font-size: 1.5rem;
    }

    .site-desc {
        font-size: 1.3rem;
    }

    .site-status,
    .site-badge {
        min-width: auto;
        height: 3.2rem;
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .site-table {
        max-height: 36rem;
    }


    /* 아이디 찾기 */
    .find-id-main {
        padding: 3.6rem 0 4.8rem;
    }

    .find-id-page-title {
        font-size: 2.8rem;
    }

    .find-id-page-desc {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    .find-id-box__body {
        padding: 2.4rem 1.8rem;
    }

    .auth-card {
        padding: 2.4rem 1.8rem;
        border-radius: 1.4rem;
    }

    .auth-card__title {
        font-size: 1.6rem;
        margin-bottom: 1.6rem;
    }

    .auth-card__icon {
        width: 8.4rem;
        height: 8.4rem;
        margin-bottom: 1.6rem;
    }

    .btn-auth-start {
        height: 4.8rem;
        font-size: 1.5rem;
    }

    .auth-guide-text {
        font-size: 1.3rem;
        margin-top: 2rem;
    }

    /* 아이디 찾기 결과 */
    .find-id-result-main {
        padding: 3.6rem 0 4.8rem;
    }

    .find-id-result-page-title {
        font-size: 2.8rem;
    }

    .find-id-result-page-desc {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    .find-id-result-box__body {
        padding: 2rem 1.8rem;
    }

    .find-id-result-card {
        padding: 2.4rem 1.6rem;
        border-radius: 1.4rem;
    }

    .find-id-result-label {
        font-size: 1.3rem;
    }

    .find-id-result-id {
        font-size: 2.3rem;
    }

    .find-id-result-name {
        font-size: 1.5rem;
    }

    .find-id-result-guide {
        font-size: 1.3rem;
        margin-top: 2rem;
    }



    /* 비밀번호 찾기 */
    .find-password-main {
        padding: 3.6rem 0 4.8rem;
    }

    .find-password-page-title {
        font-size: 2.8rem;
    }

    .find-password-page-desc {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    .find-password-box__body {
        padding: 2rem 1.8rem;
    }

    .find-password-auth-box {
        margin-top: 2.4rem;
        padding: 2rem 1.6rem;
        border-radius: 1.4rem;
    }

    .find-password-auth-title {
        margin-bottom: 1.6rem;
        font-size: 1.6rem;
    }

    .find-password-guide-list {
        margin-top: 2rem;
    }

    .find-password-guide-list li {
        font-size: 1.3rem;
    }


    /* 비밀번호 재설정 */
    .reset-password-main {
        padding: 3.6rem 0 4.8rem;
    }

    .reset-password-page-title {
        font-size: 2.8rem;
    }

    .reset-password-page-desc {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    .reset-password-form {
        padding: 2rem 1.8rem;
    }

    .reset-password-row {
        grid-template-columns: 1fr;
    }

    .reset-password-th {
        padding: 1.4rem 1.4rem 1rem;
        background: #ffffff;
        font-size: 1.4rem;
    }

    .reset-password-td {
        padding: 0 1.4rem 1.4rem;
    }

    .reset-password-text {
        font-size: 1.4rem;
    }

    .reset-password-hint {
        font-size: 1.25rem;
    }

    .profile-info-box,
    .password-edit-box,
    .password-result-box,
    .withdraw-section,
    .withdraw-member-box {
        padding: 1.8rem 1.6rem;
        border-radius: 1.4rem;
    }


    .service-card__abbr {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        line-height: 1.2;
    }

    .login-main {
        padding: 3.2rem 0 4rem;
    }

    .login-page-title {
        font-size: 2.4rem;
    }

    .login-tab {
        height: 4.8rem;
        font-size: 1.3rem;
        letter-spacing: -0.02em;
    }

    .login-panel {
        padding: 2rem 1.4rem;
    }

    .login-welcome {
        margin-bottom: 2rem;
        font-size: 1.4rem;
    }

    .integrated-login-box {
        padding: 2rem 1.4rem;
    }

    .integrated-login-brand__logo {
        max-width: 16rem;
        height: 4.6rem;
    }

    .btn-integrated-login {
        height: 4.8rem;
        font-size: 1.45rem;
        border-radius: 999px;
    }

    .integrated-login-desc {
        margin-top: 1.8rem;
        font-size: 1.3rem;
        line-height: 1.65;
    }

    .integrated-login-notice {
        font-size: 1.25rem;
        line-height: 1.6;
    }

    .login-info-box {
        padding: 1.6rem 1.4rem;
        border-radius: 1.2rem;
    }

    .login-info-box__title {
        font-size: 1.3rem;
    }

    .login-info-box__text {
        font-size: 1.25rem;
        line-height: 1.65;
    }

    .form-label {
        font-size: 1.3rem;
    }

    .form-input {
        height: 4rem;
        font-size: 1.35rem;
    }

    .btn-login-submit {
        height: 4.8rem;
        font-size: 1.5rem;
    }

    .id-login-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .id-login-links a + a::before {
        display: none;
    }

    .header-link {
        gap: 0.3rem;
        font-size: 1.1rem;
    }

    .header-link img {
        width: 1.6rem;
        height: 1.6rem;
    }

    .header-actions {
        gap: 1rem;
    }

    .btn-expand {
        height: 3.6rem;
        font-size: 1.3rem;
        padding: 0 1.2rem;
    }

    .btn-expand span {
        display: none;
    }

    .btn-expand img {
        width: 1.4rem;
        height: 1.4rem;
    }

    .service-grid {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .service-card__title {
        font-size: 1.7rem;
    }

    .service-card__bottom {
        margin-top: 0rem;
    }

    .service-card__image {
        width: 7rem;
        height: 7rem;
    }

    .service-card__link {
        width: 4.4rem;
        height: 4.4rem;
    }

    .service-card__link img {
        width: 1.6rem;
        height: 1.6rem;
    }

    .site-footer {
        padding: 2rem 0;
    }

    .footer-left {
        gap: 1rem;
    }

    .footer-inner {
        gap: 1rem;
    }

    .footer-logo {
        height: 1.8rem;
    }

    .footer-address {
        font-size: 1.2rem;
    }

    .footer-links a {
        font-size: 1.2rem;
    }

    .title {
        font-size: 2.4rem;
        margin-bottom: 2.4rem;
    }

    /* 회원가입 */
    .select-card {
        min-height: 8.2rem;
        padding: 1rem 1.5rem;
    }

    .card-text strong {
        margin-bottom: 0;
    }

    .card-grid {
        gap: 1rem;
    }

    .step-track {
        --step-line-side: 2rem;
        --step-line-top: 1.8rem;
    }

    .step-box {
        padding: 2rem 1.2rem 1.6rem;
        margin-bottom: 1rem;
    }

    .step-circle {
        width: 3.2rem;
        height: 3.2rem;
        font-size: 1.2rem;
    }

    .step-label {
        font-size: 1.2rem;
    }

    .step-desc-box {
        margin-bottom: 1.6rem;
    }

    .step-desc-title {
        font-size: 1.5rem;
    }

    .step-desc-text,
    .site-guide-text {
        font-size: 1.3rem;
    }

    .selected-sites-head strong {
        font-size: 1.5rem;
    }

    .site-row {
        gap: 1.2rem;
    }

    .site-name {
        font-size: 1.4rem;
    }

    .site-desc {
        font-size: 1.25rem;
    }

    .content-box {
        padding: 0;
        border: 0;
        background: #fafbfe;
        gap: 1rem;
    }

    .agree-all-box {
        padding: 1rem 1.4rem;
        gap: 1rem;
    }

    .agree-all-box > div {
        font-size: 1.4rem;
    }

    .agree-all-box label {
        font-size: 1.4rem;
    }

    .terms-head, .terms-body, .terms-foot {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
        gap: 0;
    }

    .terms-body {
        margin: 6px;
    }

    .terms-foot {
        gap: 0.5rem;
    }

    .terms-foot label {
        gap: 0.5rem;
        font-size: 1.4rem
    }

    .join-form-table {
        gap: 2rem;
    }

    .join-th,
    .terms-head strong,
    .site-name {
        font-size: 1.5rem;
    }

    .complete-info, .complete-site-box {
        padding: 0;
        margin-top: 1rem;
    }

    .complete-wrap p {
        margin: 0;
    }

    .complete-site-box strong {
        margin-bottom: 0;
        padding: 1rem 1.5rem 0;
    }

    .info-row {
        gap: 0rem;
        padding: 1rem 1.5rem;
    }

    .complete-site-box ul {
        margin: 0;
        display: flex;
        gap: 10px;
        padding-bottom: 1rem;
        flex-wrap: wrap;
    }

    .site-row {
        gap: 0;
        flex-direction: row;
        justify-content: space-around;
        display: flex;
    }

    .site-name-row {
        gap: 0rem;
    }

    .site-side {
        margin-top: 0rem;
    }

    .site-desc {
        font-size: 1.3rem;
    }

    .site-status {
        min-width: auto;
        height: 3.2rem;
        font-size: 1.2rem;
        padding: 0 1.2rem;
    }

    .section-title {
        gap: 0;
    }

    .input-basic, .gender-box label, .btn, .btn-sm {
        height: 4rem;
    }

    .join-row.two-cols {
        gap: 1rem;
    }

    .join-td {
        gap: 0.5rem;
    }

    .selected-sites-box {
        padding: 1rem 1.5rem;
    }

    .selected-sites-list {
        margin-top: 0rem;
    }

    .btn-area {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        height: 3.2rem;
        min-height: 4rem;
        font-size: 1.4rem;
    }

    /* 아이디 찾기 */
    .find-id-main {
        padding: 3.2rem 0 4rem;
    }

    .find-id-page-title {
        font-size: 2.4rem;
    }

    .find-id-page-desc {
        font-size: 1.4rem;
    }

    .find-id-box {
        border-radius: 1.4rem;
    }

    .find-id-box__head {
        padding: 1.6rem;
    }

    .find-id-box__head strong {
        font-size: 1.5rem;
    }

    .find-id-box__body {
        padding: 2rem 1.4rem;
    }

    .auth-card {
        padding: 2rem 1.4rem;
    }

    .auth-card__title {
        font-size: 1.5rem;
    }

    .auth-card__icon {
        width: 7.6rem;
        height: 7.6rem;
    }

    .btn-auth-start {
        height: 4.6rem;
        font-size: 1.4rem;
    }

    .find-id-btn-area .btn {
        width: 100%;
        max-width: 20rem;
    }


    /* 아이디 찾기 결과 */
    .find-id-result-main {
        padding: 3.2rem 0 4rem;
    }

    .find-id-result-page-title {
        font-size: 2.4rem;
    }

    .find-id-result-page-desc {
        font-size: 1.4rem;
    }

    .find-id-result-box {
        border-radius: 1.4rem;
    }

    .find-id-result-box__head {
        padding: 1.6rem;
    }

    .find-id-result-box__head strong {
        font-size: 1.5rem;
    }

    .find-id-result-box__body {
        padding: 1.8rem 1.4rem;
    }

    .find-id-result-card {
        padding: 2rem 1.4rem;
    }

    .find-id-result-id {
        font-size: 2rem;
    }

    .find-id-result-name {
        font-size: 1.4rem;
    }

    .find-id-result-btn-area .btn {
        width: 100%;
        max-width: 20rem;
    }


    /* 비밀번호 찾기 */
    .find-password-main {
        padding: 3.2rem 0 4rem;
    }

    .find-password-page-title {
        font-size: 2.4rem;
    }

    .find-password-page-desc {
        font-size: 1.4rem;
    }

    .find-password-box {
        border-radius: 1.4rem;
    }

    .find-password-box__body {
        padding: 1.8rem 1.4rem;
    }

    .find-password-auth-box {
        padding: 1.8rem 1.4rem;
    }

    .find-password-auth-title {
        font-size: 1.5rem;
    }

    .find-password-guide-list li {
        font-size: 1.25rem;
    }

    .find-password-btn-area .btn {
        width: 100%;
        max-width: 20rem;
    }

    /* 비밀번호 재설정 */
    .reset-password-main {
        padding: 3.2rem 0 4rem;
    }

    .reset-password-page-title {
        font-size: 2.4rem;
    }

    .reset-password-page-desc {
        font-size: 1.4rem;
    }

    .reset-password-box {
        border-radius: 1.4rem;
    }

    .reset-password-form {
        padding: 1.8rem 1.4rem;
    }

    .reset-password-th,
    .reset-password-td {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .reset-password-btn-area {
        flex-direction: column;
    }

    .reset-password-btn-area .btn,
    .reset-password-btn-area button.btn {
        width: 100%;
    }

    .form-row {
        margin-bottom: 1rem;
    }

    .form-row input {
        height: 4rem;
    }

    .verify-card {
        padding: 1.8rem 1.4rem;
    }


    .complete-icon {
        width: 6.2rem;
        height: 6.2rem;
    }

    .complete-wrap h3 {
        font-size: 2rem;
    }

    .complete-wrap p {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .btn {
        width: auto;
    }
}

@media (max-width: 420px) {
    .hero-title {
        font-size: 3.6rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .hero-desc {
        display: none;
    }

    .page-arrow {
        width: 2.2rem;
        height: 2.2rem;
    }

    .service-card {
        height: auto;
        padding: 1rem 2rem;
    }

    .service-card__link-area {
        flex-direction: column-reverse;
        justify-content: flex-end;
    }

    .service-card__image {
        width: 6rem;
        height: 5rem;
    }

    .service-card__toggle {
        bottom: 35px;
    }

    .terms-head {
        flex-direction: row !important;
        align-items: center !important;
    }

    .btn {
        width: auto;
    }
}

/* 회원가입 시 아이디 입력, 중복체크 부분 수정 */
/* 아이디 입력 영역 컨테이너 */
.id-flex-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;      /* style.css의 기본 간격 유지 */
    width: 100%;
    flex-wrap: wrap;  /* 줄바꿈 허용 설정 추가 */
}

/* 아이디 입력창 */
.id-flex-group .input-basic {
    flex: 1;
    max-width: 28rem; /* PC 버전 적정 너비 */
    height: 4.8rem;
}

/* 중복체크 버튼 */
.id-flex-group .btn {
    height: 4.8rem;
    padding: 0 1.6rem;
    font-size: 1.5rem;
    white-space: nowrap;
    flex-shrink: 0;   /* 버튼 크기 유지 */
}

/* 중복체크 결과 메시지 (isIdCheckedCont) */
.id-check-msg {
    font-size: 1.4rem;
    display: inline-block; /* 기본적으로는 옆에 붙을 수 있도록 설정 */
    margin-left: 0.4rem;
}

.id-check-msg.success { color: #1c4fa3; }
.id-check-msg.error { color: #d32f2f; }

/* --- 반응형 처리 --- */
@media screen and (max-width: 768px) {
    .id-flex-group {
        /* 필요 시 gap 조절 가능 */
    }

    .id-flex-group .input-basic {
        max-width: none; /* 모바일에서는 가용한 공간 채우기 */
        flex: 1;
    }

    /* 반응형에서 메시지를 밑으로 떨어뜨리는 핵심 설정 */
    .id-check-msg {
        flex: 0 0 100%;  /* 가로 너비를 100% 차지하여 강제 줄바꿈 */
        margin-top: 0.4rem;
        margin-left: 0;   /* 모바일에서는 왼쪽 여백 제거 */
        order: 3;         /* 인풋(1), 버튼(2) 다음 순서로 배치 */
    }
}