/*
|--------------------------------------------------------------------------
| Public Website Styles
|--------------------------------------------------------------------------
*/

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f8f9fa;
}

.public-content {
    min-height: 70vh;
}

.hero-section {
    padding: 80px 0;
}

.card {
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    transition: all .3s ease;
}

.card:hover {
    transform: translateY(-3px);
}

.footer {
    background: #212529;
    color: #fff;
    padding: 20px 0;
}

.loading-spinner {
    padding: 50px;
    text-align: center;
}

/*
|--------------------------------------------------------------------------
| Public Auth Screens
|--------------------------------------------------------------------------
*/

.auth-page {
    min-height: 100vh;
    padding: 44px 18px;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.10), rgba(34, 197, 94, 0.08)),
        #f6f8fb;
}

.auth-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.auth-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
    align-items: stretch;
    gap: 22px;
}

.auth-info-panel,
.auth-card {
    border: 1px solid #dbe4ef;
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.10);
}

.auth-info-panel {
    display: flex;
    min-height: 560px;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    background:
        linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.88)),
        #111827;
    color: #fff;
}

.auth-brand-mark,
.success-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #22c55e;
    color: #fff;
    font-weight: 800;
}

.auth-info-panel h1 {
    max-width: 520px;
    margin: 24px 0 12px;
    font-size: 42px;
    line-height: 1.08;
}

.auth-info-panel p {
    max-width: 560px;
    margin: 0;
    color: #dbeafe;
    font-size: 17px;
    line-height: 1.6;
}

.auth-benefit-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.auth-benefit-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eef6ff;
    font-weight: 700;
}

.auth-benefit-list span::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #38bdf8;
}

.auth-card {
    background: rgba(255, 255, 255, 0.96);
}

.auth-login-card {
    align-self: center;
    padding: 34px;
}

.auth-card-large {
    padding: 0;
}

.register-card,
.auth-success-card {
    overflow: hidden;
}

.auth-header {
    margin-bottom: 22px;
}

.auth-header h1 {
    margin: 0;
    color: #111827;
    font-size: 32px;
    line-height: 1.16;
}

.auth-header p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.55;
}

.auth-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    font-weight: 800;
}

.register-hero {
    padding: 34px 34px 26px;
    margin: 0;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(16, 185, 129, 0.12)),
        #ffffff;
    border-bottom: 1px solid #e5edf7;
}

.register-card form,
.register-card .auth-footer {
    padding: 0 34px 34px;
}

.form-card,
.auth-warning-card,
.register-submit-card,
.success-steps {
    margin-top: 20px;
    padding: 22px;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.section-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.section-title > span {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.section-title h3 {
    margin: 0;
    color: #172033;
    font-size: 20px;
}

.section-title p {
    margin: 5px 0 0;
    color: #64748b;
}

.selected-plan-summary {
    display: grid;
    gap: 18px;
}

.selected-plan-summary h4 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 22px;
}

.selected-plan-summary p {
    margin: 0;
    color: #64748b;
}

.plan-meta-grid > div {
    padding: 14px;
    border: 1px solid #e5edf7;
    border-radius: 12px;
    background: #f8fafc;
}

.plan-meta-grid small {
    display: block;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 6px;
}

.plan-meta-grid strong {
    color: #111827;
}

.auth-warning-card {
    border-color: #fbbf24;
    background: #fffbeb;
}

.auth-warning-card strong {
    display: block;
    color: #78350f;
    font-size: 18px;
}

.auth-warning-card p {
    margin: 8px 0 16px;
    color: #92400e;
}

.register-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.register-pricing-card {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 18px;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.register-pricing-card:hover,
.register-pricing-card.is-selected {
    transform: translateY(-2px);
    border-color: #2563eb;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.14);
}

.register-pricing-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pricing-card-head,
.pricing-row,
.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.pricing-card-head strong {
    color: #111827;
    font-size: 18px;
}

.pricing-card-head small,
.pricing-row span,
.summary-row span {
    color: #64748b;
    font-weight: 700;
}

.pricing-selected-badge {
    display: none;
    align-self: flex-start;
    padding: 5px 8px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
}

.register-pricing-card.is-selected .pricing-selected-badge {
    display: inline-flex;
}

.pricing-select-dot {
    width: 16px;
    height: 16px;
    border: 2px solid #94a3b8;
    border-radius: 999px;
}

.register-pricing-card.is-selected .pricing-select-dot {
    border-color: #2563eb;
    background: #2563eb;
}

.pricing-price {
    color: #0f172a;
    font-size: 28px;
    font-weight: 800;
}

.user-count-control {
    max-width: 360px;
    margin-top: 18px;
}

.register-price-summary {
    margin-top: 18px;
    padding: 20px;
    border-radius: 16px;
    background: #0f172a;
    color: #fff;
}

.summary-card-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.summary-card-head h4 {
    margin: 0;
    color: #fff;
}

.summary-card-head p {
    margin: 5px 0 0;
    color: #cbd5e1;
}

.summary-list {
    display: grid;
    gap: 10px;
}

.summary-row strong {
    color: #fff;
}

.summary-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.register-submit-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.terms-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #334155;
    font-weight: 700;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-weight: 800;
}

.form-control {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}

.form-control:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.btn-block {
    width: 100%;
}

.auth-links,
.auth-footer {
    text-align: center;
}

.auth-links a,
.auth-footer a {
    color: #2563eb;
    font-weight: 800;
}

.auth-success-shell {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 88px);
}

.auth-success-card {
    width: min(720px, 100%);
    padding: 34px;
    text-align: center;
}

.auth-success-card .success-icon {
    margin: 0 auto 18px;
}

.success-steps {
    display: grid;
    gap: 14px;
    text-align: left;
}

.success-step {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
}

.success-step span {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 800;
}

.success-step.is-complete span {
    background: #dcfce7;
    color: #166534;
}

.success-step strong {
    color: #111827;
}

.success-step p {
    margin: 4px 0 0;
    color: #64748b;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

@media (max-width: 880px) {
    .auth-login-shell {
        grid-template-columns: 1fr;
    }

    .auth-info-panel {
        min-height: auto;
        padding: 28px;
    }

    .auth-info-panel h1 {
        font-size: 32px;
    }

    .register-card form,
    .register-card .auth-footer,
    .register-hero,
    .auth-login-card,
    .auth-success-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .register-submit-card,
    .summary-card-head,
    .success-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.onboarding-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 72px;
}

.onboarding-header {
    max-width: 760px;
    margin-bottom: 28px;
}

.onboarding-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e9f2ff;
    color: #0b5ed7;
    font-weight: 700;
    font-size: 13px;
}

.onboarding-header h1 {
    margin: 0;
    color: #172033;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.12;
}

.onboarding-header p,
.section-heading p,
.selection-card small,
.selection-description {
    color: #667085;
}

.onboarding-header p {
    margin: 14px 0 0;
    font-size: 17px;
}

.onboarding-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}

.step-pill {
    padding: 9px 13px;
    border: 1px solid #d8dee9;
    border-radius: 999px;
    background: #fff;
    color: #4b5565;
    font-weight: 700;
    font-size: 13px;
}

.step-pill.is-active {
    border-color: #1d72f3;
    background: #eef5ff;
    color: #1554b8;
}

.onboarding-section {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 41, 55, 0.06);
}

.onboarding-section.is-muted {
    background: #fbfcfe;
}

.section-heading {
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;
    color: #1f2937;
    font-size: 22px;
    font-weight: 800;
}

.section-heading p {
    margin: 6px 0 0;
}

.onboarding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.selection-card {
    min-height: 150px;
    width: 100%;
    padding: 18px;
    border: 1px solid #dce3ef;
    border-radius: 8px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.selection-card:hover {
    transform: translateY(-3px);
    border-color: #88b7ff;
    box-shadow: 0 12px 26px rgba(29, 114, 243, 0.12);
}

.selection-card.is-selected {
    border-color: #1d72f3;
    background: #f4f8ff;
    box-shadow: 0 0 0 3px rgba(29, 114, 243, 0.12);
}

.selection-card.is-hidden {
    display: none;
}

.selection-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 8px;
    background: #eef5ff;
    color: #1d72f3;
    font-size: 20px;
}

.selection-card strong,
.selection-card small,
.selection-description {
    display: block;
}

.selection-card strong {
    color: #111827;
    font-size: 17px;
}

.selection-card small {
    margin-top: 4px;
    font-weight: 700;
}

.selection-description {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.45;
}

.onboarding-action {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding: 16px 0 4px;
    background: linear-gradient(180deg, rgba(248,249,250,0), #f8f9fa 38%);
}

.onboarding-action .disabled {
    pointer-events: none;
    opacity: .55;
}

.onboarding-empty {
    padding: 42px 24px;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.onboarding-empty i {
    color: #1d72f3;
    font-size: 36px;
}

/* --------------------------------------------------------------------------
| Registration Pricing UI - Clean SaaS Cards
|-------------------------------------------------------------------------- */

.register-pricing-section {
    margin-top: 24px;
    padding: 28px;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.register-pricing-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.register-pricing-header h3 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.register-pricing-header p {
    margin: 7px 0 0;
    max-width: 640px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
}

.register-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.register-pricing-card {
    position: relative;
    display: flex !important;
    flex-direction: column;
    min-height: 300px;
    padding: 22px;
    border: 2px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.register-pricing-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: transparent;
    transition: background .2s ease;
}

.register-pricing-card:hover {
    transform: translateY(-5px);
    border-color: #60a5fa;
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.14);
}

.register-pricing-card.is-selected {
    border-color: #2563eb;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 65%);
    box-shadow: 0 22px 52px rgba(37, 99, 235, 0.20);
}

.register-pricing-card.is-selected::before {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.register-pricing-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pricing-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.pricing-card-head strong {
    display: block;
    color: #0f172a;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.pricing-card-head small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-card-action {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.pricing-selected-badge {
    display: none;
    padding: 5px 9px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.register-pricing-card.is-selected .pricing-selected-badge {
    display: inline-flex;
}

.pricing-select-dot {
    width: 22px;
    height: 22px;
    border: 2px solid #94a3b8;
    border-radius: 999px;
    background: #ffffff;
    flex: 0 0 auto;
}

.register-pricing-card.is-selected .pricing-select-dot {
    border-color: #2563eb;
    background: radial-gradient(circle, #2563eb 44%, #ffffff 48%);
}

.pricing-price {
    display: block;
    margin: 8px 0 18px;
    color: #1d4ed8;
    font-size: 36px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.04em;
}

.pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid #e2e8f0;
    line-height: 1.35;
}

.pricing-row span {
    color: #64748b;
    font-size: 14px;
}

.pricing-row strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
    text-align: right;
    white-space: nowrap;
}

.register-pricing-section .form-group {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: #ffffff;
}

.register-pricing-section .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-weight: 900;
}

.register-pricing-section .form-group small {
    display: block;
    margin-top: 8px;
    color: #64748b;
}

.register-price-summary {
    max-width: 820px;
    margin: 24px auto 0;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #172554 100%);
    color: #ffffff;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.25);
}

.register-price-summary h4 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.summary-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.summary-card-head p {
    margin: 6px 0 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.45;
}

.summary-card-head > strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.summary-list {
    margin-top: 8px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-row span {
    color: #cbd5e1;
}

.summary-row strong {
    color: #ffffff;
    text-align: right;
    white-space: nowrap;
}

.summary-total {
    margin-top: 4px;
    padding-top: 17px;
    border-bottom: 0;
}

.summary-total span,
.summary-total strong {
    color: #93c5fd;
    font-size: 20px;
    font-weight: 950;
}

@media (max-width: 768px) {
    .register-pricing-section {
        padding: 16px;
        border-radius: 18px;
    }

    .register-pricing-header,
    .summary-card-head,
    .summary-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .register-pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-price {
        font-size: 30px;
    }

    .pricing-row strong,
    .summary-row strong {
        text-align: left;
    }

    .pricing-card-action {
        flex-direction: column;
        align-items: flex-end;
    }
}

