/**
 * Registration Wizard — Store owner signup
 */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    height: 100%;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #00a183 0%, #099d58 50%, #52992f 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

body {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Card */
.wizard-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 460px;
}

/* Logo */
.wizard-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.wizard-logo img {
    height: 36px;
    filter: brightness(0) invert(1);
}

/* Progress */
.wizard-progress {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.progress-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.progress-dot.active { border-color: #fff; background: #fff; color: #099d58; }
.progress-dot.done   { border-color: #fff; background: #fff; color: #099d58; }

.progress-line {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.25);
    transition: background 0.3s ease;
}

.progress-line.done { background: #fff; }

/* Steps */
.wizard-step { display: none; }
.wizard-step.active { display: block; }

.wizard-step h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.25;
}

.step-sub {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 1.75rem;
}

/* Fields */
.field { margin-bottom: 1.1rem; }

.field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    color: #fff;
}

.field-hint {
    display: block;
    font-size: 0.72rem;
    opacity: 0.5;
    margin-bottom: 0.4rem;
}

.field input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 99px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.field input::placeholder { color: rgba(255,255,255,0.4); }

.field input:focus {
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.2);
}

.field input.error { border-color: #ff6b8a; }

.field-error {
    display: none;
    font-size: 0.72rem;
    color: #ffb3c1;
    margin-top: 0.3rem;
}

/* Actions */
.wizard-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.btn-back {
    flex: 1;
    padding: 0.75rem;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 99px;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.btn-back:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-next {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 99px;
    background: #fff;
    color: #099d58;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-next:hover { opacity: 0.9; }

/* Step 3: Welcome */
.welcome-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.summary-box {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.summary-row span:first-child { opacity: 0.6; white-space: nowrap; }
.summary-row span:last-child  { font-weight: 600; text-align: right; word-break: break-all; }

.btn-home {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 99px;
    background: #fff;
    color: #099d58;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-home:hover { opacity: 0.9; }

@media (max-width: 480px) {
    .wizard-card { padding: 1.75rem 1.25rem; }
    .wizard-step h2 { font-size: 1.25rem; }

    .wizard-logo img {
    height: 24px;
}
}
