/* Register wizard — full-width (col-12) content column */
.reg-wizard-page {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.5rem;
}

.reg-wizard-heading {
    text-align: center;
    margin-bottom: 1.5rem;
}

.reg-wizard-heading h3 {
    margin: 0.35rem 0 0.25rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.reg-wizard-heading h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
}

.reg-wizard-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 1.25rem 1.25rem 1rem;
    width: 100%;
    max-width: 100%;
}

.reg-stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.reg-stepper-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid transparent;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.reg-stepper-item .reg-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #cbd5e1;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.reg-stepper-item.is-active {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
}

.reg-stepper-item.is-active .reg-step-num {
    background: #2563eb;
}

.reg-stepper-item.is-done {
    background: #ecfdf5;
    border-color: #86efac;
    color: #15803d;
}

.reg-stepper-item.is-done .reg-step-num {
    background: #22c55e;
}

.reg-step-panel {
    display: none;
}

.reg-step-panel.is-active {
    display: block;
}

.reg-step-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.reg-step-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: #dbeafe;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reg-step-header h4 {
    margin: 0 0 0.2rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.reg-step-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.reg-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.reg-choice-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reg-choice-card {
    position: relative;
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    padding: 1rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    min-height: 100%;
}

.reg-choice-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.reg-choice-card.is-selected {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 1px #2563eb inset;
}

.reg-choice-card input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.reg-choice-card .reg-choice-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
}

.reg-choice-card.is-selected .reg-choice-icon {
    background: #2563eb;
    color: #fff;
}

.reg-choice-card strong {
    display: block;
    color: #0f172a;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.reg-choice-card span {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.4;
}

.reg-section-title {
    margin: 0.25rem 0 0.35rem;
    font-weight: 700;
    color: #0f172a;
}

.reg-section-hint {
    margin: 0 0 0.85rem;
    color: #64748b;
    font-size: 0.88rem;
}

.reg-wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.reg-wizard-nav .btn-reg-back,
.reg-wizard-nav .btn-reg-next,
.reg-wizard-nav .btn-reg-finish {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 10px;
    padding: 0.65rem 1.15rem;
    font-weight: 700;
    border: 0;
    cursor: pointer;
}

.reg-wizard-nav .btn-reg-back {
    background: #f1f5f9;
    color: #334155;
}

.reg-wizard-nav .btn-reg-next,
.reg-wizard-nav .btn-reg-finish {
    background: #2563eb;
    color: #fff;
    margin-left: auto;
}

.reg-wizard-nav .btn-reg-back[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.reg-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
}

.reg-package-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    background: #fff;
}

.reg-package-card.is-selected {
    border-color: #2563eb;
    background: #eff6ff;
}

.reg-package-card .price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0.35rem 0;
}

.reg-package-card .badge-selected {
    display: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
}

.reg-package-card.is-selected .badge-selected {
    display: inline-block;
}

.reg-domain-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-top: 0.75rem;
    color: #475569;
}

/* Light theme form controls inside wizard card */
body.auth-page:not(.dark-mode) .reg-wizard-card .form-label,
body.auth-page:not(.dark-mode) .reg-wizard-card .form-group > label,
body.auth-page:not(.dark-mode) .reg-wizard-card label {
    color: #334155;
}

body.auth-page:not(.dark-mode) .reg-wizard-card .form-control,
body.auth-page:not(.dark-mode) .reg-wizard-card .input-group .form-control {
    background: #fff;
    border-color: #cbd5e1;
    color: #0f172a;
}

body.auth-page:not(.dark-mode) .reg-wizard-card .input-group-addon,
body.auth-page:not(.dark-mode) .reg-wizard-card .input-group-text {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #64748b;
}

@media (max-width: 767.98px) {
    .reg-choice-grid,
    .reg-choice-grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .reg-stepper-item .reg-step-label {
        display: none;
    }
}

/* Full-width register shell — scoped so /login split layout is untouched */
.login-wrapper.bg-img.register-wrap,
body.account-page.auth-page .login-wrapper.bg-img.register-wrap {
    background-image: none !important;
    background-color: #0b1f3a;
}

.login-wrapper.register-wrap .login-content.authent-content.register-content,
body.account-page.auth-page .login-wrapper.register-wrap .login-content.authent-content.register-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    align-items: flex-start;
    justify-content: center;
    padding-top: 72px;
    padding-bottom: 40px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.login-wrapper.register-wrap .login-content.register-content .login-userset,
.login-wrapper.register-wrap .reg-wizard-page {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Page title sits on navy shell — keep readable in both themes */
.login-wrapper.register-wrap .reg-wizard-heading h3,
.login-wrapper.register-wrap .reg-wizard-heading h4,
.login-wrapper.register-wrap .signinform h4,
.login-wrapper.register-wrap .copyright-text p {
    color: #e2e8f0;
}

.login-wrapper.register-wrap .reg-wizard-heading h4,
.login-wrapper.register-wrap .signinform h4,
.login-wrapper.register-wrap .copyright-text p {
    color: #94a3b8;
}

.login-wrapper.register-wrap .signinform a {
    color: #60a5fa;
}

body.account-page.auth-page .login-content.reg-wizard-wrap {
    max-width: 100%;
}

body.account-page.auth-page .reg-wizard-wrap .login-userset {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

/* Dark theme — wizard responds to body.dark-mode */
body.dark-mode.auth-page .reg-wizard-heading h3,
body.dark-mode.auth-page .reg-wizard-heading h4 {
    color: #e2e8f0;
}

body.dark-mode.auth-page .reg-wizard-heading h4 {
    color: #94a3b8;
}

body.dark-mode.auth-page .reg-wizard-card {
    background: #0f2744;
    border-color: #1e3a5f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body.dark-mode.auth-page .reg-stepper-item {
    background: #092c4c;
    border-color: #1e3a5f;
    color: #94a3b8;
}

body.dark-mode.auth-page .reg-stepper-item .reg-step-num {
    background: #334155;
}

body.dark-mode.auth-page .reg-stepper-item.is-active {
    background: rgba(37, 99, 235, 0.2);
    border-color: #3b82f6;
    color: #93c5fd;
}

body.dark-mode.auth-page .reg-stepper-item.is-active .reg-step-num {
    background: #2563eb;
}

body.dark-mode.auth-page .reg-stepper-item.is-done {
    background: rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
    color: #86efac;
}

body.dark-mode.auth-page .reg-step-icon {
    background: rgba(37, 99, 235, 0.25);
    color: #93c5fd;
}

body.dark-mode.auth-page .reg-step-header h4,
body.dark-mode.auth-page .reg-section-title,
body.dark-mode.auth-page .reg-choice-card strong,
body.dark-mode.auth-page .reg-package-card .price {
    color: #f1f5f9;
}

body.dark-mode.auth-page .reg-step-header p,
body.dark-mode.auth-page .reg-section-hint,
body.dark-mode.auth-page .reg-choice-card span {
    color: #94a3b8;
}

body.dark-mode.auth-page .reg-choice-card,
body.dark-mode.auth-page .reg-package-card {
    background: #092c4c;
    border-color: #1e3a5f;
}

body.dark-mode.auth-page .reg-choice-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

body.dark-mode.auth-page .reg-choice-card.is-selected,
body.dark-mode.auth-page .reg-package-card.is-selected {
    background: rgba(37, 99, 235, 0.22);
    border-color: #3b82f6;
}

body.dark-mode.auth-page .reg-choice-card .reg-choice-icon {
    background: rgba(37, 99, 235, 0.25);
    color: #93c5fd;
}

body.dark-mode.auth-page .reg-choice-card.is-selected .reg-choice-icon {
    background: #2563eb;
    color: #fff;
}

body.dark-mode.auth-page .reg-wizard-nav {
    border-top-color: #1e3a5f;
}

body.dark-mode.auth-page .reg-wizard-nav .btn-reg-back {
    background: #092c4c;
    color: #e2e8f0;
}

body.dark-mode.auth-page .reg-domain-preview {
    background: #092c4c;
    border-color: #1e3a5f;
    color: #cbd5e1;
}

body.dark-mode.auth-page .reg-wizard-card .form-label,
body.dark-mode.auth-page .reg-wizard-card .form-group > label,
body.dark-mode.auth-page .reg-wizard-card label {
    color: #e2e8f0;
}

body.dark-mode.auth-page .reg-wizard-card .form-control,
body.dark-mode.auth-page .reg-wizard-card .input-group .form-control,
body.dark-mode.auth-page .reg-wizard-card select.form-control {
    background: #092c4c;
    border-color: #1e3a5f;
    color: #f1f5f9;
}

body.dark-mode.auth-page .reg-wizard-card .form-control::placeholder {
    color: #64748b;
}

body.dark-mode.auth-page .reg-wizard-card .input-group-addon,
body.dark-mode.auth-page .reg-wizard-card .input-group-text {
    background: #0b1f3a;
    border-color: #1e3a5f;
    color: #94a3b8;
}

body.dark-mode.auth-page .reg-wizard-card .select2-container--default .select2-selection--single {
    background-color: #092c4c;
    border-color: #1e3a5f;
    color: #f1f5f9;
}

body.dark-mode.auth-page .reg-wizard-card .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #f1f5f9;
}

body.dark-mode.auth-page .reg-wizard-card .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #64748b;
}

body.dark-mode.auth-page .signinform h4,
body.dark-mode.auth-page .copyright-text p {
    color: #94a3b8;
}

body.dark-mode.auth-page .signinform a {
    color: #60a5fa;
}
