/* ========================================================
   BHXH VIETNAM â€” site.css  (adapted from baohiemxahoivn.com source)
   ======================================================== */

:root {
    --blue: #1d70b7;
    --blue-hover: #165c99;
    --blue-header: #0372b6;
    --cyan: #58a7f7;
    --cyan-2: #5ed6fc;
    --navy: #113160;
    --navy-2: #042c6a;
    --navy-3: #20293e;
    --navy-4: #121825;
    --footer-bg: #142b50;
    --red: #e71515;
    --red-hover: #c41010;
    --red-2: #8b0304;
    --bg: #f9f9f9;
    --gray-nav: #e8e9ea;
    --gray-hover: #cecece;
    --text: #06274f;
    --muted: #666;
    --border: #ddd;
    --border-light: #eee;
    --white: #ffffff;
    --success: #0a7a2a;
    --warning: #b06a00;
    --error: #d32f2f;
    --radius: 4px;
    --radius-lg: 10px;
    --shadow-sm: 2px -2px 5px 0 rgba(96, 96, 96, .15);
    --shadow-md: 0 6px 18px rgba(17, 49, 96, .14);
    --shadow-lg: 0 16px 40px rgba(17, 49, 96, .22);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    font-family: var(--font);
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    font-size: 15px;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--navy);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* â”€â”€ LAYOUT â”€â”€ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* â”€â”€ TOP STRIP â”€â”€ */
.top-strip {
    height: 0px;
    background: linear-gradient(90deg, #5d3a1a, #8b5a2b, #5d3a1a);
}

/* â”€â”€ HEADER â”€â”€ */
.site-header {
    color: #fff;
    background: url('/images/nen_bg.jpg') center center / cover no-repeat,
        linear-gradient(135deg, #042c6a 0%, #0372b6 100%);
    height: 160px;
    width: 100%;
    padding: 10px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-badge {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: transparent;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    overflow: hidden;
}

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

.brand-text {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-right: 32px;
}

/* Auth buttons in header */
.site-header .header-actions .btn-primary {
    background: #ffffff !important;
    color: var(--blue-header) !important;
    border: 1px solid #ffffff !important;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    transition: all .2s;
    cursor: pointer;
}

.site-header .header-actions .btn-primary:hover {
    background: var(--red) !important;
    color: #fff !important;
    border-color: var(--red) !important;
}

/* â”€â”€ USER CHIP (logged in) â”€â”€ */
.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 8px 18px 8px 10px;
    border-radius: 14px;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transition: transform .15s, box-shadow .15s;
    border: 1px solid rgba(255, 255, 255, 0.45);
    min-height: 52px;
}

.user-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
    text-decoration: none !important;
}

.user-chip .chip-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8f2fc, #cfe5fb);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid #b7d4ef;
}

.user-chip .chip-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.user-chip .chip-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.user-chip .chip-name {
    font-size: 14px;
    font-weight: 700;
    color: #0d2d6e;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-chip .chip-sub {
    font-size: 11.5px;
    color: #be1e2d;
    font-weight: 600;
    margin-top: 3px;
    white-space: nowrap;
}

/* â”€â”€ BELL â”€â”€ */
.user-chip-wrap {
    position: relative;
}

.user-notif-bell {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    position: relative;
    transition: all .15s;
}

.user-notif-bell:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.user-notif-bell .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #be1e2d;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 10px;
    padding: 2px 6px;
    min-width: 18px;
    text-align: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(190, 30, 45, 0.5);
}

.user-notif-bell .badge.hidden {
    display: none;
}

/* â”€â”€ LOGOUT BTN â”€â”€ */
.user-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #be1e2d, #8b0304);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(190, 30, 45, 0.35);
    transition: all .15s;
    text-decoration: none !important;
}

.user-logout-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: #fff !important;
}

/* â”€â”€ NOTIFICATION PANEL â”€â”€ */
.user-notif-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 360px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(17, 49, 96, 0.28);
    z-index: 200;
    border: 1px solid #e5e9f0;
    overflow: hidden;
    animation: notif-pop 0.18s ease-out;
}

.user-notif-panel::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 14px;
    width: 14px;
    height: 14px;
    background: #0372b6;
    transform: rotate(45deg);
    border-radius: 2px;
}

@keyframes notif-pop {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-notif-panel .panel-head {
    padding: 14px 18px;
    background: linear-gradient(135deg, #0d2d6e, #0372b6);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-notif-panel .panel-head i {
    margin-right: 8px;
}

.user-notif-panel .btn-mark-all {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.user-notif-panel .btn-mark-all:hover {
    background: rgba(255, 255, 255, 0.3);
}

.user-notif-panel .panel-list {
    max-height: 440px;
    overflow-y: auto;
}

.user-notif-panel .notif-item {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f3f8;
    color: #1a1f2e;
    transition: background .12s;
    cursor: pointer;
    position: relative;
}

.user-notif-panel .notif-item:hover {
    background: #f6f9fc;
}

.user-notif-panel .notif-item:last-child {
    border-bottom: none;
}

.user-notif-panel .notif-item.unread {
    background: #f0f7ff;
}

.user-notif-panel .notif-item.unread:hover {
    background: #e5f0fc;
}

.user-notif-panel .notif-item.read {
    opacity: 0.72;
}

.user-notif-panel .notif-item .ico {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 17px;
}

.user-notif-panel .notif-item.success .ico {
    background: #d4edda;
    color: #0a7a2a;
}

.user-notif-panel .notif-item.info .ico {
    background: #cfe5fb;
    color: #0372b6;
}

.user-notif-panel .notif-item.warning .ico {
    background: #fff3cd;
    color: #b06a00;
}

.user-notif-panel .notif-item.error .ico {
    background: #f8d7da;
    color: #be1e2d;
}

.user-notif-panel .notif-item .body {
    flex: 1;
    min-width: 0;
}

.user-notif-panel .notif-item .title {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 3px;
    color: #0d2d6e;
}

.user-notif-panel .notif-item .msg {
    font-size: 12.5px;
    color: #575756;
    line-height: 1.45;
}

.user-notif-panel .notif-item .time {
    font-size: 11px;
    color: #96a1b4;
    margin-top: 5px;
}

.user-notif-panel .notif-item .dot {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    background: #0372b6;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(3, 114, 182, 0.2);
}

.user-notif-panel .empty {
    padding: 40px 16px;
    text-align: center;
    color: #96a1b4;
    font-size: 13px;
}

/* â”€â”€ NAVBAR â”€â”€ */
.navbar-container {
    background: #e8e9ea;
    height: 40px;
    width: 100%;
    border-bottom: 1px solid #ddd;
}

.navbar-container .menu-left {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 45px;
    height: 100%;
    align-items: center;
}

.navbar-container .menu-left li {
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-container .menu-left li a {
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: var(--text);
    text-decoration: none;
    height: 100%;
    font-size: 13px;
}

.navbar-container .menu-left li:hover,
.navbar-container .menu-left li.active {
    background-color: #cecece;
}

.navbar-container .menu-left li .nav-icon {
    margin-right: 8px;
    font-size: 17px;
    width: 20px;
    text-align: center;
    color: var(--text);
    line-height: 1;
}

.navbar-container .menu-left li:hover .nav-icon,
.navbar-container .menu-left li.active .nav-icon {
    color: var(--blue);
}

/* â”€â”€ BREADCRUMB â”€â”€ */
.breadcrumb-wrap,
.bhxh-breadcrumb {
    padding: 8px 0;
    font-size: 13px;
    color: #666;
    background: #fff;
    border-bottom: 1px solid #eaedf3;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: inline-block;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    padding: 0 8px;
    color: #666;
}

.breadcrumb-item a {
    color: var(--blue);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--muted);
}

/* â”€â”€ HERO WRAP â”€â”€ */
.hero-wrap {
    position: relative;
    width: 100%;
    background: #0a1628;
    overflow: hidden;
    min-height: 900px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    z-index: 0;
}

.hero-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 22, 40, 0.25) 0%,
            rgba(10, 22, 40, 0.35) 45%,
            rgba(10, 22, 40, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 920px;
    margin: 0 auto;
    padding: 180px 16px 60px;
}

/* â”€â”€ ICON GRID â”€â”€ */
.menu-overlay {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.icon-grid,
.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.icon-card,
.dash-card {
    position: relative;
    background: var(--navy);
    color: #fff;
    padding: 22px 28px;
    cursor: pointer;
    transition: all .3s ease;
    min-height: 116px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top: 4px solid var(--cyan);
    box-shadow: 2px -2px 5px 0 rgba(96, 96, 96, .2);
    text-decoration: none !important;
}

.icon-card::after,
.dash-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #0f91ea;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .3s ease;
    z-index: 0;
}

.icon-card:hover::after,
.dash-card:hover::after {
    transform: scaleY(1);
}

.icon-card>*,
.dash-card>* {
    position: relative;
    z-index: 1;
}

.icon-card .icon,
.dash-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.icon-card .icon img,
.dash-card .icon img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    display: block;
}

.icon-card .card-label,
.dash-card .card-label {
    display: none;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.15;
    margin-left: 18px;
    text-align: left;
    flex: 1;
}

.icon-card .card-label .l1,
.dash-card .card-label .l1 {
    font-size: 17px;
    margin-bottom: 3px;
}

.icon-card .card-label .l2,
.dash-card .card-label .l2 {
    font-size: 15px;
    opacity: 0.95;
}

/* â”€â”€ STATS OVERLAY â”€â”€ */
.stats-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.stats-panel {
    background: rgba(7, 28, 68, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 3px solid #58a7f7;
    padding: 22px 26px 26px;
    color: #fff;
    box-shadow: 2px -2px 5px rgba(0, 0, 0, 0.25);
}

.stats-panel h3 {
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    font-weight: 700;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
    font-family: var(--font);
}

.stats-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stats-item .label {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.stats-item .value {
    font-size: 30px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stats-item .unit {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 4px;
}

.stats-percent {
    text-align: center;
    margin-top: 14px;
}

.stats-percent .value {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stats-percent .label {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
}

.stats-pie {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: center;
    padding-top: 10px;
}

.stats-pie .chart {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    flex-shrink: 0;
    background: conic-gradient(#f59e0b 0 30%, #8b5cf6 30% 50%, #ef4444 50% 70%, #10b981 70% 90%, #3b82f6 90% 100%);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.stats-pie .legend {
    font-size: 12px;
    line-height: 1.9;
    color: #fff;
}

.stats-pie .legend .dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

/* â”€â”€ PROVIDERS â”€â”€ */
.providers-section {
    background: #efefef;
    padding: 40px 0;
}

.providers-section h2 {
    text-align: center;
    font-size: 20px;
    color: var(--text);
    font-weight: 400;
    margin: 0 0 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.providers-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.provider-item {
    background: #fff;
    border-bottom: 4px solid var(--blue-header);
    padding: 22px 16px;
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 2px -2px 5px 0 rgba(96, 96, 96, .15);
    transition: all .2s ease;
    cursor: pointer;
}

.provider-item:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 12px 0 rgba(96, 96, 96, .3);
    text-decoration: none;
}

.provider-item img {
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.provider-item:nth-child(4n+1) {
    border-bottom-color: #7bad0d;
}

.provider-item:nth-child(4n+2) {
    border-bottom-color: var(--blue-header);
}

.provider-item:nth-child(4n+3) {
    border-bottom-color: #de8010;
}

.provider-item:nth-child(4n+4) {
    border-bottom-color: #8b5cf6;
}

/* â”€â”€ FOOTER â”€â”€ */
.site-footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.85);
    padding: 22px 0;
    margin-top: 0;
    font-size: 13px;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.site-footer .f-text {
    line-height: 1.6;
}

.site-footer .f-text strong {
    color: #fff;
}

.site-footer .f-social {
    display: flex;
    gap: 6px;
}

.site-footer .f-social a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 50%;
    color: var(--footer-bg);
    font-size: 14px;
}

.site-footer .f-social a:hover {
    background: var(--cyan);
    text-decoration: none;
}

/* â”€â”€ BUTTONS (general) â”€â”€ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: all .2s ease;
    white-space: nowrap;
    letter-spacing: 0.2px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--red);
    color: #fff;
}

.btn-primary:hover {
    background: var(--red-hover);
    box-shadow: 0 2px 8px rgba(231, 21, 21, 0.3);
    text-decoration: none;
}

.btn-navy {
    background: var(--blue);
    color: #fff;
}

.btn-navy:hover {
    background: var(--blue-hover);
}

.btn-ghost {
    background: #fff;
    color: var(--blue);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    background: var(--bg);
    border-color: var(--blue);
}

.btn-outline {
    background: #fff;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: #fff;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 13px;
}

.btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

/* â”€â”€ CARD â”€â”€ */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--cyan);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    margin: 0 0 16px;
}

.section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--cyan);
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--blue);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* â”€â”€ FORM â”€â”€ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.form-label {
    font-weight: 600;
    font-size: 13px;
    color: var(--blue);
}

.form-label .req {
    color: var(--red);
    margin-left: 3px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(3, 114, 182, 0.15);
}

/* â”€â”€ LOGIN SPLIT CARD â”€â”€ */
.bs-login-wrap {
    min-height: calc(100vh - 220px);
    background: radial-gradient(1000px 500px at 10% -10%, rgba(3, 114, 182, 0.10), transparent 60%),
        radial-gradient(900px 500px at 110% 110%, rgba(88, 167, 247, 0.12), transparent 60%),
        linear-gradient(180deg, #eef4fb 0%, #e3edf8 100%);
    display: flex;
    align-items: center;
}

.bs-login-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(4, 44, 106, 0.92), rgba(3, 114, 182, 0.88)),
        url('/images/nen_bg.jpg') center center / cover no-repeat;
    min-height: 560px;
    overflow: hidden;
}

.bs-login-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(94, 214, 252, 0.35), transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(190, 30, 45, 0.25), transparent 50%);
    pointer-events: none;
}

.bs-login-hero>* {
    position: relative;
    z-index: 1;
}

.bs-login-btn {
    background: linear-gradient(135deg, #be1e2d 0%, #8b0304 100%) !important;
    border: none !important;
    box-shadow: 0 10px 24px rgba(190, 30, 45, 0.28);
    letter-spacing: 0.6px;
}

.bs-login-btn:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.login-role-tabs {
    gap: 4px;
    background: #f1f5fa;
    padding: 4px;
    border-radius: 10px;
    border: 1px solid #e5e9f0;
}

.login-role-tabs .nav-link {
    color: #575756;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 7px;
    padding: 8px 6px;
    transition: all .15s;
    border: none;
    background: transparent;
}

.login-role-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--blue-header), #0780d3);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(3, 114, 182, 0.28);
}

/* â”€â”€ REGISTER STEPS â”€â”€ */
.registration-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
}

.registration-steps .step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    padding: 14px 20px;
    background: #f1f5fa;
    border-top: 3px solid transparent;
    font-size: 13px;
    font-weight: 600;
    color: #96a1b4;
}

.registration-steps .step.active {
    background: #fff;
    border-top-color: var(--blue-header);
    color: var(--blue-header);
    box-shadow: 0 2px 8px rgba(3, 114, 182, 0.1);
}

.registration-steps .step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #96a1b4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.registration-steps .step.active .step-number {
    background: var(--blue-header);
}

/* â”€â”€ MAIN CONTENT REG â”€â”€ */
.main-content-reg {
    background: var(--bg);
    padding: 24px 0 40px;
}

/* â”€â”€ DASHBOARD â”€â”€ */
.dash-avatar {
    width: 72px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    border: 3px solid #0372b6;
    background: #f0f2f6;
    box-shadow: 0 4px 12px rgba(3, 114, 182, 0.2);
    flex-shrink: 0;
}

.dash-avatar.placeholder {
    display: grid;
    place-items: center;
    color: #96a1b4;
    font-size: 36px;
}

.dash-back-btn {
    font-weight: 600;
    color: #042c6a !important;
    font-size: 14px;
}

.dash-back-btn:hover {
    background: #eff7fd !important;
    border-color: #0372b6 !important;
}

.dash-card-plain {
    border: 1px solid #e5e9f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(17, 49, 96, 0.04) !important;
    background: #f8fafc !important;
    border-top: 1px solid #e5e9f0 !important;
    padding: 0 !important;
}

.dash-card-plain .card-body {
    padding: 20px 24px;
}

.dash-section-title {
    color: #1a1f2e;
    font-size: clamp(11px, 3.2vw, 16px);
    border-bottom: 2px solid #0372b6;
    padding-bottom: 8px;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-cccd-thumb {
    border: 1px solid #dce4ef;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    cursor: zoom-in;
}

.dash-cccd-thumb .cap {
    background: #f6f8fb;
    text-align: center;
    padding: 6px;
    font-size: 12px;
    color: #575756;
    font-weight: 500;
    border-bottom: 1px solid #dce4ef;
}

.dash-cccd-thumb img {
    width: 100%;
    aspect-ratio: 1.2/1;
    object-fit: cover;
    display: block;
}

.dash-cccd-thumb.empty {
    display: flex;
    flex-direction: column;
}

.dash-cccd-thumb.empty i {
    font-size: 48px;
    color: #c0c8d6;
    text-align: center;
    padding: 30px 0;
    background: #f0f2f6;
}

/* â”€â”€ ADMIN SHELL â”€â”€ */
.bs-admin-wrap {
    background: #f2f5f9;
    min-height: calc(100vh - 220px);
}

.bs-admin-sidebar {
    background: linear-gradient(180deg, #042c6a, #0a1f42);
    color: #fff;
    min-height: calc(100vh - 220px);
    border-right: 3px solid #5ed6fc;
    padding: 12px 0;
}

.bs-admin-link {
    color: #cfe1ff;
    font-weight: 600;
    font-size: 13px;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 4px;
    border-left: 3px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all .15s;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.bs-admin-link:hover {
    background: rgba(88, 167, 247, 0.15);
    color: #fff;
    text-decoration: none;
}

.bs-admin-link.active {
    background: rgba(88, 167, 247, 0.22);
    color: #fff;
    border-left-color: #5ed6fc;
}

.bs-admin-link i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.bs-admin-content {
    background: #f2f5f9;
}

.bs-admin-content h1 {
    font-size: 22px;
    font-weight: 800;
    color: #042c6a;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bs-admin-content h1 i {
    color: var(--blue-header);
    margin-right: 8px;
}

.bs-admin-content .card {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(17, 49, 96, .08) !important;
    padding: 0 !important;
    border-top: 3px solid #5ed6fc !important;
}

.bs-admin-content .card>.card-body {
    padding: 20px;
}

/* Admin table */
.users-rich-table {
    font-size: 13px;
    margin-bottom: 0 !important;
}

.users-rich-table thead th {
    background: #f5f7fa !important;
    color: #042c6a;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 12px 10px !important;
    border: 1px solid #d6dde8 !important;
    white-space: nowrap;
    vertical-align: middle;
}

.users-rich-table tbody td {
    padding: 12px 10px !important;
    border: 1px solid #d6dde8 !important;
    vertical-align: middle;
    background: #fff;
}

.users-rich-table tbody tr:hover td {
    background: #f8fafc;
}

.user-thumb {
    width: 115px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    background: #f0f2f6;
    position: relative;
    cursor: zoom-in;
    border: 1px solid #d6dde8;
    flex-shrink: 0;
}

.user-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user-thumb .cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 10px;
    text-align: center;
    padding: 2px 4px;
    font-weight: 600;
}

.user-thumb.empty {
    display: grid;
    place-items: center;
    color: #96a1b4;
    font-size: 22px;
    cursor: default;
}

.cccd-thumbs {
    display: flex;
    gap: 8px;
    width: 100%;
}

.cccd-thumbs .user-thumb {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 120px;
}

.addr-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em;
    cursor: help;
}

/* stat badge */
.admin-stat-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.badge-indiv {
    background: #e8f2fc;
    color: #0372b6;
}

.badge-org {
    background: #ecfdf5;
    color: #0a7a2a;
}

.badge-yes {
    background: #d4edda;
    color: #0a7a2a;
}

.badge-no {
    background: #f1f5f9;
    color: #96a1b4;
}

/* â”€â”€ ADMIN MODERN LAYOUT â”€â”€ */
.admin-layout {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    background: #f4f6fb;
    min-height: calc(100vh - 220px);
}

.admin-sidebar {
    background: #ffffff;
    border-bottom: 1px solid #e6ebf3;
    box-shadow: 0 2px 8px rgba(17, 49, 96, .06);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0;
}

.admin-sidebar .sb-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 16px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.admin-sidebar .sb-nav::-webkit-scrollbar {
    height: 4px;
}

.admin-sidebar .sb-nav::-webkit-scrollbar-thumb {
    background: #d4dce9;
    border-radius: 4px;
}

.admin-sidebar .side-item {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 16px 18px;
    color: #4a5772 !important;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none !important;
    position: relative;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    flex-shrink: 0;
}

.admin-sidebar .side-item i.bi {
    font-size: 16px;
    color: #7b8aa5;
    flex-shrink: 0;
    transition: color .15s;
}

.admin-sidebar .side-item:hover {
    background: #f5f9fd;
    color: #0372b6 !important;
}

.admin-sidebar .side-item:hover i.bi {
    color: #0372b6;
}

.admin-sidebar .side-item.active {
    color: #0372b6 !important;
    border-bottom-color: #0372b6;
    background: #eff5fb;
}

.admin-sidebar .side-item.active i.bi {
    color: #0372b6;
}

.admin-sidebar .side-item .badge {
    margin-left: 2px;
}

.admin-content {
    padding: 24px 28px 40px;
    overflow-x: auto;
    background: #f4f6fb;
    flex: 1 0 auto;
}

.admin-content .page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.admin-content .page-head h1 {
    margin: 0;
    color: #042c6a;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    padding: 0;
}

.admin-content .page-head h1 i.bi {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8f4fd, #d6ebf9);
    color: #0372b6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.admin-content h1 {
    margin: 0 0 22px;
    color: #042c6a;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
    padding: 0;
    border: none;
}

.admin-content .card {
    border: 1px solid #eaeef6 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(17, 49, 96, .05) !important;
    background: #fff;
}

/* â”€â”€ UPLOAD BOX â”€â”€ */
.bs-upload-box {
    border: 2px dashed #b7c9e0;
    border-radius: 12px;
    background: #fafbfd;
    transition: all .2s;
}

.bs-upload-box:hover {
    border-color: var(--blue-header);
    background: #eff7fd;
}

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 1100px) {
    .hero-wrap {
        min-height: 820px;
    }

    .hero-content {
        padding-top: 130px;
    }
}

@media (max-width: 900px) {
    .hero-wrap {
        min-height: 760px;
    }

    .hero-content {
        padding-top: 90px;
    }
}

@media (max-width: 720px) {
    .stats-wrap {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer .container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .stats-pie .chart {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        display: none;
    }

    .bs-admin-sidebar {
        min-height: auto;
    }

    .bs-admin-sidebar .nav {
        flex-direction: row !important;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .bs-admin-link {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .bs-admin-link.active {
        border-left: none;
        border-bottom-color: #5ed6fc;
    }
}

@media (max-width: 767px) {
    .site-header {
        height: auto;
        min-height: 64px;
        background-size: cover;
        padding: 8px 0;
    }

    .site-header .container {
        padding: 0 10px;
        gap: 8px;
        flex-wrap: nowrap;
        align-items: center;
    }

    .brand-badge {
        width: 40px;
        height: 40px;
        margin-right: 5px;
        flex-shrink: 0;
    }

    .brand-badge img {
        width: 40px;
        height: 40px;
    }

    .brand-text {
        font-size: 12px;
        letter-spacing: 0.3px;
    }

    .header-actions {
        padding-right: 0;
        gap: 4px;
        flex-shrink: 0;
    }

    .header-actions .btn-primary {
        padding: 6px 12px;
        font-size: 12px;
    }

    .user-chip {
        padding: 0;
        gap: 0;
        width: 34px;
        height: 34px;
        min-height: 34px;
        border-radius: 50%;
    }

    .user-chip .chip-logo {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: none;
    }

    .user-chip .chip-logo img {
        width: 22px;
        height: 22px;
    }

    .user-chip .chip-meta {
        display: none;
    }

    .user-notif-bell,
    .user-logout-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 14px;
        border-radius: 50%;
        padding: 0 !important;
    }

    .user-logout-btn span {
        display: none;
    }

    .user-notif-panel {
        width: calc(100vw - 20px);
        right: -10px;
        position: fixed;
        top: 70px;
    }

    .user-notif-panel::before {
        display: none;
    }
}

@media (max-width: 560px) {
    .hero-wrap {
        min-height: 0 !important;
        background: #0f1d3a;
    }

    .hero-bg {
        position: relative !important;
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .hero-dark {
        display: none !important;
    }

    .hero-content {
        padding: 16px 12px 24px !important;
        position: relative;
        z-index: 3;
    }

    .menu-overlay {
        width: 100% !important;
        max-width: none !important;
    }

    .icon-grid,
    .dash-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .icon-card,
    .dash-card {
        padding: 14px 18px;
        min-height: 72px;
    }

    .icon-card .icon img,
    .dash-card .icon img {
        width: auto;
        height: 56px;
        max-width: 90%;
        max-height: 56px;
    }

    .icon-card .card-label,
    .dash-card .card-label {
        display: none !important;
    }

    .stats-wrap {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }
}


/* ================================================================
   REGISTRATION PAGES (Account/Register, Account/RegisterFinal)
   Ported from baohiemxahoivn.com reference design
   ================================================================ */

.main-content-reg {
    padding: 30px 0;
    min-height: calc(100vh - 380px);
}

.main-content-reg .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-content-reg h1 {
    font-size: 24px;
    color: var(--blue);
    margin: 0 0 20px;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
}

/* Stepper */
.registration-steps {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.registration-steps .step {
    display: flex;
    align-items: center;
    margin-right: 30px;
    opacity: 0.5;
}

.registration-steps .step.active {
    opacity: 1;
}

.registration-steps .step.done {
    opacity: 1;
}

.registration-steps .step-number {
    width: 24px;
    height: 24px;
    background-color: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 600;
}

.registration-steps .step-label {
    color: var(--blue);
    font-size: 14px;
    font-weight: 500;
}

/* White card form */
.registration-form {
    background: #fff;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 auto;
}

.registration-form.step1 {
    max-width: 600px;
}

.registration-form .form-header {
    text-align: center;
    margin-bottom: 30px;
}

.registration-form .form-header h2 {
    font-size: 24px;
    color: var(--text);
    margin: 0 0 15px;
    font-weight: bold;
    text-transform: none;
    letter-spacing: 0;
}

.registration-form .form-description {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

.registration-form>h2.form-subtitle {
    font-size: 16px;
    color: #333;
    margin: 0 0 25px;
    font-weight: normal;
    text-transform: none;
}

/* Gray bordered sections inside registration-form */
.form-section {
    margin-bottom: 24px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.form-section-title {
    color: var(--text);
    font-size: clamp(11px, 3.2vw, 16px);
    margin: 0 0 20px;
    font-weight: bold;
    border-bottom: 2px solid var(--blue);
    padding-bottom: 10px;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Form group */
.registration-form .form-group {
    margin-bottom: 20px;
}

.registration-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.registration-form .form-group label .required {
    color: red;
    margin-left: 3px;
}

.registration-form .form-group input[type=text],
.registration-form .form-group input[type=tel],
.registration-form .form-group input[type=password],
.registration-form .form-group input[type=email],
.registration-form .form-group input[type=number],
.registration-form .form-group select,
.registration-form .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #fff;
    font-family: inherit;
}

.registration-form .form-group input:focus,
.registration-form .form-group select:focus,
.registration-form .form-group textarea:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 2px rgba(29, 112, 183, 0.2);
}

.registration-form .form-group input.invalid,
.registration-form .form-group select.invalid {
    border-color: #d32f2f;
    background-color: #fff5f5;
}

.registration-form .form-group .field-error {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 4px;
}

/* Upload boxes (CCCD ngang + portrait) */
.upload-container {
    display: flex;
    gap: 14px;
    margin-bottom: 0;
    flex-wrap: nowrap;
    align-items: stretch;
}

.registration-form .upload-group {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    aspect-ratio: 16/10;
    cursor: pointer;
    max-width: none;
}

.registration-form .upload-group.single-upload {
    margin: 0 auto 20px;
    width: 150px;
    height: 180px;
    flex: none;
    aspect-ratio: auto;
}

.registration-form .upload-group>.upload-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 5px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    color: #333;
    z-index: 1;
    margin: 0;
    font-weight: 500;
}

.registration-form .upload-group .upload-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    padding-top: 26px;
}

.registration-form .upload-group .upload-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.registration-form .upload-group .upload-icon {
    font-size: 36px;
    color: #999;
}

.registration-form .upload-group:hover {
    border-color: var(--blue);
}

.registration-form .upload-group:hover .upload-icon {
    color: var(--blue);
}

.registration-form .upload-group input[type=file] {
    display: none;
}

.registration-form .upload-group.has-image .upload-icon {
    display: none;
}

.cccd-upload-container {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    background: #fff;
}

.cccd-upload-label {
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text);
    font-size: 14px;
}

.cccd-upload-label .required {
    color: red;
    margin-left: 3px;
}

.cccd-upload-container .upload-container {
    justify-content: flex-start;
    gap: 10px;
}

/* Address grid */
.address-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 600px) {
    .address-fields {
        grid-template-columns: 1fr;
    }
}

.address-fields select,
.address-fields input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    box-sizing: border-box;
}

.address-fields select:focus,
.address-fields input:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 2px rgba(29, 112, 183, 0.2);
}

/* Custom radio (step 1) */
.radio-option {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.radio-option input[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-option label {
    font-size: 14px;
    color: #333;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0;
    min-height: 20px;
}

.radio-option label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s ease;
}

.radio-option label::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0;
    transition: all 0.2s ease;
}

.radio-option input[type=radio]:checked+label::before {
    border-color: var(--blue);
}

.radio-option input[type=radio]:checked+label::after {
    opacity: 1;
}

/* Form actions */
.registration-form .form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.registration-form .form-actions .btn {
    padding: 10px 40px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    min-width: 120px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    transition: all .2s;
}

.registration-form .form-actions .btn-primary {
    background-color: var(--blue);
    color: #fff;
}

.registration-form .form-actions .btn-primary:hover {
    background-color: #165c99;
    box-shadow: none;
}

.registration-form .form-actions .btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.registration-form .form-actions .btn-secondary:hover {
    background-color: #e9e9e9;
}

/* Password input with eye toggle */
.registration-form .password-wrap {
    position: relative;
}

.registration-form .password-wrap .pw-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    font-size: 16px;
    padding: 0;
}

.registration-form .password-wrap .pw-eye:hover {
    color: var(--blue);
}

.registration-form .password-wrap input {
    padding-right: 36px !important;
}

/* Searchable select (bank picker) */
.ss-wrap {
    position: relative;
}

.ss-wrap>input {
    width: 100%;
    padding: 10px 36px 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    box-sizing: border-box;
    cursor: pointer;
}

.ss-wrap>input:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 2px rgba(29, 112, 183, 0.2);
}

.ss-wrap::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-25%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--blue);
    pointer-events: none;
    transition: transform .2s;
}

.ss-wrap.ss-open::after {
    transform: translateY(-75%) rotate(180deg);
}

.ss-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: 320px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    z-index: 1050;
}

.ss-dropdown .ss-search {
    padding: 8px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 2;
}

.ss-dropdown .ss-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
    background: #fff;
    cursor: text;
}

.ss-dropdown .ss-search input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(29, 112, 183, 0.15);
}

.ss-item {
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.ss-item:hover,
.ss-item.ss-active {
    background: #f0f7ff;
    color: var(--blue);
}

.ss-item:last-child {
    border-bottom: none;
}

.ss-item-logo {
    width: 40px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
}

.ss-item-text {
    flex: 1;
    min-width: 0;
}

.ss-item-sub {
    font-size: 11px;
    color: #6c757d;
    display: block;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ss-empty,
.ss-loading {
    padding: 16px;
    text-align: center;
    color: #6c757d;
    font-size: 13px;
}

.ss-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ss-loading::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid #eee;
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: ss-spin .8s linear infinite;
}

@keyframes ss-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   HEADER LINK (ÄÄƒng nháº­p / ÄÄƒng kÃ½ kiá»ƒu text-only)
   ============================================================ */
.site-header .header-actions .header-link {
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 14px;
    background: transparent !important;
    border: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    transition: opacity .15s;
}

.site-header .header-actions .header-link:hover {
    opacity: .8;
    text-decoration: underline;
}

/* ============================================================
   PAGE BAR (xÃ¡m "ÄÄ‚NG KÃ")
   ============================================================ */
.bhxh-pagebar {
    background: #f1f3f4;
    border-top: 1px solid #e3e6e8;
    border-bottom: 1px solid #e3e6e8;
    padding: 12px 0;
    font-size: 14px;
    color: #5f6368;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* ============================================================
   LOGIN MODAL POPUP
   ============================================================ */
body.lm-open {
    overflow: hidden;
}

.login-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 16px;
    overflow-y: auto;
}

.login-modal[hidden] {
    display: none !important;
}

.login-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 32, 80, 0.55);
    backdrop-filter: blur(2px);
    cursor: pointer;
}

.login-modal__dialog {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    padding: 22px 26px 18px;
    z-index: 1;
}

.login-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
}

.login-modal__close:hover {
    color: #d33;
}

.lm-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.lm-title {
    font-size: 22px;
    font-weight: 700;
    color: #0372b6;
    letter-spacing: 1px;
    margin-right: auto;
}

.lm-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    user-select: none;
}

.lm-tab input[type=radio],
.lm-tab input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: #0372b6;
}

.lm-error {
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c2c0;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 13px;
    margin-bottom: 12px;
}

.lm-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lm-field {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding: 4px 0;
}

.lm-field:focus-within {
    border-bottom-color: #0372b6;
}

.lm-ic {
    font-size: 18px;
    color: #555;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.lm-ic-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 4px;
}

.lm-field input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 8px 6px;
    font-size: 14px;
    color: #333;
}

.lm-field input::placeholder {
    color: #999;
}

.lm-eye {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    padding: 0 6px;
}

.lm-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.lm-captcha-img {
    flex: 1;
    height: 48px;
    background: #d6e8e8;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(0, 0, 0, .15) 49%, transparent 50%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 0, 0, .15) 49%, transparent 50%);
    background-size: 12px 12px;
}

.lm-captcha-img span {
    display: inline-block;
    font-family: 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 700;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, .6);
}

.lm-captcha-reload {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: #0372b6;
    padding: 0 4px;
}

.lm-captcha-reload img {
    width: 22px;
    height: 22px;
}

.lm-captcha-img-real {
    height: 60px !important;
    width: 200px !important;
    border: 1px solid #d6d9dd;
    border-radius: 3px;
    background: #fdf7c7;
    cursor: pointer;
    object-fit: cover;
}

.lm-forgot {
    text-align: right;
    margin: -4px 0 4px;
}

.lm-forgot a {
    font-size: 13px;
    color: #0372b6;
    text-decoration: none;
}

.lm-forgot a:hover {
    text-decoration: underline;
}

.lm-bottom-tabs {
    display: flex;
    margin: 6px -26px 0;
}

.lm-bt {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
}

.lm-bt--register {
    background: #cfd2d6;
    color: #555;
}

.lm-bt--register:hover {
    background: #b8bcc1;
    color: #333;
}

.lm-bt--login {
    background: #2196f3;
    color: #fff;
}

.lm-bt--login:hover {
    background: #1976d2;
}

.lm-ext {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 -26px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    line-height: 1.25;
}

.lm-ext img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

.lm-ext--gov {
    background: #1565c0;
    color: #fff;
    letter-spacing: .3px;
}

.lm-ext--gov:hover {
    background: #0d4a98;
    color: #fff;
}

.lm-ext--vneid {
    background: #c62828;
    color: #fff;
}

.lm-ext--vneid:hover {
    background: #a71e1e;
    color: #fff;
}

.lm-ext--vneid img {
    background: #fff;
    border-radius: 50%;
    padding: 2px;
}

@media (max-width: 480px) {
    .login-modal {
        padding: 20px 8px;
    }

    .login-modal__dialog {
        padding: 16px 18px 14px;
    }

    .lm-bottom-tabs,
    .lm-ext {
        margin-left: -18px;
        margin-right: -18px;
    }
}

/* ============================================================
   Tá»œ KHAI (RegisterFinal) â€” layout label trÃ¡i, input pháº£i
   ============================================================ */
.tk-wrap {
    background: #f0f3f7;
    padding: 24px 0 60px;
    min-height: 60vh;
}

/* Stepper kiá»ƒu ngang dÃ i */
.tk-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 28px;
    padding: 0 8px;
}

.tk-step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.tk-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #b0b6bd;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.tk-step.active .tk-step-num {
    background: #0372b6;
}

.tk-step.done .tk-step-num {
    background: #0372b6;
}

.tk-step-label {
    font-size: 14px;
    color: #333;
}

.tk-step.done .tk-step-label {
    color: #0372b6;
    font-weight: 600;
}

.tk-step-line {
    flex: 1;
    height: 1px;
    background: #d0d4d9;
    margin: 0 16px;
}

.tk-form {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dde2e8;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(17, 49, 96, .08);
    padding: 28px 32px 36px;
}

.tk-header {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-left: 0;
}

.tk-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.tk-photo-cap {
    font-size: 13px;
    color: #555;
}

.tk-photo-box {
    width: 110px;
    height: 130px;
    border: 1px solid #cfd4da;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b6bd;
    background: #f5f6f8;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s;
}

.tk-photo-box:hover {
    border-color: #0372b6;
}

.tk-photo-box.has-img i {
    display: none;
}

.tk-title-block {
    flex: 1;
    padding-top: 22px;
    text-align: center;
}

.tk-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.tk-sub {
    color: #1976d2;
    font-size: 14px;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* row */
.tk-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 14px;
    padding: 0 8px;
}

.tk-row--note {
    padding-left: 8px;
}

.tk-lbl {
    text-align: right;
    font-size: 14px;
    color: #333;
    padding-top: 8px;
    font-weight: normal;
}

.req {
    color: #e53935;
    margin-left: 2px;
}

.tk-inp {
    width: 100%;
    border: none;
    border-bottom: 1px solid #c0c5cb;
    background: transparent;
    font-size: 14px;
    padding: 6px 4px;
    outline: none;
    color: #222;
}

.tk-inp:focus {
    border-bottom-color: #0372b6;
}

.tk-inp--dashed {
    border-bottom-style: dotted;
}

select.tk-inp {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'><path fill='%23666' d='M3.2 5.6L8 10.4l4.8-4.8z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 6px center;
    padding-right: 20px;
}

.tk-inp-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tk-mt8 {
    margin-top: 8px;
}

.tk-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tk-grid-2 .ss-wrap,
.tk-grid-2 .ss-wrap>input {
    width: 100%;
}

.tk-err {
    color: #e53935;
    font-size: 12px;
}

/* row split (BHXH | CCCD upload) */
.tk-row--split {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 0 8px;
}

.tk-row--split .tk-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tk-col--cccd {
    align-items: flex-start;
}

.tk-cccd-outer {
    border: 1px solid #c8d0d9;
    border-radius: 4px;
    padding: 10px 14px 14px;
    background: #fff;
}

.tk-cccd-cap {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
}

.tk-cccd-grid {
    display: flex;
    gap: 14px;
}

.tk-cccd-box {
    width: 110px;
    height: 86px;
    border: 1px solid #cfd4da;
    border-radius: 4px;
    background: #f5f6f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 4px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: border-color .15s;
}

.tk-cccd-box:hover {
    border-color: #0372b6;
}

.tk-cccd-box i {
    font-size: 26px;
    color: #9ca5b0;
}

.tk-cccd-box span {
    font-size: 12px;
    color: #666;
}

.tk-cccd-box.has-img i,
.tk-cccd-box.has-img span {
    display: none;
}

/* date row */
.tk-date-row {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.tk-date-lbl {
    font-size: 13px;
    color: #555;
}

.tk-inp--date {
    max-width: 160px;
}

/* note text */
.tk-note-txt {
    color: #444;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.tk-legal {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 8px;
}

/* input cÃ³ icon (email/phone) */
.tk-inp-ic {
    position: relative;
    display: block;
}

.tk-suffix-ic {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 16px;
    pointer-events: none;
}

.tk-warn {
    color: #e53935;
    font-size: 13px;
    margin: 4px 0 0;
}

/* radio */
.tk-radio {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    margin-bottom: 6px;
}

.tk-radio input[type=radio] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #0372b6;
}

/* nÃºt "Chá»n" */
.tk-btn-choose {
    display: inline-block;
    background: #1976d2;
    color: #fff;
    border: none;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
}

.tk-btn-choose:hover {
    background: #1565c0;
}

.tk-agency-display {
    display: inline-block;
    margin-left: 12px;
    color: #1976d2;
    font-weight: 600;
    font-size: 14px;
}

/* captcha */
.tk-captcha {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin: 24px auto 12px;
    max-width: 360px;
    flex-wrap: wrap;
}

.tk-captcha .tk-captcha-img-real {
    order: 1;
}

.tk-captcha .tk-captcha-reload {
    order: 2;
}

.tk-captcha .tk-captcha-input {
    order: 3;
    flex: 1 1 100%;
    max-width: 320px;
}

.tk-captcha-reload {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #0372b6;
    padding: 0;
}

.lm-captcha-img-real,
.tk-captcha-img-real {
    height: 36px;
    width: 130px;
    border: 1px solid #d6d9dd;
    border-radius: 3px;
    background: #fdf7c7;
    cursor: pointer;
    object-fit: cover;
}

.tk-captcha-input {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #c0c5cb;
    gap: 8px;
    min-width: 260px;
    padding: 0 4px;
}

.tk-captcha-input i {
    color: #777;
    font-size: 16px;
}

.tk-captcha-input .tk-captcha-suffix {
    margin-left: auto;
}

.tk-captcha-input input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 6px 0;
    font-size: 14px;
}

/* submit */
.tk-submit {
    text-align: center;
    margin: 18px 0 0;
}

.tk-btn-submit {
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 10px 36px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.tk-btn-submit:hover {
    background: #1565c0;
}

@media (max-width: 768px) {
    .tk-header {
        flex-direction: column;
        padding-left: 16px;
        align-items: center;
    }

    .tk-row,
    .tk-row--split,
    .tk-row--note {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .tk-lbl {
        text-align: left;
        padding-top: 0;
        font-weight: 600;
    }

    .tk-grid-2 {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   CAPTCHA IMAGE TH?T (server PNG) + AGENCY TREE MODAL
   ============================================================ */
.lm-captcha-img-real:hover,
.tk-captcha-img-real:hover {
    box-shadow: 0 0 0 2px #cfe7ff;
}

.agency-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px;
    overflow-y: auto;
}

.agency-modal.is-open {
    display: flex;
}

.agency-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 32, 80, 0.55);
}

.agency-modal__dialog {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 540px;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.agency-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #2196d4;
    color: #fff;
    border-radius: 4px 4px 0 0;
    font-weight: 500;
    font-size: 15px;
}

.agency-modal__head .bi {
    margin-right: 4px;
}

.agency-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.agency-modal__body {
    padding: 8px 12px;
    overflow-y: auto;
    flex: 1;
}

.agency-modal__foot {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    border-top: 1px solid #e3e6ea;
    background: #fafbfc;
    border-radius: 0 0 4px 4px;
}

.agency-btn {
    border: 1px solid transparent;
    font-size: 14px;
    padding: 7px 22px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
}

.agency-btn--primary {
    background: #2196d4;
    color: #fff;
}

.agency-btn--primary:hover {
    background: #1976b3;
}

.agency-btn--ghost {
    background: #fff;
    color: #444;
    border-color: #c9ced4;
}

.agency-btn--ghost:hover {
    background: #f0f3f6;
}

.agency-tree {
    font-size: 14px;
}

.agency-loading,
.agency-empty {
    padding: 20px;
    text-align: center;
    color: #777;
}

.agency-node {
    padding: 0;
}

.agency-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 6px;
    border-radius: 2px;
    cursor: pointer;
    user-select: none;
}

.agency-row:hover {
    background: #eef5fb;
}

.agency-row.is-selected {
    background: #d6e9f7;
}

.agency-toggle {
    width: 14px;
    color: #555;
    font-size: 11px;
    flex-shrink: 0;
}

.agency-toggle--empty {
    visibility: hidden;
}

.agency-name {
    flex: 1;
    color: #222;
}

.agency-code {
    color: #1565c0;
    font-weight: 500;
}

.agency-children {
    margin-left: 6px;
}

/* ============================================================
   STATUS / 404 PAGE
   ============================================================ */
.status-page {
    min-height: 60vh;
    background: #fff;
    padding: 80px 0 100px;
    text-align: center;
}

.status-code {
    font-size: 120px;
    font-weight: 300;
    color: #1565c0;
    line-height: 1;
    letter-spacing: 4px;
    margin-bottom: 18px;
}

.status-msg {
    font-size: 18px;
    color: #333;
    margin-bottom: 24px;
}

.status-hint {
    color: #555;
    font-size: 14px;
}

.status-hint a {
    color: #1565c0;
    text-decoration: underline;
    margin-left: 4px;
}

.status-hint a:hover {
    color: #0d4a98;
}

/* ===== TTHC (Dá»‹ch vá»¥ cÃ´ng) ===== */
.tthc-wrap {
    background: #fff;
    padding: 18px 0 60px;
}

.tthc-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 8px;
}

.tthc-lbl {
    font-size: 13px;
    color: #333;
}

.tthc-search {
    flex: 0 0 320px;
    border: none;
    border-bottom: 1px solid #c0c5cb;
    padding: 8px 4px;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.tthc-search:focus {
    border-bottom-color: #1565c0;
}

.tthc-search-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1565c0;
    color: #fff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tthc-search-btn:hover {
    background: #0d47a1;
}

.tthc-pgsize {
    padding: 5px 8px;
    border: 1px solid #c0c5cb;
    border-radius: 3px;
    font-size: 13px;
    background: #fff;
}

.tthc-pager {
    display: flex;
    gap: 4px;
    margin-left: auto;
    align-items: center;
}

.tthc-pager button {
    background: #1565c0;
    color: #fff;
    border: none;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
}

.tthc-pager button:disabled {
    background: #b0bec5;
    cursor: not-allowed;
}

.tthc-pager .tthc-pginfo {
    color: #333;
    font-size: 13px;
    padding: 0 8px;
}

.tthc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
}

.tthc-table thead th {
    background: #f5c244;
    color: #222;
    font-weight: 600;
    padding: 9px 8px;
    border: 1px solid #e0a920;
    text-align: center;
}

.tthc-table tbody td {
    padding: 8px 10px;
    border: 1px solid #e3e6ea;
    vertical-align: top;
    color: #222;
}

.tthc-table tbody td.text-center {
    text-align: center;
}

.tthc-row--parent td {
    background: #eef3f9;
    font-weight: 600;
}

.tthc-row--child td {
    background: #fff;
}

.tthc-row--child td:first-child {
    padding-left: 24px;
}

.tthc-table tbody tr:hover td {
    background: #f7fbff;
}

.tthc-empty {
    text-align: center;
    padding: 24px;
    color: #888;
}

/* ============================================================
   MOBILE FIX â€” chá»‘ng trÃ n ngang (horizontal scroll) trÃªn mobile
   ============================================================ */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    /* Tá» khai Ä‘Äƒng kÃ½ */
    .tk-header {
        padding-left: 0 !important;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .tk-title-block {
        padding-top: 4px;
    }

    .tk-title {
        font-size: 22px;
    }

    .tk-sub {
        font-size: 13px;
        padding: 0 8px;
    }

    .tk-row {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 8px !important;
        gap: 6px !important;
    }

    .tk-row .tk-lbl {
        text-align: left !important;
        min-width: 0 !important;
        width: 100% !important;
        padding-right: 0 !important;
    }

    .tk-row--split {
        display: block !important;
    }

    .tk-row--split .tk-col {
        margin-bottom: 14px;
    }

    .tk-grid-2 {
        display: block !important;
    }

    .tk-grid-2>* {
        margin-bottom: 10px;
    }

    .tk-date-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .tk-inp--date {
        max-width: 100% !important;
        flex: 1 1 100%;
    }

    .tk-cccd-grid {
        justify-content: center;
        flex-wrap: wrap;
    }

    .tk-captcha {
        max-width: 100%;
    }

    .tk-captcha .tk-captcha-input {
        min-width: 0;
        max-width: 100%;
    }

    .tk-captcha-img-real {
        width: 140px !important;
        height: 44px !important;
    }

    /* Login modal */
    .login-modal__dialog {
        width: 92vw !important;
        max-width: 380px !important;
        padding: 20px 18px !important;
    }

    .lm-bottom-tabs {
        margin: 6px -18px 0 !important;
    }

    .lm-captcha-img-real {
        width: 140px !important;
        height: 50px !important;
    }

    .lm-ext {
        font-size: 12px !important;
    }

    /* Báº£ng TTHC: cho phÃ©p scroll ngang trong báº£ng, khÃ´ng trÃ n cáº£ trang */
    .tthc-wrap {
        overflow-x: hidden;
    }

    .tthc-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .tthc-toolbar {
        flex-wrap: wrap;
    }

    .tthc-search {
        flex: 1 1 100% !important;
    }

    .tthc-pager {
        margin-left: 0;
        flex-wrap: wrap;
    }

    /* Agency modal */
    .agency-modal__dialog {
        width: 94vw !important;
        max-width: 480px !important;
    }

    /* Header / nav: cho phÃ©p cuá»™n ngang trong nav */
    .top-nav,
    .main-nav,
    .bhxh-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .tk-title {
        font-size: 20px;
    }

    .tk-photo-box {
        width: 92px;
        height: 110px;
    }

    .tk-cccd-box {
        width: 100px;
        height: 70px;
    }

    .login-modal__dialog {
        padding: 16px 14px !important;
    }
}

/* ============================================================
   MOBILE FIX â€” chá»‘ng trÃ n ngang (horizontal scroll) trÃªn mobile
   ============================================================ */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    /* Tá» khai Ä‘Äƒng kÃ½ */
    .tk-header {
        padding-left: 0 !important;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .tk-title-block {
        padding-top: 4px;
    }

    .tk-title {
        font-size: 22px;
    }

    .tk-sub {
        font-size: 13px;
        padding: 0 8px;
    }

    .tk-row {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 8px !important;
        gap: 6px !important;
    }

    .tk-row .tk-lbl {
        text-align: left !important;
        min-width: 0 !important;
        width: 100% !important;
        padding-right: 0 !important;
    }

    .tk-row--split {
        display: block !important;
    }

    .tk-row--split .tk-col {
        margin-bottom: 14px;
    }

    .tk-grid-2 {
        display: block !important;
    }

    .tk-grid-2>* {
        margin-bottom: 10px;
    }

    .tk-date-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .tk-inp--date {
        max-width: 100% !important;
        flex: 1 1 100%;
    }

    .tk-cccd-grid {
        justify-content: center;
        flex-wrap: wrap;
    }

    .tk-captcha {
        max-width: 100%;
    }

    .tk-captcha .tk-captcha-input {
        min-width: 0;
        max-width: 100%;
    }

    .tk-captcha-img-real {
        width: 140px !important;
        height: 44px !important;
    }

    /* Login modal */
    .login-modal__dialog {
        width: 92vw !important;
        max-width: 380px !important;
        padding: 20px 18px !important;
    }

    .lm-bottom-tabs {
        margin: 6px -18px 0 !important;
    }

    .lm-captcha-img-real {
        width: 140px !important;
        height: 50px !important;
    }

    .lm-ext {
        font-size: 12px !important;
    }

    /* Báº£ng TTHC: cho phÃ©p scroll ngang trong báº£ng, khÃ´ng trÃ n cáº£ trang */
    .tthc-wrap {
        overflow-x: hidden;
    }

    .tthc-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .tthc-toolbar {
        flex-wrap: wrap;
    }

    .tthc-search {
        flex: 1 1 100% !important;
    }

    .tthc-pager {
        margin-left: 0;
        flex-wrap: wrap;
    }

    /* Agency modal */
    .agency-modal__dialog {
        width: 94vw !important;
        max-width: 480px !important;
    }

    /* Header / nav: cho phÃ©p cuá»™n ngang trong nav */
    .top-nav,
    .main-nav,
    .bhxh-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .tk-title {
        font-size: 20px;
    }

    .tk-photo-box {
        width: 92px;
        height: 110px;
    }

    .tk-cccd-box {
        width: 100px;
        height: 70px;
    }

    .login-modal__dialog {
        padding: 16px 14px !important;
    }
}

/* ============================================================
   UPLOAD PREVIEW (áº£nh chÃ¢n dung & CCCD) â€” cover-fit cáº¯t vá»«a khung
   ============================================================ */
.tk-photo-box,
.tk-cccd-box {
    position: relative;
    overflow: hidden;
}

.tk-upload-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 2;
}

/* Khi cÃ³ áº£nh, áº©n placeholder icon + áº£nh máº·c Ä‘á»‹nh + label */
.tk-photo-box.has-img i,
.tk-photo-box.has-img .tk-photo-default,
.tk-cccd-box.has-img i,
.tk-cccd-box.has-img .tk-cccd-default,
.tk-cccd-box.has-img>span {
    display: none !important;
}

/* Group CCCD: cÄƒn giá»¯a vÃ  bo viá»n nhÆ° screenshot */
.tk-col--cccd {
    align-items: center !important;
}

.tk-cccd-cap {
    position: relative;
    display: inline-block;
    padding: 0 8px;
    background: #fff;
    z-index: 1;
}

.tk-cccd-wrap {
    border: 1px solid #cfd4da;
    border-radius: 4px;
    padding: 14px 18px 14px;
    margin-top: -10px;
    display: inline-block;
}

.tk-cccd-grid {
    justify-content: center;
}

/* ============================================================
   MOBILE: áº£nh & layout giá»‘ng áº£nh chá»¥p app
   ============================================================ */
@media (max-width: 768px) {
    .tk-header {
        padding-left: 0 !important;
    }

    .tk-photo-box {
        width: 200px;
        height: 240px;
        border-radius: 8px;
    }

    .tk-photo-box i {
        font-size: 80px !important;
    }

    .tk-photo-default {
        padding: 24px;
    }

    .tk-photo-cap {
        font-size: 15px;
        text-align: center;
    }

    /* CCCD group: 2 box to hÆ¡n, cÄƒn giá»¯a */
    .tk-col--cccd {
        width: 100%;
    }

    .tk-cccd-wrap {
        display: block;
        margin: 0 auto;
        max-width: 360px;
    }

    .tk-cccd-grid {
        gap: 16px;
        justify-content: center;
    }

    .tk-cccd-box {
        width: 130px;
        height: 100px;
        border-radius: 8px;
    }

    .tk-cccd-box i {
        font-size: 36px !important;
    }

    .tk-cccd-default {
        width: 56px;
        height: 56px;
    }

    .tk-cccd-box span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tk-photo-box {
        width: 180px;
        height: 220px;
    }

    .tk-cccd-box {
        width: 115px;
        height: 90px;
    }

    .tk-cccd-wrap {
        padding: 12px;
    }
}

/* Form khung â€” responsive padding */
@media (max-width: 768px) {
    .tk-form {
        padding: 18px 14px 24px;
        border-radius: 6px;
    }

    .tk-row,
    .tk-row--split,
    .tk-row--note {
        padding: 0 !important;
    }

    .tk-stepper {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .tk-form {
        padding: 14px 10px 20px;
    }
}

/* Form khung â€” responsive padding */
@media (max-width: 768px) {
    .tk-form {
        padding: 18px 14px 24px;
        border-radius: 6px;
    }

    .tk-row,
    .tk-row--split,
    .tk-row--note {
        padding: 0 !important;
    }

    .tk-stepper {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .tk-form {
        padding: 14px 10px 20px;
    }
}

/* â”€â”€ USER DROPDOWN MENU â”€â”€ */
.user-chip-wrap {
    position: relative;
}

.user-chip {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(17, 49, 96, 0.28);
    border: 1px solid #e5e9f0;
    z-index: 300;
    overflow: hidden;
    animation: notif-pop 0.15s ease-out;
}

.ud-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1f2e;
    text-decoration: none !important;
    transition: background .12s;
}

.ud-item:hover {
    background: #f0f5ff;
    color: #0372b6;
}

.ud-item--danger {
    color: #be1e2d;
}

.ud-item--danger:hover {
    background: #fff3f3;
    color: #be1e2d;
}

.ud-icon {
    font-size: 15px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.ud-divider {
    height: 1px;
    background: #eaedf3;
    margin: 4px 0;
}

/* â”€â”€ LOOKUP / KE KHAI SIDEBAR â”€â”€ */
.lk-sidebar {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lk-sidebar__head {
    padding: 14px 18px;
    background: linear-gradient(90deg, #042c6a, #0372b6);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.lk-sidebar__item {
    display: block;
    padding: 11px 18px;
    font-size: 13.5px;
    color: #344054;
    text-decoration: none !important;
    border-bottom: 1px solid #f0f4f8;
    transition: background .12s, color .12s;
    border-left: 3px solid transparent;
}

.lk-sidebar__item:hover {
    background: #f0f5ff;
    color: #0372b6;
    border-left-color: #0372b6;
}

.lk-sidebar__item.active {
    background: #eaf2fb;
    color: #0372b6;
    font-weight: 600;
    border-left-color: #0372b6;
}

.lk-sidebar__item:last-child {
    border-bottom: 0;
}

/* â”€â”€ LOOKUP CONTENT BOX â”€â”€ */
.lk-content-box {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.lk-content-box__head {
    padding: 14px 20px;
    background: linear-gradient(90deg, #042c6a, #0372b6);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.lk-content-box__body {
    padding: 24px 20px;
}

.lk-result-area {
    min-height: 120px;
}

.lk-empty {
    text-align: center;
    padding: 32px 0;
}

/* â”€â”€ USER INFO BAR â”€â”€ */
.lk-user-bar {
    background: linear-gradient(90deg, #eaf2fb, #f0f7ff);
    border: 1px solid #c8dff6;
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lk-user-bar__name {
    font-size: 15px;
    font-weight: 700;
    color: #042c6a;
    text-transform: uppercase;
}

.lk-user-bar__sub {
    font-size: 12.5px;
    color: #555;
    margin-top: 3px;
}

/* â”€â”€ KE KHAI CARDS â”€â”€ */
.kk-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow .15s, border-color .15s;
}

.kk-card:hover {
    box-shadow: 0 6px 20px rgba(3, 114, 182, 0.14);
    border-color: #b3d4f0;
}

.kk-card__icon {
    font-size: 28px;
    color: #0372b6;
    flex-shrink: 0;
    width: 44px;
    text-align: center;
}

.kk-card__body {
    flex: 1;
}

.kk-card__title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1f2e;
    margin-bottom: 3px;
}

.kk-card__desc {
    font-size: 12.5px;
    color: #667085;
}

.kk-card__btn {
    flex-shrink: 0;
    background: #0372b6;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .12s;
}

.kk-card__btn:hover {
    background: #025a91;
}

/* â”€â”€ BHXH PAGE BAR â”€â”€ */
.bhxh-pagebar {
    background: #0372b6;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 10px 0;
    text-transform: uppercase;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   KÃŠ KHAI layout  (sidebar + main)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.kk-layout {
    display: flex;
    min-height: calc(100vh - 220px);
    background: #f0f4f8;
}

/* â”€â”€ Left sidebar â”€â”€ */
.kk-left-sidebar {
    width: 210px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid #dce3ec;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: width .2s;
}

.kk-left-sidebar.collapsed {
    width: 36px;
    overflow: hidden;
}

.kk-left-sidebar.collapsed .kk-sidebar-label {
    display: none;
}

.kk-sidebar-toggle {
    position: absolute;
    top: 6px;
    right: -14px;
    z-index: 10;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0372b6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background .15s;
}

.kk-sidebar-toggle:hover {
    background: #025a91;
}

.kk-sidebar-body {
    padding: 44px 0 12px;
}

.kk-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #344054;
    text-decoration: none !important;
    border-left: 3px solid transparent;
    transition: background .12s, color .12s;
    white-space: nowrap;
}

.kk-sidebar-item:hover {
    background: #f0f5ff;
    color: #0372b6;
    border-left-color: #0372b6;
}

.kk-sidebar-item.active {
    background: #eaf2fb;
    color: #0372b6;
    font-weight: 600;
    border-left-color: #0372b6;
}

.kk-sidebar-item i {
    font-size: 15px;
    flex-shrink: 0;
}

/* â”€â”€ Main area â”€â”€ */
.kk-main {
    flex: 1;
    min-width: 0;
    padding: 0 0 32px;
    transition: margin-left .2s;
}

.kk-main--full {
    margin-left: 0;
}

/* â”€â”€ Breadcrumb â”€â”€ */
.kk-breadcrumb {
    padding: 8px 20px;
    font-size: 13px;
    color: #555;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.kk-breadcrumb a {
    color: #0372b6;
    text-decoration: none;
}

.kk-breadcrumb a:hover {
    text-decoration: underline;
}

.kk-bc-sep {
    margin: 0 6px;
    color: #aaa;
}

/* â”€â”€ Title bar â”€â”€ */
.kk-title-bar {
    background: #f0f4f8;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1f2e;
}

/* â”€â”€ Filter box â”€â”€ */
.kk-filter-box {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 20px;
}

.kk-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.kk-filter-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #344054;
    white-space: nowrap;
}

.kk-agency-path {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f2fc;
    border: 1px solid #b3d4f0;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 13px;
    color: #042c6a;
    font-weight: 600;
}

.kk-sep-icon {
    font-size: 11px;
    color: #0372b6;
}

.kk-btn-change {
    padding: 5px 14px;
    background: #0372b6;
    color: #fff;
    border: 0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .12s;
}

.kk-btn-change:hover {
    background: #025a91;
}

.kk-select-wrap {
    position: relative;
}

.kk-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 5px 28px 5px 10px;
    border: 1px solid #ccd6e0;
    border-radius: 4px;
    font-size: 13px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") no-repeat right 8px center;
    cursor: pointer;
    min-width: 180px;
}

.kk-select:focus {
    outline: none;
    border-color: #0372b6;
}

.kk-btn-search {
    width: 34px;
    height: 34px;
    background: #0372b6;
    color: #fff;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background .12s;
    flex-shrink: 0;
}

.kk-btn-search:hover {
    background: #025a91;
}

/* â”€â”€ Table controls â”€â”€ */
.kk-table-ctrl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    background: #fff;
    border-bottom: 1px solid #e9edf3;
    gap: 12px;
}

.kk-table-ctrl--bottom {
    border-bottom: 0;
    border-top: 1px solid #e9edf3;
    margin-top: 0;
}

.kk-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.kk-per-page-sel {
    padding: 3px 6px;
    border: 1px solid #ccd6e0;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.kk-pager {
    display: flex;
    align-items: center;
    gap: 2px;
}

.kk-pager-btn {
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border: 1px solid #ccd6e0;
    background: #fff;
    color: #344054;
    font-size: 13px;
    border-radius: 3px;
    cursor: pointer;
    transition: background .1s, color .1s, border-color .1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kk-pager-btn:hover {
    background: #eaf2fb;
    border-color: #0372b6;
    color: #0372b6;
}

.kk-pager-btn.active {
    background: #0372b6;
    border-color: #0372b6;
    color: #fff;
    font-weight: 700;
}

/* â”€â”€ Data table â”€â”€ */
.kk-table-wrap {
    overflow-x: auto;
    background: #fff;
}

.kk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.kk-table thead tr {
    background: #1565c0;
    color: #fff;
}

.kk-table thead th {
    padding: 10px 12px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.kk-table thead th:last-child {
    border-right: 0;
}

.kk-table tbody tr {
    border-bottom: 1px solid #e9edf3;
    transition: background .1s;
}

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

.kk-table tbody tr:hover {
    background: #eaf2fb;
}

.kk-table tbody td {
    padding: 9px 12px;
    vertical-align: middle;
    color: #344054;
}

.kk-table .col-stt {
    width: 44px;
    text-align: center;
    font-weight: 600;
    color: #1a1f2e;
}

.kk-table .col-kekai {
    width: 54px;
    text-align: center;
}

.kk-table .col-ten {
    min-width: 340px;
    line-height: 1.45;
}

.kk-table .col-ma {
    width: 90px;
    font-weight: 700;
    color: #0372b6;
    white-space: nowrap;
}

.kk-table .col-linhvuc {
    min-width: 200px;
    color: #555;
}

.kk-table .col-ls {
    width: 60px;
    text-align: center;
}

.kk-icon-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #0372b6;
    border-radius: 4px;
    background: #fff;
    color: #0372b6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background .12s, color .12s;
}

.kk-icon-btn:hover {
    background: #0372b6;
    color: #fff;
}

.kk-icon-btn--gray {
    border-color: #8aa3c0;
    color: #8aa3c0;
}

.kk-icon-btn--gray:hover {
    background: #8aa3c0;
    color: #fff;
}

/* â”€â”€ KÃª khai modal â”€â”€ */
.kk-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.kk-modal-backdrop[hidden] {
    display: none;
}

.kk-modal {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 680px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.kk-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: linear-gradient(90deg, #042c6a, #0372b6);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.kk-modal__close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: .8;
}

.kk-modal__close:hover {
    opacity: 1;
}

.kk-modal__body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.kk-modal__foot {
    padding: 14px 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #e2e8f0;
    background: #f7fafc;
}

.kk-modal__submit {
    background: #0372b6;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 8px 24px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .12s;
}

.kk-modal__submit:hover {
    background: #025a91;
}

.kk-modal__cancel {
    background: #fff;
    color: #555;
    border: 1px solid #ccd6e0;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 13.5px;
    cursor: pointer;
    transition: background .12s;
}

.kk-modal__cancel:hover {
    background: #f0f4f8;
}

/* ===================== Dashboard - ThÃ´ng tin tÃ i khoáº£n ===================== */
.tt-section-bar {
    background: #e6e9ee;
    border-bottom: 1px solid #d8dde4;
    padding: 8px 0;
    font-size: 14px;
    color: #1a1f2e;
}

.tt-page {
    background: #fff;
    padding: 32px 0 60px;
}

.tt-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    max-width: 980px;
    margin: 0 auto;
}

.tt-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tt-imgbox {
    border: 1px solid #d6dde6;
    border-radius: 4px;
    padding: 8px 10px 10px;
    background: #fff;
    text-align: center;
}

.tt-imgbox-title {
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 6px;
    line-height: 1.25;
}

.tt-imgbox-frame {
    width: 110px;
    height: 130px;
    margin: 0 auto;
    border: 1px solid #d6dde6;
    background: #fafbfc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-imgbox-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-imgbox-other {
    width: 96px;
    height: 96px;
}

.tt-imgbox-empty {
    color: #c0c8d2;
    font-size: 36px;
}

.tt-imgbox-cap {
    font-size: 12.5px;
    color: #2c3e50;
    margin-top: 4px;
}

.tt-imgbox-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 6px;
}

.tt-iconbtn {
    color: #2f80ed;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background: transparent;
    text-decoration: none;
    line-height: 1;
}

.tt-iconbtn:hover {
    color: #1a5fc7;
}

.tt-iconbtn.disabled {
    color: #b7c0cc;
    cursor: default;
    pointer-events: none;
}

/* Right column form */
.tt-right {
    padding-top: 4px;
}

.tt-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}

.tt-row>label {
    font-size: 13.5px;
    color: #1a1f2e;
    margin: 0;
}

.tt-val {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px dashed #cbd2da;
    padding-bottom: 4px;
}

.tt-val input[type=text],
.tt-val input[type=email],
.tt-val input[type=date] {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #1860c4;
    padding: 4px 0;
}

.tt-val input[readonly] {
    color: #1860c4;
}

.tt-val input:focus {
    color: #1a1f2e;
}

.tt-edit {
    background: transparent;
    border: none;
    color: #4a5568;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 14px;
}

.tt-edit:hover {
    color: #2f80ed;
}

.tt-note {
    font-size: 13px;
    color: #1a1f2e;
    margin: 4px 0 16px;
    padding-left: 170px;
}

.tt-note strong {
    color: #c0392b;
    font-weight: 700;
}

.tt-radio {
    gap: 28px;
}

.tt-rd {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 13.5px;
}

.tt-rd input {
    accent-color: #1860c4;
}

.tt-date .tt-cal {
    color: #4a5568;
    cursor: pointer;
    font-size: 15px;
    margin-right: 4px;
}

.tt-agencybtn {
    flex: 1;
    background: #1f6dc7;
    color: #fff;
    border: none;
    text-align: left;
    padding: 7px 14px;
    font-size: 13.5px;
    border-radius: 2px;
    cursor: pointer;
}

.tt-agencybtn::after {
    content: " Â»";
    float: right;
}

.tt-agencybtn:hover {
    background: #1a5fb0;
}

.tt-row-captcha .tt-cap {
    border-bottom: none;
    align-items: center;
    gap: 10px;
    padding-bottom: 0;
}

.tt-capimg {
    height: 38px;
    width: 130px;
    object-fit: cover;
    background: #efe8d4;
    border-radius: 2px;
}

.tt-capreload {
    background: transparent;
    border: none;
    color: #4a5568;
    font-size: 16px;
    cursor: pointer;
}

.tt-capinput {
    border-bottom: 1px dashed #cbd2da;
    gap: 8px;
    padding: 4px 0;
}

.tt-capinput>i {
    color: #4a5568;
    font-size: 14px;
}

.tt-capinput input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13.5px;
    background: transparent;
}

.tt-capphone {
    margin-left: auto;
}

.tt-actions {
    text-align: center;
    margin-top: 18px;
}

.tt-submit {
    background: #c4cad2;
    color: #fff;
    border: none;
    padding: 8px 36px;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
}

.tt-submit:hover {
    background: #1f6dc7;
}

.tt-submit:disabled {
    cursor: not-allowed;
    opacity: .85;
}

@media (max-width: 768px) {
    .tt-grid {
        grid-template-columns: 1fr;
    }

    .tt-left {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tt-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .tt-note {
        padding-left: 0;
    }
}

/* â”€â”€ KÃª khai doc viewer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.kk-doc-viewer {
    background: #fff;
    border: 1px solid #d1d9e6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    margin-bottom: 0;
}

.kk-doc-viewer__head {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, #042c6a, #0372b6);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
}

.kk-doc-filename {
    margin-left: auto;
    font-size: 11px;
    font-weight: 400;
    opacity: .8;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kk-doc-viewer__body {
    padding: 0;
    min-height: 120px;
    background: #f8f9fb;
}

.kk-doc-unsupported {
    text-align: center;
    padding: 48px 24px;
    color: #555;
}

.lm-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    margin: 6px 2px 8px
}

.lm-remember {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a1f2e;
    cursor: pointer;
    margin: 0
}

.lm-remember input {
    accent-color: #1860c4
}

.tk-gender {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 6px 0
}

.tk-rd-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #1a1f2e;
    cursor: pointer;
    margin: 0
}

.tk-rd-inline input {
    accent-color: #1860c4;
    margin: 0
}