body {
    background: radial-gradient(60rem 40rem at 10% -10%, #e9f6ff 0%, transparent 60%), #f6f8fb;
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", Segoe UI, Roboto, Arial, "Noto Sans KR", sans-serif;
    color: #1f2937;
    line-height: 1.55;
    margin: 0;
}

.container.signup {
    max-width: 1300px;
    margin: 48px auto;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(2, 8, 20, .08), 0 8px 24px rgba(2, 8, 20, .06);
    background: #fff;
    overflow: hidden;
}

.signup-grid {
    display: grid;
    grid-template-columns:1.05fr 1fr;
    min-height: 620px;
}

.signup-hero {
    background: linear-gradient(45deg, #172E6C, #6FC8F8);
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.signup-hero h3 {
    font-size: 40px;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.15;
}

.signup-hero p {
    max-width: 420px;
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, .9);
}

.signup-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 620px;
    padding: 40px 48px;
}

.rail {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.rail > * {
    width: 100%;
}

h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 20px;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.progress-bar .step {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    border-bottom: 3px solid #e0e7ef;
    color: #b0b8c1;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all .2s;
}

.progress-bar .step.active {
    border-bottom: 3px solid #6FC8F8;
    color: #1976d2;
}

.step-section {
    display: none;
    height: 420px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.step-section.active {
    display: flex;
}

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 600;
    font-size: .92rem;
    color: #6b7280;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    width: 100%;
    align-items: center;
}

input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    height: 48px;
    font-size: 1rem;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease;
}

input:focus {
    border-color: #90cff8;
    box-shadow: 0 0 0 .25rem rgba(111, 200, 248, .25);
}

.action-btn {
    height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #dfe7f1;
    background: #eef6ff;
    color: #0f2f50;
    font-weight: 700;
    cursor: pointer;
    transition: all .18s ease;
    white-space: nowrap;
}

.action-btn:hover {
    background: #dff0ff;
    transform: translateY(-1px);
}

.action-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn {
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    background: #6FC8F8;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease, transform .12s ease;
}

.submit-btn:hover {
    background: #5bbcf0;
    transform: translateY(-1px);
    box-shadow: 0 14px 20px rgba(111, 200, 248, .35);
}

.msg {
    margin-top: 10px;
    color: #d32f2f;
    font-weight: 600;
    min-height: 22px;
    text-align: center;
}

.subtext, .err, .ok {
    min-height: 22px;
    display: block;
}

.subtext {
    color: #6b7280;
    font-size: .88rem;
}

.ok {
    color: #16a34a;
}

.err {
    color: #ef4444;
}

.step-btns {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    gap: 24px;
}

.next-btn, .prev-btn {
    background: linear-gradient(90deg, #6FC8F8 0%, #1976d2 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(111, 200, 248, .18);
    transition: background .2s, box-shadow .2s, transform .12s;
}

.next-btn:hover, .prev-btn:hover {
    background: linear-gradient(90deg, #1976d2 0%, #6FC8F8 100%);
    box-shadow: 0 8px 20px rgba(111, 200, 248, .28);
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .signup-grid {
        grid-template-columns:1fr;
    }

    .signup-hero {
        min-height: 280px;
    }

    .signup-body {
        padding: 28px 32px 36px;
    }

    .rail {
        max-width: 680px;
    }
}

@media (max-width: 575.98px) {
    .signup-hero h3 {
        font-size: 32px;
    }

    .signup-body {
        padding: 24px 20px 32px;
    }

    .rail {
        max-width: 100%;
    }
}

.login-text-menu {
    width: 100%;
    margin: 36px 0 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    list-style: none;
    color: #8a8a8a;
    font-size: 1.08rem;
    font-weight: 500;
}

.login-text-menu li {
    display: flex;
    align-items: center;
}

.login-text-menu li:not(:last-child)::after {
    content: '|';
    display: inline-block;
    margin: 0 12px;
    color: #bdbdbd;
    font-size: 1.08em;
    font-weight: 400;
    vertical-align: middle;
}

.login-text-menu a {
    color: #8a8a8a;
    text-decoration: none;
    transition: color .18s;
}

.login-text-menu a:hover {
    color: #1976d2;
    text-decoration: underline;
}