/* ===================================
   구룡쟁패 - 이관 관련 스타일 (migration.css)
   sub-page.css 라이트 테마 디자인 시스템 기반
   =================================== */

/* ─── 이관 안내 페이지 래퍼 ───────────────────── */

.migration-page {
    min-height: calc(100vh - var(--header-height) - var(--site-top-offset));
    background: #fff;
}

/* ─── 히어로 배너 ───────────────────────────── */
/* sub-page.css .page-hero 패턴 그대로 사용 */

.migration-hero {
    margin-top: calc(var(--site-top-offset) + var(--header-height));
    position: relative;
    background: linear-gradient(135deg, #1a1510 0%, #0d0d0d 100%);
    overflow: hidden;
    border-bottom: 1px solid #e8e8e8;
}

.migration-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url('/products/nd/images/bg_sub.png') center -20px / cover no-repeat;
    opacity: 1;
}

.migration-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}

.migration-hero-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 72px 20px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.migration-hero-text {
    max-width: 520px;
}

.migration-hero-label {
    display: inline-block;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #DFCB96;
    background: rgba(223, 203, 150, 0.15);
    border: 1px solid rgba(223, 203, 150, 0.3);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.migration-hero-title {
    font-size: 40px;
    font-weight: 700;
    color: #f1f1f1;
    line-height: 1.2;
    margin-bottom: 18px;
}

.migration-hero-title em {
    font-style: normal;
    color: #DFCB96;
}

.migration-hero-desc {
    font-size: 17px;
    color: #C2C2C2;
    line-height: 1.8;
}

.migration-hero-image {
    width: 260px;
    height: 260px;
    flex-shrink: 0;
    background: rgba(223, 203, 150, 0.05);
    border: 1px solid rgba(223, 203, 150, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ─── 이관 콘텐츠 본문 (라이트) ──────────────── */
/* sub-page.css .sub-container 패턴 */

.migration-body {
    background: #fff;
    padding: 60px 0 100px;
}

.migration-body-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── 섹션 헤더 ─────────────────────────────── */

.migration-section-header {
    margin-bottom: 40px;
}

.migration-section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c9a227;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.migration-steps-title,
.migration-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

/* ─── 스텝 섹션 ─────────────────────────────── */

.migration-steps-section {
    background: #fff;
    padding: 70px 20px;
    border-bottom: 1px solid #e8e8e8;
}

.migration-steps-inner {
    max-width: var(--content-width);
    margin: 0 auto;
}

.migration-steps-header {
    margin-bottom: 48px;
}

.migration-steps-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c9a227;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.migration-steps-title {
    text-align: left;
}

.migration-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.migration-step-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 40px 28px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.step-number {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c9a227;
    background: rgba(201, 162, 39, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.07);
    border: 1px solid rgba(201, 162, 39, 0.2);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-terms::after,
.step-icon-account::after,
.step-icon-confirm::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    background-color: #c9a227;
}

.step-icon-terms::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14,2 14,8 20,8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14,2 14,8 20,8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
}

.step-icon-account::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.step-icon-confirm::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpolyline points='20,6 9,17 4,12'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Cpolyline points='20,6 9,17 4,12'/%3E%3C/svg%3E");
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.step-desc {
    font-size: 18px;
    color: #777;
    line-height: 24px;
}

/* ─── CTA 섹션 ──────────────────────────────── */

.migration-cta-section {
    padding: 90px 20px;
    text-align: center;
    background: #fafafa;
    border-top: 1px solid #e8e8e8;
}

.migration-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.migration-cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.btn-migration-cta {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 18px 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    letter-spacing: 0.5px;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.btn-migration-cta--primary {
    background: #c9a227;
}

.btn-migration-cta--secondary {
    background: #555555;
}

.btn-migration-cta:hover {
    opacity: 0.9;
}

.migration-cta-notice {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 16px;
    color: #999;
    width: auto;
    max-width: none;
    text-align: center;
}

.migration-cta-notice--solo {
    margin-top: 0;
}

/* ─── 이관 안내 팝업 ─────────────────────────── */

.migration-notice-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.migration-notice-inner {
    position: relative;
    z-index: 2;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-top: 3px solid #c9a227;
    border-radius: 2px;
    padding: 32px 28px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.migration-notice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eeeeee;
}

.migration-notice-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.migration-notice-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.15s;
}

.migration-notice-close:hover {
    color: #1a1a1a;
}

.migration-notice-body {
    margin-bottom: 24px;
}

.migration-notice-body p {
    font-size: 14px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 8px;
}

.migration-notice-sub {
    font-size: 12px !important;
    color: #999 !important;
    padding-top: 8px;
    border-top: 1px solid #eeeeee;
    margin-top: 8px;
}

.migration-notice-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-migration-primary {
    display: block;
    padding: 14px;
    text-align: center;
    background: linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #c9a227 100%);
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-migration-primary:hover {
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
}

.btn-migration-skip,
.btn-migration-close {
    background: none;
    border: 1px solid #e0e0e0;
    color: #999;
    padding: 10px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
    font-family: inherit;
    transition: all 0.15s ease;
}

.btn-migration-skip:hover,
.btn-migration-close:hover {
    border-color: #bbb;
    color: #555;
}

.migration-notice-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* ─── 이관 신청 모달 ─────────────────────────── */

.migration-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.migration-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.migration-modal {
    position: relative;
    z-index: 2;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #c9a227;
    border-radius: 2px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.migration-modal--login {
    max-width: 680px;
}

/* 모달 헤더 */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    border-bottom: 1px solid #eeeeee;
}

.migration-modal--login .modal-header {
    padding: 32px 40px;
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.migration-modal--login .modal-header h3 {
    font-size: 22px;
}

.modal-header--with-desc {
    align-items: flex-start;
}

.modal-header-desc {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 400;
    color: #888;
    line-height: 1.6;
}

.modal-step-indicator {
    display: flex;
    align-items: center;
    gap: 0;
}

.modal-step-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #bbb;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.modal-step-dot.active {
    background: #c9a227;
    border-color: #c9a227;
    color: #fff;
}

.modal-step-dot.done {
    background: #27ae60;
    border-color: #27ae60;
    color: #fff;
}

.modal-step-line {
    width: 24px;
    height: 1px;
    background: #e0e0e0;
}

.modal-close-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 2px;
    transition: color 0.15s;
}

.modal-close-btn:hover {
    color: #1a1a1a;
}

/* 모달 바디 */
.modal-body {
    padding: 28px 24px;
}

.migration-modal--login .modal-body {
    padding: 40px 40px 48px;
}

.migration-modal--login .modal-body > p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 16px;
    padding: 0;
    background: none;
    border: none;
}

.modal-body > p:first-child {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 12px 14px;
    background: #fafafa;
    border-left: 2px solid #DFCB96;
}

.migration-modal--login .modal-body > p:first-child {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

.step-heading {
    font-size: 12px;
    font-weight: 700;
    color: #c9a227;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* 약관 */
.terms-group {
    margin-bottom: 16px;
}

.terms-group-optional {
    padding-top: 8px;
    border-top: 1px dashed #e8e8e8;
}

.terms-scroll-box {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    padding: 14px;
    max-height: 120px;
    overflow-y: auto;
    margin-bottom: 10px;
    font-size: 12px;
    color: #888;
    line-height: 1.7;
}

.terms-scroll-box h4 {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    margin-bottom: 10px;
}

.terms-scroll-box p {
    margin-bottom: 8px;
}

.terms-placeholder-notice {
    color: #f39c12 !important;
    font-style: italic;
}

.terms-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #444;
}

.terms-checkbox-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #c9a227;
    cursor: pointer;
    flex-shrink: 0;
}

.terms-checkbox-label.required em {
    color: #e74c3c;
    font-style: normal;
    margin-right: 2px;
}

.terms-agree-all {
    border-top: 1px solid #eeeeee;
    padding-top: 12px;
    margin-top: 4px;
    margin-bottom: 24px;
}

.terms-all span { font-weight: 700; }

/* 구룡쟁패 계정 인증 폼 영역 */
.legacy-login-section {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    padding: 20px;
    margin-bottom: 20px;
}

.legacy-login-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.legacy-login-desc {
    font-size: 12px;
    color: #999;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* 폼 필드 */
.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-row label em {
    color: #e74c3c;
    font-style: normal;
    margin-left: 2px;
}

.form-row input[type="text"],
.form-row input[type="password"],
.form-row input[type="email"] {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    color: #1a1a1a;
    font-family: inherit;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.form-row input:focus {
    outline: none;
    border-color: #c9a227;
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.1);
}

.form-row input::placeholder {
    color: #bbb;
}

.form-row--lg {
    margin-bottom: 24px;
}

.form-row--lg label {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-row--lg input[type="text"],
.form-row--lg input[type="password"] {
    padding: 15px 18px;
    font-size: 16px;
}

.input-with-check {
    display: flex;
    gap: 8px;
}

.input-with-check input { flex: 1; }

.btn-check-duplicate {
    padding: 11px 14px;
    font-size: 12px;
    font-weight: 600;
    background: #fff;
    border: 1px solid #ddd;
    color: #777;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: all 0.15s ease;
}

.btn-check-duplicate:hover {
    border-color: #c9a227;
    color: #c9a227;
}

.field-hint {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    line-height: 1.5;
}

.field-hint.ok    { color: #27ae60; }
.field-hint.error { color: #e74c3c; }
.field-hint.info  { color: #999; }

.form-row-radio label.form-row > label { margin-bottom: 8px; }
.radio-group { display: flex; gap: 20px; }
.radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
}

.radio-label input[type="radio"] { accent-color: #c9a227; }

/* 모달 버튼 */
.btn-legacy-verify {
    width: 100%;
    padding: 13px;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #c9a227 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
    margin-top: 4px;
}

.btn-legacy-verify:hover {
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
}

.btn-legacy-verify:disabled {
    background: #f0f0f0;
    color: #bbb;
    cursor: not-allowed;
    box-shadow: none;
}

/* 알림 박스 */
.migration-error {
    background: rgba(231, 76, 60, 0.05);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-left: 3px solid #e74c3c;
    border-radius: 2px;
    padding: 11px 14px;
    font-size: 13px;
    color: #c0392b;
    margin-bottom: 16px;
    line-height: 1.6;
}

.migration-success {
    text-align: center;
    padding: 40px 20px;
}

.migration-done-icon {
    font-size: 40px;
    color: #27ae60;
    margin-bottom: 16px;
    line-height: 1;
}

.migration-success h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.migration-success p {
    font-size: 16px;
    color: #777;
    line-height: 1.7;
}

/* 모달 푸터 */
.modal-footer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
    margin-top: 20px;
}

.modal-footer--center {
    justify-content: center;
    border-top: none;
    padding-top: 0;
    margin-top: 36px;
}

.btn-step-next {
    padding: 11px 24px;
    font-size: 13px;
    font-weight: 700;
    background: #c9a227;
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.btn-step-next:disabled {
    background: #f0f0f0;
    color: #bbb;
    cursor: not-allowed;
}

.btn-step-next:not(:disabled):hover {
    opacity: 0.9;
}

.btn-step-next--login {
    padding: 16px 60px;
    font-size: 17px;
}

.btn-step-back {
    padding: 11px 18px;
    font-size: 13px;
    background: none;
    border: 1px solid #ddd;
    color: #999;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
}

.btn-step-back:hover {
    color: #555;
    border-color: #bbb;
}

.btn-step-cancel {
    padding: 11px 16px;
    font-size: 12px;
    background: none;
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: rgba(231, 76, 60, 0.7);
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
}

.btn-step-cancel:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.btn-migration-complete {
    padding: 11px 28px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #c9a227 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
}

.btn-migration-complete:hover {
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
}

.btn-migration-complete:disabled {
    background: #f0f0f0;
    color: #bbb;
    cursor: not-allowed;
}

/* Step 2 - 본인인증 */
.cert-instruction {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
}

.cert-instruction p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

.cert-instruction-sub {
    font-size: 12px !important;
    color: #999 !important;
    margin-top: 6px;
}

.cert-waiting { text-align: center; padding: 20px 0; }

.btn-cert-open {
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #c9a227 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
    margin-bottom: 12px;
}

.btn-cert-open:hover {
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
}

.cert-popup-notice {
    font-size: 12px;
    color: #999;
}

.cert-done-area {
    text-align: center;
    padding: 20px;
    background: rgba(39, 174, 96, 0.05);
    border: 1px solid rgba(39, 174, 96, 0.2);
    border-radius: 2px;
}

.cert-done-badge {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.cert-done-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    color: #444;
}

/* Step 3 - 확인 */
.step-info-text {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.7;
}

.profile-confirm-box {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.profile-row {
    display: flex;
    align-items: center;
    padding: 11px 16px;
    border-bottom: 1px solid #eeeeee;
}

.profile-row:last-child { border-bottom: none; }

.profile-label {
    width: 90px;
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}

.profile-value {
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 500;
}

.profile-cert-done { color: #27ae60 !important; }

/* Step 4 - 계정 */
.cert-result-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(39, 174, 96, 0.05);
    border: 1px solid rgba(39, 174, 96, 0.2);
    border-radius: 2px;
    padding: 12px 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cert-result-badge {
    background: #27ae60;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.cert-result-name,
.cert-result-phone {
    font-size: 13px;
    color: #444;
}

.account-form { margin-bottom: 8px; }
*/

/* 완료 화면 */
.migration-done-area {
    text-align: center;
    padding: 40px 20px;
}

.migration-done-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.migration-done-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.8;
    margin-bottom: 20px;
}

.migration-done-loading {
    font-size: 12px;
    color: #c9a227;
}

/* ─── 경로 B: 로그인 이관 배너 ──────────────── */

.migration-required-banner {
    background: rgba(201, 162, 39, 0.05);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-left: 3px solid #c9a227;
    border-radius: 2px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.migration-required-banner p {
    font-size: 13px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 14px;
}

.migration-required-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-go-migration {
    padding: 9px 20px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #c9a227 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.25s ease;
}

.btn-go-migration:hover {
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.3);
}

.btn-go-signup {
    padding: 9px 20px;
    font-size: 12px;
    background: none;
    border: 1px solid #ddd;
    color: #999;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.15s ease;
}

.btn-go-signup:hover {
    border-color: #bbb;
    color: #555;
}

/* ─── 메인 이관 배너 ─────────────────────────── */

.migration-home-banner {
    background: rgba(201, 162, 39, 0.06);
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    padding: 14px 0;
}

.migration-home-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.migration-home-banner-text {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.migration-home-banner-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #c9a227;
    white-space: nowrap;
}

.migration-home-banner-text span {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

.migration-home-banner-btn {
    padding: 9px 22px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #c9a227 100%);
    color: #1a1a1a;
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.migration-home-banner-btn:hover {
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.3);
}

/* ─── 비교 섹션 ─────────────────────────────── */

.migration-compare-section {
    padding: 60px 20px;
    background: #fafafa;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.migration-compare-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.compare-card {
    flex: 1;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    padding: 28px 24px;
}

.compare-card.compare-migration {
    border-color: rgba(201, 162, 39, 0.4);
    border-top: 3px solid #c9a227;
}

.compare-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.compare-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.compare-card ul li {
    font-size: 13px;
    color: #777;
    padding-left: 14px;
    position: relative;
    line-height: 1.6;
}

.compare-card ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #ccc;
}

.compare-card.compare-migration ul li::before {
    content: '•';
    color: #c9a227;
}

.compare-divider {
    font-size: 18px;
    font-weight: 900;
    color: #ccc;
    flex-shrink: 0;
}

.btn-compare-signup {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    background: none;
    color: #777;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-compare-signup:hover {
    border-color: #c9a227;
    color: #c9a227;
}

/* ─── 반응형 ─────────────────────────────────── */

@media (max-width: 1024px) {
    .migration-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .migration-hero-inner { padding: 52px 20px 44px; flex-direction: column; gap: 0; }
    .migration-hero-title { font-size: 28px; }
    .migration-hero-image { display: none; }
    .migration-steps-section { padding: 48px 20px; }
    .migration-steps-grid { grid-template-columns: 1fr; gap: 12px; }
    .migration-compare-inner { flex-direction: column; }
    .compare-divider { transform: rotate(90deg); }
    .migration-modal { max-height: 95vh; }
    .cert-done-info { flex-direction: column; gap: 4px; }
    .migration-home-banner-inner { flex-direction: column; align-items: flex-start; }
    .migration-home-banner-btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .migration-steps-grid { grid-template-columns: 1fr; }
    .migration-required-actions { flex-direction: column; }
    .migration-hero-title { font-size: 24px; }
    .modal-body { padding: 20px 16px; }
}
