/* Register — MPKWIN Theme9 (extends auth.css) */

.register-card-inner {
    width: 100%;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    gap: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step-item.active .step-circle,
.step-item.completed .step-circle {
    background: var(--ColorM2, var(--ui-accent));
    border-color: var(--ColorM2, var(--ui-accent));
    color: #000;
    box-shadow: 0 0 16px rgba(var(--ui-accent-rgb), 0.4);
}

.step-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
    font-weight: 500;
}

.step-item.active .step-label {
    color: var(--ColorM2, var(--ui-accent));
}

.step-line {
    width: 36px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 4px 18px;
    transition: background 0.3s ease;
}

.step-line.active {
    background: var(--ColorM2, var(--ui-accent));
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: regFadeIn 0.35s ease;
}

@keyframes regFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.phone-input-group {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 13px;
    overflow: hidden;
}

.phone-prefix {
    background: #ddd !important;
    border: none !important;
    color: #333 !important;
    font-weight: 600;
    font-family: 'Kanit', sans-serif;
    border-radius: 13px 0 0 13px !important;
    min-width: 58px;
    justify-content: center;
}

.phone-input-group .form-control-custom {
    border-radius: 0 13px 13px 0 !important;
    text-align: left;
    padding-left: 14px;
}

.form-group-auth--password {
    position: relative;
}

.form-group-auth--password .ic-password-t5,
.form-group-auth--password .password-toggle {
    top: 50%;
    transform: translateY(-50%);
}

.form-select-custom {
    text-align: center;
    text-align-last: center;
}

.credential-box {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 13px;
    padding: 16px;
    margin-bottom: 16px;
    color: #000;
}

.credential-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.credential-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    word-break: break-all;
}

.success-icon {
    font-size: 3rem;
    color: var(--ColorM2, var(--ui-accent));
}

.success-alert {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: #fff;
    border-radius: 13px;
    font-size: 13px;
}

#successView h4,
#successView p {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}
