* {
    box-sizing: border-box;
}

/* Static broker pages */
.static-shell {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 360px;
    margin: 34px auto 0;
    max-width: 1240px;
    padding: 0 18px;
}

.static-content {
    min-width: 0;
}

.static-sidebar {
    border-left: 1px solid #e0e6ec;
    padding-left: 30px;
}

.static-heading {
    border-bottom: 2px solid #1681d6;
    margin-bottom: 20px;
    padding-bottom: 8px;
}

.static-heading h1 {
    color: #0872c9;
    font-size: 29px;
    line-height: 1.15;
    margin: 0;
}

.document-content {
    color: #243547;
    /* font-family: Georgia, "Times New Roman", serif; */
    font-family: "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.72;
}

.document-content h2 {
    color: #243547;
    font-size: 20px;
    margin: 16px 0 12px;
    text-align: center;
    text-transform: uppercase;
}

.document-content h3 {
    color: #1b344f;
    font-size: 18px;
    margin: 24px 0 10px;
}

.document-content p,
.document-content li {
    margin-bottom: 12px;
}

.document-content ul {
    margin: 0 0 16px;
    padding-left: 24px;
}

.lead {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

.hero-panel {
    background:
        linear-gradient(90deg, rgba(4, 74, 132, .92), rgba(4, 120, 190, .58)),
        radial-gradient(circle at 18% 28%, rgba(255, 255, 255, .88) 0 9%, transparent 10%),
        radial-gradient(circle at 32% 68%, rgba(255, 255, 255, .82) 0 12%, transparent 13%),
        linear-gradient(135deg, #bfe6ff 0, #2a95d8 48%, #0a568f 100%);
    border: 1px solid #d7e5f1;
    min-height: 330px;
    overflow: hidden;
    position: relative;
}

.hero-panel::after {
    background:
        linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, .86) 43% 45%, transparent 46%),
        linear-gradient(0deg, transparent 0 50%, rgba(255, 255, 255, .36) 51% 52%, transparent 53%);
    content: '';
    inset: 0;
    opacity: .36;
    position: absolute;
}

.hero-track {
    animation: heroSlider 15s infinite;
    display: flex;
    min-height: 330px;
    position: relative;
    width: 300%;
    z-index: 1;
}

.hero-slide {
    align-items: center;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
    padding: 42px;
    width: 33.3333%;
}

.hero-copy {
    color: #fff;
    max-width: 650px;
    position: relative;
}

.hero-image {
    filter: drop-shadow(0 18px 24px rgba(0, 36, 74, .24));
    height: auto;
    max-height: 236px;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.hero-dots {
    bottom: 22px;
    display: flex;
    gap: 8px;
    left: 42px;
    position: absolute;
    z-index: 2;
}

.hero-dots span {
    animation: heroDot 15s infinite;
    background: rgba(255, 255, 255, .46);
    border-radius: 999px;
    height: 8px;
    width: 26px;
}

.hero-dots span:nth-child(2) {
    animation-delay: 5s;
}

.hero-dots span:nth-child(3) {
    animation-delay: 10s;
}

.eyebrow {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-copy h1 {
    font-size: 42px;
    line-height: 1.16;
    margin: 0 0 14px;
}

.hero-copy p {
    font-size: 18px;
    line-height: 1.58;
    margin: 0 0 22px;
    max-width: 570px;
}

@keyframes heroSlider {
    0%,
    28% {
        transform: translateX(0);
    }

    33.333%,
    61% {
        transform: translateX(-33.3333%);
    }

    66.666%,
    94% {
        transform: translateX(-66.6666%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes heroDot {
    0%,
    28% {
        background: #fff;
    }

    33.333%,
    100% {
        background: rgba(255, 255, 255, .46);
    }
}

.intro-section {
    padding-top: 14px;
}

.intro-section h2 {
    color: #0872c9;
    font-size: 27px;
    margin: 0 0 12px;
}

.check-list {
    font-size: 18px;
    line-height: 1.7;
    list-style: none;
    margin: 0;
    padding: 0 0 0 44px;
}

.check-list li {
    position: relative;
}

.check-list li::before {
    color: #f5a000;
    content: '✓';
    font-weight: 700;
    left: -28px;
    position: absolute;
}

.province-box h2,
.support-box h2 {
    color: #303030;
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 18px;
}

.province-list {
    max-height: 278px;
    overflow-y: auto;
    padding-right: 6px;
}

.province-btn {
    background: linear-gradient(var(--province-start, #ffad19), var(--province-end, #eb8700));
    border-radius: 5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 3px 7px rgba(0, 0, 0, .08);
    color: #fff;
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    min-height: 48px;
    padding: 13px 16px;
    text-align: center;
}

.province-btn.active,
.province-btn:hover {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .78), 0 6px 14px rgba(0, 0, 0, .14);
    transform: translateY(-1px);
}

.province-btn.orange {
    background: linear-gradient(#ffad19, #eb8700);
}

.province-btn.green {
    background: linear-gradient(#05a90a, #008806);
}

.province-empty {
    background: #f4f7fa;
    border: 1px dashed #c9d5df;
    border-radius: 5px;
    color: #667789;
    margin: 0;
    padding: 13px 14px;
}

.hotline-box {
    align-items: center;
    color: #f04a33;
    display: grid;
    gap: 0 10px;
    grid-template-columns: 58px 1fr;
    justify-content: center;
    margin: 24px auto 30px;
    max-width: 280px;
}

.phone-icon {
    align-items: center;
    border: 4px solid #f04a33;
    border-radius: 999px;
    display: inline-flex;
    font-size: 30px;
    grid-row: span 2;
    height: 56px;
    justify-content: center;
    width: 56px;
}

.hotline-box span:not(.phone-icon) {
    font-size: 17px;
}

.hotline-box strong {
    font-size: 28px;
    line-height: 1;
}

.support-box {
    border-top: 1px dashed #d8d8d8;
    padding-top: 22px;
}

.support-box h2 {
    font-size: 22px;
    text-align: center;
}

.support-person {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 58px 1fr;
    margin-top: 18px;
}

.avatar-icon {
    align-items: center;
    background: radial-gradient(circle at 34% 28%, #fff 0 9%, transparent 10%), linear-gradient(#ffe778, #f4a900);
    border: 2px solid #d49600;
    border-radius: 999px;
    color: #6c4600;
    display: inline-flex;
    font-size: 34px;
    height: 56px;
    justify-content: center;
    line-height: 1;
    width: 56px;
}

.support-person p {
    margin: 0;
}

.support-person strong,
.support-person b {
    display: block;
}

.support-person b {
    color: #c92f1d;
    font-size: 18px;
    margin-top: 6px;
}

.contact-info {
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 24px;
}

.contact-info p {
    margin: 0 0 9px;
}

.map-placeholder {
    align-items: flex-start;
    background: #eef3f7;
    border: 1px solid #d7e1ea;
    display: flex;
    min-height: 470px;
    overflow: hidden;
    position: relative;
}

.map-placeholder iframe {
    border: 0;
    height: 470px;
    inset: 0;
    position: absolute;
    width: 100%;
}

.map-card {
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    margin: 26px;
    max-width: 310px;
    padding: 18px 20px;
    position: relative;
    z-index: 1;
}

.map-card strong,
.map-card span {
    display: block;
}

.map-card span {
    color: #596b7c;
    line-height: 1.45;
    margin-top: 8px;
}

.map-card .btn {
    margin-top: 14px;
}

.price-table-wrap {
    border: 1px solid #dbe5ef;
    overflow-x: auto;
}

.price-table {
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
    min-width: 680px;
    width: 100%;
}

.price-table th {
    background: #0872c9;
    color: #fff;
    font-size: 15px;
    padding: 14px 16px;
    text-align: left;
}

.price-table td {
    border-top: 1px solid #e5edf4;
    padding: 15px 16px;
}

.price-table tbody tr:nth-child(even) {
    background: #f8fbfe;
}

.price-table td[colspan] {
    color: #667789;
    font-weight: 700;
    text-align: center;
}

.pricing-page .bonus-badge {
    background: #fff4d8;
    border-radius: 999px;
    color: #b66a00;
    display: inline-block;
    font-weight: 700;
    padding: 6px 11px;
}

@media (max-width: 980px) {
    .static-shell {
        grid-template-columns: 1fr;
    }

    .static-sidebar {
        border-left: 0;
        border-top: 1px solid #e0e6ec;
        padding: 26px 0 0;
    }
}

@media (max-width: 640px) {
    .static-shell {
        margin-top: 20px;
        padding: 0;
    }

    .static-heading h1,
    .intro-section h2 {
        font-size: 24px;
    }

    .document-content {
        font-size: 15px;
    }

    .hero-panel {
        min-height: 300px;
    }

    .hero-track {
        min-height: 300px;
    }

    .hero-slide {
        gap: 20px;
        grid-template-columns: 1fr;
        padding: 28px 22px 54px;
    }

    .hero-copy h1 {
        font-size: 30px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-image {
        justify-self: center;
        max-height: 150px;
        max-width: 260px;
    }

    .hero-dots {
        bottom: 18px;
        left: 22px;
    }

    .check-list {
        font-size: 16px;
        padding-left: 30px;
    }

    .province-btn {
        font-size: 19px;
    }

    .map-placeholder {
        min-height: 320px;
    }

    .map-placeholder iframe {
        height: 320px;
    }

    .map-card {
        margin: 16px;
        max-width: calc(100% - 32px);
        padding: 14px 16px;
    }

    .price-table {
        min-width: 0;
    }

    .price-table thead {
        display: none;
    }

    .price-table tr,
    .price-table td {
        display: block;
    }

    .price-table tr {
        border-top: 1px solid #e5edf4;
        padding: 10px 12px;
    }

    .price-table td {
        border-top: 0;
        padding: 7px 0;
    }

    .price-table td::before {
        color: #667789;
        content: attr(data-label) ': ';
        font-weight: 700;
    }

    .price-table td[colspan]::before {
        content: '';
    }
}

.account-page {
    padding: 24px 18px 0;
}

.account-heading {
    margin: 16px 0 26px;
}

.account-heading h1 {
    font-size: 24px;
    margin: 0 0 10px;
}

.heading-line {
    border-top: 1px solid #aaa;
    height: 1px;
}

.account-required {
    font-size: 20px;
    margin: 0 0 12px;
    text-align: right;
}

.account-required::before {
    background: red;
    content: '';
    display: inline-block;
    height: 23px;
    margin-right: 10px;
    vertical-align: middle;
    width: 5px;
}

.account-tabs {
    border-bottom: 1px solid #c7c7c7;
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.account-tabs a {
    background: linear-gradient(#c7c7c7, #7e7e7e);
    border-radius: 4px 4px 0 0;
    color: #fff;
    display: inline-flex;
    font-size: 18px;
    font-weight: 700;
    min-height: 39px;
    padding: 9px 18px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .7);
}

.account-tabs a.active {
    background: linear-gradient(#8e8e8e, #555);
}

.account-box {
    background: #f6f7f9;
    border: 1px solid #cdd3dd;
    border-radius: 4px;
    min-height: 277px;
    padding: 57px 20px 10px;
}

.account-form-grid {
    display: grid;
    gap: 90px;
    grid-template-columns: minmax(380px, 1fr) minmax(360px, 1fr);
    max-width: 1450px;
}

.account-row {
    align-items: center;
    display: flex;
    gap: 22px;
    margin-bottom: 12px;
}

.account-row label {
    font-size: 22px;
    font-weight: 700;
    text-align: right;
    width: 220px;
}

.account-row label::after {
    background: #66c8ec;
    border-radius: 2px;
    color: #fff;
    content: '?';
    display: inline-flex;
    font-size: 12px;
    height: 16px;
    justify-content: center;
    line-height: 16px;
    margin-left: 13px;
    vertical-align: middle;
    width: 16px;
}

.account-row input,
.transaction-footer select {
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .08);
    font-size: 16px;
    min-height: 35px;
    padding: 7px 10px;
    width: 282px;
}

.account-row input[readonly] {
    background: #fff;
    color: #333;
}

.account-actions {
    border-top: 1px solid #cfcfcf;
    display: flex;
    justify-content: flex-end;
    margin-top: 56px;
    padding: 20px 0 26px;
}

.transaction-history {
    border-top: 1px solid #cfcfcf;
    padding: 28px 8px 0;
}

.transaction-history h2 {
    border-bottom: 1px solid #b7b7b7;
    font-size: 24px;
    margin: 0 0 36px;
    padding-bottom: 10px;
}

.transaction-empty {
    background: #efffee;
    border: 2px solid #70c66a;
    color: #2c7d20;
    font-size: 22px;
    margin: 0 18px 14px;
    padding: 13px 14px;
}

.transaction-table-wrap {
    margin: 0 18px 14px;
    overflow-x: auto;
}

.transaction-table {
    background: #fff;
    border-collapse: collapse;
    min-width: 760px;
    width: 100%;
}

.transaction-table th,
.transaction-table td {
    border: 1px solid #d7d7d7;
    padding: 10px 12px;
    text-align: left;
}

.transaction-table th {
    background: #eeeeee;
    font-weight: 700;
}

.transaction-table td:nth-child(3),
.transaction-table td:nth-child(4),
.transaction-table td:nth-child(5) {
    text-align: right;
}

.transaction-footer {
    align-items: center;
    background: #fff;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 8px 30px;
}

.transaction-footer select {
    width: 68px;
}

.password-box {
    min-height: 277px;
}

.password-fields {
    max-width: 560px;
    padding-top: 8px;
}

body {
    margin: 0;
    color: #2a2a2a;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

a {
    color: #003b70;
    text-decoration: none;
}

.site-header {
    align-items: center;
    background: #0872c9;
    display: flex;
    height: 76px;
    justify-content: space-between;
    padding: 0 38px;
}

.brand {
    align-items: center;
    color: #fff;
    display: flex;
    font-weight: 700;
    gap: 8px;
}

.brand-mark {
    align-items: center;
    background: #fff;
    border: 3px solid #fff;
    border-radius: 6px;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    overflow: hidden;
    width: 42px;
}

.brand-mark img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.brand-text {
    font-size: 20px;
    line-height: 1.02;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: 14px;
    font-weight: 700;
}

.site-nav a {
    color: #fff;
    padding: 8px 0;
}

.site-nav a.active {
    background: rgba(255, 255, 255, .22);
    border-radius: 4px;
    color: #f29972;
    padding-left: 10px;
    padding-right: 10px;
}

.site-nav a.highlight {
    color: #f29972;
}

.mobile-menu-toggle {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 7px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 4px;
    height: 40px;
    justify-content: center;
    padding: 0;
    width: 42px;
}

.mobile-menu-toggle span {
    background: #fff;
    border-radius: 999px;
    display: block;
    height: 2px;
    transition: transform .16s ease, opacity .16s ease;
    width: 20px;
}

.site-header.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-menu {
    color: #fff;
    position: relative;
}

.nav-menu summary {
    border-radius: 5px;
    color: rgba(255, 255, 255, .92);
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    list-style: none;
    padding: 9px 11px;
    transition: background .16s ease, color .16s ease, transform .16s ease;
    user-select: none;
}

.nav-menu summary::-webkit-details-marker {
    display: none;
}

.nav-menu summary::after {
    content: ' ▾';
    font-size: 11px;
    margin-left: 5px;
    opacity: .85;
}

.nav-menu summary:hover,
.nav-menu[open] summary {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-1px);
}

.nav-menu summary.active {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.nav-menu summary.highlight {
    color: #ffd0aa;
}

.nav-submenu {
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 31, 46, .18);
    min-width: 190px;
    overflow: hidden;
    padding: 6px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 40;
}

.nav-submenu a,
.site-nav .nav-submenu a {
    border-radius: 6px;
    color: #223141;
    display: block;
    font-size: 14px;
    padding: 9px 10px;
    white-space: nowrap;
}

.nav-submenu a:hover,
.site-nav .nav-submenu a:hover {
    background: #edf6ff;
    color: #0869b8;
    transform: none;
}

.nav-submenu a.active,
.site-nav .nav-submenu a.active {
    background: #e8f2fb;
    color: #0869b8;
    font-weight: 700;
}

.province-submenu {
    left: 0;
    max-height: min(420px, calc(100vh - 110px));
    min-width: 240px;
    overflow-y: auto;
    right: auto;
}

.separator {
    color: rgba(255, 255, 255, .55);
}

.page {
    min-height: 368px;
    padding: 14px 20px 64px;
}

.page-title-row {
    align-items: center;
    display: flex;
    gap: 28px;
    margin: 24px 18px 64px;
}

.page-title-row h1 {
    font-size: 30px;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
}

.title-line {
    background: #4b48bf;
    flex: 1;
    height: 5px;
}

.auth-box,
.register-box,
.panel {
    background: #f6f6f6;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    margin: 98px auto 0;
    max-width: 626px;
    padding: 30px 26px 27px;
}

.register-box {
    margin-top: 0;
    max-width: 1200px;
    padding: 52px 42px 42px;
}

.panel {
    margin-top: 56px;
    max-width: 760px;
}

.form-row {
    align-items: center;
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.form-row label {
    font-weight: 700;
    text-align: right;
    width: 126px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row textarea {
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .08);
    font-size: 16px;
    min-height: 35px;
    padding: 7px 10px;
    width: 250px;
}

.form-row textarea {
    min-height: 74px;
}

.button-row {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 8px;
}

.btn {
    background: #0872c9;
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    min-height: 34px;
    padding: 8px 14px;
}

.btn.secondary {
    background: #666;
}

.alert {
    border-radius: 4px;
    font-size: 19px;
    margin: 14px 0 0;
    padding: 12px 14px;
}

.alert-error {
    background: #f9e5e5;
    border: 2px dashed #c99;
}

.alert-success {
    background: #e8f6eb;
    border: 1px solid #91c79b;
}

.required-note {
    font-size: 19px;
    margin: -38px auto 10px;
    max-width: 1200px;
    text-align: right;
}

.required-note::before {
    background: red;
    content: '';
    display: inline-block;
    height: 23px;
    margin-right: 10px;
    vertical-align: middle;
    width: 5px;
}

.register-grid {
    display: grid;
    gap: 64px;
    grid-template-columns: minmax(360px, 1fr) minmax(360px, 500px);
}

.register-rules {
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    padding: 22px 26px;
}

.register-rules h2 {
    font-size: 20px;
    margin: 0 0 26px;
}

.register-rules ul {
    line-height: 1.45;
    margin: 0 0 18px;
    padding-left: 20px;
}

.register-rules li {
    margin-bottom: 14px;
}

.agree {
    font-size: 18px;
    font-weight: 700;
}

.captcha-wrap {
    align-items: center;
    display: flex;
    gap: 7px;
}

.captcha {
    background: #fffdf0;
    border: 1px solid #e0e0e0;
    color: #253f2a;
    display: inline-block;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    min-width: 86px;
    padding: 5px 9px;
    text-align: center;
    transform: rotate(-2deg);
}

.refresh-link {
    align-items: center;
    background: transparent;
    border: 0;
    color: #0872c9;
    cursor: pointer;
    display: inline-flex;
    font-size: 22px;
    line-height: 1;
    padding: 2px;
}

.refresh-link:disabled {
    cursor: wait;
    opacity: .55;
}

.register-actions {
    border-top: 1px solid #d0d0d0;
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    padding: 19px 40px 2px 0;
}

.info-box {
    background: #effaff;
    border: 2px solid #61b8df;
    border-radius: 4px;
    line-height: 1.45;
    margin-bottom: 14px;
    padding: 14px 18px;
}

.site-footer {
    background: #f4f4f4;
    border-top: 1px solid #ddd;
    color: #3d3d3d;
    font-size: 16px;
    line-height: 1.5;
    padding: 46px 20px 14px;
    text-align: center;
}

.site-footer p {
    margin: 0 0 6px;
}

.listing-page {
    font-size: 15px;
}

.listing-tab {
    background: linear-gradient(#747474, #4f4f4f);
    border-radius: 3px 3px 0 0;
    color: #fff;
    display: inline-flex;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    min-height: 37px;
    padding: 10px 16px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .75);
}

.listing-page::before {
    border-top: 1px solid #9b9b9b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    content: '';
    display: block;
    margin: 22px 0 -1px;
}

.listing-filter {
    background: #f8f9fb;
    border: 1px solid #d7dbe0;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 16px 14px 0;
}

.filter-row {
    align-items: center;
    display: grid;
    gap: 9px;
}

.filter-row.primary {
    grid-template-columns: 150px minmax(280px, 1fr) 230px 230px auto 178px;
    margin-bottom: 14px;
}

.filter-row.advanced {
    grid-template-columns: 150px 156px 107px 172px 107px 171px 107px 145px 107px 150px;
    margin-bottom: 26px;
    row-gap: 12px;
}

.filter-row label {
    font-size: 17px;
    font-weight: 700;
    text-align: right;
}

.filter-row input,
.filter-row select,
.sort-control select,
.pagination-actions select {
    background: #fff;
    border: 1px solid #c9cdd3;
    border-radius: 4px;
    color: #333;
    font-size: 15px;
    min-height: 38px;
    padding: 8px 10px;
}

.filter-row input[type="date"] {
    min-width: 170px;
}

.search-btn {
    align-items: center;
    font-size: 17px;
    gap: 6px;
    min-height: 36px;
    white-space: nowrap;
}

.advanced-link {
    color: #004b7c;
    font-size: 16px;
    white-space: nowrap;
}

.list-controls {
    align-items: center;
    display: grid;
    grid-template-columns: auto 1fr auto;
    margin: 0 -14px;
    padding: 0 0 10px;
}

.bulk-actions {
    position: relative;
}

.bulk-actions summary {
    background: #0669bd;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    list-style: none;
    min-height: 35px;
    padding: 9px 14px;
}

.bulk-actions summary::-webkit-details-marker {
    display: none;
}

.bulk-actions summary::after {
    content: ' ▾';
}

.bulk-menu {
    background: #fff;
    border: 1px solid #c8c8c8;
    box-shadow: 0 4px 9px rgba(0, 0, 0, .08);
    left: 0;
    min-width: 350px;
    padding: 0;
    position: absolute;
    top: 35px;
    z-index: 5;
}

.bulk-menu button {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: block;
    font-size: 17px;
    font-weight: 700;
    padding: 9px 18px;
    text-align: left;
    width: 100%;
}

.bulk-menu button:hover {
    background: #eef4ff;
}

.duplicate-check {
    align-items: center;
    display: inline-flex;
    font-size: 18px;
    gap: 8px;
    margin-left: 16px;
}

.duplicate-check input,
.listing-table input[type="checkbox"] {
    height: 17px;
    width: 17px;
}

/* Pricing page styles */
.container-pricing {
    max-width: 1200px;
    margin: 28px auto;
    padding: 18px;
}

.container-pricing .header h1 {
    font-size: 34px;
    margin: 0 0 8px;
    color: #12263a;
}

.container-pricing .header p {
    color: #475569;
    margin: 0 0 20px;
    font-size: 16px;
}

.container-pricing .table-section {
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
    padding: 20px;
}

.container-pricing .table-section .table-header h2 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #0f172a;
}

.container-pricing .table-wrapper {
    overflow-x: auto;
}

.container-pricing .table-wrapper table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.container-pricing .table-wrapper thead th {
    text-align: left;
    padding: 12px 16px;
    color: #0b1220;
    font-weight: 700;
    font-size: 15px;
}

.container-pricing .table-wrapper tbody tr {
    background: linear-gradient(180deg,#fff,#fcfdff);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(2,6,23,0.03);
}

.container-pricing .table-wrapper td {
    padding: 14px 16px;
    vertical-align: middle;
    border: none;
    font-size: 15px;
    color: #162129;
}

.container-pricing .table-pkg-name {
    font-weight: 700;
    font-size: 16px;
    color: #0b1220;
}

.container-pricing .bonus-badge {
    background: #e6f6ff;
    color: #0369a1;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 700;
    display: inline-block;
}

@media (max-width: 840px) {
    .account-form-grid, .register-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .container-pricing .table-wrapper thead {
        display: none;
    }

    .container-pricing .table-wrapper tbody tr {
        display: block;
        margin-bottom: 12px;
        padding: 12px;
    }

    .container-pricing .table-wrapper td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
    }

    .container-pricing .table-wrapper td::before {
        content: attr(data-label);
        color: #4b5563;
        font-weight: 700;
        margin-right: 8px;
    }
}

/* small visual tweak for empty fallback row */
.container-pricing .table-wrapper tbody td[colspan="5"] {
    text-align: center;
    color: #475569;
    padding: 22px 10px;
    font-weight: 700;
}

.sort-control {
    align-items: center;
    display: flex;
    gap: 14px;
    padding-right: 16px;
    white-space: nowrap;
}

.listing-table-wrap {
    overflow-x: auto;
}

.listing-table {
    border-collapse: collapse;
    min-width: 1060px;
    width: 100%;
}

.listing-table th {
    background: #e7e7e7;
    border-bottom: 1px solid #d2d2d2;
    font-size: 15px;
    padding: 10px 8px;
    text-align: left;
}

.listing-table th:nth-child(1),
.listing-table th:nth-child(2),
.listing-table td:nth-child(1),
.listing-table td:nth-child(2),
.listing-table td:nth-child(4),
.listing-table td:nth-child(5),
.listing-table td:nth-child(6),
.listing-table td:nth-child(7) {
    text-align: center;
}

.listing-table tbody tr:nth-child(even) {
    background: #f0efff;
}

.listing-table td {
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 8px;
    vertical-align: top;
}

.listing-table th:nth-child(1) {
    width: 48px;
}

.listing-table th:nth-child(2) {
    width: 36px;
}

.listing-table th:nth-child(4) {
    width: 130px;
}

.listing-table th:nth-child(5) {
    width: 160px;
}

.listing-table th:nth-child(6) {
    width: 120px;
}

.listing-table th:nth-child(7) {
    width: 85px;
}

.title-cell a {
    color: #1e1e1e;
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
    max-width: 900px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.title-cell div {
    color: #5f5f5f;
    font-size: 14px;
}

.price-cell {
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}

.type-link {
    color: #0070ad;
}

.action-cell button {
    align-items: center;
    background: #fff;
    border: 1px solid #d0d7df;
    border-radius: 3px;
    color: #006bb0;
    cursor: pointer;
    display: inline-flex;
    font-size: 15px;
    height: 25px;
    justify-content: center;
    margin: 0 0 4px;
    padding: 0;
    width: 25px;
}

.action-cell form {
    display: inline-block;
}

.action-cell button:hover {
    background: #eef7ff;
}

.icon-action-restore {
    font-size: 18px !important;
    font-weight: 700;
}

.empty-row {
    color: #666;
    font-size: 17px;
    padding: 28px 10px;
    text-align: center !important;
}

.pagination-row {
    align-items: center;
    border-top: 1px solid #efefef;
    display: flex;
    justify-content: space-between;
    padding: 14px 0 0;
}

.pagination-actions {
    align-items: center;
    display: flex;
    gap: 7px;
}

.pagination-actions a,
.pagination-actions .dots {
    border: 1px solid #d7dce2;
    border-radius: 4px;
    color: #0872c9;
    display: inline-flex;
    min-height: 32px;
    min-width: 36px;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
}

.pagination-actions a.active {
    background: #f4f7ff;
    color: #333;
}

.pagination-actions a.disabled {
    color: #c7c7c7;
    pointer-events: none;
}

@media (max-width: 760px) {
    .site-header {
        height: auto;
        padding: 14px 18px;
    }

    .brand-text {
        font-size: 16px;
    }

    .site-nav {
        flex-wrap: wrap;
        font-size: 14px;
        justify-content: flex-end;
    }

    .page-title-row {
        margin: 24px 0 36px;
    }

    .auth-box,
    .register-box,
    .panel {
        margin-top: 36px;
        padding: 24px 16px;
    }

    .required-note {
        margin-top: -20px;
        text-align: left;
    }

    .register-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .form-row {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .form-row label {
        text-align: left;
        width: auto;
    }

    .form-row input[type="text"],
    .form-row input[type="email"],
    .form-row input[type="password"],
    .form-row textarea {
        width: 100%;
    }

    .button-row {
        justify-content: flex-start;
    }

    .register-actions {
        justify-content: flex-start;
        padding-right: 0;
    }

    .account-page {
        padding: 18px 0 0;
    }

    .account-required {
        text-align: left;
    }

    .account-tabs {
        flex-wrap: wrap;
    }

    .account-tabs a {
        font-size: 16px;
    }

    .account-box {
        padding: 28px 14px 10px;
    }

    .account-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .account-row {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .account-row label {
        text-align: left;
        width: auto;
    }

    .account-row input {
        width: 100%;
    }

    .account-actions {
        justify-content: flex-start;
        margin-top: 28px;
    }

    .transaction-empty,
    .transaction-table-wrap {
        margin-left: 0;
        margin-right: 0;
    }

    .listing-filter {
        padding: 12px;
    }

    .filter-row.primary,
    .filter-row.advanced {
        grid-template-columns: 1fr;
    }

    .filter-row label {
        text-align: left;
    }

    .list-controls,
    .pagination-row {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .sort-control,
    .pagination-actions {
        flex-wrap: wrap;
        padding-right: 0;
    }

    .bulk-menu {
        min-width: 280px;
    }
}

/* Refined broker listing UI */
body {
    background: #f4f6f8;
    color: #17202a;
    font-size: 15px;
}

.site-header {
    background: #0869b8;
    box-shadow: 0 2px 10px rgba(4, 34, 60, .16);
    height: 72px;
    padding: 0 28px;
}

.brand-mark {
    border-radius: 8px;
    height: 38px;
    width: 38px;
}

.brand-text {
    font-size: 18px;
}

.site-nav {
    gap: 6px;
}

.site-nav a {
    border-radius: 5px;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    padding: 9px 11px;
}

.site-nav a:hover {
    background: rgba(255, 255, 255, .12);
}

.site-nav a.active {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.site-nav a.highlight {
    color: #ffd0aa;
}

.page {
    margin: 0 auto;
    max-width: 1680px;
    min-height: calc(100vh - 72px);
    padding: 22px 24px 48px;
}

.listing-page {
    font-size: 14px;
}

.listing-page::before,
.listing-tab {
    display: none;
}

.listing-header {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.listing-header h1 {
    color: #0f1f2e;
    font-size: 26px;
    line-height: 1.2;
    margin: 0 0 5px;
}

.listing-subtitle {
    color: #667789;
}

.listing-subtitle strong {
    color: #0869b8;
}

.listing-tabs {
    align-items: center;
    background: #e8edf3;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    display: inline-flex;
    gap: 4px;
    padding: 4px;
}

.listing-tabs a {
    border-radius: 6px;
    color: #435466;
    font-weight: 700;
    min-height: 34px;
    padding: 9px 13px;
    white-space: nowrap;
}

.listing-tabs a.active {
    background: #fff;
    box-shadow: 0 1px 4px rgba(22, 42, 60, .12);
    color: #0869b8;
}

.listing-filter {
    background: #fff;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 31, 46, .05);
    margin-bottom: 14px;
    padding: 16px;
}

.filter-row.primary {
    grid-template-columns: 92px minmax(320px, 1fr) minmax(190px, 220px) minmax(190px, 220px) auto auto;
    margin-bottom: 14px;
}

.filter-row.advanced {
    background: #f8fafc;
    border: 1px solid #e5ebf2;
    border-radius: 8px;
    grid-template-columns: repeat(5, minmax(135px, 1fr));
    margin: 4px 0 14px;
    padding: 14px;
}

.filter-row.advanced label {
    align-self: end;
    color: #526273;
    font-size: 13px;
    margin-bottom: -3px;
    text-align: left;
}

.filter-row label {
    color: #314253;
    font-size: 14px;
}

.filter-row input,
.filter-row select,
.sort-control select,
.pagination-actions select {
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    min-height: 38px;
    outline: 0;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.filter-row input:focus,
.filter-row select:focus,
.sort-control select:focus,
.pagination-actions select:focus {
    border-color: #0b78d0;
    box-shadow: 0 0 0 3px rgba(11, 120, 208, .14);
}

.search-btn {
    background: #096fc2;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(9, 111, 194, .18);
    font-size: 15px;
    justify-content: center;
    min-width: 112px;
}

.search-btn:hover {
    background: #075fa8;
}

.advanced-link {
    border-radius: 6px;
    color: #0a609e;
    font-weight: 700;
    padding: 9px 10px;
}

.advanced-link:hover {
    background: #edf6ff;
}

.list-controls {
    border-top: 1px solid #edf1f5;
    grid-template-columns: auto 1fr auto;
    margin: 0;
    padding: 12px 0 0;
}

.bulk-actions summary {
    background: #eef4fa;
    border: 1px solid #cfdbe7;
    border-radius: 6px;
    color: #114d7b;
    min-height: 34px;
    padding: 8px 12px;
}

.bulk-menu {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 31, 46, .14);
    overflow: hidden;
    top: 39px;
}

.bulk-menu button {
    color: #223141;
    font-size: 14px;
    padding: 11px 14px;
}

.duplicate-check {
    color: #435466;
    font-size: 14px;
    margin-left: 14px;
}

.sort-control {
    color: #435466;
    gap: 9px;
    padding-right: 0;
}

.listing-table-wrap {
    background: #fff;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 31, 46, .05);
    overflow: auto;
}

.listing-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1120px;
}

.listing-table th {
    background: #f1f4f8;
    border-bottom: 1px solid #dfe5ec;
    color: #334455;
    font-size: 13px;
    padding: 11px 10px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.listing-table td {
    border-bottom: 1px solid #eef2f6;
    padding: 12px 10px;
}

.listing-table tbody tr:nth-child(even) {
    background: #fbfcff;
}

.listing-table tbody tr:hover {
    background: #f2f8ff;
}

.listing-table th:nth-child(1) {
    width: 52px;
}

.listing-table th:nth-child(2) {
    width: 42px;
}

.listing-table th:nth-child(4) {
    width: 138px;
}

.listing-table th:nth-child(5) {
    width: 148px;
}

.listing-table th:nth-child(6) {
    width: 112px;
}

.listing-table th:nth-child(7) {
    width: 92px;
}

.title-cell a {
    color: #13202d;
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 5px;
}

.title-cell a:hover {
    color: #0869b8;
}

.title-cell div {
    color: #6b7a89;
    font-size: 13px;
}

.title-cell strong {
    color: #445466;
}

.price-cell {
    color: #0e263b;
    font-size: 15px;
}

.type-link {
    background: #eaf5ff;
    border-radius: 999px;
    color: #0a609e;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 9px;
}

.action-cell {
    white-space: nowrap;
}

.action-cell button {
    background: #f8fbff;
    border: 1px solid #cfdbe7;
    border-radius: 50%;
    color: #0a609e;
    font-size: 14px;
    height: 29px;
    margin: 0 2px;
    width: 29px;
}

.action-cell button:hover {
    background: #0869b8;
    border-color: #0869b8;
    color: #fff;
}

.icon-action-trash:hover {
    background: #bd3030;
    border-color: #bd3030;
}

.icon-action-restore {
    font-size: 18px !important;
}

.empty-row {
    color: #667789;
    padding: 34px 10px;
}

.pagination-row {
    color: #526273;
    padding: 14px 2px 0;
}

.pagination-actions a,
.pagination-actions .dots {
    background: #fff;
    border-color: #d9e1ea;
    border-radius: 6px;
    color: #0a609e;
    min-height: 34px;
    min-width: 36px;
}

.pagination-actions a:hover {
    border-color: #0b78d0;
}

.pagination-actions a.active {
    background: #0869b8;
    border-color: #0869b8;
    color: #fff;
}

.site-footer {
    background: #eef2f6;
    border-top: 1px solid #dde5ee;
    color: #667789;
    font-size: 13px;
    padding: 24px 20px 18px;
}

@media (max-width: 1100px) {
    .site-header,
    .listing-header {
        align-items: flex-start;
        flex-direction: column;
        height: auto;
    }

    .site-header {
        gap: 12px;
        padding: 14px 18px;
    }

    .site-nav {
        flex-wrap: wrap;
    }

    .filter-row.primary,
    .filter-row.advanced {
        grid-template-columns: 1fr 1fr;
    }

    .filter-row.primary label {
        text-align: left;
    }
}

@media (max-width: 760px) {
    .page {
        padding: 16px 12px 36px;
    }

    .listing-tabs {
        align-items: stretch;
        display: grid;
        width: 100%;
    }

    .filter-row.primary,
    .filter-row.advanced {
        grid-template-columns: 1fr;
    }

    .list-controls {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* Broker workspace polish */
:root {
    --surface: #ffffff;
    --canvas: #f3f6f9;
    --line: #dbe3ec;
    --line-strong: #c7d3df;
    --text: #17212b;
    --muted: #667789;
    --brand: #096fc2;
    --brand-strong: #075fa8;
    --green: #2f9d55;
    --amber: #b66a00;
    --danger: #bd3030;
}

body {
    background:
        linear-gradient(180deg, #eef5fb 0, #f7f9fb 210px, var(--canvas) 211px);
    color: var(--text);
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

.site-header {
    background: #0869b8;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 8px 24px rgba(13, 52, 86, .16);
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand-mark {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

.site-nav a {
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.site-nav a:hover {
    transform: translateY(-1px);
}

.page {
    width: min(100%, 1680px);
}

.alert {
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 31, 46, .08);
    font-size: 15px;
    margin: 0 0 16px;
}

.alert-error {
    background: #fff1f1;
    border-color: #f0b5b5;
    color: #8d2424;
}

.alert-success {
    background: #edf9f0;
    border-color: #a9dcb6;
    color: #1f743b;
}

.btn {
    align-items: center;
    border-radius: 7px;
    box-shadow: 0 1px 2px rgba(9, 111, 194, .2);
    justify-content: center;
    min-height: 38px;
    padding: 9px 16px;
    transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.btn:hover {
    background: var(--brand-strong);
    box-shadow: 0 8px 18px rgba(9, 111, 194, .18);
    transform: translateY(-1px);
}

.btn.secondary:hover {
    background: #4d5660;
}

.listing-header {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 31, 46, .05);
    margin-bottom: 12px;
    padding: 16px;
}

.listing-header h1 {
    font-size: 24px;
    letter-spacing: 0;
}

.listing-subtitle {
    font-size: 14px;
}

.listing-tabs {
    flex-wrap: wrap;
}

.listing-tabs a {
    transition: background .16s ease, box-shadow .16s ease, color .16s ease;
}

.listing-filter {
    position: relative;
}

.filter-row.primary {
    grid-template-columns: 92px minmax(260px, 1fr) minmax(185px, 220px) minmax(185px, 220px) 116px auto auto;
}

.filter-row input,
.filter-row select,
.sort-control select,
.pagination-actions select,
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row textarea,
.account-row input,
.transaction-footer select {
    background: #fff;
    border-color: var(--line-strong);
    color: var(--text);
}

.filter-row input::placeholder,
.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #9aa8b6;
}

.reset-link {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: #526273;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 38px;
    padding: 9px 12px;
    white-space: nowrap;
}

.reset-link:hover {
    background: #f6f9fc;
    color: #223141;
}

.list-controls {
    gap: 12px;
}

.bulk-actions summary,
.advanced-link,
.reset-link,
.pagination-actions a {
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.bulk-actions[open] summary {
    background: #ddebf7;
    border-color: #b8cadb;
}

.duplicate-check {
    background: #f7fafc;
    border: 1px solid #e3eaf1;
    border-radius: 7px;
    margin-left: 0;
    min-height: 36px;
    padding: 8px 10px;
}

.listing-table tbody tr {
    transition: background .12s ease;
}

.listing-table th {
    white-space: nowrap;
}

.listing-table td:nth-child(5) {
    color: #27465f;
    font-weight: 700;
    white-space: nowrap;
}

.title-cell a {
    max-width: 100%;
    white-space: normal;
}

.title-cell div {
    line-height: 1.55;
}

.price-cell {
    color: var(--green);
}

.type-link {
    border: 1px solid #cbe3f6;
}

.action-cell {
    min-width: 84px;
}

.action-cell form {
    margin-bottom: 4px;
}

.empty-row {
    background: #fbfcfe;
    font-weight: 700;
}

.pagination-row {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 31, 46, .05);
    margin-top: 14px;
    padding: 12px 14px;
}

.auth-box,
.register-box,
.panel,
.account-box,
.register-rules {
    background: rgba(255, 255, 255, .98);
    border-color: var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(15, 31, 46, .09);
}

.auth-box {
    max-width: 540px;
}

.form-row label,
.account-row label {
    color: #2c3b49;
}

.account-heading {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 4px 0 16px;
}

.account-heading h1 {
    font-size: 24px;
}

.heading-line {
    display: none;
}

.account-required,
.required-note {
    color: var(--muted);
    font-size: 14px;
}

.account-required::before,
.required-note::before {
    background: var(--danger);
    border-radius: 999px;
    height: 18px;
    width: 4px;
}

.account-tabs {
    background: #e8edf3;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: inline-flex;
    margin-bottom: 14px;
    padding: 4px;
}

.account-tabs a {
    background: transparent;
    border-radius: 6px;
    color: #435466;
    font-size: 15px;
    min-height: 34px;
    padding: 9px 13px;
    text-shadow: none;
}

.account-tabs a.active {
    background: #fff;
    box-shadow: 0 1px 4px rgba(22, 42, 60, .12);
    color: var(--brand);
}

.account-box {
    padding: 28px 24px 18px;
}

.account-form-grid {
    gap: 40px;
}

.account-row {
    gap: 14px;
}

.account-row label {
    font-size: 15px;
    width: 168px;
}

.account-row label::after {
    display: none;
}

.account-row input {
    min-height: 38px;
    width: min(100%, 360px);
}

.account-actions {
    margin-top: 26px;
}

.transaction-history h2 {
    color: #10263a;
    font-size: 20px;
    margin-bottom: 18px;
}

.transaction-empty,
.info-box {
    border-radius: 8px;
    font-size: 15px;
}

.transaction-empty {
    background: #edf9f0;
    border: 1px solid #a9dcb6;
}

.transaction-table {
    border-collapse: separate;
    border-spacing: 0;
}

.transaction-table th {
    background: #f1f4f8;
}

.page-title-row {
    margin-bottom: 28px;
}

.page-title-row h1 {
    font-size: 26px;
    font-weight: 700;
}

.title-line {
    background: var(--line-strong);
    height: 1px;
}

.register-box {
    margin-top: 0;
}

.register-grid {
    gap: 36px;
}

.register-rules {
    box-shadow: none;
}

.captcha {
    border-radius: 7px;
}

@media (max-width: 1100px) {
    .filter-row.primary {
        grid-template-columns: 1fr 1fr;
    }

    .filter-row.primary label {
        grid-column: 1 / -1;
    }

    .listing-table-wrap {
        max-height: none;
    }
}

@media (max-width: 760px) {
    body {
        background: var(--canvas);
    }

    .site-header {
        position: static;
    }

    .site-nav a {
        font-size: 13px;
        padding: 8px 9px;
    }

    .listing-header {
        padding: 14px;
    }

    .listing-table-wrap {
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    .listing-table {
        border-collapse: separate;
        min-width: 0;
    }

    .listing-table,
    .listing-table thead,
    .listing-table tbody,
    .listing-table tr,
    .listing-table td {
        display: block;
        width: 100%;
    }

    .listing-table thead {
        display: none;
    }

    .listing-table tbody tr {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(15, 31, 46, .05);
        margin-bottom: 12px;
        overflow: hidden;
    }

    .listing-table tbody tr:nth-child(even),
    .listing-table tbody tr:hover {
        background: #fff;
    }

    .listing-table td {
        align-items: flex-start;
        border-bottom: 1px solid #edf1f5;
        display: grid;
        gap: 10px;
        grid-template-columns: 116px minmax(0, 1fr);
        padding: 10px 12px;
        text-align: left !important;
    }

    .listing-table td::before {
        color: var(--muted);
        content: attr(data-label);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .listing-table .title-cell {
        display: block;
    }

    .listing-table .title-cell::before {
        content: '';
        display: none;
    }

    .title-cell a {
        font-size: 16px;
    }

    .action-cell {
        align-items: center;
    }

    .pagination-row {
        align-items: stretch;
    }

    .pagination-actions {
        gap: 6px;
    }

    .auth-box,
    .register-box,
    .panel,
    .account-box {
        box-shadow: 0 8px 24px rgba(15, 31, 46, .08);
    }

    .account-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .account-tabs {
        display: grid;
        width: 100%;
    }

    .account-row input {
        width: 100%;
    }
}

/* Advanced search fields */
.filter-row.advanced {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.advanced-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.advanced-field label {
    align-self: auto;
    color: #526273;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 0;
    text-align: left;
}

.advanced-field input,
.advanced-field select {
    width: 100%;
}

@media (max-width: 1100px) {
    .filter-row.advanced {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .filter-row.advanced {
        grid-template-columns: 1fr;
    }
}

/* Account transaction tab */
.account-box.transaction-history {
    border-top: 1px solid var(--line);
    min-height: 220px;
    padding: 24px;
}

.account-box.transaction-history h2 {
    margin-top: 0;
}

.account-box.transaction-history .transaction-table-wrap {
    margin-left: 0;
    margin-right: 0;
}

.account-box.transaction-history .transaction-footer {
    border-top: 1px solid #edf1f5;
    margin-top: 10px;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 760px) {
    .account-box.transaction-history {
        padding: 18px 14px;
    }
}

/* Listing detail modal */
body.modal-open {
    overflow: hidden;
}

.listing-modal {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 100;
}

.listing-modal.open {
    display: block;
}

.listing-modal-backdrop {
    background: rgba(18, 31, 43, .62);
    backdrop-filter: blur(2px);
    inset: 0;
    position: absolute;
}

.listing-modal-dialog {
    background: #fff;
    border: 1px solid rgba(199, 211, 223, .9);
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(10, 28, 44, .32);
    left: 50%;
    max-height: calc(100vh - 70px);
    max-width: 1040px;
    overflow: visible;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(calc(100vw - 34px), 1040px);
}

.listing-modal-close {
    align-items: center;
    background: #1e2f3f;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 24px;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 3px;
    position: absolute;
    right: -14px;
    top: -14px;
    width: 30px;
    z-index: 2;
}

.listing-modal-close:hover {
    background: #0b6fbd;
}

.listing-modal-body {
    color: #182634;
    font-size: 14px;
    min-height: 520px;
    max-height: calc(100vh - 70px);
    overflow: auto;
    padding: 0;
}

.modal-detail-header {
    align-items: flex-start;
    background: linear-gradient(180deg, #f8fbfe 0, #eef5fb 100%);
    border-bottom: 1px solid #dbe5ee;
    border-radius: 10px 10px 0 0;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 24px 28px 20px;
}

.modal-kicker {
    color: #668096;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-detail-header h1 {
    color: #10263a;
    font-size: 22px;
    line-height: 1.35;
    margin: 0;
}

.modal-price-box {
    background: #fff;
    border: 1px solid #d7e2ec;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(15, 31, 46, .08);
    min-width: 150px;
    padding: 12px 16px;
    text-align: right;
}

.modal-price-box span {
    color: #6a7c8e;
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.modal-price-box strong {
    color: #2f9d55;
    font-size: 25px;
    line-height: 1;
}

.modal-detail-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 320px;
    padding: 24px 28px;
}

.modal-detail-main h2,
.modal-detail-meta h2,
.modal-section-title h2 {
    color: #10263a;
    font-size: 16px;
    margin: 0;
}

.modal-detail-main h2,
.modal-detail-meta h2 {
    margin-bottom: 12px;
}

.modal-content-text {
    background: #fbfcfe;
    border: 1px solid #e3ebf2;
    border-radius: 8px;
    color: #28394a;
    line-height: 1.75;
    min-height: 230px;
    padding: 16px 18px;
    white-space: normal;
}

.modal-detail-meta {
    background: #f7fafc;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    padding: 16px;
}

.modal-detail-meta dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.modal-detail-meta dl div {
    border-top: 1px solid #e4ebf2;
    display: grid;
    gap: 10px;
    grid-template-columns: 104px minmax(0, 1fr);
    padding: 11px 0;
}

.modal-detail-meta dl div:first-child {
    border-top: 0;
}

.modal-detail-meta dt {
    color: #6a7c8e;
    font-size: 13px;
    font-weight: 700;
}

.modal-detail-meta dd {
    color: #152637;
    font-weight: 700;
    margin: 0;
    overflow-wrap: anywhere;
}

.modal-contact {
    color: #d12a2a !important;
    font-weight: 700;
}

.modal-actions {
    background: #fbfcfe;
    border-bottom: 1px solid #e0e8f0;
    border-top: 1px solid #e0e8f0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 14px 28px;
}

.modal-actions form {
    margin: 0;
}

.modal-action-btn {
    border: 0;
    border-radius: 7px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    min-height: 36px;
    padding: 9px 14px;
}

.modal-action-btn.primary {
    background: #0869b8;
}

.modal-action-btn.danger {
    background: #bd3030;
}

.modal-action-btn:hover {
    filter: brightness(.95);
}

.modal-related {
    min-height: 150px;
    padding: 22px 28px 28px;
}

.modal-section-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.modal-section-title span {
    background: #eef5fb;
    border: 1px solid #d8e5f0;
    border-radius: 999px;
    color: #526b82;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 9px;
}

.modal-related-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.modal-related-list a {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe8f1;
    border-radius: 7px;
    color: #174e7d;
    display: flex;
    font-weight: 700;
    min-height: 40px;
    padding: 10px 12px;
}

.modal-related-list a::before {
    background: #0b78d0;
    border-radius: 999px;
    content: '';
    flex: 0 0 auto;
    height: 7px;
    margin-right: 10px;
    width: 7px;
}

.modal-related-list a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-related-list a:hover {
    background: #f2f8ff;
    border-color: #b9d8ef;
    color: #0869b8;
    text-decoration: none;
}

.modal-related-empty,
.listing-modal-loading,
.listing-modal-error {
    color: #667789;
    font-weight: 700;
    padding: 22px 28px;
}

.listing-modal-error {
    color: #9d2525;
}

.listing-tooltip {
    background: rgba(18, 31, 43, .96);
    border-radius: 6px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
    color: #fff;
    display: none;
    font-size: 13px;
    line-height: 1.45;
    max-width: 360px;
    padding: 9px 11px;
    pointer-events: none;
    position: fixed;
    z-index: 120;
}

.listing-tooltip.visible {
    display: block;
}

@media (max-width: 760px) {
    .listing-modal-dialog {
        max-height: calc(100vh - 26px);
        width: calc(100vw - 20px);
    }

    .listing-modal-body {
        min-height: 420px;
        max-height: calc(100vh - 26px);
    }

    .modal-detail-header {
        grid-template-columns: 1fr;
        padding: 20px 16px 16px;
    }

    .modal-price-box {
        text-align: left;
    }

    .modal-detail-grid {
        gap: 14px;
        grid-template-columns: 1fr;
        padding: 18px 16px;
    }

    .modal-actions {
        flex-wrap: wrap;
        padding: 14px 16px;
    }

    .modal-related {
        padding: 18px 16px 22px;
    }

    .modal-related-list a span {
        white-space: normal;
    }
}

/* Mobile navigation */
@media (max-width: 760px) {
    .site-header {
        align-items: center;
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 12px 14px;
        position: sticky;
        top: 0;
    }

    .brand {
        min-width: 0;
    }

    .brand-text {
        font-size: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        background: rgba(3, 70, 124, .98);
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 9px;
        box-shadow: 0 14px 34px rgba(8, 45, 76, .22);
        display: none;
        gap: 4px;
        grid-column: 1 / -1;
        padding: 8px;
        width: 100%;
    }

    .site-header.menu-open .site-nav {
        display: grid;
    }

    .site-nav > a,
    .site-nav > .separator,
    .nav-menu summary {
        min-height: 40px;
        width: 100%;
    }

    .site-nav > a,
    .nav-menu summary {
        align-items: center;
        display: flex;
        justify-content: space-between;
        padding: 10px 12px;
    }

    .site-nav > .separator {
        display: none;
    }

    .nav-menu {
        width: 100%;
    }

    .nav-submenu,
    .province-submenu {
        background: rgba(255, 255, 255, .08);
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 8px;
        box-shadow: none;
        left: auto;
        margin: 2px 0 8px;
        max-height: 310px;
        min-width: 0;
        overflow-y: auto;
        padding: 5px;
        position: static;
        right: auto;
        top: auto;
        width: 100%;
    }

    .nav-submenu a,
    .site-nav .nav-submenu a {
        color: rgba(255, 255, 255, .92);
        min-height: 36px;
        overflow: hidden;
        padding: 9px 10px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-submenu a:hover,
    .site-nav .nav-submenu a:hover,
    .nav-submenu a.active,
    .site-nav .nav-submenu a.active {
        background: rgba(255, 255, 255, .16);
        color: #fff;
    }

    .listing-header {
        align-items: stretch;
    }

    .listing-tabs {
        display: grid;
        gap: 5px;
    }

    .listing-tabs a {
        justify-content: center;
        text-align: center;
    }

    .filter-row.primary,
    .filter-row.advanced {
        grid-template-columns: 1fr;
    }

    .filter-row input,
    .filter-row select,
    .search-btn,
    .advanced-link,
    .reset-link {
        width: 100%;
    }

    .advanced-link,
    .reset-link {
        justify-content: center;
        text-align: center;
    }
}

.mobile-listing-meta {
    display: none;
}

@media (max-width: 760px) {
    .listing-table tbody tr {
        align-items: start;
        border: 1px solid #e2e2f2;
        border-radius: 0;
        box-shadow: none;
        display: grid;
        gap: 6px;
        grid-template-columns: 30px 30px minmax(0, 1fr);
        margin-bottom: 0;
        padding: 10px 8px;
    }

    .listing-table tbody tr:nth-child(even),
    .listing-table tbody tr:hover {
        background: #fafafb;
    }

    .listing-table td {
        border-bottom: 0;
        display: none;
        padding: 0;
    }

    .listing-table td::before {
        display: none;
    }

    .listing-table td:nth-child(1),
    .listing-table td:nth-child(2),
    .listing-table .title-cell {
        display: block;
        min-width: 0;
        text-align: left !important;
    }

    .listing-table td:nth-child(1) {
        color: #777;
        font-size: 15px;
        line-height: 20px;
        text-align: center !important;
    }

    .listing-table td:nth-child(2) {
        line-height: 18px;
        text-align: center !important;
    }

    .listing-table .empty-row {
        display: block;
        grid-column: 1 / -1;
        line-height: 1.4;
        padding: 16px 10px;
        text-align: left !important;
        white-space: normal;
        width: 100%;
        word-break: normal;
    }

    .listing-table .title-cell {
        grid-column: 3;
    }

    .listing-table .title-cell > div:not(.mobile-listing-meta) {
        display: none;
    }

    .title-cell a.post-detail-link {
        color: #18212a;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.18;
        margin: 0 0 4px;
    }

    .mobile-listing-meta {
        color: #6f6f78;
        display: grid;
        font-size: 13px;
        gap: 1px;
        line-height: 1.2;
    }

    .mobile-listing-meta strong {
        color: #676774;
        font-style: normal;
        font-weight: 700;
    }

    .mobile-listing-meta em {
        color: #686875;
        font-style: italic;
    }

    .mobile-listing-meta b {
        color: #d33535;
        font-size: 14px;
    }

    .mobile-listing-meta .type-link {
        background: transparent;
        border: 0;
        color: #0a609e;
        display: inline;
        font-size: inherit;
        padding: 0;
    }

    .listing-table input[type="checkbox"] {
        height: 18px;
        margin: 0;
        width: 18px;
    }
}

@media (max-width: 760px) {
    .site-nav {
        grid-template-columns: 1fr;
        justify-content: stretch;
        justify-items: stretch;
        text-align: center;
    }

    .site-header.menu-open .site-nav {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-nav > a,
    .nav-menu summary {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .nav-menu summary::after {
        margin-left: 6px;
    }

    .listing-tabs {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
    }

    .listing-tabs a {
        flex: 1 1 0;
        font-size: 13px;
        justify-content: center;
        min-width: 0;
        padding: 9px 6px;
        text-align: center;
    }

    .list-controls {
        align-items: center;
        display: grid;
        gap: 10px;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .duplicate-check {
        justify-content: flex-start;
        min-width: 0;
        width: 100%;
    }

    .sort-control {
        grid-column: 1 / -1;
    }

    .filter-row.primary {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .filter-row.primary label,
    .filter-row.primary input,
    .filter-row.primary .search-btn,
    .filter-row.primary .advanced-link,
    .filter-row.primary .reset-link {
        grid-column: 1 / -1;
    }

    .filter-row.primary select {
        min-width: 0;
        width: 100%;
    }
}

/* Khung chứa nút Zalo */
.zalo-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #0068ff; /* Màu xanh Zalo */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.4);
  z-index: 99999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

/* Cấu hình ảnh Logo Zalo */
.zalo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

/* Hiệu ứng Rê chuột (Hover) */
.zalo-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 104, 255, 0.6);
}

/* Hiệu ứng Gợn sóng (Pulsing Animation) */
.zalo-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #0068ff;
  opacity: 0.7;
  z-index: -1;
  animation: zalo-wave 2s infinite;
}

@keyframes zalo-wave {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Tối ưu màn hình nhỏ / Điện thoại */
@media (max-width: 768px) {
  .zalo-float {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }
  .zalo-img {
    width: 30px;
    height: 30px;
  }
}
