@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
    --primary-color: #123047;
    --secondary-color: #0f766e;
    --extra-color: #14b8a6;
    --accent-color: #f59e0b;
    --accent-color-dark: #d97706;
    --success-color: #15803d;
    --danger-color: #dc2626;
    --text-color: #172033;
    --muted-color: #64748b;
    --body-bg: #f4f7fb;
    --primary-linear-gradient: linear-gradient(135deg, #123047 0%, #0f766e 100%);
}

body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    outline: 0;
    font-size: 15px;
    background: var(--body-bg);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    display: inline-block;
}

a {
    text-decoration: none;
    color: #333333;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}
p {
    margin: 0;
    padding: 0;
}

h4,
.h4 {
    font-size: 1.25rem;
}
input,
input:focus,
select,
select:focus {
    height: 42px;
    box-shadow: 0 0 !important;
    outline: 0 !important;
    bordar-color: none !important;
}

.form-check-input {
    height: 25px !important;
    width: 50px !important;
}
.custom-checkbox {
    width: 18px !important;
    height: 18px !important;
}

button {
    border: 0 !important;
}
.parsley-error {
    border-color: #f50000;
}
.parsley-required,
.parsley-type {
    color: #f50000;
}
.select2 {
    height: 42px !important;
    line-height: 30px !important;
}
.select2-selection {
    height: 42px !important;
    line-height: 25px !important;
    border-color: #ddd !important;
}
.select2-results__option {
    display: block;
}
.select2-selection__choice {
    background: blue !important;
}
.select2-selection__choice__display {
    color: #fff;
}
.select2-selection__choice__remove {
    color: #fff !important;
}

.circle_img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-top: 5px;
    margin-right: 5px;
}
.form-label {
    font-weight: bold;
    color: #222;
}
/*==== LOGIN CSS START ====*/
.auth-container {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 100%;
    min-height: 100vh;
    background: var(--primary-color) !important;
}
.login-form {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    background: #fff;
    padding: 50px;
    border-radius: 5px;
}
.login-form h4 {
    font-weight: 700;
    margin-bottom: 9px;
}

.login-form p {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    text-transform: uppercase;
    font-size: 14px;
    color: #555;
}
.submit-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--secondary-color) !important;
    height: 42px;
    color: #fff;
    text-transform: capitalize;
    font-weight: 500;
    border-radius: 5px;
}
/*==== LOGIN CSS END ====*/

/*==========Main Css ===========*/
.announcement a {
    text-align: center;
    font-size: 17px;
    text-transform: capitalize;
    color: #fff;
    transition: all 0.2s ease;
}

.announcement p {
    transition: all 0.2s ease;
}
.announcement p:hover {
    transform: scale(1.2);
}

.navbar-content {
    height: 83vh;
    overflow: auto;
}

/* scrollbar default hide */
.navbar-content::-webkit-scrollbar {
    width: 0;
}

/* hover করলে scrollbar show হবে */
.navbar-content:hover::-webkit-scrollbar {
    width: 3px;
}

/* scrollbar track */
.navbar-content::-webkit-scrollbar-track {
    background: transparent;
}

/* scrollbar thumb */
.navbar-content::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
}

/* hover করলে thumb একটু dark */
.navbar-content:hover::-webkit-scrollbar-thumb {
    background: #666;
}

.wsit-sidebar {
    background: #fff;
    width: 255px;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1026;
    border-right: 1px solid #a6a4a7;
    background: var(--primary-color);
}

.wsit-submenu {
    display: none;
}

ul.wsit-navbar li {
    display: block;
}

.wsit-arrow svg {
    transition: all 0.2s ease-in-out;
}

.rotated {
    transform: rotate(90deg);
    transition: transform 0.2s ease-in-out;
}

.wsit-sidebar .main-logo {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 15px 20px 5px;
    justify-content: center;
    border-bottom: 1px solid #858585;
    margin-bottom: 25px;
    background: var(--primary-color);
}
.wsit-sidebar .main-logo a img {
    width: 100% !important;
    height: 80px !important;
    object-fit: contain;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    max-width: 135px;
}
.wsit-sidebar .wsit-link {
    display: block;
    padding: 13px 20px;
    position: relative;
    font-size: 13px;
    font-weight: 600;
}

.wsit-sidebar .wsit-navbar > .wsit-item > .wsit-link {
    border-radius: 12px;
    margin-left: 15px;
    margin-right: 15px;
    padding: 7px 10px 7px 7px;
    display: flex;
    align-items: center;
}
.wsit-sidebar .wsit-icon {
    margin-right: 15px;
    border-radius: 12px;
    height: 35px;
    width: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    background: #fff;
    box-shadow: -3px 4px 23px rgba(0, 0, 0, 0.1);
}
.wsit-sidebar .wsit-icon i {
    font-size: 18px;
}
.wsit-sidebar .wsit-arrow {
    float: right;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    color: white;
}
.wsit-sidebar .wsit-link .wsit-text {
    flex: 1;
    color: white;
}
.wsit-sidebar .wsit-submenu .wsit-link {
    font-weight: 500;
    padding: 10px 30px 10px 65px;
}

.wsit-sidebar .wsit-navbar > .wsit-item.active > .wsit-link,
.wsit-sidebar .wsit-navbar > .wsit-item:active > .wsit-link,
.wsit-sidebar .wsit-navbar > .wsit-item:focus > .wsit-link,
.wsit-sidebar .wsit-navbar > .wsit-item:hover > .wsit-link,
.wsit-sidebar .wsit-navbar > .wsit-item.active > .wsit-link,
.wsit-sidebar .wsit-navbar > .wsit-item:active > .wsit-link,
.wsit-sidebar .wsit-navbar > .wsit-item:focus > .wsit-link,
.wsit-sidebar .wsit-navbar > .wsit-item:hover > .wsit-link {
    background: var(--primary-linear-gradient);
    color: #fff;
    box-shadow: 0 5px 7px -1px rgba(12, 175, 96, 0.3);
}

.wsit-sidebar .wsit-navbar > .wsit-item.active > .wsit-link i,
.wsit-sidebar .wsit-navbar > .wsit-item:active > .wsit-link i,
.wsit-sidebar .wsit-navbar > .wsit-item:focus > .wsit-link i,
.wsit-sidebar .wsit-navbar > .wsit-item:hover > .wsit-link i,
.wsit-sidebar .wsit-navbar > .wsit-item.active > .wsit-link i,
.wsit-sidebar .wsit-navbar > .wsit-item:active > .wsit-link i,
.wsit-sidebar .wsit-navbar > .wsit-item:focus > .wsit-link i,
.wsit-sidebar .wsit-navbar > .wsit-item:hover > .wsit-link i {
    color: var(--secondary-color);
}

.wsit-header {
    background: #fff;
    color: #525b69;
    min-height: 70px;
    position: absolute;
    left: 255px;
    right: 0;
    z-index: 1025;
    top: 0px !important;
}

.wsit-header .wsit-h-item {
    min-height: 70px;
    display: flex;
    align-items: center;
    position: relative;
}
.wsit-header .wsit-head-link {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.7rem;
    margin: 0 7.5px;
    border-radius: 4px;
    position: relative;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid rgba(206, 206, 206, 0.2);
}

.wsit-header .wsit-head-link .theme-avtar {
    border-radius: 12px;
    font-size: 16px;
    width: 34px;
    height: 34px;
    background: #dcdaeb;
    color: #51459d;
}

.wsit-header .header-wrapper {
    display: flex;
    padding: 0 30px;
    border-bottom: 1px solid #b7b7b7;
    background: var(--primary-color);
}

.wsit-header .wsit-head-link .drp-arrow {
    color: #525b69;
    font-size: 14px;
    margin-left: 10px;
    opacity: 0.8;
}

.wsit-header .wsit-head-link.active,
.wsit-header .wsit-head-link:active,
.wsit-header .wsit-head-link:focus,
.wsit-header .wsit-head-link:hover {
    text-decoration: none;
    color: #51459d;
    background: rgba(108, 117, 125, 0.05);
}

.dropdown .dropdown-item i {
    font-size: 18px;
    margin-right: 10px;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #000;
    text-decoration: none;
    background: rgba(108, 117, 125, 0.05);
}

.wsit-header .wsit-head-link .wsit-h-badge {
    position: absolute;
    top: 3px;
    right: 10px;
    border-radius: 50%;
    font-size: 9px;
}
.message-counter {
    position: absolute;
    top: 3px;
    right: 4px !important;
    border-radius: 50%;
    font-size: 10px;
    width: 15px !important;
    text-align: center !important;
    color: #fff !important;
}
a.wsit-head-link i {
    margin-right: 5px;
    color: #ffffff;
}
.dropdown .dropdown-item {
    padding: 10px 25px;
}
.hamburger {
    display: inline-block;
    cursor: pointer;
    transition: filter 0.15s linear;
    width: 20px;
    height: 20px;
}
.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
    width: 18px;
    height: 2px;
    background-color: #525b69;
    border-radius: 4px;
    position: absolute;
    transition: transform 0.15s ease;
}

.hamburger-inner::after,
.hamburger-inner::before {
    content: "";
    width: 18px;
    height: 2px;
    background-color: #525b69;
    border-radius: 4px;
    position: absolute;
    transition: transform 0.15s ease;
}
.hamburger-inner::before {
    top: -6px;
}
.hamburger-inner::after {
    bottom: -6px;
}

.wsit-header ul {
    margin-bottom: 0;
    display: inline-flex;
}
.wsit-header .dropdown-menu {
    padding: 15px 0;
    box-shadow: 0 4px 24px 0 rgba(62, 57, 107, 0.18);
    border: none;
    position: absolute;
    inset: 0px auto auto 0px;
    margin: 0px;
    transform: translate(0px, 70px);
    min-width: 12rem;
}

.wsit-header .dropdown-toggle::after {
    display: none;
}
.wsit-container {
    position: relative;
    top: 85px;
    margin-left: 255px;
    min-height: calc(100vh - 70px);
}
.wsit-container .wsit-content {
    padding-left: 30px;
    padding-right: 30px;
}
.page-header .page-block {
    width: 100%;
}

.page-header .breadcrumb {
    padding: 0;
    display: inline-flex;
    margin-bottom: 0;
    background: transparent;
    font-size: 13px;
}

.page-header .breadcrumb a {
    color: var(--primary-color);
}

.wsit-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
}

.wsit-footer {
    position: relative;
    margin-left: 255px;
    width: calc(100% - 255px);
    padding: 10px 30px;
    top: 70px;
    margin-bottom: 70px;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
}
.wsit-footer .footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.develop_company {
    color: var(--primary-color);
}

/*==== USER ADD CSS START====*/
.page-header {
    padding-bottom: 25px;
}
.quick-sidebar {
    background: #ffffff !important;
    box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08);
    padding: 25px;
    border-radius: 5px;
}
.quick-sidebar ul li {
    display: block;
}

.quick-sidebar ul li a {
    padding: 20px;
    display: block;
}
.card {
    box-shadow: 0 6px 30px rgba(182, 186, 203, 0.3);
    margin-bottom: 24px;
    transition: box-shadow 0.2s ease-in-out;
    border: 0;
    padding: 0;
    overflow: hidden;
}
.card .card-header {
    border-bottom: 1px solid #f1f1f1;
}
.quick-sidebar ul li a {
    padding: 16px;
    display: block;
}
.quick-sidebar ul li a.active {
    background: var(--secondary-color);
    color: #fff;
}
.card-header {
    border-bottom: 1px solid #f1f1f1;
    background: #fff;
    padding: 25px;
}
.card-body {
    background: #fff;
    padding: 25px;
}
.card-footer {
    border-top: 1px solid #f1f1f1;
    background: #fff;
    padding: 25px;
}
span.wsit-text i {
    font-size: 12px;
    color: var(--secondary-color);
    margin-right: 2px;
}
/*==== USER ADD CSS END====*/

/*==== DATATABLE CSS START ====*/
td {
    padding: 15px !important;
}
.dt-length select {
    height: 38px;
}

.dt-search input {
    height: 38px;
}

.dt-search {
    position: relative;
}
.dt-length label {
    display: none;
}
.dt-search label {
    display: none;
}
.dt-buttons button {
    background: transparent;
    border: 1px solid var(--secondary-color) !important;
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 5px;
    font-size: 14px;
    color: var(--secondary-color);
    transition: 0.35s all;
}
button.dt-button:hover {
    background: var(--secondary-color);
    color: #fff;
}
.dt-info {
    float: left;
}
.dt-paging {
    float: right;
}
.dt-buttons {
    margin-top: 3px;
}
#data-table {
    margin-top: 20px;
}
.dt-paging ul li button {
    background: var(--secondary-color) !important;
    margin: 0 10px;
    color: #fff !important;
}
.dt-paging-button.page-item.disabled {
    opacity: 0.7;
}
.edit_btn {
    background: var(--secondary-color);
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    height: 32px;
    line-height: 32px;
    width: 35px;
    text-align: center;
    display: inline-block;
}
.delete_btn {
    background: var(--danger-color) !important;
    border-radius: 5px;
    color: #fff;
    height: 32px;
    line-height: 32px;
    width: 35px;
    text-align: center;
    display: inline-block;
}
.thumb_down {
    background: var(--muted-color) !important;
    border-radius: 5px;
    color: #fff;
    height: 32px;
    line-height: 32px;
    width: 35px;
    text-align: center;
    display: inline-block;
}
.thumb_up {
    background: var(--success-color) !important;
    border-radius: 5px;
    color: #fff;
    height: 32px;
    line-height: 32px;
    width: 35px;
    text-align: center;
    display: inline-block;
}
.inactive_btn {
    background: var(--accent-color);
    color: #fff;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 10px;
}
.active_btn {
    background: var(--secondary-color);
    color: #fff;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 10px;
}
.quick_btn a {
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}
.form-check.form-switch {
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-submit,
.btn-submit:focus {
    background: var(--secondary-color);
    color: #fff;
    border: 0;
    border-radius: 5px;
    padding: 0 15px;
}
/*==== DATATABLE CSS END ====*/

.project_all_items {
    display: flex;
}
.project_all_items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.btn:hover {
    background: var(--primary-color);
}

/* Backend theme */
body {
    color: var(--text-color);
    background: var(--body-bg);
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
}

.auth-container,
.submit-btn {
    background: var(--primary-color) !important;
}

.wsit-sidebar,
.wsit-sidebar .main-logo,
.wsit-header .header-wrapper {
    background: var(--primary-color);
}

.wsit-footer {
    background: var(--secondary-color);
}

.wsit-sidebar {
    border-right-color: rgba(255, 255, 255, 0.2);
}

.wsit-sidebar .main-logo {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

.wsit-sidebar .wsit-navbar > .wsit-item > .wsit-link {
    color: #fff;
    border-radius: 5px;
    margin-left: 8px;
    margin-right: 8px;
}

.wsit-sidebar .wsit-navbar > .wsit-item.active > .wsit-link,
.wsit-sidebar .wsit-navbar > .wsit-item:active > .wsit-link,
.wsit-sidebar .wsit-navbar > .wsit-item:focus > .wsit-link,
.wsit-sidebar .wsit-navbar > .wsit-item:hover > .wsit-link {
    background: var(--secondary-color);
    box-shadow: none;
}

.wsit-sidebar .wsit-icon {
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary-color);
}

.wsit-sidebar .wsit-icon i,
.wsit-sidebar .wsit-navbar > .wsit-item:hover > .wsit-link i,
span.wsit-text i {
    color: var(--primary-color);
}

.wsit-sidebar .wsit-link .wsit-text,
.wsit-sidebar .wsit-arrow,
.wsit-header .wsit-head-link,
a.wsit-head-link i {
    color: #fff;
}

.wsit-header .wsit-head-link:hover,
.wsit-header .wsit-head-link:focus,
.wsit-header .wsit-head-link:active {
    color: #fff;
    background: var(--secondary-color);
}

.wsit-header .wsit-head-link .theme-avtar {
    background: #fff;
    color: var(--primary-color);
}

.hamburger-inner,
.hamburger-inner::after,
.hamburger-inner::before {
    background-color: #fff;
}

.page-header .breadcrumb a,
.develop_company {
    color: var(--primary-color);
}

.card {
    box-shadow: 0 8px 28px rgba(18, 48, 71, 0.09);
}

.card .card-header h6,
.page-header-title h4 {
    color: var(--text-color);
}

.form-label,
td,
th,
.card-body,
.dropdown-item {
    color: var(--text-color);
}

.select2-selection__choice,
.dt-paging ul li button,
.quick_btn a,
.btn-submit,
.btn-submit:focus,
.edit_btn,
.active_btn {
    background: var(--secondary-color) !important;
    color: #fff !important;
}

.dt-buttons button {
    border-color: var(--primary-color) !important;
    color: var(--primary-color);
}

button.dt-button:hover,
.btn:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.quick-sidebar ul li a.active,
.thumb_up {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.delete_btn {
    background: #dc2626 !important;
    color: #fff !important;
}

.thumb_down,
.inactive_btn {
    background: #5b6478 !important;
    color: #fff !important;
}

.card {
    border-top: 0;
    border-radius: 12px;
}

.card .card-header {
    background: #fff;
}

.table thead th,
#data-table thead th,
table.dataTable thead th {
    background: var(--secondary-color) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: #eef7f6;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: #e3f3f1;
}

.page-header-title h4,
.page-header-title h4 i,
.breadcrumb-item.active {
    color: var(--primary-color) !important;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background: #eef7f6;
    color: var(--primary-color);
}

.wsit-header .header-wrapper {
    min-height: 50px;
    border-bottom: 0;
}

.wsit-header .wsit-h-item {
    min-height: 50px;
}

.wsit-header .wsit-head-link {
    border-radius: 0;
    border: 0;
    margin: 0;
    min-height: 50px;
}

.wsit-header .logout-shortcut {
    background: var(--secondary-color);
    padding-left: 14px;
    padding-right: 14px;
}

.wsit-header .logout-shortcut:hover,
.wsit-header .logout-shortcut:focus {
    background: var(--secondary-color) !important;
}

.wsit-sidebar .main-logo {
    height: 68px;
    margin-bottom: 12px;
}

.wsit-sidebar .wsit-navbar > .wsit-item:hover > .wsit-link .wsit-icon,
.wsit-sidebar .wsit-navbar > .wsit-item.active > .wsit-link .wsit-icon {
    color: var(--secondary-color);
}

.wsit-sidebar {
    background: var(--primary-color);
}

.wsit-sidebar .navbar-content {
    padding: 0 5px 18px;
}

.wsit-sidebar .wsit-navbar > .wsit-item {
    margin: 4px 0;
}

.wsit-sidebar .wsit-navbar > .wsit-item > .wsit-link {
    min-height: 34px;
    margin: 0;
    padding: 7px 12px 7px 14px;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    gap: 8px;
}

.wsit-sidebar .wsit-navbar > .wsit-item.active > .wsit-link,
.wsit-sidebar .wsit-navbar > .wsit-item.open > .wsit-link,
.wsit-sidebar .wsit-navbar > .wsit-item:hover > .wsit-link {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: none;
}

.wsit-sidebar .wsit-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-right: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
}

.wsit-sidebar .wsit-icon i,
.wsit-sidebar .wsit-navbar > .wsit-item:hover > .wsit-link i,
.wsit-sidebar .wsit-navbar > .wsit-item.active > .wsit-link i,
.wsit-sidebar .wsit-navbar > .wsit-item.open > .wsit-link i {
    color: #fff;
    font-size: 22px;
}

.wsit-sidebar .wsit-link .wsit-text {
    color: inherit;
    line-height: 1.25;
}

.wsit-sidebar .wsit-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #fff;
}

.wsit-sidebar .wsit-arrow svg {
    width: 17px;
    height: 17px;
    stroke-width: 3;
}

.wsit-sidebar .wsit-submenu {
    padding: 4px 0 0;
}

.wsit-sidebar .wsit-submenu .wsit-item {
    margin: 0 0 4px;
}

.wsit-sidebar .wsit-submenu .wsit-link {
    min-height: 34px;
    margin: 0;
    padding: 7px 12px 7px 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.wsit-sidebar .wsit-submenu .wsit-item.active .wsit-link,
.wsit-sidebar .wsit-submenu .wsit-link:hover {
    background: #eef7f6;
    color: var(--secondary-color);
}

.wsit-sidebar .wsit-submenu .wsit-link .wsit-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wsit-sidebar .wsit-submenu span.wsit-text i,
.wsit-sidebar .wsit-submenu .wsit-link:hover span.wsit-text i,
.wsit-sidebar .wsit-submenu .wsit-item.active span.wsit-text i {
    margin-right: 0;
    color: currentColor;
    font-size: 22px;
}

/* Manage table design */
:root {
    --table-accent: var(--secondary-color);
    --table-accent-dark: #0b5f59;
    --table-export: var(--accent-color-dark);
    --table-border: #d7e2ea;
}

.page-content .data-table-card,
.page-content .card:has(#data-table) {
    border-top: 0;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(18, 48, 71, 0.12);
}

.page-content .data-table-card .card-header,
.page-content .card:has(#data-table) .card-header {
    min-height: 54px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--table-border);
}

.page-content .data-table-card .card-header h6,
.page-content .card:has(#data-table) .card-header h6 {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
}

.page-content .data-table-card .card-body,
.page-content .card:has(#data-table) .card-body {
    padding: 20px;
    overflow-x: auto;
}

.page-content .data-table-card .card-body::-webkit-scrollbar,
.page-content .card:has(#data-table) .card-body::-webkit-scrollbar {
    height: 7px;
}

.page-content .data-table-card .card-body::-webkit-scrollbar-thumb,
.page-content .card:has(#data-table) .card-body::-webkit-scrollbar-thumb {
    background: rgba(15, 118, 110, 0.55);
    border-radius: 999px;
}

.quick_btn a {
    background: var(--table-accent) !important;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 700;
    padding: 8px 14px;
}

.quick_btn a:hover {
    background: var(--table-accent-dark) !important;
}

.dt-container,
.dataTables_wrapper {
    min-width: 760px;
}

.dt-layout-row,
.dataTables_wrapper > .row {
    align-items: center;
    margin: 0 0 14px;
    row-gap: 12px;
}

.dt-buttons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin: 0 0 14px;
}

.dt-buttons::before {
    content: "ইমপোর্ট / এক্সপোর্ট";
    flex: 0 0 100%;
    display: block;
    width: 100%;
    margin: 0 0 14px;
    padding: 10px 16px;
    border-radius: 4px;
    background: var(--table-accent);
    color: #fff;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.18);
}

.dt-buttons button.dt-button,
.dt-buttons .dt-button {
    background: var(--table-export) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 0 !important;
    color: #fff !important;
    min-height: 36px;
    padding: 7px 13px;
    margin: 0 !important;
    font-size: 13px;
    font-weight: 700;
}

.dt-buttons button.dt-button:first-of-type,
.dt-buttons .dt-button:first-of-type {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.dt-buttons button.dt-button:last-of-type,
.dt-buttons .dt-button:last-of-type {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

.dt-buttons button.dt-button:hover,
.dt-buttons .dt-button:hover {
    background: var(--accent-color) !important;
}

.dt-length,
.dt-search,
.dataTables_length,
.dataTables_filter {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.dt-search,
.dataTables_filter {
    justify-content: flex-end;
}

.dt-length label,
.dt-search label {
    display: inline-block;
    margin: 0;
}

.dt-length select,
.dt-search input,
.dataTables_length select,
.dataTables_filter input {
    height: 34px;
    border: 1px solid #cfd6e3;
    border-radius: 4px;
    background: #fff;
    color: #111827;
    box-shadow: none !important;
}

#data-table {
    width: 100% !important;
    min-width: 760px;
    margin-top: 0 !important;
    border-collapse: collapse !important;
    border: 1px solid var(--table-border);
}

#data-table thead th,
table.dataTable thead th {
    background: var(--table-accent) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    padding: 14px 13px !important;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(37, 61, 106, 0.25);
}

#data-table tbody td,
table.dataTable tbody td {
    border: 1px solid var(--table-border);
    padding: 13px !important;
    color: var(--text-color);
    vertical-align: middle;
    white-space: nowrap;
}

#data-table tbody tr:nth-child(odd) td,
table.dataTable tbody tr:nth-child(odd) td {
    background: #f6faf9 !important;
}

#data-table tbody tr:nth-child(even) td,
table.dataTable tbody tr:nth-child(even) td {
    background: #fff !important;
}

#data-table tbody tr:hover td,
table.dataTable tbody tr:hover td {
    background: #eef7f6 !important;
}

.dt-info,
.dataTables_info {
    float: none;
    padding-top: 16px;
    color: var(--text-color);
    font-weight: 500;
}

.dt-paging,
.dataTables_paginate {
    float: none;
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}

.dt-paging ul,
.dataTables_paginate ul {
    display: inline-flex;
    margin: 0;
}

.dt-paging ul li,
.dataTables_paginate ul li {
    display: inline-flex;
}

.dt-paging ul li button,
.dataTables_paginate .paginate_button,
.pagination .page-link {
    min-width: 38px;
    height: 36px;
    margin: 0 !important;
    border: 1px solid var(--table-border) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #5b6478 !important;
}

.dt-paging ul li.active button,
.dataTables_paginate .paginate_button.current,
.pagination .page-item.active .page-link {
    background: var(--table-accent) !important;
    color: #fff !important;
    border-color: var(--table-accent) !important;
}

.edit_btn,
.delete_btn,
.thumb_down,
.thumb_up {
    width: 34px;
    height: 34px;
    min-width: 34px;
    line-height: 1;
    border-radius: 50%;
    margin: 0 2px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    padding: 0 !important;
}

.edit_btn {
    background: var(--table-accent) !important;
}

.delete_btn {
    background: var(--danger-color) !important;
}

#data-table tbody td:last-child,
table.dataTable tbody td:last-child {
    text-align: center;
}

#data-table tbody td:last-child form,
table.dataTable tbody td:last-child form,
.status_form,
.delete_form {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    vertical-align: middle;
}

#data-table tbody td:last-child i,
table.dataTable tbody td:last-child i {
    line-height: 1;
    margin: 0;
    font-size: 16px;
}

.customer-manage-page .wsit-content {
    padding-left: 14px;
    padding-right: 14px;
}

.customer-manage-page .page-header {
    padding-bottom: 22px;
}

.customer-manage-page .page-header-title h4 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 500;
}

.customer-manage-page .page-header-title h4 i {
    color: var(--secondary-color);
    font-size: 24px;
    margin-right: 4px;
    vertical-align: -2px;
}

.customer-manage-page .breadcrumb {
    font-size: 13px;
}

.customer-manage-page .data-table-card {
    border-top-width: 0;
    border-radius: 15px;
}

.customer-manage-page .data-table-card .card-header {
    min-height: 54px;
    padding: 13px 20px;
}

.customer-manage-page .data-table-card .card-header h6 {
    font-size: 16px;
    font-weight: 400;
}

.customer-manage-page .data-table-card .card-body {
    padding: 20px;
}

.customer-manage-page .quick_btn a {
    padding: 7px 10px;
    border-radius: 4px;
    font-size: 13px;
}

.customer-manage-page .customer-export-title {
    width: 100%;
    margin: 0 0 15px;
    padding: 10px 16px;
    border-radius: 4px;
    background: var(--table-accent);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.18);
}

.import-export-toggle,
.import-export-toggle:focus {
    display: block;
    width: 100%;
    min-height: 35px;
    margin-bottom: 0;
    border: 0;
    border-radius: 4px;
    background: var(--table-accent);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.18);
}

.import-export-box {
    display: none;
    margin-bottom: 16px;
    padding: 20px;
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.import-export-actions {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 18px;
}

.import-export-green,
.import-export-green:focus {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 4px;
    background: var(--success-color);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(139, 195, 74, 0.22);
}

.import-export-green:hover {
    color: #fff;
    opacity: 0.92;
}

.import-card {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 9px rgba(15, 23, 42, 0.16);
}

.import-card-title {
    padding: 12px 20px;
    background: var(--table-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.import-card form {
    padding: 20px;
    background: #f8f8f8;
}

.import-file-row {
    margin-bottom: 20px;
}

.import-submit-btn,
.import-submit-btn:focus {
    border: 0;
    border-radius: 4px;
    background: var(--table-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.import-submit-btn:hover {
    color: #fff;
    background: var(--table-accent-dark);
}

.test-price-page .data-table-card .card-body {
    overflow-x: visible;
}

.test-price-page .import-export-toggle {
    margin-bottom: 14px;
}

.test-price-page .import-export-box {
    margin-top: -14px;
}

.test-price-page .customer-table-controls {
    margin-top: 4px;
}

.test-price-table {
    margin-bottom: 18px !important;
}

.test-price-table thead th {
    padding: 15px 18px !important;
    background: var(--table-accent) !important;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.test-price-table tbody td {
    padding: 14px 18px !important;
    color: #111827;
    font-size: 14px;
    vertical-align: middle;
}

.test-price-table tbody td:first-child {
    font-weight: 700;
}

.test-price-input {
    width: 210px;
    max-width: 100%;
}

.test-price-input .form-control {
    min-height: 38px;
    border-color: #cfd6e3;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    box-shadow: none;
}

.test-price-input .input-group-text {
    min-width: 54px;
    justify-content: center;
    border-color: #cfd6e3;
    background: #f1f4f8;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.test-price-save-btn,
.test-price-save-btn:focus {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--table-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.2);
}

.test-price-save-btn:hover {
    background: var(--table-accent-dark);
    color: #fff;
}

.customer-manage-page .dt-buttons::before {
    content: none;
}

.customer-manage-page .customer-table-controls {
    align-items: center;
    margin-bottom: 12px;
}

.customer-manage-page .dt-buttons {
    position: relative;
    justify-content: center;
    margin: 0;
}

.customer-manage-page .dt-buttons button.dt-button,
.customer-manage-page .dt-buttons .dt-button {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 13px;
}

.customer-manage-page .dt-buttons .dt-button i {
    margin-right: 3px;
}

.customer-manage-page .dt-buttons .column-toggle-button i:last-child {
    margin-right: 0;
    font-size: 10px;
}

.customer-manage-page .customer-column-menu {
    position: absolute;
    top: 38px;
    right: calc(50% - 165px);
    z-index: 20;
    display: none;
    min-width: 72px;
    padding: 2px 0;
    border-radius: 3px;
    background: #171c22;
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.25);
}

.customer-manage-page .customer-column-menu.show {
    display: block;
}

.customer-manage-page .customer-column-menu label {
    display: block;
    margin: 0;
    padding: 7px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.customer-manage-page .customer-column-menu label:hover {
    background: rgba(255, 255, 255, 0.08);
}

.customer-manage-page .customer-column-menu input {
    display: none;
}

.customer-manage-page .dt-length,
.customer-manage-page .dt-search {
    font-size: 13px;
}

.customer-manage-page .dt-length select,
.customer-manage-page .dt-search input {
    height: 31px;
}

.customer-manage-page #data-table {
    min-width: 920px;
}

.doctor-manage-page #data-table {
    min-width: 1220px;
}

.customer-manage-page #data-table thead th,
.customer-manage-page table.dataTable thead th {
    padding: 14px 13px !important;
    font-size: 13px;
}

.customer-manage-page #data-table tbody td,
.customer-manage-page table.dataTable tbody td {
    padding: 12px 13px !important;
    font-size: 13px;
}

.customer-manage-page .dt-info,
.customer-manage-page .dataTables_info {
    font-size: 14px;
    padding-top: 16px;
}

.customer-manage-page .dt-paging,
.customer-manage-page .dataTables_paginate {
    padding-top: 8px;
}

.patient-form-page .wsit-content {
    padding-left: 14px;
    padding-right: 14px;
}

.patient-form-page .page-header {
    padding-bottom: 20px;
}

.patient-form-page .page-header-title h4 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 500;
}

.patient-form-page .page-header-title h4 i {
    color: var(--secondary-color);
    font-size: 24px;
    margin-right: 4px;
    vertical-align: -2px;
}

.patient-form-page .breadcrumb {
    font-size: 13px;
}

.patient-form-card {
    border-radius: 4px 4px 14px 14px;
    box-shadow: 0 3px 12px rgba(22, 28, 45, 0.14);
}

.patient-form-card .card-header {
    min-height: 44px;
    padding: 12px 20px;
    background: var(--table-accent);
    border-bottom: 0;
}

.patient-form-card .card-header h6 {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.patient-form-card .card-body {
    padding: 20px;
}

.patient-input-group .input-group-text {
    width: 40px;
    justify-content: center;
    background: #edf1f6;
    border-color: #cfd6e3;
    color: #4b5563;
    font-size: 18px;
}

.patient-input-group .form-control,
.patient-input-group .form-select {
    height: 38px;
    border-color: #cfd6e3;
    background-color: #e7eefb;
    color: #000;
    font-size: 14px;
    box-shadow: none;
}

.patient-input-group .form-control:focus,
.patient-input-group .form-select:focus {
    border-color: #b7c3d4;
    box-shadow: none;
}

.patient-input-group .form-control::placeholder {
    color: #8b95a1;
}

.patient-form-card .card-footer {
    padding: 12px 20px;
    background: #f7f7f7;
}

.patient-save-btn {
    background: var(--table-accent);
    border-color: var(--table-accent);
    color: #fff;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
}

.patient-save-btn:hover,
.patient-save-btn:focus {
    background: var(--table-accent-dark);
    border-color: var(--table-accent-dark);
    color: #fff;
}

.doctor-form-page .patient-save-btn i {
    margin-right: 4px;
}

.contract-manage-page #data-table {
    min-width: 920px;
}

.culture-manage-page #data-table {
    min-width: 900px;
}

.culture-form-page .culture-field .form-label {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 9px;
}

.culture-form-page .culture-field .form-control,
.culture-form-page .culture-field .input-group-text {
    min-height: 38px;
    border-color: #cfd6e3;
    color: #111827;
    font-size: 14px;
    box-shadow: none;
}

.culture-form-page .culture-field .input-group-text {
    min-width: 52px;
    justify-content: center;
    background: #edf1f6;
    font-weight: 700;
}

.culture-form-page .culture-field textarea.form-control {
    min-height: 38px;
}

.culture-form-page .patient-save-btn i {
    margin-right: 4px;
}

.contract-form-page .contract-field .form-label {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 9px;
}

.expense-category-manage-page #data-table {
    min-width: 620px;
}

.expense-category-form-page .patient-form-card .card-body {
    padding: 22px 20px 36px;
}

.expense-category-field .form-label {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 9px;
}

.expense-category-field .form-control {
    min-height: 38px;
    border-color: #cfd6e3;
    color: #111827;
    font-size: 14px;
    box-shadow: none;
}

.expense-category-field .form-control:focus {
    border-color: #b7c3d4;
    box-shadow: none;
}

.expense-category-field .form-control::placeholder {
    color: #8b95a1;
}

.expense-manage-page #data-table {
    min-width: 920px;
}

.expense-form-page .patient-form-card .card-body {
    padding: 20px;
}

.expense-form-page .patient-form-card .card-footer {
    padding: 12px 20px;
}

.expense-field .form-label {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 9px;
}

.expense-label-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
}

.expense-label-row .form-label {
    margin-bottom: 9px;
}

.expense-not-listed-btn,
.expense-not-listed-btn:focus {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-height: 31px;
    margin-bottom: 0;
    padding: 6px 10px;
    border: 0;
    border-radius: 4px 4px 0 0;
    background: var(--accent-color);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.expense-not-listed-btn:hover {
    color: #fff;
    background: var(--accent-color-dark);
}

.expense-category-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.expense-category-modal .modal-header {
    min-height: 44px;
    padding: 12px 18px;
    background: var(--table-accent);
    color: #fff;
}

.expense-category-modal .modal-title {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.expense-category-modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 1;
}

.expense-category-modal .modal-body {
    padding: 20px;
}

.expense-category-modal .modal-footer {
    padding: 12px 20px;
    background: #f7f7f7;
}

.expense-field .form-control,
.expense-field .form-select,
.expense-field .select2-container .select2-selection--single {
    min-height: 38px;
    border-color: #cfd6e3;
    color: #111827;
    font-size: 14px;
    box-shadow: none;
}

.expense-field .select2-container {
    width: 100% !important;
}

.expense-field .select2-container .select2-selection--single {
    height: 38px;
}

.expense-field .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    color: #111827;
}

.expense-field .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.expense-field .form-control:focus,
.expense-field .form-select:focus {
    border-color: #b7c3d4;
    box-shadow: none;
}

.expense-field .note-editor.note-frame {
    overflow: hidden;
    border-color: #b7c3d4;
    border-radius: 14px;
}

.expense-field .note-toolbar {
    background: #fff;
}

.accounting-report-page .page-content {
    padding-top: 2px;
}

.accounting-filter-card .card-body {
    padding: 20px;
}

.accounting-filter-title,
.accounting-filter-title:focus {
    display: block;
    width: 100%;
    min-height: 35px;
    margin-bottom: 20px;
    padding: 9px 16px;
    border: 0;
    border-radius: 4px;
    background: var(--table-accent);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.18);
}

.accounting-filter-title:hover {
    background: var(--table-accent-dark);
    color: #fff;
}

.accounting-filter-form {
    padding: 0 0 18px;
}

.accounting-field .form-label,
.accounting-checks .form-label {
    display: block;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 9px;
}

.accounting-field .form-control,
.accounting-field .form-select,
.accounting-field .input-group-text,
.accounting-field .select2-container .select2-selection--single {
    min-height: 38px;
    border-color: #cfd6e3;
    color: #111827;
    font-size: 14px;
    box-shadow: none;
}

.accounting-field .input-group-text {
    width: 40px;
    justify-content: center;
    background: #edf1f6;
}

.accounting-field .input-group .form-control {
    min-width: 0;
}

.accounting-field .select2-container {
    width: 100% !important;
}

.accounting-field .select2-container .select2-selection--single {
    height: 38px;
}

.accounting-field .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    color: #111827;
}

.accounting-field .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.accounting-checks label:not(.form-label) {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.accounting-checks input {
    width: 13px;
    height: 13px;
    margin-right: 4px;
    vertical-align: -2px;
}

.accounting-submit-btn,
.accounting-submit-btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    min-height: 38px;
    margin-top: 30px;
    border: 0;
    border-radius: 4px;
    background: var(--table-accent);
    color: #fff;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.22);
}

.accounting-submit-btn:hover {
    background: var(--table-accent-dark);
    color: #fff;
}

.accounting-result-card {
    margin-top: 22px;
}

.accounting-result-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.accounting-export-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.accounting-export-btn,
.accounting-export-btn:focus {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 7px 12px;
    border: 0;
    border-radius: 4px;
    background: var(--accent-color-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.accounting-export-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

.accounting-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.doctor-summary-grid {
    grid-template-columns: repeat(7, minmax(110px, 1fr));
}

.activity-log-page .data-table-card .card-body {
    padding-top: 20px;
}

.activity-log-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.activity-clear-btn,
.activity-clear-btn:focus {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-height: 34px;
    padding: 7px 12px;
    border: 0;
    border-radius: 4px;
    background: var(--danger-color);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.activity-clear-btn:hover {
    background: #b91c1c;
    color: #fff;
}

.activity-filter-toggle,
.activity-filter-toggle:focus {
    display: block;
    width: 100%;
    min-height: 35px;
    margin-bottom: 0;
    padding: 9px 16px;
    border: 0;
    border-radius: 4px;
    background: var(--table-accent);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.18);
}

.activity-filter-toggle:hover {
    background: var(--table-accent-dark);
    color: #fff;
}

.activity-filter-box {
    margin-bottom: 16px;
    padding: 20px;
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.activity-filter-field .form-label {
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 9px;
}

.activity-filter-field .form-select,
.activity-filter-field .select2-container .select2-selection--single {
    min-height: 38px;
    border-color: #cfd6e3;
    color: #111827;
    font-size: 14px;
}

.activity-filter-field .select2-container {
    width: 100% !important;
}

.activity-filter-field .select2-container .select2-selection--single {
    height: 38px;
}

.activity-filter-field .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
}

.activity-log-page #data-table {
    min-width: 900px;
}

.home-visit-manage-page #data-table {
    min-width: 1120px;
}

.home-visit-filter-toggle,
.home-visit-filter-toggle:focus {
    display: block;
    width: 100%;
    min-height: 35px;
    margin-bottom: 0;
    padding: 9px 16px;
    border: 0;
    border-radius: 4px;
    background: var(--table-accent);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.18);
}

.home-visit-filter-toggle:hover {
    background: var(--table-accent-dark);
    color: #fff;
}

.home-visit-filter-box {
    display: none;
    margin-bottom: 16px;
    padding: 20px;
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.home-visit-form-card .card-body {
    padding: 24px 26px 34px;
}

.home-visit-patient-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.home-visit-patient-head .form-label {
    margin: 0;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.home-visit-warning-btn,
.home-visit-warning-btn:focus {
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--accent-color) !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
}

.home-visit-warning-btn:hover {
    background: var(--accent-color-dark) !important;
    color: #fff !important;
}

.home-visit-form-page .select2-container {
    width: 100% !important;
}

.home-visit-form-page .select2-container .select2-selection--single {
    height: 38px !important;
    border-color: #cfd6e3 !important;
    border-radius: 4px;
}

.home-visit-form-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    color: #111827;
    font-size: 14px;
}

.home-visit-form-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.home-visit-map-card,
.home-visit-attachment-card {
    margin-top: 18px;
    border-radius: 4px 4px 14px 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(22, 28, 45, 0.14);
}

.home-visit-section-title {
    padding: 13px 20px;
    background: var(--danger-color);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.home-visit-section-title i {
    margin-right: 4px;
}

.home-visit-map-body,
.home-visit-attachment-body {
    padding: 20px;
    background: #fff;
}

.home-visit-map-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.home-visit-location-btn,
.home-visit-location-btn:focus {
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--accent-color-dark) !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
}

#location-status {
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
}

.home-visit-map-body iframe {
    display: block;
    width: 100%;
    height: 470px;
    border: 0;
}

.home-visit-attachment-body .form-label {
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 9px;
}

.home-visit-current-file {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
}

.home-visit-check-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.home-visit-ajax-form .modal-header {
    background: var(--table-accent);
    color: #fff;
}

.home-visit-ajax-form .modal-title {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.database-backup-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.database-backup-create-btn,
.database-backup-create-btn:focus {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 34px;
    padding: 7px 12px;
    border: 0;
    border-radius: 4px;
    background: var(--table-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.database-backup-create-btn:hover {
    background: var(--table-accent-dark);
    color: #fff;
}

.database-backup-action-btn,
.database-backup-action-btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 4px;
    border: 0;
    border-radius: 50%;
    background: var(--table-accent);
    color: #fff;
    font-size: 17px;
}

.database-backup-action-btn:hover {
    background: var(--table-accent-dark);
    color: #fff;
}

.database-backup-delete-btn,
.database-backup-delete-btn:focus {
    background: var(--danger-color);
}

.database-backup-page #data-table {
    min-width: 760px;
}

.setting-page .setting-shell-card > .card-body {
    padding: 8px 20px 34px;
}

.setting-side-tabs {
    min-height: 400px;
    padding: 4px 0 0;
    border-radius: 0 0 12px 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(22, 28, 45, 0.12);
}

.setting-side-tab,
.setting-side-tab:focus {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    min-height: 36px;
    margin-bottom: 0;
    padding: 8px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--secondary-color);
    text-align: left;
    font-size: 14px;
    font-weight: 700;
}

.setting-side-tab.active,
.setting-side-tab:hover {
    background: var(--table-accent);
    color: #fff;
}

.setting-inner-card {
    border-radius: 4px 4px 14px 14px;
}

.setting-inner-card > .card-body {
    padding: 20px;
}

.setting-inner-card .form-label,
.setting-template-box .form-label {
    margin-bottom: 8px;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.setting-tab-bar {
    display: flex;
    align-items: center;
    min-height: 40px;
    margin-bottom: 20px;
    border-radius: 4px 4px 0 0;
    background: var(--table-accent);
}

.setting-tab,
.setting-tab:focus {
    min-height: 40px;
    padding: 9px 16px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.setting-tab.active,
.setting-tab:hover {
    background: #fff;
    color: #111827;
}

.setting-general-tabs {
    margin-bottom: 0;
}

.setting-form-box {
    padding: 20px;
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(22, 28, 45, 0.14);
}

.setting-tab-form {
    margin: 0;
}

.setting-tab-footer {
    margin: 28px -20px -20px;
    padding: 12px 20px;
    background: #f5f5f5;
}

.setting-pane > .setting-tab-form > .setting-tab-footer {
    margin: 0;
    border-radius: 0 0 14px 14px;
}

.setting-form-box > .row .form-control,
.setting-form-box > .row .form-select,
.setting-template-box .form-control {
    min-height: 38px;
    border-color: #cfd6e3;
    color: #111827;
    font-size: 14px;
    box-shadow: none;
}

.setting-input-group .input-group-text {
    width: 44px;
    justify-content: center;
    border-color: #cfd6e3;
    background: #edf1f6;
    color: #334155;
    font-size: 18px;
}

.setting-input-group .form-control,
.setting-input-group .form-select,
.setting-input-group .select2-container .select2-selection--single {
    min-height: 38px;
    border-color: #cfd6e3;
    color: #111827;
    font-size: 14px;
    box-shadow: none;
}

.setting-input-group .select2-container {
    flex: 1 1 auto;
    width: 1% !important;
}

.setting-input-group .select2-container .select2-selection--single {
    height: 38px;
    border-radius: 0 4px 4px 0;
}

.setting-input-group .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    color: #111827;
}

.setting-input-group .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.setting-logo-note {
    padding: 16px;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
}

.setting-color-field {
    display: flex;
    overflow: hidden;
    border: 1px solid #cfd6e3;
    border-radius: 4px;
}

.setting-color-field .setting-color-text {
    border: 0;
    border-radius: 0;
}

.setting-color-picker {
    width: 48px;
    min-width: 48px;
    height: 38px;
    padding: 5px;
    border: 0;
    border-left: 1px solid #cfd6e3;
    background: #edf1f6;
}

.setting-template-box {
    padding: 0 12px 16px;
}

.setting-email-tab-pane {
    display: none;
}

.setting-general-tab-pane {
    display: none;
}

.setting-logo-upload {
    display: grid;
    gap: 16px;
}

.setting-file-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px 42px;
    align-items: center;
    width: 100%;
    min-height: 38px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #cfd6e3;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.setting-file-row span {
    padding: 9px 12px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 500;
}

.setting-file-row strong,
.setting-file-row i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-left: 1px solid #cfd6e3;
    background: #edf1f6;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
}

.setting-file-row i {
    color: var(--extra-color);
    font-size: 16px;
}

.setting-switch-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.setting-switch-row input {
    display: none;
}

.setting-switch-row span {
    position: relative;
    display: inline-flex;
    width: 48px;
    height: 26px;
    border-radius: 999px;
    background: #bdbdbd;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
    transition: background 0.18s ease;
}

.setting-switch-row span::before {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    content: "";
    transition: transform 0.18s ease;
}

.setting-switch-row input:checked + span {
    background: var(--table-accent);
}

.setting-switch-row input:checked + span::before {
    transform: translateX(22px);
}

.setting-switch-row strong {
    color: #111827;
    font-weight: 800;
}

#report-setting-pane .setting-switch-row strong {
    color: #111827;
}

#report-setting-pane .setting-form-box {
    padding: 0;
    border-radius: 0 0 12px 12px;
    background: transparent;
    box-shadow: none;
}

#report-setting-pane .setting-form-box > .row {
    --bs-gutter-y: 16px;
}

#report-setting-pane .setting-form-box > .row > [class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

.setting-report-upload-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}

.setting-report-upload-title {
    min-height: 44px;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 24px;
    box-shadow: 0 10px 16px rgba(30, 64, 175, 0.18);
}

.setting-report-upload-body {
    padding: 22px 20px 34px;
}

.setting-report-upload-body .form-label {
    display: block;
    margin: 8px 0 10px;
    color: #050b16;
    font-size: 14px;
    font-weight: 800;
}

.setting-report-upload-body .setting-switch-row {
    display: flex;
    width: max-content;
    margin: 0 0 8px;
    gap: 0;
    flex-wrap: wrap;
}

.setting-report-upload-body .setting-switch-row strong {
    display: block;
    flex: 0 0 100%;
    order: -1;
    margin: 0 0 10px;
    color: #050b16 !important;
    font-size: 15px;
    line-height: 22px;
}

.setting-report-upload-body .setting-switch-row span {
    width: 60px;
    height: 34px;
    background: #bfc5cc;
    box-shadow: none;
}

.setting-report-upload-body .setting-switch-row span::before {
    top: 4px;
    left: 4px;
    width: 26px;
    height: 26px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
}

.setting-report-upload-body .setting-switch-row input:checked + span {
    background: var(--extra-color);
}

.setting-report-upload-body .setting-switch-row input:checked + span::before {
    transform: translateX(26px);
}

.setting-report-upload-body .setting-file-row {
    grid-template-columns: minmax(0, 1fr) 70px 41px;
    min-height: 38px;
    border-color: #ccd5df;
    border-radius: 3px;
}

.setting-report-upload-body .setting-file-row span {
    padding: 8px 12px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 500;
}

.setting-report-upload-body .setting-file-row strong,
.setting-report-upload-body .setting-file-row i {
    border-left-color: #ccd5df;
    background: #edf1f5;
    color: #233044;
}

.setting-report-upload-body .setting-file-row i {
    color: var(--extra-color);
}

.setting-footer-height-row {
    margin-top: 14px;
    max-width: 360px;
}

.setting-footer-height-row small {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 575px) {
    .setting-report-upload-title {
        padding: 10px 14px;
        font-size: 16px;
    }

    .setting-report-upload-body {
        padding: 18px 14px 24px;
    }

    .setting-report-upload-body .setting-file-row {
        grid-template-columns: minmax(0, 1fr) 64px 38px;
    }
}

.setting-variable-note {
    margin: 0 0 14px;
    color: #ff2d2d;
    font-size: 13px;
}

.setting-variable-note p {
    margin-bottom: 4px;
}

.setting-message-field {
    min-height: 68px;
    resize: vertical;
}

.accounting-summary-grid div,
.accounting-profit-box {
    padding: 14px;
    border-radius: 6px;
    background: #f4f6f9;
    border: 1px solid #dce3ec;
}

.accounting-summary-grid span,
.accounting-profit-box span {
    display: block;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
}

.accounting-summary-grid strong,
.accounting-profit-box strong {
    display: block;
    margin-top: 4px;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
}

.accounting-report-section {
    margin-top: 18px;
}

.accounting-report-section h6 {
    margin-bottom: 10px;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
}

.accounting-report-table thead th {
    background: var(--table-accent) !important;
    color: #fff;
    font-size: 13px;
}

.accounting-profit-box {
    margin-top: 18px;
    background: #eaf7ef;
    border-color: #bfe6cc;
}

@media print {
    .accounting-filter-card,
    .accounting-export-actions,
    .wsit-sidebar,
    .wsit-header,
    .wsit-footer,
    .page-header {
        display: none !important;
    }

    .accounting-result-card {
        box-shadow: none !important;
    }
}

.contract-form-page .contract-field .form-control {
    height: 38px;
    border-color: #cfd6e3;
    color: #111827;
    font-size: 14px;
    box-shadow: none;
}

.contract-form-page .contract-field .form-control:focus {
    border-color: #b7c3d4;
    box-shadow: none;
}

.contract-form-page .note-editor.note-frame {
    border-color: #b7b7b7;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16);
}

.contract-form-page .note-toolbar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.contract-form-page .note-editable {
    min-height: 200px;
}

.contract-form-page .patient-save-btn i {
    margin-right: 4px;
}

.branch-manage-page #data-table {
    min-width: 920px;
}

.branch-form-card .card-body {
    padding-bottom: 34px;
}

.branch-map-card {
    margin-top: 2px;
    border-radius: 4px 4px 14px 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(22, 28, 45, 0.14);
}

.branch-map-title {
    padding: 13px 20px;
    background: var(--danger-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.branch-map-title i {
    margin-right: 4px;
}

.branch-map-body {
    padding: 20px;
    background: #fff;
}

.branch-map-body iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}

.branch-form-page .patient-save-btn i {
    margin-right: 4px;
}

.test-manage-page #data-table {
    min-width: 920px;
}

.test-form-page .form-label {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.test-form-page .form-control,
.test-form-page .form-select,
.test-form-page .input-group-text {
    height: 38px;
    border-color: #cfd6e3;
    color: #111827;
    font-size: 14px;
    box-shadow: none !important;
}

.test-form-page textarea.form-control {
    height: auto;
    min-height: 78px;
}

.test-form-page .input-group-text {
    display: inline-flex;
    align-items: center;
    background: #edf1f6;
    color: #4b5563;
    font-weight: 700;
}

.test-components-card {
    margin-top: 8px;
    border-radius: 4px 4px 14px 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(22, 28, 45, 0.14);
}

.test-components-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--danger-color);
}

.test-components-header h6 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.test-components-header > div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.test-add-btn,
.test-add-btn:focus {
    min-height: 32px;
    padding: 5px 10px;
    border-radius: 4px;
    background: var(--accent-color-dark) !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
}

.test-add-btn:hover {
    background: var(--accent-color) !important;
    color: #fff !important;
}

.test-components-body {
    overflow-x: auto;
    background: #fff;
}

.test-component-table {
    width: 100%;
    min-width: 1030px;
    border-collapse: collapse;
    border: 1px solid var(--table-border);
}

.test-component-table th {
    padding: 12px 10px;
    background: var(--table-accent);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.test-component-table td {
    padding: 10px !important;
    border: 1px solid var(--table-border);
    vertical-align: top;
    background: #f6faf9;
}

.test-component-table .form-control {
    height: 34px;
    padding: 6px 9px;
    background: #fff;
    font-size: 13px;
}

.test-component-table textarea.form-control {
    height: auto;
    min-height: 58px;
    resize: vertical;
}

.test-title-row td {
    background: #e5e5e5 !important;
}

.test-title-row .form-control {
    max-width: 520px;
    background: #fff;
    font-weight: 600;
}

.test-action-cell {
    width: 54px;
    text-align: center;
    vertical-align: middle !important;
}

.test-remove-btn,
.test-remove-btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    background: var(--danger-color) !important;
    color: #fff !important;
    padding: 0;
}

.test-remove-btn:hover {
    background: #dc2626 !important;
}

.test-result-types {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 34px;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
}

.test-result-types label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.test-result-types input {
    height: 14px;
    width: 14px;
}

.test-checkbox-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0;
}

.test-options-box {
    margin-top: 8px;
    border: 1px solid #d6dae2;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.test-options-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding: 6px 8px;
    background: #eef0f4;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
}

.test-option-add,
.test-option-add:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: var(--table-accent) !important;
    color: #fff !important;
}

.test-options-list {
    padding: 8px;
}

.test-option-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.test-option-row:last-child {
    margin-bottom: 0;
}

.test-option-row .form-control {
    flex: 1;
}

.separated-price-box {
    width: 170px;
    margin-top: 8px;
    border: 1px solid #d6dae2;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.separated-price-title {
    padding: 7px 9px;
    background: var(--table-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.separated-price-box .input-group {
    padding: 8px;
}

.separated-price-box .form-control,
.separated-price-box .input-group-text {
    height: 32px;
    font-size: 13px;
}

.test-form-page .patient-save-btn i {
    margin-right: 4px;
}

.invoice-manage-page #data-table {
    width: 100% !important;
    min-width: 1280px;
}

.invoice-manage-page .data-table-card .card-body {
    overflow-x: auto;
    overflow-y: hidden;
}

.invoice-manage-page .dt-container,
.invoice-manage-page .dataTables_wrapper,
.invoice-manage-page .dt-layout-table,
.invoice-manage-page .dt-layout-full {
    overflow: visible;
}

.invoice-manage-page .table {
    margin-bottom: 12px;
}

.invoice-manage-page #data-table th,
.invoice-manage-page #data-table td {
    vertical-align: middle;
}

.invoice-manage-page #data-table th {
    padding: 13px 12px;
}

.invoice-manage-page #data-table td {
    padding: 14px 12px;
    height: 60px;
}

.invoice-manage-page #data-table th:first-child,
.invoice-manage-page #data-table td:first-child {
    width: 38px;
    text-align: center;
}

.invoice-manage-page #data-table th:last-child,
.invoice-manage-page #data-table td:last-child {
    width: 82px;
    text-align: center;
}

.invoice-due {
    color: #ff203f;
    font-weight: 800;
}

.invoice-filter-toggle,
.invoice-filter-toggle:focus {
    display: block;
    width: 100%;
    min-height: 35px;
    margin-bottom: 16px;
    border: 0;
    border-radius: 4px;
    background: var(--table-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: none;
}

.invoice-filter-box {
    display: none;
    margin-top: -16px;
    margin-bottom: 14px;
    padding: 22px 16px 28px;
    border: 2px solid #00ff22;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.invoice-filter-box .form-label {
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.invoice-filter-box .form-control,
.invoice-filter-box .form-select {
    min-height: 38px;
    border-color: #cfd6e3;
    font-size: 14px;
    box-shadow: none;
}

.invoice-action-btn,
.invoice-action-btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 54px;
    height: 36px;
    border: 0;
    border-radius: 20px;
    background: var(--table-accent);
    color: #fff;
    box-shadow: none;
}

.invoice-action-wrap {
    position: relative;
    display: inline-flex;
    justify-content: center;
}

.invoice-action-menu {
    position: fixed;
    z-index: 2050;
    display: none;
    min-width: 160px;
    padding: 8px 0;
    border: 1px solid #cfd6e3;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
    text-align: left;
}

.invoice-action-menu.show {
    display: block;
}

.invoice-action-menu a,
.invoice-action-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 4px;
    padding: 5px 10px;
    border: 0;
    background: transparent;
    color: #263238;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}

.invoice-action-menu a:hover,
.invoice-action-menu button:hover {
    background: #f3f4f6;
    color: #111827;
}

.invoice-action-menu form {
    margin: 0;
}

.invoice-action-menu .delete_btn,
.invoice-action-menu .delete_btn:focus {
    height: auto;
    border-radius: 0;
    background: transparent !important;
    color: #263238 !important;
    box-shadow: none;
}

.invoice-create-page .invoice-card {
    margin-bottom: 16px;
}

.invoice-show-page .page-header-title h4 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 500;
}

.report-manage-page #data-table {
    width: 100% !important;
    min-width: 1500px;
}

.report-manage-page .data-table-card .card-body {
    overflow-x: auto;
    overflow-y: hidden;
}

.report-test-list {
    margin: 0;
    padding-left: 18px;
}

.report-test-list li {
    margin-bottom: 4px;
}

.report-top-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 14px;
}

.report-info-btn,
.report-info-btn:focus {
    border: 0;
    border-radius: 4px;
    background: var(--extra-color);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.report-print-btn,
.report-print-btn:focus {
    border: 0;
    border-radius: 4px;
    background: var(--danger-color);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.report-entry-card {
    border: 0;
    border-top: 0;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(22, 28, 45, 0.14);
}

.report-entry-card > .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 45px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--table-border);
}

.report-entry-card > .card-header h6 {
    margin: 0;
    color: #111827;
    font-size: 15px;
    font-weight: 500;
}

.report-entry-card > .card-header i {
    color: #9ca3af;
    font-size: 18px;
    margin-left: 12px;
    cursor: pointer;
}

.report-entry-card > .card-body {
    padding: 20px;
}

.report-test-tabs {
    display: flex;
    align-items: stretch;
    min-height: 40px;
    margin: 0 0 20px;
    border-radius: 4px 4px 0 0;
    background: var(--table-accent);
    box-shadow: 0 8px 18px rgba(13, 71, 161, 0.11);
}

.report-test-tab {
    min-width: 90px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.report-test-tab.active {
    margin-top: 4px;
    border-radius: 4px 4px 0 0;
    background: #fff;
    color: #111827;
    font-weight: 500;
}

.report-test-panel {
    margin-bottom: 0;
    border: 1px solid #d8dee8;
    background: #fff;
}

.report-test-accordion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 11px 18px;
    border-bottom: 1px solid #d8dee8;
}

.report-test-accordion-head span {
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.report-test-accordion-body {
    padding: 20px;
}

.report-test-title {
    display: none;
}

.report-result-table {
    margin: 20px 20px 12px;
    width: calc(100% - 40px);
}

.report-result-table th {
    padding: 14px 12px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.report-result-table td {
    padding: 12px;
    color: #111827;
    font-size: 14px;
    vertical-align: middle;
}

.report-result-table .form-control,
.report-result-table .form-select {
    min-height: 38px;
    border-color: #cfd6e3;
    box-shadow: none;
}

.report-comment {
    margin: 0 20px 12px;
    min-height: 86px;
    width: calc(100% - 40px);
}

.report-save-btn,
.report-save-btn:focus {
    margin: 0 0 12px 20px;
    border: 0;
    border-radius: 20px;
    background: var(--table-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.report-empty-box {
    padding: 22px;
    text-align: center;
    color: #111827;
}

.report-culture-card {
    margin-top: 16px;
}

.report-patient-modal .modal-body p {
    margin-bottom: 8px;
    color: #1f2937;
}

.report-print-title {
    margin: 24px 0 8px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 800;
}

.report-print-comment {
    margin-top: 18px;
    padding: 12px;
    background: #f3f4f6;
}

.report-print-page .page-header-title h4 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 500;
}

.report-print-page .page-header-title h4 i {
    color: var(--secondary-color);
    font-size: 26px;
    vertical-align: -2px;
}

.report-print-help {
    color: #111827;
    font-size: 14px;
}

.report-print-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 26px;
}

.report-select-btn,
.report-select-btn:focus {
    border: 0;
    border-radius: 4px;
    background: var(--success-color);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(122, 201, 67, 0.24);
}

.report-deselect-btn,
.report-deselect-btn:focus {
    border: 0;
    border-radius: 4px;
    background: var(--danger-color);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(239, 90, 105, 0.22);
}

.report-print-main-btn,
.report-print-main-btn:focus {
    border: 0;
    border-radius: 4px;
    background: var(--table-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.22);
}

.report-print-page .report-info-btn {
    margin-top: 16px;
}

.report-print-section {
    overflow: hidden;
    margin-bottom: 16px;
    border: 0;
    border-radius: 6px 6px 14px 14px;
    box-shadow: 0 3px 12px rgba(22, 28, 45, 0.14);
}

.report-print-section > .card-header {
    min-height: 44px;
    padding: 13px 22px;
    background: var(--table-accent);
    color: #fff;
}

.report-print-section > .card-header h6 {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.report-print-section > .card-body {
    padding: 26px;
}

.report-print-test-card {
    overflow: hidden;
    margin-bottom: 26px;
    border-top: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(22, 28, 45, 0.16);
}

.report-print-test-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 12px 20px;
    border-bottom: 1px solid #d8dee8;
}

.report-print-test-head label {
    margin: 0;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.report-print-tools {
    display: flex;
    gap: 14px;
}

.report-toggle-btn,
.report-remove-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: #000;
    font-size: 20px;
    line-height: 1;
}

.report-print-test-body {
    padding: 20px;
}

.report-test-title-box {
    margin-bottom: 12px;
    padding: 9px;
    border: 2px solid #111;
    background: #dedede;
    color: #111827;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
}

.report-print-table {
    margin-bottom: 0;
}

.report-print-table th {
    padding: 9px 6px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.report-print-table td {
    padding: 12px 6px;
    color: #111827;
    font-size: 14px;
}

.report-print-table th:nth-child(1),
.report-print-table td:nth-child(1) {
    width: 38%;
}

.report-print-table th:nth-child(2),
.report-print-table td:nth-child(2) {
    width: 21%;
    text-align: center;
}

.report-print-table th:nth-child(3),
.report-print-table td:nth-child(3) {
    width: 12%;
    text-align: center;
}

.report-print-table th:nth-child(4),
.report-print-table td:nth-child(4) {
    width: 21%;
    text-align: center;
}

.report-print-table th:nth-child(5),
.report-print-table td:nth-child(5) {
    width: 8%;
    text-align: center;
}

.report-component-title-row td {
    background: #f0f0f0;
    font-weight: 800;
}

.report-print-culture-section .card-body {
    min-height: 74px;
}

@media print {
    .report-print-actions,
    .report-print-page .report-info-btn,
    .breadcrumb,
    .report-print-tools,
    .report-print-check {
        display: none !important;
    }

    .report-print-test-card {
        box-shadow: none;
        break-inside: avoid;
    }
}

.invoice-show-page .page-header-title h4 i {
    color: var(--secondary-color);
    font-size: 25px;
    vertical-align: -2px;
}

.invoice-show-card {
    border: 0;
    border-top: 0;
    border-radius: 5px 5px 12px 12px;
    box-shadow: 0 3px 12px rgba(22, 28, 45, 0.14);
}

.invoice-show-card > .card-header {
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 0;
    background: var(--table-accent);
    color: #fff;
}

.invoice-show-card > .card-header h6 {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.invoice-show-card > .card-body {
    padding: 36px;
}

.invoice-info-table {
    margin-bottom: 40px;
}

.invoice-info-table td {
    width: 50%;
    padding: 7px 6px;
    border-color: #d8dee8;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.invoice-info-table strong {
    display: inline-block;
    padding: 1px 3px;
    background: #dfe3e8;
    color: #111827;
}

.invoice-due-date {
    margin-bottom: 20px;
    color: #1f2937;
    font-size: 17px;
    font-weight: 400;
}

.invoice-tests-table {
    margin-bottom: 0;
}

.invoice-tests-table th {
    padding: 14px 12px;
    background: var(--table-accent) !important;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.invoice-tests-table td {
    padding: 9px 12px;
    border-color: #d8dee8;
    color: #111827;
    font-size: 14px;
}

.invoice-tests-table th:last-child,
.invoice-tests-table td:last-child {
    width: 15%;
}

.invoice-show-summary {
    width: 30%;
    min-width: 470px;
    margin-left: auto;
    padding: 4px 0;
    background: #e9e9e9;
}

.invoice-show-summary .summary-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr);
    gap: 24px;
    padding: 8px 10px;
    color: #111827;
    font-size: 14px;
}

.invoice-show-summary .summary-row strong {
    font-weight: 800;
}

.invoice-show-actions {
    display: flex;
    gap: 4px;
    padding: 12px 20px;
    border-top: 0;
    background: #f3f3f3;
}

.invoice-print-btn,
.invoice-print-btn:focus {
    border: 0;
    border-radius: 4px;
    background: var(--danger-color);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.invoice-barcode-btn,
.invoice-barcode-btn:focus {
    border: 0;
    border-radius: 4px;
    background: var(--accent-color);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.invoice-print-btn:hover,
.invoice-barcode-btn:hover {
    color: #fff;
    opacity: 0.9;
}

@media print {
    .wsit-sidebar,
    .wsit-header,
    .wsit-footer,
    .page-header,
    .invoice-show-actions {
        display: none !important;
    }

    .wsit-container,
    .wsit-content {
        margin: 0 !important;
        padding: 0 !important;
    }

    .invoice-show-card {
        box-shadow: none;
    }
}

.invoice-receipt-page .wsit-content {
    padding-left: 14px;
    padding-right: 14px;
}

.invoice-screen-header {
    padding-bottom: 16px;
}

.invoice-a4-sheet {
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto 28px;
    padding: 12mm;
    background: #fff;
    color: #111;
    border: 1px solid #d8d8d8;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 1.35;
}

.invoice-print-header {
    display: grid;
    grid-template-columns: 1fr 56mm;
    gap: 8mm;
    align-items: start;
    padding-bottom: 5mm;
    border-bottom: 1px solid #111;
}

.invoice-company-block {
    display: grid;
    grid-template-columns: 22mm 1fr;
    gap: 4mm;
    align-items: start;
}

.invoice-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22mm;
    height: 22mm;
    border: 1px solid #222;
    color: #111;
    font-size: 16px;
    font-weight: 800;
}

.invoice-logo-box img {
    max-width: 19mm;
    max-height: 19mm;
    object-fit: contain;
}

.invoice-company-block h1 {
    margin: 0 0 2mm;
    color: #111;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0;
}

.invoice-company-block p,
.invoice-meta-block p {
    margin: 0 0 1mm;
    color: #222;
}

.invoice-meta-block {
    text-align: right;
}

.invoice-meta-block strong {
    display: block;
    margin-bottom: 1.5mm;
    color: #111;
    font-size: 13px;
    letter-spacing: 1px;
}

.invoice-barcode-lines {
    width: 48mm;
    height: 13mm;
    margin: 0 0 2mm auto;
    background: repeating-linear-gradient(90deg, #111 0 1px, #fff 1px 3px, #111 3px 5px, #fff 5px 7px, #111 7px 8px, #fff 8px 11px);
}

.invoice-title-band {
    padding: 3mm 0 2.5mm;
    text-align: center;
}

.invoice-title-band h2 {
    display: inline-block;
    margin: 0;
    padding: 1.5mm 10mm;
    border: 1px solid #111;
    color: #111;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.invoice-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #222;
    border-left: 1px solid #222;
}

.invoice-info-item {
    display: grid;
    grid-template-columns: 34mm 1fr;
    min-height: 8mm;
    border-right: 1px solid #222;
    border-bottom: 1px solid #222;
}

.invoice-info-item span,
.invoice-info-item strong {
    padding: 1.8mm 2.2mm;
    color: #111;
    font-size: 11px;
}

.invoice-info-item span {
    background: #f2f2f2;
    border-right: 1px solid #bbb;
    font-weight: 700;
}

.invoice-info-item strong {
    font-weight: 600;
}

.invoice-section {
    margin-top: 6mm;
}

.invoice-section h3,
.invoice-payment-card h3 {
    margin: 0 0 2mm;
    color: #111;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.invoice-investigation-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.invoice-investigation-table th,
.invoice-investigation-table td {
    padding: 2mm 1.8mm;
    border: 1px solid #222;
    color: #111;
    font-size: 10.5px;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.invoice-investigation-table th {
    background: #eee;
    font-weight: 900;
    text-align: center;
}

.invoice-investigation-table th:nth-child(1),
.invoice-investigation-table td:nth-child(1) {
    width: 8mm;
    text-align: center;
}

.invoice-investigation-table th:nth-child(2),
.invoice-investigation-table td:nth-child(2) {
    width: 19mm;
}

.invoice-investigation-table th:nth-child(4),
.invoice-investigation-table td:nth-child(4) {
    width: 22mm;
}

.invoice-investigation-table th:nth-child(5),
.invoice-investigation-table td:nth-child(5) {
    width: 11mm;
    text-align: center;
}

.invoice-investigation-table th:nth-child(6),
.invoice-investigation-table td:nth-child(6),
.invoice-investigation-table th:nth-child(7),
.invoice-investigation-table td:nth-child(7),
.invoice-investigation-table th:nth-child(8),
.invoice-investigation-table td:nth-child(8) {
    width: 24mm;
    text-align: right;
}

.invoice-empty-row {
    text-align: center !important;
}

.invoice-lower-grid {
    display: grid;
    grid-template-columns: 1fr 72mm;
    gap: 8mm;
    align-items: start;
    margin-top: 6mm;
}

.invoice-payment-card {
    border: 1px solid #222;
    padding: 3mm;
}

.invoice-payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5mm;
    margin-bottom: 3mm;
}

.invoice-payment-methods span {
    display: block;
    padding: 1.5mm 2mm;
    border: 1px solid #999;
    color: #333;
    font-weight: 700;
    text-align: center;
}

.invoice-payment-methods span.active {
    border-color: #111;
    background: #111;
    color: #fff;
}

.invoice-payment-card dl {
    display: grid;
    grid-template-columns: 30mm 1fr;
    margin: 0;
}

.invoice-payment-card dt,
.invoice-payment-card dd {
    margin: 0;
    padding: 1.5mm 0;
    color: #111;
}

.invoice-summary-card {
    border: 1px solid #222;
}

.invoice-summary-card div {
    display: grid;
    grid-template-columns: 1fr 31mm;
    border-bottom: 1px solid #ccc;
}

.invoice-summary-card div:last-child {
    border-bottom: 0;
}

.invoice-summary-card span,
.invoice-summary-card strong {
    padding: 1.8mm 2.2mm;
    color: #111;
    font-size: 11px;
}

.invoice-summary-card span {
    font-weight: 700;
}

.invoice-summary-card strong {
    text-align: right;
}

.invoice-summary-card .important {
    background: #eee;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}

.invoice-words-box {
    margin-top: 5mm;
    padding: 2.2mm 3mm;
    border: 1px solid #222;
    color: #111;
    font-size: 11px;
}

.invoice-words-box strong {
    margin-right: 2mm;
}

.invoice-print-footer {
    margin-top: 8mm;
}

.invoice-terms {
    min-height: 18mm;
    padding: 2.5mm 3mm;
    border: 1px solid #222;
}

.invoice-terms strong {
    display: block;
    margin-bottom: 1mm;
    color: #111;
    font-size: 11px;
}

.invoice-terms p {
    margin: 0 0 1mm;
    color: #222;
    font-size: 10px;
}

.invoice-signature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7mm;
    margin-top: 18mm;
}

.invoice-signature-grid span {
    display: block;
    height: 1px;
    border-top: 1px solid #111;
}

.invoice-signature-grid p {
    margin: 2mm 0 0;
    color: #111;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.invoice-print-meta {
    display: flex;
    justify-content: space-between;
    gap: 8mm;
    margin-top: 7mm;
    color: #222;
    font-size: 10px;
}

.invoice-reference-layout {
    position: relative;
    min-height: 286mm;
    padding: 10mm 9mm 8mm;
    font-size: 11px;
}

.invoice-reference-layout .invoice-print-header {
    grid-template-columns: 1fr 62mm;
    gap: 6mm;
    padding-bottom: 2.5mm;
    border-bottom: 0;
}

.invoice-reference-layout .invoice-company-block {
    grid-template-columns: 24mm 1fr;
    gap: 3mm;
}

.invoice-reference-layout .invoice-logo-box {
    width: 23mm;
    height: 18mm;
    border: 0;
}

.invoice-reference-layout .invoice-logo-box img {
    max-width: 23mm;
    max-height: 18mm;
}

.invoice-reference-layout .invoice-company-block h1 {
    margin-bottom: 0;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
}

.invoice-tagline {
    font-size: 10.5px;
    font-weight: 700;
}

.invoice-reference-layout .invoice-company-block p {
    margin-bottom: 0.5mm;
    font-size: 9.5px;
}

.invoice-vat-line {
    margin-bottom: 1mm !important;
    font-size: 11px;
    font-weight: 700;
}

.invoice-reference-layout .invoice-barcode-lines {
    width: 48mm;
    height: 12mm;
}

.invoice-reference-layout .invoice-title-band {
    padding: 0 0 1mm;
    border-bottom: 1px solid #111;
}

.invoice-reference-layout .invoice-title-band h2 {
    display: block;
    padding: 0;
    border: 0;
    font-size: 14px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
}

.invoice-reference-info {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18mm;
    padding: 2mm 0 1mm;
}

.invoice-reference-field {
    display: grid;
    grid-template-columns: 28mm 1fr;
    min-height: 6mm;
    align-items: baseline;
}

.invoice-reference-field span {
    color: #222;
    font-size: 11px;
}

.invoice-reference-field span::after {
    content: ":";
    float: right;
    padding-right: 2mm;
}

.invoice-reference-field strong {
    color: #111;
    font-size: 11px;
    font-weight: 700;
}

.invoice-address-line {
    display: grid;
    grid-template-columns: 28mm 1fr;
    min-height: 6mm;
    align-items: baseline;
    padding-bottom: 1mm;
}

.invoice-address-line span {
    font-size: 11px;
}

.invoice-address-line span::after {
    content: ":";
    float: right;
    padding-right: 2mm;
}

.invoice-address-line strong {
    font-size: 11px;
    font-weight: 600;
}

.invoice-reference-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-top: 1px solid #111;
}

.invoice-reference-table th,
.invoice-reference-table td {
    padding: 1.7mm 1.5mm;
    border: 0;
    color: #111;
    font-size: 11px;
    vertical-align: top;
}

.invoice-reference-table th {
    border-bottom: 1px solid #111;
    font-weight: 500;
}

.invoice-reference-table th:nth-child(1),
.invoice-reference-table td:nth-child(1) {
    width: 10mm;
    text-align: center;
}

.invoice-reference-table th:nth-child(3),
.invoice-reference-table td:nth-child(3) {
    width: 24mm;
    text-align: right;
}

.invoice-reference-table th:nth-child(4),
.invoice-reference-table td:nth-child(4) {
    width: 30mm;
    text-align: right;
}

.invoice-department-row td {
    padding-top: 2mm;
    padding-bottom: 0.5mm;
    font-weight: 800;
}

.invoice-reference-total-area {
    display: grid;
    grid-template-columns: 1fr 56mm;
    gap: 8mm;
    min-height: 38mm;
    margin-top: 1mm;
}

.invoice-payment-line {
    align-self: end;
    padding-bottom: 3mm;
}

.invoice-payment-line p {
    margin: 0 0 2mm;
    color: #111;
    font-size: 11px;
}

.invoice-reference-summary {
    align-self: start;
    border-top: 1px solid #111;
}

.invoice-reference-summary div {
    display: grid;
    grid-template-columns: 1fr 25mm;
    min-height: 7mm;
    align-items: center;
}

.invoice-reference-summary span,
.invoice-reference-summary strong {
    color: #111;
    font-size: 11px;
}

.invoice-reference-summary strong {
    text-align: right;
    font-weight: 800;
}

.invoice-signature-line {
    min-height: 30mm;
    padding-right: 5mm;
    text-align: right;
}

.invoice-signature-line strong {
    display: inline-block;
    margin-top: 9mm;
    font-size: 12px;
}

.invoice-delivery-box {
    width: 66mm;
    margin: 4mm 23mm 10mm auto;
    border: 1px solid #111;
    color: #111;
    transform: rotate(-8deg);
    transform-origin: center;
}

.invoice-delivery-box h3 {
    margin: 0;
    padding: 1.6mm 2mm 0.5mm;
    border-bottom: 1px solid #111;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
}

.invoice-delivery-box p {
    margin: 0;
    padding: 0.8mm 2mm 1.3mm;
    border-bottom: 1px solid #111;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.invoice-delivery-box div {
    display: grid;
    grid-template-columns: 17mm 1fr;
    min-height: 8mm;
    align-items: center;
    border-bottom: 1px dotted #111;
}

.invoice-delivery-box div:last-child {
    border-bottom: 0;
}

.invoice-delivery-box span,
.invoice-delivery-box strong {
    padding: 1mm 2mm;
    font-size: 13px;
}

.invoice-delivery-box span {
    border-right: 1px solid #111;
    font-weight: 800;
}

.invoice-delivery-box strong {
    font-weight: 700;
}

.invoice-reference-footer {
    margin-top: auto;
}

.invoice-reference-note {
    min-height: 10mm;
    padding: 1.5mm 2mm;
    border: 1px solid #111;
    color: #222;
    font-size: 8.5px;
}

.invoice-reference-print-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4mm;
    padding: 2mm 0;
    color: #222;
    font-size: 9.5px;
}

.invoice-reference-company-line {
    border-top: 1px solid #111;
    padding-top: 1.5mm;
    color: #111;
    font-size: 9.5px;
    text-align: center;
}

@media (max-width: 991px) {
    .invoice-a4-sheet {
        width: 100%;
        min-height: auto;
        padding: 18px;
    }

    .invoice-print-header,
    .invoice-lower-grid {
        grid-template-columns: 1fr;
    }

    .invoice-info-grid {
        grid-template-columns: 1fr;
    }

    .invoice-meta-block {
        text-align: left;
    }

    .invoice-barcode-lines {
        margin-left: 0;
    }

    .invoice-reference-info,
    .invoice-reference-total-area,
    .invoice-reference-layout .invoice-print-header {
        grid-template-columns: 1fr;
    }

    .invoice-delivery-box {
        margin: 18px auto 28px;
        transform: none;
    }
}

@page {
    size: A4;
    margin: 8mm;
}

@media print {
    body {
        background: #fff !important;
    }

    .wsit-sidebar,
    .wsit-header,
    .wsit-footer,
    .invoice-screen-header {
        display: none !important;
    }

    .invoice-receipt-page,
    .invoice-receipt-page .wsit-content {
        top: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .invoice-a4-sheet {
        width: auto;
        min-height: auto;
        margin: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .invoice-investigation-table thead,
    .invoice-reference-table thead {
        display: table-header-group;
    }

    .invoice-investigation-table tr,
    .invoice-reference-table tr,
    .invoice-summary-card,
    .invoice-payment-card,
    .invoice-words-box,
    .invoice-terms,
    .invoice-signature-grid,
    .invoice-delivery-box,
    .invoice-reference-note {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .invoice-section,
    .invoice-lower-grid,
    .invoice-print-footer,
    .invoice-reference-footer {
        break-inside: auto;
    }

    .invoice-delivery-box {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

.invoice-create-page .invoice-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.invoice-create-page .form-label {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
}

.invoice-create-page .form-control,
.invoice-create-page .form-select {
    min-height: 38px;
    border-color: #cfd6e3;
    color: #111827;
    font-size: 14px;
    box-shadow: none !important;
}

.invoice-create-page input[readonly] {
    background: #e8edf3;
}

.invoice-warning-btn,
.invoice-warning-btn:focus {
    background: var(--accent-color) !important;
    border: 0;
    color: #fff !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
}

.invoice-item-table {
    width: 100% !important;
}

.invoice-item-table thead th {
    background: var(--table-accent) !important;
    color: #fff;
    font-size: 13px;
}

.invoice-check-label {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    color: #111827;
    font-weight: 800;
}

.invoice-receipt-card .card-body {
    max-width: 1060px;
    margin: 0 auto;
}

.invoice-receipt-row {
    display: grid;
    grid-template-columns: 220px minmax(260px, 1fr) 90px;
    align-items: center;
    gap: 24px;
    padding: 12px;
    border-top: 1px solid #dde3ea;
}

.invoice-receipt-row:first-child {
    border-top: 0;
}

.invoice-receipt-row label {
    margin: 0;
    color: #111827;
    font-size: 15px;
    font-weight: 500;
}

.invoice-clear-btn,
.invoice-clear-btn:focus {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--danger-color);
    color: #fff;
}

.invoice-cancel-btn,
.invoice-cancel-btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    background: var(--danger-color);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
}

.invoice-cancel-btn:hover {
    background: var(--danger-color);
    color: #fff;
}

@media (max-width: 767px) {
    .page-header .row {
        gap: 12px;
    }

    .page-header .col-auto {
        width: 100%;
    }

    .quick_btn {
        display: flex;
        justify-content: flex-start;
    }

    .page-content .data-table-card .card-header,
    .page-content .data-table-card .card-body,
    .page-content .card:has(#data-table) .card-header,
    .page-content .card:has(#data-table) .card-body {
        padding-left: 12px;
        padding-right: 12px;
    }

    .dt-container,
    .dataTables_wrapper,
    #data-table {
        min-width: 680px;
    }

    .dt-layout-row,
    .dataTables_wrapper > .row {
        display: block;
    }

    .dt-length,
    .dt-search,
    .dataTables_length,
    .dataTables_filter {
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 10px;
    }

    .dt-search input,
    .dataTables_filter input {
        width: min(100%, 220px);
    }

    .dt-buttons {
        justify-content: flex-start;
    }

    .dt-buttons button.dt-button,
    .dt-buttons .dt-button {
        flex: 1 1 33.333%;
        min-width: 96px;
    }

    .test-components-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .invoice-create-page .invoice-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .invoice-receipt-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-left: 0;
        padding-right: 0;
    }

    .dt-info,
    .dataTables_info,
    .dt-paging,
    .dataTables_paginate {
        justify-content: flex-start;
        text-align: left;
    }
}





.dashboard-page {
    background: var(--body-bg);
}

.dashboard-page .wsit-content {
    padding-top: 10px;
}

.dashboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.dashboard-heading h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 23px;
    font-weight: 700;
}

.dashboard-heading h4 i {
    color: var(--secondary-color);
    font-size: 26px;
}

.dashboard-heading span {
    color: #475569;
    font-size: 14px;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.dashboard-top-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(18, 48, 71, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-top-card:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(18, 48, 71, 0.24);
}

.dashboard-top-card:nth-child(2),
.dashboard-top-card:nth-child(5) {
    background: linear-gradient(135deg, #0f4f66 0%, var(--secondary-color) 100%);
}

.dashboard-top-card:nth-child(3),
.dashboard-top-card:nth-child(6) {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--extra-color) 100%);
}

.dashboard-top-card:nth-child(4) {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
}

.dashboard-top-card div {
    position: relative;
    z-index: 2;
    padding: 14px 10px 0;
}

.dashboard-top-card strong {
    display: block;
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

.dashboard-top-card span {
    display: block;
    margin-top: 12px;
    font-size: 16px;
    font-weight: 800;
}

.dashboard-top-card > i {
    position: absolute;
    right: 18px;
    top: 22px;
    color: rgba(255, 255, 255, 0.16);
    font-size: 68px;
}

.dashboard-top-card small {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 28px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.dashboard-money-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.dashboard-money-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    min-height: 80px;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--secondary-color), #0d9488);
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.dashboard-money-card:nth-child(2) {
    background: linear-gradient(135deg, var(--accent-color-dark), var(--accent-color));
    box-shadow: 0 10px 22px rgba(245, 158, 11, 0.2);
}

.dashboard-money-card:nth-child(3) {
    background: linear-gradient(135deg, var(--success-color), #22c55e);
    box-shadow: 0 10px 22px rgba(21, 128, 61, 0.18);
}

.dashboard-money-card i {
    font-size: 34px;
}

.dashboard-money-card span {
    display: block;
    font-size: 15px;
    font-weight: 800;
}

.dashboard-money-card strong {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 900;
}

.dashboard-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 14px;
    margin-bottom: 16px;
}

.dashboard-work-card {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    min-height: 80px;
    padding: 13px 24px;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.dashboard-work-card.blue {
    background: linear-gradient(135deg, var(--secondary-color), var(--extra-color));
}

.dashboard-work-card.amber {
    background: linear-gradient(135deg, var(--accent-color-dark), var(--accent-color));
    color: #101827;
}

.dashboard-work-card.green {
    background: linear-gradient(135deg, var(--success-color), #22c55e);
}

.dashboard-work-card > i {
    color: #fff;
    font-size: 36px;
}

.dashboard-work-card.amber > i {
    color: #14213d;
}

.dashboard-work-card span {
    display: block;
    font-size: 15px;
    font-weight: 800;
}

.dashboard-work-card strong {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 900;
}

.dashboard-panel {
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 0 0 12px 12px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(18, 48, 71, 0.1);
}

.dashboard-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 9px 18px;
    color: #fff;
}

.dashboard-panel-head.green {
    background: linear-gradient(135deg, var(--secondary-color), var(--success-color));
}

.dashboard-panel-head.red {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.dashboard-panel-head h6 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.dashboard-panel-head div {
    display: flex;
    gap: 14px;
    font-size: 18px;
}

.dashboard-panel-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    padding: 20px;
}

.dashboard-panel-body p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 1399px) {
    .dashboard-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .dashboard-money-grid,
    .dashboard-work-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .home-visit-patient-head,
    .home-visit-map-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-visit-map-body iframe {
        height: 330px;
    }

    .dashboard-stat-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

