

 a{
     text-decoration: none
 }

body {
    font-size: .875rem;
    background-color: #ccc !important;
    --tblr-body-bg: #ccc;
}

/* Login page — card căn giữa, không tràn khung */
.portal-login-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
}

.portal-login-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid #d7e2ec;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.portal-login-logo {
    max-width: 100%;
    height: auto;
}

.portal-login-form .form-control {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.portal-login-submit {
    width: 100%;
    margin-right: 0 !important;
}

.portal-login-form a {
    color: var(--portal-header-blue, #045390);
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}
.table > tbody {
    vertical-align: inherit;
     
}
/*
 * Portal shell — header xanh full-width + sidebar sáng + main full
 */
:root {
    --portal-header-height: 3.25rem;
    --portal-sidebar-width: 15rem;
    --portal-sidebar-collapsed: 4rem;
    --portal-header-blue: #045390;
    --portal-blue: #04c;
    --portal-blue-rgb: 0, 68, 204;
    /* Tabler / Bootstrap primary → brand blue */
    --tblr-primary: #04c;
    --tblr-primary-rgb: 0, 68, 204;
    --tblr-blue: #04c;
    --bs-primary: #04c;
    --bs-primary-rgb: 0, 68, 204;
    --bs-link-color: #04c;
    --bs-link-hover-color: #0039b3;
    /* Table stripe/hover — đậm hơn mặc định Tabler */
    --tblr-table-striped-bg: rgba(97, 146, 184, 0.18);
    --tblr-table-hover-bg: rgba(97, 146, 184, 0.28);
    --tblr-table-active-bg: rgba(97, 146, 184, 0.32);
    --tblr-table-bg-type: var(--tblr-table-striped-bg);
    --tblr-bg-surface-tertiary: #d9e4ee;
}

.portal-shell.page {
    min-height: 100vh;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

/* Khi đã login: chừa chỗ cho header fixed */
body:has(.portal-navbar:not(.ng-hide)) .portal-shell.page {
    padding-top: var(--portal-header-height) !important;
}

/* Header fixed full-width, sát mép trái */
.portal-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1045;
    width: 100% !important;
    max-width: none !important;
    min-height: var(--portal-header-height);
    background: var(--portal-header-blue) !important;
    border: 0 !important;
    box-shadow: none;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    --tblr-navbar-padding-x: 0;
    --tblr-navbar-padding-y: 0;
}

.portal-navbar-inner {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: var(--portal-header-height);
    --bs-gutter-x: 0;
    --tblr-gutter-x: 0;
}

.portal-navbar .navbar-brand,
.portal-navbar .portal-navbar-brand,
.app-navbar-brand {
    width: auto !important;
    min-width: 0;
    margin: 0;
    padding: 0 1rem;
    padding-right: 43px !important;
    min-height: var(--portal-header-height);
    display: inline-flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff !important;
    background: #033e6c !important;
    box-shadow: none !important;
}

.portal-navbar .nav-link,
.portal-navbar .dropdown-toggle {
    color: #fff !important;
}

.portal-navbar .navbar-toggler {
    border: 0;
    color: #fff;
    padding: .35rem .5rem;
}

.portal-navbar .navbar-toggler-icon {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.portal-navbar .navbar-nav {
    padding-right: .75rem;
}

.sidebar-toggle-btn {
    width: 63px;
    height: var(--portal-header-height);
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    color: #fff;
    background: transparent;
    border-radius: 0;
    flex-shrink: 0;
}

.sidebar-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.sidebar-toggle-btn i {
    font-size: 1.15rem;
}

/*
 * Sidebar — vertical, dưới header, nền sáng
 */
.sidebar.navbar-vertical {
    position: fixed;
    top: var(--portal-header-height);
    left: 0;
    bottom: 0;
    z-index: 1030;
    width: var(--portal-sidebar-width);
    height: calc(100vh - var(--portal-header-height));
    background: #245072 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
    transition: width .3s ease;
    padding: 0;
}

.sidebar.navbar-vertical > .container-fluid {
    padding: .5rem .75rem 1rem;
}

/* Login / unauth */
.navbar-vertical.ng-hide ~ .page-wrapper,
.portal-navbar.ng-hide ~ .page-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.sidebar .nav-link.menu-link {
    min-height: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.sidebar .nav-link.menu-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.sidebar .nav-link.menu-link.active,
.sidebar .nav-link.menu-link.menuActive,
.sidebar a.menuActive {
    background: #fff !important;
    color: #000 !important;
}

.sidebar .nav-link.menu-link.active .nav-link-icon,
.sidebar .nav-link.menu-link.active .menu-icon,
.sidebar .nav-link.menu-link.menuActive .nav-link-icon,
.sidebar .nav-link.menu-link.menuActive .menu-icon,
.sidebar a.menuActive .nav-link-icon,
.sidebar a.menuActive .menu-icon {
    color: #000 !important;
}

/* Primary buttons / links follow brand blue */
.btn-primary {
    --tblr-btn-color: #fff;
    --tblr-btn-bg: var(--portal-blue);
    --tblr-btn-border-color: var(--portal-blue);
    --tblr-btn-hover-bg: #0039b3;
    --tblr-btn-hover-border-color: #0039b3;
    --bs-btn-bg: var(--portal-blue);
    --bs-btn-border-color: var(--portal-blue);
    --bs-btn-hover-bg: #0039b3;
    --bs-btn-hover-border-color: #0039b3;
    --bs-btn-active-bg: #003399;
    --bs-btn-active-border-color: #003399;
}

.text-primary {
    color: var(--portal-blue) !important;
}

.bg-primary {
    background-color: var(--portal-blue) !important;
}

.border-primary {
    border-color: var(--portal-blue) !important;
}

.btn {
    margin-right: 3px;
}

.badge {
    color: #fff !important;
}

/* Table thead — điểm nhấn */
.table > thead,
.table thead {
    background-color: #6192b8 !important;
}

.table > thead > tr > th,
.table thead th,
.table thead td {
    background-color: #6192b8 !important;
    color: #fff !important;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 0 !important;
    vertical-align: middle;
    white-space: nowrap;
}

.table > thead > tr > th a,
.table thead th a {
    color: #fff !important;
    text-transform: uppercase;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --tblr-table-bg-type: rgba(97, 146, 184, 0.18);
    --tblr-table-color-type: inherit;
    background-color: rgba(97, 146, 184, 0.18);
}

.table-hover > tbody > tr:hover > * {
    --tblr-table-bg-state: rgba(97, 146, 184, 0.28);
    background-color: rgba(97, 146, 184, 0.28);
}

/* Tab content — điểm nhấn + box */
.tab-content {
    background: #fff;
    border: 1px solid #d7e2ec;
    border-top: 3px solid var(--portal-header-blue);
    border-radius: 0 0 .375rem .375rem;
    box-shadow: 0 1px 4px rgba(4, 83, 144, 0.08);
    padding: 1rem 1.25rem;
    margin-top: 0;
}

.nav-tabs {
    border-bottom: 1px solid #d7e2ec;
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    color: #245072;
    font-weight: 600;
    border: 1px solid transparent;
    border-bottom: 0;
}

.nav-tabs .nav-link:hover {
    color: var(--portal-header-blue);
    border-color: #d7e2ec #d7e2ec transparent;
}

.nav-tabs .nav-link.active {
    color: var(--portal-header-blue) !important;
    background: #fff !important;
    border-color: #d7e2ec #d7e2ec #fff !important;
    border-top: 3px solid var(--portal-header-blue);
    margin-bottom: -1px;
}

.nav-pills .nav-link.active {
    background-color: var(--portal-header-blue) !important;
    color: #fff !important;
}

.nav-pills + .tab-content,
.nav-tabs + .tab-content,
.tab-content.mt-3 {
    margin-top: 0 !important;
}

.sidebar .nav-link-icon.menu-icon,
.sidebar .menu-icon {
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
    align-items: center;
    justify-content: center;
    margin-right: .5rem;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.75);
}

.sidebar .nav-link-title.menu-label,
.sidebar .menu-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar .menu-caret {
    margin-left: auto;
    opacity: .6;
}

.sidebar .menu-children {
    margin: 0 0 .25rem .75rem;
    padding-left: .5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar .menu-children .dropdown-item.nav-link,
.sidebar .menu-children .nav-link {
    padding-top: .4rem;
    padding-bottom: .4rem;
    min-height: 2rem;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/* Main content full bên phải sidebar */
.portal-page-wrapper.page-wrapper {
    margin-left: var(--portal-sidebar-width) !important;
    margin-right: 0 !important;
    min-height: calc(100vh - var(--portal-header-height));
    background: #fff;
    transition: margin-left .3s ease;
}

.portal-page-wrapper .page-body {
    margin: 10px 20px;
}

.portal-main-container {
    max-width: none;
    padding-left: 1rem;
    padding-right: 1rem;
}

#mainContent,
.portal-main-content {
    min-height: calc(100vh - var(--portal-header-height) - 4rem);
    padding-top: 0;
    padding-bottom: 1rem;
    width: 100%;
    max-width: 100%;
}

/* Collapsed rail */
@media (min-width: 992px) {
    body.sidebar-collapsed .sidebar.navbar-vertical.navbar-expand-lg {
        width: var(--portal-sidebar-collapsed);
        max-width: var(--portal-sidebar-collapsed);
        min-width: var(--portal-sidebar-collapsed);
        overflow: visible;
    }

    body.sidebar-collapsed .sidebar.navbar-vertical.navbar-expand-lg ~ .page-wrapper,
    body.sidebar-collapsed .portal-page-wrapper.page-wrapper {
        margin-left: var(--portal-sidebar-collapsed) !important;
    }

    body.sidebar-collapsed .sidebar .nav-link-title,
    body.sidebar-collapsed .sidebar .menu-label,
    body.sidebar-collapsed .sidebar .menu-caret,
    body.sidebar-collapsed .sidebar .menu-children,
    body.sidebar-collapsed .sidebar .dropdown-toggle::after {
        display: none !important;
    }

    body.sidebar-collapsed .sidebar .nav-link {
        justify-content: center;
        padding-left: .5rem;
        padding-right: .5rem;
    }

    body.sidebar-collapsed .sidebar .nav-link-icon,
    body.sidebar-collapsed .sidebar .menu-icon {
        margin-right: 0;
    }

    body.sidebar-collapsed .sidebar > .container-fluid {
        padding-left: .25rem;
        padding-right: .25rem;
    }
}

/* Bootstrap tooltip — sidebar thu gọn */
.tooltip.portal-sidebar-tooltip {
    --bs-tooltip-bg: #1e293b;
    --bs-tooltip-color: #f8fafc;
    --bs-tooltip-opacity: 1;
    font-size: 0.8125rem;
}

.tooltip.portal-sidebar-tooltip .tooltip-inner {
    padding: 0.4rem 0.7rem;
    border-radius: 0.375rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    font-weight: 500;
    text-align: left;
    max-width: 260px;
}

@media (max-width: 991.98px) {
    .sidebar.navbar-vertical {
        top: var(--portal-header-height);
        height: calc(100vh - var(--portal-header-height));
        width: 0 !important;
        min-width: 0;
        padding: 0;
        overflow: hidden;
        border: 0;
        box-shadow: none;
        z-index: 1050;
        background: #245072 !important;
    }

    .sidebar.navbar-vertical:has(#sidebarMenu.show) {
        width: min(280px, 88vw) !important;
        overflow: visible;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
    }

    .sidebar.navbar-vertical .navbar-collapse:not(.show) {
        display: none !important;
    }

    .sidebar.navbar-vertical .navbar-collapse.show {
        display: flex !important;
        flex-direction: column;
        height: 100%;
        overflow-y: auto;
        padding: .5rem 0 .75rem;
    }

    .sidebar.navbar-vertical ~ .page-wrapper,
    .portal-page-wrapper.page-wrapper {
        margin-left: 0 !important;
    }

    .portal-sidebar-backdrop {
        display: none;
        position: fixed;
        inset: var(--portal-header-height) 0 0 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 1040;
    }

    .portal-sidebar-backdrop.show {
        display: block;
    }

    body.sidebar-collapsed .sidebar.navbar-vertical:has(#sidebarMenu.show) {
        width: min(280px, 88vw) !important;
    }

    body.sidebar-collapsed .sidebar .nav-link-title,
    body.sidebar-collapsed .sidebar .menu-label,
    body.sidebar-collapsed .sidebar .menu-caret,
    body.sidebar-collapsed .sidebar .menu-children {
        display: initial !important;
    }

    body.sidebar-collapsed .sidebar .dropdown-toggle::after {
        display: inline-block !important;
    }

    body.sidebar-collapsed .sidebar .nav-link {
        justify-content: flex-start;
    }

    .sidebar-toggle-btn {
        display: none !important;
    }
}

.sidebar-flyout-panel {
    position: fixed;
    top: var(--portal-header-height);
    left: var(--portal-sidebar-collapsed);
    width: 280px;
    max-height: calc(100vh - var(--portal-header-height));
    background: #fff;
    border-right: 1px solid #e3e3e3;
    box-shadow: 8px 0 20px rgba(0, 0, 0, .15);
    z-index: 1040;
    overflow-y: auto;
    display: none;
}

.sidebar-flyout-panel.open {
    display: block;
}

.sidebar-flyout-header {
    position: sticky;
    top: 0;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f1f1;
    background: #fff;
    font-weight: 600;
}

.sidebar-flyout-content {
    padding: 8px 0;
}

.sidebar-flyout-content .nav-link,
.sidebar-flyout-content .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
}

.sidebar-flyout-content ul {
    margin: 0;
    padding: 0;
}

@media (max-width: 991.98px) {
    .sidebar-flyout-panel {
        display: none !important;
    }
}

/*
 * Navbar (legacy helpers — portal-navbar styles live above)
 */

@media (max-width: 991.98px) {
    .portal-navbar .navbar-toggler {
        position: static;
        top: auto;
        right: auto;
    }
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.portal-breadcrumb-wrap {
    margin: 14px 0 10px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #e8edf5;
    background: #f8fbff;
}

.portal-breadcrumb-wrap .breadcrumb {
    font-size: 13px;
}

.portal-breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
    color: #7e93b1;
}

.portal-breadcrumb-wrap .breadcrumb-item a {
    color: var(--portal-blue);
    text-decoration: none;
}

.portal-breadcrumb-wrap .breadcrumb-item.active {
    color: var(--portal-blue);
    font-weight: 600;
}

/* Dashboard (home) */
.dashboard-page {
    padding-bottom: 1.5rem;
}

.dashboard-page-title {
    font-size: 1.35rem;
    line-height: 1.3;
}

.dashboard-card .card-header {
    padding: 0.75rem 1rem;
}

.dashboard-card-title {
    font-size: 1rem;
    font-weight: 600;
}

.dashboard-stat-tile {
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
    border: 1px solid #e8edf5;
    box-shadow: 0 1px 2px rgba(27, 63, 95, 0.06);
}

.dashboard-stat-icon {
    font-size: 1.35rem;
}

.dashboard-stat-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
}

.dashboard-kpi-icon {
    font-size: 2.25rem;
}

.dashboard-kpi-card h3 {
    font-size: 1.35rem;
}

.dashboard-chart-wrap {
    height: 280px;
    position: relative;
}

.dashboard-chart-wrap-sm {
    height: 240px;
}

.dashboard-chart-range-select {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .dashboard-chart-range-select {
        width: 200px;
        max-width: 200px;
    }

    .dashboard-chart-wrap {
        height: 350px;
    }

    .dashboard-chart-wrap-sm {
        height: 300px;
    }
}

@media (max-width: 991.98px) {
    .dashboard-page {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .dashboard-page-header {
        margin-bottom: 1rem !important;
    }

    .dashboard-page-title {
        font-size: 1.15rem;
    }

    .dashboard-page-intro {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .portal-breadcrumb-wrap {
        margin: 8px 0 10px;
        padding: 8px 12px;
    }

    .dashboard-time-stats .dashboard-stat-tile {
        flex-direction: column;
        justify-content: center;
        gap: 0.25rem !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .dashboard-time-stats .dashboard-stat-text {
        text-align: center !important;
    }

    .dashboard-time-stats .dashboard-stat-text h4 {
        font-size: 1.1rem;
    }

    .dashboard-time-stats .dashboard-stat-text small {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .dashboard-kpi-card .card-body {
        padding: 0.75rem !important;
    }

    .dashboard-kpi-icon {
        font-size: 1.65rem;
    }

    .dashboard-kpi-card h3 {
        font-size: 1.15rem;
    }

    .dashboard-kpi-card .small {
        font-size: 0.75rem;
    }
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

    .form-control-dark:focus {
        border-color: transparent;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

.overlay {
    height: 100%;
    left: 0;
    opacity: 0.8;
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
}

.se-pre-con {
    background: white url("../images/loading.gif") no-repeat scroll center center;
    height: 100%;
    left: 0;
    opacity: 0.8;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999999;
}

.col-form-label {
    text-align: right
}

.ui-sortable-handle .col-form-label {
    text-align: right
}

@media (max-width: 991.98px) {
    .col-form-label,
    .ui-sortable-handle .col-form-label {
        text-align: left !important;
    }
}

.form-control.ng-invalid-required, .form-select.ng-invalid-required {
    background-color: #f8f2d3;
}

.form-control:disabled {
    background-color: #ccc;
    opacity: 1;
    cursor: not-allowed;
}

.hidden {
    display: none
}

.plp_error {
    color: red;
    border: 1px solid red !important;
}

.plp_error_msg {
    color: red;
    padding: 1px;
    font-weight: normal;
    font-size: 11px;
    margin-bottom: 0px;
}

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        max-width: 95%;
    }

    .modal-sm {
        max-width: 50%;
    }
}

@media (max-width: 991.98px) {
    .modal-dialog {
        max-width: calc(100% - 1rem);
        margin: 0.5rem auto;
    }

    .modal-sm,
    .modal-lg,
    .modal-xl {
        max-width: calc(100% - 1rem);
    }

    .modal-body {
        padding: 0.85rem 1rem;
    }

    .modal-body h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .portal-page-toolbar {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .portal-page-toolbar .btn {
        flex: 1 1 auto;
        min-height: 44px;
        margin: 0 !important;
        white-space: nowrap;
    }

    .portal-page-toolbar .btn-icon-only {
        flex: 0 0 44px;
        width: 44px;
        padding-left: 0;
        padding-right: 0;
    }

    .portal-page-search .form-control,
    .portal-page-search .form-select,
    .portal-page-search .did-floating-input {
        min-height: 44px;
        font-size: 16px;
    }

    .table-responsive {
        -webkit-overflow-scrolling: touch;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }

    .table-responsive > .table {
        font-size: 0.8125rem;
        margin-bottom: 0;
    }

    .table-responsive > .table th,
    .table-responsive > .table td {
        vertical-align: middle;
    }

    .portal-table-actions {
        position: sticky;
        right: 0;
        background: #fff;
        box-shadow: -6px 0 10px rgba(0, 0, 0, 0.06);
        white-space: nowrap;
        z-index: 1;
    }

    .portal-table-actions .btn {
        min-width: 40px;
        min-height: 38px;
        padding: 0.25rem 0.45rem;
        margin: 0 2px !important;
    }

    .portal-table-actions .btn + .btn {
        margin-top: 0 !important;
    }

    .portal-cell-truncate {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .portal-footer {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .btn-list {
        flex-wrap: wrap;
        gap: 8px;
    }

    .btn-list .btn {
        margin: 0 !important;
        min-height: 44px;
    }
}

.stepwizard-step p {
    margin-top: 0px;
    color: #666;
}

.stepwizard-row {
    display: table-row;
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}

.stepwizard .btn.disabled, .stepwizard .btn[disabled], .stepwizard fieldset[disabled] .btn {
    opacity: 1 !important;
    color: #bbb;
    border: 1px solid;
    background: #ccc;
    color: white;
}

.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 8px;
    background-color: #96af96;
    z-index: 0;
}

.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}

.setup-content .btn-default, .stepwizard .btn-default {
    border: 1px solid #d4d1d1;
    background: white;
    color: black;
}

    .stepwizard .btn-default.btn-primary {
        border: 1px solid #d4d1d1;
        background: #b400ff;
        color: white;
    }

.setup-content .h3, h3 {
    font-size: 12px;
    margin: 10px 0px;
    color: #656060;
}

.note_red_color {
    color: red;
    font-size: 10px;
}

.border1px {
    border: 1px solid #ccc
}

.btn-default {
    border-color: #ccc;
}

h4.page-title {
    padding: 10px 0px;
    margin-bottom: 7px;
    font-size: 20px;
}

@media screen and (max-width: 600px) {
    main {
        padding: 0px 20px
    }
}

guide {
    font-size: 10px;
    color: red;
    font-weight: bold;
}

.bg-dark {
    background-color: var(--portal-blue) !important
}
.sub_main_nav {
    padding-left: 0;
}
.sub_main_nav li {
    display: list-item;
    list-style: none;
}

 
@media (min-width: 1200px) {
    .h2, h2 {
        font-size: 20px;
        padding: 20px 0;
        color: var(--portal-blue);
        font-weight: bold;
        text-transform: uppercase;
    }
}

.record, .request {
    display: inline-block;
    width: 100%;
    padding: 0 30px 35px;
    position: relative;
}

    .record img {
        display: block;
        float: left;
        margin-right: 20px;
        margin-bottom: 10px;
        width: 65px;
        height: 65px;
    }

    .record span {
        display: inline-block;
        width: 100%;
        margin-left: 5px;
    }

.xlink {
    position: absolute;
    top: 0;
    right: 30px;
    color: var(--portal-blue);
    text-decoration: underline;
    font-weight: normal;
    font-size: 16px;
}
.record b {
    display: block;
    float: left;
    font-size: 50px;
    line-height: 52px;
    margin-top: 5px;
}

.bor-left {
    border-left: solid 1px #e2e2e2;
}

/* source: https://codepen.io/devesh8/pen/MWYEJEP */


.did-floating-label-content {
    position: relative;
    margin-bottom: 10px;
    margin-top: 10px;
}

.did-floating-label {
    color: var(--portal-blue);
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    border-radius: 8px;
    pointer-events: none;
    left: 15px;
    /*top: 8px;*/
    top: -14px;
    padding: 0 5px;
    background: #fff;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.did-floating-input,
.did-floating-select {
    font-size: 14px;
    display: block;
    width: 100%;
    height: 36px;
    padding: 0 20px;
    background: #fff;
    color: #323840;
    border: 1px solid #dfe1e3;
    border-radius: 5px;
    box-sizing: border-box;
    &:focus

{
    outline: none;
    ~ .did-floating-label

{
    top: -14px;
    font-size: 14px;
}

}
}

.did-floating-input:disabled,
.did-floating-select:disabled {
    background: #dddddd21;
    /* ~ .did-floating-label {
    background: #dddddd59;
  } */
}

select.did-floating-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    select.did-floating-select::-ms-expand {
        display: none;
    }

.did-floating-input:not(:placeholder-shown) ~ .did-floating-label {
    top: -14px;
    font-size: 14px;
}

.did-floating-select:not([value=""]):valid ~ .did-floating-label {
    top: -14px;
    font-size: 14px;
}

.did-floating-select[value=""]:focus ~ .did-floating-label {
    top: 11px;
    font-size: 13px;
}
/* .did-floating-select:not([multiple]):not([size]) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%23003d71'/%3E%3C/svg%3E%0A");
  background-position: right 15px top 50%;
  background-repeat: no-repeat;
}

.did-error-input {
  .did-floating-input,
  .did-floating-select {
    border: 2px solid #9d3b3b;
    color: #9d3b3b;
  }
  .did-floating-label {
    font-weight: 600;
    color: #9d3b3b;
  }
  .did-floating-select:not([multiple]):not([size]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%239d3b3b'/%3E%3C/svg%3E%0A");
  }
} */
.btn-list .btn {
    margin:10px 5px
}

/* Mobile search filters: show first row, toggle expand/collapse */
@media (max-width: 991.98px) {
    .company-search-filters > .company-search-filter-item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .company-search-filters:not(.expanded) > .company-search-filter-item:nth-child(n+3) {
        display: none;
    }

    .company-search-actions-list {
        width: 100%;
        justify-content: space-between !important;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .company-search-actions-list .btn {
        margin: 0;
        min-height: 44px;
    }

    .company-search-btn-submit,
    .company-search-btn-add {
        flex: 1 1 auto;
        white-space: nowrap;
    }

    .company-search-btn-reset {
        flex: 0 0 44px;
        width: 44px;
        padding-left: 0;
        padding-right: 0;
    }

    .company-action-cell {
        min-width: 56px;
    }

    .company-action-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .company-action-buttons .btn {
        width: 40px;
        height: 38px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
    }
}

a.nav-link.menuActive {
    font-weight: bold;
    background-color: #fff !important;
    color: #000 !important;
}


.listInputEdit {
    font-size: 12px;
}
.listInputEdit .col-form-label {
 
    /* width: 100px; */
    float: left;
    padding: 2px 0px;
    font-weight: bold;
    color: var(--portal-blue);
}
.btn-100p {
    width: 100px
}

.btn-50p {
    width: 50px
}

 

.listInputEdit input {
    /* min-width: 98px; */
    display: block !important;
    width: 100% !important;
}


.btn-default {
    border-color: #ccc;
    background: #fff4f4;
}

/* ------------------------------------------------------------------
 * Template form UI (.cs-template-form-ui): sortable list + modals
 * Modal input: .modal-template-form-input-edit on .modal
 * Modal HTML value: .modal-template-form-html on .modal
 * ------------------------------------------------------------------ */
.cs-template-form-ui .list {
    list-style: none outside none;
    margin: 10px 0 30px;
}

.cs-template-form-ui .item {
    width: 100%;
    padding: 5px 10px;
    margin: 5px 0;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #e5f3d2;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    cursor: move;
}

.cs-template-form-ui .logList {
    margin-top: 20px;
    width: 250px;
    min-height: 200px;
    padding: 5px 15px;
    border: 5px solid #000;
    border-radius: 15px;
}

.cs-template-form-ui .logList:before {
    content: 'log';
    padding: 0 5px;
    position: relative;
    top: -1.1em;
    background-color: #FFF;
}

.cs-template-form-ui .floatleft {
    float: left;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .list {
    margin: 6px 0 14px;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .item {
    padding: 4px 8px;
    margin: 3px 0;
    font-size: 0.88rem;
    text-align: left;
    font-weight: normal;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.35rem 0.5rem;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .field-index {
    width: 1.35rem;
    text-align: center;
    color: #555;
    font-weight: 600;
    line-height: 1;
    padding-bottom: 0.35rem;
    flex: 0 0 auto;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .field {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 0 0 auto;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .field-stretch {
    flex: 1 1 108px;
    min-width: 92px;
    max-width: 200px;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .field-stretch-wide {
    flex: 1 1 130px;
    min-width: 110px;
    max-width: 240px;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .field-type {
    flex: 0 0 112px;
    max-width: 112px;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .field-check {
    flex: 0 0 auto;
    min-width: 3.2rem;
    align-items: center;
    padding-bottom: 0.15rem;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .field-btn {
    flex: 0 0 86px;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .col-form-label {
    float: none;
    width: auto;
    padding: 0 0 1px 0;
    margin: 0;
    text-align: left !important;
    font-size: 0.7rem;
    line-height: 1.15;
    font-weight: 600;
    color: var(--portal-blue);
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .form-control,
.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .form-select {
    font-size: 0.8rem;
    padding: 0.2rem 0.42rem;
    min-height: calc(1.35em + 0.42rem + 2px);
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .btn {
    font-size: 0.75rem;
    padding: 0.2rem 0.3rem;
    min-height: calc(1.35em + 0.42rem + 2px);
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .field-btn-html {
    flex: 0 0 92px;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .field-btn-actions {
    flex: 0 0 72px;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .field-btn-actions .action-buttons {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.cs-template-form-ui .modal-template-form-input-edit .listInputEdit .input-edit-flex .field-btn-actions .icon-btn {
    width: 1.9rem;
    min-width: 1.9rem;
    padding: 0.2rem 0;
}

.cs-template-form-ui .modal-template-form-html .modal-body {
    min-height: 420px;
}