:root {
    --bg: #f6f8fb;
    --card: #fff;
    --muted: #6b7280;
    --accent: #4f46e5;
    /* indigo */
    --accent-2: #06b6d4;
    /* teal */
    --danger: #ef4444;
    --radius: 12px;
    --shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    background: linear-gradient(180deg, #eef2ff 0%, var(--bg) 60%);
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#signup_image {
    width: 600px;
    overflow: hidden;
}

#signup_image img {
    width: 500px;

}

/* form card */
.wizard {
    width: 600px;
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

@media screen and (max-width:600px) {
    .container {
        width: 100%;
        max-width: 100%;
        display: block;
        align-items: center;
        justify-content: center;
    }

    #signup_image {
        display: none;

    }

    .wizard {
        width: 100%;
        background: var(--card);
        border-radius: var(--radius);
        padding: 28px;
        box-shadow: var(--shadow);
        border: 1px solid rgba(15, 23, 42, 0.04);
        margin-top: 150px;
    }
}

/* header */
.title {
    margin: 0 0 12px;
    font-size: 22px;
    letter-spacing: -0.2px;
}

/* progress */
.progress-wrap {
    margin-bottom: 18px
}

.progress-bar {
    height: 8px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    width: 25%;
    border-radius: 999px;
    transition: width .28s ease;
    box-shadow: 0 3px 8px rgba(79, 70, 229, 0.18);
}

.steps-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
}

.step-label {
    opacity: .6
}

.step-label.active {
    color: var(--accent);
    font-weight: 600;
    opacity: 1
}

/* steps */
.step {
    display: none
}

.step.active {
    display: block
}

.step h2 {
    margin-top: 6px;
    margin-bottom: 8px;
    font-size: 18px
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

label {
    display: block
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e6e9ef;
    background: #fff;
    outline: none;
    transition: box-shadow .15s ease, border-color .15s ease;
    font-size: 15px;
}

input:focus,
select:focus {
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.06);
    border-color: rgba(79, 70, 229, 0.28)
}

.muted {
    color: var(--muted);
    font-size: 13px
}

.small {
    font-size: 13px;
    margin: 0
}

/* account cards */
.account-cards {
    display: flex;
    gap: 12px;
    margin: 10px 0 12px;
}

.card {
    flex: 1;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #fbfbff);
    border: 1px solid orangered;
    padding: 14px;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card input {
    display: none
}

.card .card-body h3 {
    margin: 0 0 6px;
    font-size: 16px
}

.card:hover {
    transform: translateY(-3px)
}

.card.recommended {
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.18)
}

/* when selected show outline */
.card input:checked+.card-body,
.card input:checked~.card-body {
    outline: 3px solid orangered;
    border-radius: 10px;
}

/* select group */
.select-group {
    margin-top: 8px
}

.pin-field {
    margin-top: 12px
}

.pin-field input {
    width: 160px;
    font-weight: 600;
    letter-spacing: 6px
}

/* password area */
.password-sample {
    margin: 10px 0;
    background: linear-gradient(90deg, #f8fafc, #fff);
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px dashed #e6e9ef;
    color: var(--muted);
}

.password-strength {
    margin-bottom: 10px;
}

.strength-meter {
    height: 8px;
    background: #eef2ff;
    border-radius: 999px;
    overflow: hidden;
}

.strength-meter>div {
    height: 100%;
    width: 0%;
    transition: width .2s ease, background .2s ease;
}

.pw-checklist {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0
}

.pw-checklist li {
    font-size: 13px;
    margin: 6px 0;
    color: var(--muted)
}

.pw-checklist li.fail {
    color: #cbd5e1
}

.pw-checklist li.pass {
    color: var(--accent);
    font-weight: 600
}

/* nav */
.nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}

.btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
}

.btn.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.12)
}

.btn.secondary {
    background: #fff;
    border: 1px solid #e6e9ef;
    color: #0f172a
}

/* match label */
#matchLabel {
    margin-top: 8px
}

/* responsive */
@media (max-width:720px) {
    .grid {
        grid-template-columns: 1fr
    }

    .account-cards {
        flex-direction: column
    }

    .muted {
        font-size: 12px
    }
}