:root {
    --reg-bg: #050d1d;
    --reg-surface: rgba(12, 27, 52, .94);
    --reg-surface-soft: rgba(14, 33, 64, .72);
    --reg-border: rgba(117, 156, 216, .24);
    --reg-text: #f7faff;
    --reg-muted: #91a4c0;
    --reg-blue: #2d72ff;
    --reg-cyan: #25c7ff;
    --reg-success: #32d6ae;
}

body.freecom-registration-page { overflow-y: auto !important; background: var(--reg-bg) !important; }
.freecom-registration-page .right-col { padding: 0 !important; align-items: stretch !important; }
.freecom-registration-page .right-col > .row:first-child { display: none !important; }
.freecom-registration-page .container-fluid,
.freecom-registration-page .eq-height-row,
.freecom-registration-page .right-col { height: auto !important; min-height: 100vh !important; }

.freecom-register-shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0 54px;
}

.freecom-register-nav {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.freecom-register-nav .freecom-brand img { width: 44px; height: 44px; }
.freecom-register-signin { color: var(--reg-muted); font-size: 13px; }
.freecom-register-signin a { margin-left: 8px; color: #fff !important; font-weight: 750; text-decoration: none; }
.freecom-register-signin a:hover { color: var(--reg-cyan) !important; }

.freecom-register-intro { max-width: 720px; margin: 48px auto 34px; text-align: center; }
.freecom-register-eyebrow { margin-bottom: 12px; color: var(--reg-cyan); font-size: 11px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.freecom-register-intro h1 { margin: 0; color: #fff !important; font-size: clamp(32px, 4.5vw, 48px); font-weight: 850; letter-spacing: -.04em; line-height: 1.08; }
.freecom-register-intro p { max-width: 610px; margin: 15px auto 0; color: var(--reg-muted); font-size: 15px; line-height: 1.7; }
.freecom-register-benefits { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.freecom-register-benefits span { padding: 7px 12px; color: #c8d8ef; font-size: 11px; font-weight: 650; border: 1px solid rgba(115,153,207,.2); border-radius: 999px; background: rgba(13,29,56,.65); }
.freecom-register-benefits i { margin-right: 6px; color: var(--reg-success); }

.freecom-registration-card {
    position: relative;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--reg-border);
    border-radius: 24px;
    background: linear-gradient(155deg, rgba(15,33,63,.96), rgba(7,18,38,.96));
    box-shadow: 0 32px 90px rgba(0,0,0,.34);
}
.freecom-registration-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #2b63ff, #20c9ff); }

.freecom-registration-card .wizard { overflow: visible; }
.freecom-registration-card .wizard > .steps { margin: 0 0 26px; }
.freecom-registration-card .wizard > .steps ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.freecom-registration-card .wizard > .steps li { float: none !important; width: auto !important; margin: 0 !important; }
.freecom-registration-card .wizard > .steps a,
.freecom-registration-card .wizard > .steps a:hover,
.freecom-registration-card .wizard > .steps a:active {
    min-height: 66px;
    margin: 0 !important;
    padding: 0 18px !important;
    display: flex;
    align-items: center;
    color: #9fb1ca !important;
    font-size: 13px;
    font-weight: 750;
    border: 1px solid rgba(112,148,202,.18);
    border-radius: 14px;
    background: rgba(7,18,38,.52) !important;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.freecom-registration-card .wizard > .steps .current a { color: #fff !important; border-color: rgba(54,145,255,.7); background: linear-gradient(135deg, rgba(35,85,185,.46), rgba(20,73,139,.3)) !important; box-shadow: 0 10px 26px rgba(18,76,175,.16); }
.freecom-registration-card .wizard > .steps .done a { color: #bcefe2 !important; border-color: rgba(50,214,174,.28); background: rgba(27,102,87,.14) !important; }
.freecom-registration-card .wizard > .steps .number { width: 30px; height: 30px; margin-right: 10px; display: inline-grid; place-items: center; color: #a9bad1; font-size: 12px; border: 1px solid rgba(127,160,207,.3); border-radius: 9px; background: rgba(19,39,72,.65); }
.freecom-registration-card .wizard > .steps .current .number { color: #fff; border-color: transparent; background: linear-gradient(135deg, #2d65ff, #258df4); }
.freecom-registration-card .wizard > .steps .done .number { color: #06251e; border-color: transparent; background: var(--reg-success); }

.freecom-registration-card .wizard > .content { min-height: 660px; margin: 0 !important; overflow: hidden; border: 1px solid rgba(116,151,203,.16); border-radius: 18px; background: rgba(5,16,35,.5) !important; }
.freecom-registration-card form.registration-step-1.wizard > .content { min-height: 410px; }
.freecom-registration-card form.registration-step-2.wizard > .content { min-height: 500px; }
.freecom-registration-card .wizard > .content > .body { width: 100%; height: 100%; padding: 30px !important; color: var(--reg-text); }
.freecom-registration-card fieldset.body { display: none !important; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 18px; }
.freecom-registration-card fieldset.body[aria-hidden="false"] { display: grid !important; }
.freecom-registration-card fieldset > legend { grid-column: 1 / -1; width: 100%; margin: 0 0 24px; padding: 0 0 17px; color: #fff !important; font-size: 18px; font-weight: 800; letter-spacing: -.015em; border-bottom: 1px solid rgba(118,153,203,.17); }
.freecom-registration-card fieldset > .col-md-12 { grid-column: span 12; }
.freecom-registration-card fieldset > .col-md-6,
.freecom-registration-card fieldset > .col-sm-6 { grid-column: span 6; }
.freecom-registration-card fieldset > .col-md-4 { grid-column: span 4; }
.freecom-registration-card fieldset > [class*="col-"] { float: none !important; width: auto !important; padding: 0 !important; }
.freecom-registration-card fieldset > .clearfix { display: none !important; }

.freecom-registration-card .form-group { margin-bottom: 20px; }
.freecom-registration-card label { margin-bottom: 8px; color: #dfe9f8 !important; font-size: 12px; font-weight: 700; }
.freecom-registration-card .input-group { width: 100%; display: flex; }
.freecom-registration-card .input-group-addon { width: 46px; height: 50px; padding: 0; display: grid; place-items: center; flex: 0 0 46px; color: #55caff !important; border: 1px solid #30415e !important; border-right: 0 !important; border-radius: 11px 0 0 11px !important; background: #0b1830 !important; }
.freecom-registration-card .form-control,
.freecom-registration-card .select2-container .select2-selection--single {
    height: 50px !important;
    color: #f4f7fb !important;
    border: 1px solid #30415e !important;
    border-radius: 11px !important;
    background: #081427 !important;
    box-shadow: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.freecom-registration-card .input-group .form-control { border-radius: 0 11px 11px 0 !important; }
.freecom-registration-card .form-control:focus,
.freecom-registration-card .select2-container--focus .select2-selection--single { border-color: #3787ff !important; box-shadow: 0 0 0 4px rgba(48,125,255,.12) !important; }
.freecom-registration-card .form-control::placeholder { color: #687b98 !important; }
.freecom-registration-card .select2-container { width: 100% !important; }
.freecom-registration-card .select2-container .select2-selection--single { display: flex; align-items: center; }
.freecom-registration-card .select2-selection__rendered { padding-left: 13px !important; color: #b9c7db !important; line-height: 48px !important; }
.freecom-registration-card .select2-selection__arrow { top: 11px !important; right: 8px !important; }
.freecom-registration-card .file-caption-main { width: 100%; display: flex !important; }
.freecom-registration-card .file-caption-main .file-caption { min-width: 0; flex: 1 1 auto; border-radius: 11px 0 0 11px !important; }
.freecom-registration-card .file-caption-main .input-group-btn { width: auto !important; display: flex !important; flex: 0 0 auto; }
.freecom-registration-card .file-caption-main .btn { height: 50px; padding: 0 14px; color: #b9c9df; font-size: 12px; font-weight: 700; border-color: #30415e; background: #0b1830; }
.freecom-registration-card .file-caption-main .btn-file { display: inline-flex; align-items: center; justify-content: center; border-radius: 0 11px 11px 0; }
.freecom-registration-card .file-caption-main .btn:hover { color: #fff; border-color: #388dff; background: #0c1c36; }
.freecom-registration-card label.error { margin-top: 6px; color: #ff8c9a !important; font-size: 11px; font-weight: 650; }
.freecom-registration-card .form-control.error { border-color: #e75a70 !important; }

.freecom-registration-card .wizard > .actions { margin-top: 22px; }
.freecom-registration-card .wizard > .actions ul { display: flex; justify-content: flex-end; gap: 10px; }
.freecom-registration-card .wizard > .actions li { margin: 0 !important; }
.freecom-registration-card .wizard > .actions a { min-width: 128px; min-height: 48px; padding: 0 20px !important; display: inline-flex; align-items: center; justify-content: center; color: #dbe7f8 !important; font-size: 13px; font-weight: 800; border: 1px solid #355071 !important; border-radius: 12px !important; background: #0b1a32 !important; box-shadow: none !important; }
.freecom-registration-card .wizard > .actions li:not(.disabled):last-child a,
.freecom-registration-card .wizard > .actions li:nth-last-child(2) a { color: #fff !important; border-color: transparent !important; background: linear-gradient(135deg, #2e63ff, #258ff5) !important; box-shadow: 0 12px 28px rgba(37,105,255,.26) !important; }
.freecom-registration-card .wizard > .actions .disabled a { opacity: .35; cursor: not-allowed; }
.freecom-registration-card .wizard > .actions a:hover { transform: translateY(-1px); }

.freecom-register-footer { padding: 22px 0 0; color: #768aa8; font-size: 11px; text-align: center; }
.freecom-selected-plan { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 16px 18px; border: 1px solid #296bd5; border-radius: 14px; background: linear-gradient(135deg, #0b2348, #0c3269); color: #fff; }
.freecom-selected-plan > div { display: grid; gap: 3px; }
.freecom-selected-plan span { color: #56b8ff; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.freecom-selected-plan strong { font-size: 18px; }
.freecom-selected-plan small { color: #b9cce6; }
.freecom-selected-plan a { flex: none; padding: 9px 13px; border: 1px solid #4c77ad; border-radius: 9px; color: #dcecff; font-size: 11px; font-weight: 800; }

@media (max-width: 800px) {
    .freecom-register-shell { width: min(100% - 24px, 1160px); padding-top: 12px; }
    .freecom-register-nav { min-height: 60px; }
    .freecom-register-signin span { display: none; }
    .freecom-register-intro { margin: 34px auto 26px; }
    .freecom-registration-card { padding: 16px; border-radius: 18px; }
    .freecom-registration-card .wizard > .steps ul { gap: 7px; }
    .freecom-registration-card .wizard > .steps a { min-height: 56px; padding: 0 9px !important; font-size: 10px; }
    .freecom-registration-card .wizard > .steps .number { width: 25px; height: 25px; margin-right: 6px; }
    .freecom-registration-card .wizard > .content { min-height: 1020px; }
    .freecom-registration-card form.registration-step-1.wizard > .content { min-height: 680px; }
    .freecom-registration-card form.registration-step-2.wizard > .content { min-height: 860px; }
    .freecom-registration-card .wizard > .content > .body { padding: 22px 18px !important; }
    .freecom-registration-card fieldset > .col-md-6,
    .freecom-registration-card fieldset > .col-sm-6,
    .freecom-registration-card fieldset > .col-md-4 { grid-column: span 12; }
}

@media (max-width: 480px) {
    .freecom-selected-plan { align-items: flex-start; flex-direction: column; }
    .freecom-brand-tagline { display: none; }
    .freecom-register-intro h1 { font-size: 31px; }
    .freecom-registration-card .wizard > .steps a { flex-direction: column; justify-content: center; text-align: center; }
    .freecom-registration-card .wizard > .steps .number { margin: 0 0 4px; }
    .freecom-registration-card .wizard > .actions ul { justify-content: stretch; }
    .freecom-registration-card .wizard > .actions li { flex: 1; }
    .freecom-registration-card .wizard > .actions a { width: 100%; min-width: 0; }
}
