.reg-section {
    padding: 4rem 0 7rem;
    background: #eef4ff;
}

.reg-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(45, 104, 196, .13);
    position: relative;
}

.reg-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-xl);
    padding: 2px;
    background: linear-gradient(135deg, #2d68c4 0%, #f4b800 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.reg-panel-left {
    background: #2d68c4;
    padding: 3.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.reg-panel-left::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 280px;
    height: 280px;
    border: 1.5px solid rgba(244, 184, 0, .18);
    border-radius: 50%;
}

.reg-panel-left::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.page-banner {
    background-size: contain;
    background-position: center;
}

.page-banner::after {
    content: '';
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.reg-panel-left-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f4b800 0%, #ffd234 60%, transparent 100%);
}

.reg-panel-heading {
    position: relative;
    z-index: 1;
}

.reg-panel-tag {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #ffd234;
    background: rgba(244, 184, 0, .12);
    border: 1px solid rgba(244, 184, 0, .25);
    border-radius: 100px;
    padding: .25rem .8rem;
    margin-bottom: 1.25rem;
}

.reg-panel-heading h2 {
    font-family: var(--font-display) !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    color: var(--white) !important;
    line-height: 1.2 !important;
    margin-bottom: .75rem !important;
}

.reg-panel-heading h2 em {
    color: #ffd234;
    font-style: italic;
}

.reg-panel-desc {
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
    line-height: 1.8;
}

.reg-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.reg-benefits li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .84rem;
    color: rgba(255, 255, 255, .7);
}

.reg-benefits li .b-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: rgba(244, 184, 0, .18);
    border: 1px solid rgba(244, 184, 0, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd234;
    font-size: .58rem;
    margin-top: .1rem;
}

.reg-panel-right {
    padding: 3.5rem;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.reg-form-title {
    font-family: var(--font-display) !important;
    font-size: 1.85rem !important;
    font-weight: 400 !important;
    color: #2d68c4 !important;
    margin-bottom: .3rem !important;
}

.reg-form-sub {
    font-size: .86rem;
    color: var(--text-muted);
    margin-bottom: 2.25rem;
}

.fld {
    margin-bottom: 1.1rem;
}

.fld label {
    display: block;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: .4rem;
}

.fld label .req {
    color: #DC2626;
    margin-right: .2rem;
}

.fld label .hint {
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    font-size: .62rem;
    color: var(--slate-400);
}

.fi {
    width: 100%;
    background: #f5f8ff !important;
    border: 1.5px solid #d0e2ff !important;
    color: var(--text) !important;
    border-radius: var(--r) !important;
    font-family: var(--font-body) !important;
    font-size: .88rem !important;
    padding: .68rem 1rem !important;
    transition: border-color .25s, box-shadow .25s, background .25s !important;
}

.fi::placeholder {
    color: var(--slate-400) !important;
}

.fi:focus {
    border-color: #2d68c4 !important;
    box-shadow: 0 0 0 3px rgba(45, 104, 196, .12) !important;
    background: var(--white) !important;
    outline: none !important;
}

.agree-box {
    background: #eef4ff;
    border-radius: var(--r);
    padding: 1.1rem 1.3rem;
    margin: 1.5rem 0;
    position: relative;
}

.agree-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r);
    padding: 1.5px;
    background: linear-gradient(135deg, #2d68c4 0%, #f4b800 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.agree-box p {
    font-size: .83rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: .75rem;
}

.agree-box p strong {
    color: #2d68c4;
}

.agree-row {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .84rem;
    color: var(--slate-700);
    cursor: pointer;
}

.agree-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2d68c4;
    cursor: pointer;
    flex-shrink: 0;
}

.form-sep {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin: 1.35rem 0;
    font-size: .68rem;
    color: var(--slate-400);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.form-sep::before,
.form-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #d0e2ff, #f4b800, #d0e2ff);
}

.form-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.btn-read-disc {
    background: var(--white) !important;
    color: #2d68c4 !important;
    border: 1.5px solid #d0e2ff !important;
    border-radius: var(--r) !important;
    font-family: var(--font-body) !important;
    font-size: .7rem !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    padding: .7rem 1.3rem !important;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: all .25s;
    cursor: pointer;
    white-space: nowrap;
}

.btn-read-disc:hover {
    background: #eef4ff !important;
    border-color: #2d68c4 !important;
}

.btn-reg-submit {
    flex: 1;
    min-width: 160px;
    background: #2d68c4 !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: var(--r) !important;
    font-family: var(--font-body) !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    padding: .75rem 1.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: all .25s;
    cursor: pointer;
    box-shadow: 0 3px 14px rgba(45, 104, 196, .25);
}

.btn-reg-submit:hover {
    background: #1e4d9a !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(45, 104, 196, .32) !important;
}

.login-link {
    text-align: center;
    margin-top: 1.75rem;
    font-size: .84rem;
    color: var(--text-muted);
}

.login-link a {
    color: #2d68c4 !important;
    font-weight: 600;
    text-decoration: none !important;
}

.login-link a:hover {
    text-decoration: underline !important;
}

.disc-modal .modal-content {
    background: var(--white) !important;
    border: 1px solid #d0e2ff !important;
    border-radius: var(--r-xl) !important;
    box-shadow: 0 12px 48px rgba(45, 104, 196, .13) !important;
    overflow: hidden;
    position: relative;
}

.disc-modal .modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-xl);
    padding: 2px;
    background: linear-gradient(135deg, #2d68c4 0%, #f4b800 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.disc-modal .modal-header {
    background: #2d68c4 !important;
    border-bottom: none !important;
    padding: 1.35rem 1.75rem !important;
    position: relative;
}

.disc-modal .modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f4b800, #ffd234, transparent);
}

.disc-modal .modal-title {
    font-family: var(--font-display) !important;
    font-size: 1.2rem !important;
    font-weight: 400 !important;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.disc-modal .modal-title i {
    color: #ffd234;
}

.disc-modal .btn-close {
    filter: invert(1) opacity(.65);
}

.disc-modal .modal-body {
    padding: 2rem 1.75rem !important;
    font-size: .87rem !important;
    color: var(--slate-600) !important;
    line-height: 1.85 !important;
    max-height: 58vh;
    overflow-y: auto;
}

.disc-modal .modal-body::-webkit-scrollbar {
    width: 4px;
}

.disc-modal .modal-body::-webkit-scrollbar-thumb {
    background: #d0e2ff;
    border-radius: 2px;
}

.disc-modal .modal-body ol {
    padding-left: 1.35rem;
}

.disc-modal .modal-body li {
    margin-bottom: .7rem;
}

.disc-modal .modal-body strong {
    color: #2d68c4;
}

.disc-modal .modal-body ul {
    margin-top: .35rem;
}

.disc-modal .modal-footer {
    background: #f5f8ff !important;
    border-top: 1px solid #d0e2ff !important;
    padding: 1rem 1.75rem !important;
}

.disc-note-box {
    background: #eef4ff;
    border-radius: var(--r);
    padding: 1rem 1.25rem;
    font-size: .83rem;
    color: #2d68c4;
    margin-top: 1.5rem;
    position: relative;
}

.disc-note-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r);
    padding: 1.5px;
    background: linear-gradient(135deg, #2d68c4 0%, #f4b800 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.btn-modal-close {
    background: var(--white) !important;
    color: var(--slate-600) !important;
    border: 1.5px solid #d0e2ff !important;
    border-radius: var(--r) !important;
    font-family: var(--font-body) !important;
    font-size: .7rem !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    padding: .55rem 1.3rem !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: all .25s;
}

.btn-modal-close:hover {
    background: #eef4ff !important;
    border-color: #2d68c4 !important;
}

.lx-toast-wrap {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.lx-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 300px;
    max-width: 380px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 8px 32px rgba(45, 104, 196, .18), 0 2px 8px rgba(0, 0, 0, .08);
    pointer-events: all;
    position: relative;
    overflow: hidden;
    animation: lxToastIn .35s cubic-bezier(.22, 1, .36, 1) both;
}

.lx-toast.hiding {
    animation: lxToastOut .3s ease forwards;
}

.lx-toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 14px 0 0 14px;
}

.lx-toast.success::before {
    background: linear-gradient(180deg, #2d68c4, #22c55e);
}

.lx-toast.error::before {
    background: linear-gradient(180deg, #ef4444, #f97316);
}

.lx-toast.warning::before {
    background: linear-gradient(180deg, #f4b800, #f97316);
}

.lx-toast.info::before {
    background: linear-gradient(180deg, #2d68c4, #818cf8);
}

.lx-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 14px 14px;
    animation: lxProgress var(--dur, 5s) linear forwards;
}

.lx-toast.success .lx-toast-progress {
    background: linear-gradient(90deg, #2d68c4, #22c55e);
}

.lx-toast.error .lx-toast-progress {
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.lx-toast.warning .lx-toast-progress {
    background: linear-gradient(90deg, #f4b800, #f97316);
}

.lx-toast.info .lx-toast-progress {
    background: linear-gradient(90deg, #2d68c4, #818cf8);
}

.lx-toast-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
}

.lx-toast.success .lx-toast-icon {
    background: #eef4ff;
    color: #2d68c4;
}

.lx-toast.error .lx-toast-icon {
    background: #fef2f2;
    color: #ef4444;
}

.lx-toast.warning .lx-toast-icon {
    background: #fffbeb;
    color: #f4b800;
}

.lx-toast.info .lx-toast-icon {
    background: #eef4ff;
    color: #2d68c4;
}

.lx-toast-body {
    flex: 1;
    min-width: 0;
}

.lx-toast-title {
    font-size: .78rem;
    font-weight: 800;
    color: #1a2640;
    margin-bottom: 2px;
    letter-spacing: .01em;
}

.lx-toast-msg {
    font-size: .75rem;
    color: #64748b;
    line-height: 1.5;
}

.lx-toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: .75rem;
    padding: 2px;
    line-height: 1;
    flex-shrink: 0;
    transition: color .2s;
    margin-top: 1px;
}

.lx-toast-close:hover {
    color: #475569;
}

@keyframes lxToastIn {
    from {
        opacity: 0;
        transform: translateX(24px) scale(.95);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes lxToastOut {
    from {
        opacity: 1;
        transform: none;
    }

    to {
        opacity: 0;
        transform: translateX(24px) scale(.95);
    }
}

@keyframes lxProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.swal2-popup.lx-swal {
    border-radius: 20px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 24px 64px rgba(45, 104, 196, .22) !important;
    border: none !important;
    max-width: 420px !important;
}

.swal2-popup.lx-swal .swal2-header {
    padding: 2rem 2rem 1rem !important;
    background: #fff !important;
}

.swal2-popup.lx-swal .swal2-content {
    padding: 0 2rem !important;
}

.swal2-popup.lx-swal .swal2-actions {
    padding: 1.25rem 2rem 2rem !important;
    gap: .6rem !important;
}

.swal2-popup.lx-swal .swal2-title {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #1a2640 !important;
    margin: 0 !important;
}

.swal2-popup.lx-swal .swal2-html-container {
    font-size: .85rem !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.swal2-popup.lx-swal .swal2-icon {
    width: 56px !important;
    height: 56px !important;
    border-width: 2px !important;
    margin: 1.5rem auto .75rem !important;
}

.swal2-popup.lx-swal .swal2-confirm {
    background: #2d68c4 !important;
    border-radius: 50px !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    padding: .7rem 2rem !important;
    box-shadow: 0 4px 14px rgba(45, 104, 196, .3) !important;
    border: none !important;
    transition: background .2s, box-shadow .2s !important;
}

.swal2-popup.lx-swal .swal2-confirm:hover {
    background: #1e4d9a !important;
    box-shadow: 0 8px 20px rgba(45, 104, 196, .4) !important;
}

.swal2-popup.lx-swal .swal2-cancel {
    background: #fff !important;
    color: #2d68c4 !important;
    border: 1.5px solid #d0e2ff !important;
    border-radius: 50px !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    padding: .7rem 2rem !important;
    transition: all .2s !important;
}

.swal2-popup.lx-swal .swal2-cancel:hover {
    background: #eef4ff !important;
    border-color: #2d68c4 !important;
}

.swal2-popup.lx-swal::before {
    content: '';
    display: block;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #2d68c4 0%, #f4b800 100%);
}

.swal2-container.lx-backdrop {
    background: rgba(20, 40, 90, .45) !important;
    backdrop-filter: blur(4px);
}

.lx-loading-container {
    padding: 3rem 1.5rem 2.5rem;
    text-align: center;
}

.lycon-spinner {
    width: 65px;
    height: 65px;
    border: 4px solid #f0f4f8;
    border-top: 4px solid #2d68c4;
    border-left: 4px solid #f4b800;
    border-radius: 50%;
    animation: lx-spin 1s linear infinite;
    margin: 0 auto 1.5rem auto;
}

@keyframes lx-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.swal2-popup.lx-swal .lycon-loading-text {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #1a2640 !important;
    margin: 0 !important;
    letter-spacing: 0.02em;
}

@media (max-width: 1199px) {
    .reg-card {
        grid-template-columns: 320px 1fr;
    }

    .reg-panel-left {
        padding: 3rem 2rem;
    }

    .reg-panel-right {
        padding: 3rem 2.5rem;
    }
}

@media (max-width: 991px) {
    .reg-section {
        padding: 2.5rem 0 5rem;
    }

    .reg-card {
        grid-template-columns: 1fr;
    }

    .reg-panel-left {
        padding: 2.5rem 2rem;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .reg-panel-left::before,
    .reg-panel-left::after {
        opacity: .4;
    }

    .reg-panel-heading {
        flex: 1 1 260px;
    }

    .reg-benefits {
        flex: 1 1 220px;
        gap: .65rem;
    }

    .reg-panel-right {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 575px) {
    .reg-section {
        padding: 2rem 0 4rem;
    }

    .reg-card {
        border-radius: 12px;
    }

    .reg-panel-left {
        padding: 2rem 1.25rem;
        flex-direction: column;
        gap: 1.25rem;
    }

    .reg-panel-heading h2 {
        font-size: 1.6rem !important;
    }

    .reg-panel-desc {
        font-size: .8rem;
    }

    .reg-panel-right {
        padding: 1.75rem 1.25rem;
    }

    .reg-form-title {
        font-size: 1.4rem !important;
    }

    .reg-form-sub {
        font-size: .82rem;
        margin-bottom: 1.5rem;
    }

    .row.g-3>.col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-read-disc,
    .btn-reg-submit {
        width: 100% !important;
        justify-content: center;
        min-width: unset;
    }

    .agree-box {
        padding: .9rem 1rem;
    }

    .agree-box p {
        font-size: .8rem;
    }

    .agree-row {
        font-size: .8rem;
    }

    .disc-modal .modal-body {
        padding: 1.25rem !important;
        max-height: 65vh;
    }

    .disc-modal .modal-header {
        padding: 1rem 1.25rem !important;
    }

    .disc-modal .modal-footer {
        padding: .75rem 1.25rem !important;
    }

    .lx-toast {
        min-width: unset;
        max-width: calc(100vw - 32px);
    }

    .lx-toast-wrap {
        left: 16px;
        right: 16px;
        top: 16px;
    }
}

@media (max-width: 360px) {
    .reg-panel-left {
        padding: 1.5rem 1rem;
    }

    .reg-panel-right {
        padding: 1.5rem 1rem;
    }

    .reg-panel-heading h2 {
        font-size: 1.35rem !important;
    }
}