@font-face {
    font-family: 'Titilium';
    src: url('../../lib/fonts/titilliumweb-regular-webfont.eot');
    src: url('../../lib/fonts/titilliumweb-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../../lib/fonts/titilliumweb-regular-webfont.woff2') format('woff2'),
         url('../../lib/fonts/titilliumweb-regular-webfont.woff') format('woff'),
         url('../../lib/fonts/titilliumweb-regular-webfont.ttf') format('truetype'),
         url('../../lib/fonts/titilliumweb-regular-webfont.svg#titillium_webregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	font-family: "Titilium", "Raleway", "Segoe UI", "Helvetica", "Arial", sans-serif;
    background-color: #efefef;
}

/*Typografi Stayle*/
a {
    color: #0f9647;
}
a:hover {
    color: #09602d;
}

/*Toggle Icon & Sidebar*/
.toggle.front#sidenav-toggle {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #333333;
    cursor: pointer;
}
.toggle.back#sidenav-toggle {
    position: absolute;
    top: 25px;
    left: 15px;
    color: #333333;
    cursor: pointer;
}
.toggle#sidenav-toggle:hover {
    color: #0f9647;
}
img.logo-sidebar {
    width:auto;
    max-height: 48px;
    margin-left: 10px;
    margin-right: 5px;
}
i.fa.fa-angle-left, i.fa.fa-bars {
    font-size: 1.5em;
}

/*Navbar Custom*/
.navbar-default {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 15px;
}
.navbar-brand {
    padding-left: 30px;
}
.navbar {
    border-radius: 0;
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
    color: #0f9647;
}
.navbar-default .navbar-brand {
    color: #333;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color: #0f9647;
}
.navbar-default .navbar-nav > li > a {
    color: #333;
}
.dropdown-menu.right-text {
    left: -70px;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: #333;
    background-color: rgba(0,0,0,.05);
}
.dropdown-menu {
    border-radius:none;
}
a.nav-link {
    color: #333;
}
a.nav-link:hover {
    color: #0f9647;
}

/* Card Panel */
.card {
    border-radius: 0px;
}
.card-title {
    margin-bottom: 0px;
}
.card.is-icon-box:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 16px 0 rgba(0, 0, 0, 0.20);
}

/*PopUp Edit Box*/
.popup_box {
    position:absolute;
    z-index:10;   
    width:100px;
    height:auto;
    color:#333333;
    background:#ffffff;
    display: none;
}
#edit_btn.btn-block, #delete_btn.btn-block, #reset_btn.btn-block, #view_btn.btn-block {
    margin-top: 0;
}
button.btn-block.btn-popup {
    margin-top: 0;
}

/*Form Control*/
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.form-control:focus {
    border-color:#0f9647;
    box-shadow:0 0 0 .2rem rgba(15,150,71,0.05);
}
.btn-default.focus, .btn-default:focus {
    color: #fff;
    background-color:#0f9647;
    border-color:#0f9647;
}
.btn-default:hover {
    color: #fff;
    background-color:#0f9647;
    border-color:#0f9647;
}
.btn-default:active:hover, .btn-default.active:hover, .open > .dropdown-toggle.btn-default:hover, .btn-default:active:focus, .btn-default.active:focus, .open > .dropdown-toggle.btn-default:focus, .btn-default:active.focus, .btn-default.active.focus, .open > .dropdown-toggle.btn-default.focus {
    color: #fff;
    background-color:#09602d;
    border-color:#09602d;
}
.btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default {
    color: #fff;
    background-color:#09602d;
    border-color:#09602d;
}

/*Pagination*/
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #0f9647;
    border-color: #0f9647;
}
.pagination > li > a, .pagination > li > span {
    color: #0f9647;
}
.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    color: #09602d;
}

/*Dropdown*/
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    color: #fff;
    background-color: #0f9647;
}

/*Jumbotron*/
.jumbotron {
    padding: 25px;
    margin-bottom: 15px;
}
.jumbotron p {
    font-size: 16px;
}

/*Navbar Sidemenu*/
.nav > li > a:hover, .nav > li > a:focus {
    background-color: transparent;
    color: #0f9647;
}
.nav > li > a {
    color: #333;
    border-radius: 0;
}

/*Option Style*/
.is-no-padding {
    padding: 0;
}
.is-shadow-bottom {
    box-shadow: 0px 15px 5px -15px #111;
}
.is-shadow-panel {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.is-icon-box {
    margin-bottom: 10px;
}
.is-icon-box-fa {
    min-height: 120px;
}
.is-link {
    color: #333;
}
.is-link:hover {
    color: #0f9647;
    text-decoration: none;
}

/*Breadcrumb*/
.breadcrumb {
    border: 1px solid #c6c6c6c6;
}

/* Tabel Custom*/
.table > thead > tr > th {
    text-align: center;
    vertical-align: middle;
}
.table > tbody > tr > td {
    vertical-align: middle;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 5px;
}

/* Icon Searching */
i.fa.button-modal-ceklis {
    cursor: pointer;
}

/* Tabel datatables custom */
.page-item.active .page-link {
    color: #ffffff;
    background-color: #0f9647;
    border-color: #dee2e6;
}
.page-item.active .page-link:hover {
    color: #fff;
}

/*Login Box*/
div.card.login-box{
    max-width: 420px;
    margin-top:14%;
    margin-left:60%;
    background-color: rgba(0, 0, 0, 0.1);
    color:white;
    border-radius: 20px;
}

/* Loading Bar */
#loading .overlay {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(225,225,225,0.3);
  z-index: 99999;
  float: right;
}
#loading {
  z-index: 99999;
  display: none;
}
.loader label{ color:black;font-weight: bold; padding: 5px}
.loader {z-index: 999999; background-color: white; padding: 5px 10px 5px 5px; border-radius: 0px 0px 30px 0px; position: fixed; float: left; top: 0px}
.loader img{width: 44px}

.progress {
    position: relative;
    height: 25px;
}
.progress > .progress-type {
    position: absolute;
    left: 0px;
    font-weight: 800;
    padding: 3px 30px 2px 10px;
    color: rgb(255, 255, 255);
    background-color: rgba(25, 25, 25, 0.2);
}
.progress > .progress-completed {
    position: absolute;
    right: 0px;
    font-weight: 800;
    padding: 3px 10px 2px;
}

/* Authenticated application shell */
body.app-layout {
    min-height: 100vh;
    background: #f5f7fb;
    color: #20294f;
}

.app-main {
    min-height: 100vh;
    margin-left: 270px;
    transition: margin-left .25s ease;
}

.app-content {
    min-height: calc(100vh - 76px);
}

.app-header.navbar-default {
    position: sticky;
    top: 0;
    z-index: 90;
    min-height: 76px;
    margin-bottom: 0;
    padding: 10px 30px;
    background: #ffffff !important;
    border: 0;
    border-bottom: 1px solid #eef1f6;
    box-shadow: 0 4px 18px rgba(37, 51, 89, .04);
}

.app-header-left,
.app-header .navbar-brand,
.app-header .profile-dropdown > a,
.app-sidebar-brand,
.sidebar-account {
    display: flex;
    align-items: center;
}

.app-header .navbar-brand {
    gap: 10px;
    padding-left: 0;
    color: #20294f;
    font-size: 16px;
    font-weight: 700;
}

.app-header .navbar-brand:hover {
    color: #2d7ff9;
}

.header-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: linear-gradient(145deg, #2d8cff, #1d6de4);
    border-radius: 12px;
}

.app-header .profile-dropdown > a {
    gap: 10px;
    padding: 4px 0 4px 12px;
    color: #273056;
}

.header-avatar,
.sidebar-account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #2d7ff9;
    background: #edf5ff;
    border: 1px solid #dbeaff;
    border-radius: 50%;
}

.header-user-copy,
.sidebar-account > span:last-child,
.sidebar-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-user-copy strong {
    max-width: 180px;
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-user-copy small,
.sidebar-account small,
.sidebar-brand-copy small {
    margin-top: 3px;
    color: #9099ad;
    font-size: 11px;
}

.app-header .dropdown-menu {
    margin-top: 12px;
    padding: 8px;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(31, 42, 86, .12);
}

.app-header .dropdown-item {
    padding: 9px 12px;
    color: #39415f;
    border-radius: 8px;
}

.app-sidenav.sidenav {
    display: flex;
    flex-direction: column;
    width: 270px;
    overflow-x: hidden;
    background: #ffffff;
    border-right: 1px solid #edf0f5;
    box-shadow: none;
    transform: translate(0, 0);
    z-index: 100;
}

.app-sidenav .sidenav-brand {
    min-height: 108px;
    padding: 22px 18px 18px;
    background: #ffffff;
    box-shadow: none;
}

.app-sidebar-brand {
    gap: 12px;
    min-width: 0;
    color: #20294f;
    text-decoration: none;
}

.app-sidebar-brand:hover {
    color: #2d7ff9;
    text-decoration: none;
}

.sidebar-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    overflow: hidden;
    background: #f5f8fc;
    border: 1px solid #edf0f5;
    border-radius: 14px;
}

.app-sidenav img.logo-sidebar {
    max-width: 46px;
    max-height: 46px;
    margin: 0;
    object-fit: contain;
}

.sidebar-brand-copy {
    min-width: 0;
    text-align: left;
}

.sidebar-brand-copy strong {
    display: block;
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-section-label {
    padding: 6px 26px 10px;
    color: #a0a8b8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.app-sidenav .sidenav-menu {
    flex: 1 0 auto;
    padding-bottom: 20px;
}

.app-sidenav .sidenav-menu li {
    margin: 3px 14px;
    box-shadow: none;
}

.app-sidenav .sidenav-menu a {
    min-height: 46px;
    padding: 14px 18px 12px 50px;
    color: #626b7f;
    line-height: 18px;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.app-sidenav .sidenav-menu a:hover,
.app-sidenav .sidenav-menu a.active {
    color: #ffffff;
    background: linear-gradient(110deg, #63a9e8, #4c8bc7);
    transform: translateX(2px);
}

.app-sidenav .sidenav-link-icon {
    top: 12px;
    left: 15px;
    color: #5b9be0;
}

.app-sidenav .sidenav-menu a:hover .sidenav-link-icon,
.app-sidenav .sidenav-menu a.active .sidenav-link-icon,
.app-sidenav .sidenav-menu a:hover .sidenav-dropdown-icon,
.app-sidenav .sidenav-menu a.active .sidenav-dropdown-icon {
    color: #ffffff;
}

.app-sidenav .sidenav-link-title {
    padding: 0;
}

.app-sidenav .sidenav-dropdown {
    margin-top: 5px;
}

.app-sidenav .sidenav-dropdown li {
    margin-right: 0;
    margin-left: 18px;
}

.app-sidenav .sidenav-dropdown a {
    min-height: 40px;
    padding: 11px 14px 10px 34px;
    background: #f7f9fc;
    color: #6f7789;
    font-size: 13px;
}

.app-sidenav .sidenav-dropdown a:hover,
.app-sidenav .sidenav-dropdown a.active {
    background: #edf5ff;
    color: #2d7ff9;
}

.sidebar-account {
    gap: 10px;
    margin: auto 16px 18px;
    padding: 13px;
    background: #f7f9fc;
    border: 1px solid #edf0f5;
    border-radius: 12px;
}

.sidebar-account strong {
    max-width: 145px;
    overflow: hidden;
    color: #313a5d;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-layout .toggle.front#sidenav-toggle,
.app-layout .toggle.back#sidenav-toggle {
    display: none;
}

.app-config-menu {
    padding: 22px 28px 0;
}

.app-config-menu .nav-tabs {
    padding: 6px;
    background: #ffffff;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 7px 22px rgba(31, 42, 86, .05);
}

.app-config-menu .nav-link {
    border: 0;
    border-radius: 8px;
}

.app-main > .container {
    max-width: none;
}

.app-main .footer {
    border-color: #e4e8f0;
}

/* Dashboard */
.dashboard-page {
    max-width: 1580px;
    margin: 0 auto;
    padding: 30px;
}

.dashboard-heading,
.section-heading,
.panel-heading-clean,
.profile-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-heading {
    gap: 24px;
    margin-bottom: 24px;
}

.dashboard-breadcrumb,
.section-kicker {
    color: #2d7ff9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
}

.dashboard-heading h1,
.section-heading h2,
.panel-heading-clean h2,
.dashboard-profile-card h3 {
    margin: 4px 0 0;
    color: #20294f;
    font-weight: 700;
}

.dashboard-heading h1 {
    font-size: 25px;
}

.dashboard-date {
    color: #313a5d;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-date i {
    margin-right: 8px;
    color: #2d7ff9;
}

.dashboard-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, .8fr);
    gap: 22px;
    margin-bottom: 22px;
}

.dashboard-welcome-card,
.dashboard-profile-card,
.dashboard-panel {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(31, 42, 86, .07);
}

.dashboard-welcome-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 220px;
    overflow: hidden;
    padding: 34px 42px;
    color: #ffffff;
    background: linear-gradient(120deg, #1675ed 0%, #2e8cf7 62%, #5aa9ff 100%);
}

.dashboard-welcome-card::before,
.dashboard-welcome-card::after,
.summary-card::after,
.quick-report-card::after {
    position: absolute;
    content: '';
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-welcome-card::before {
    right: 22%;
    bottom: -120px;
    width: 410px;
    height: 250px;
    background: rgba(255, 255, 255, .08);
    transform: rotate(-12deg);
}

.dashboard-welcome-card::after {
    top: -120px;
    right: -80px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, .12);
}

.welcome-copy {
    position: relative;
    z-index: 2;
    max-width: 52%;
}

.welcome-eyebrow {
    font-size: 14px;
    font-weight: 600;
    opacity: .86;
}

.dashboard-welcome-card h2 {
    margin: 4px 0 16px;
    font-size: 28px;
    font-weight: 800;
}

.dashboard-welcome-card p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.dashboard-welcome-card img {
    position: absolute;
    z-index: 1;
    right: -2px;
    bottom: -72px;
    width: 330px;
    max-height: 310px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.dashboard-profile-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    padding: 24px;
}

.dashboard-profile-card h3 {
    max-width: 220px;
    font-size: 17px;
}

.profile-card-heading > div > span {
    color: #8c95a8;
    font-size: 12px;
}

.profile-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #2d7ff9;
    background: #edf5ff;
    border-radius: 12px;
}

.dashboard-profile-card > img {
    width: 74px;
    height: 60px;
    margin: 18px auto 12px;
    object-fit: contain;
}

.dashboard-profile-card p {
    margin: 0;
    color: #727c91;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.dashboard-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.summary-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 138px;
    overflow: hidden;
    padding: 20px 22px;
    color: #ffffff;
    border-radius: 13px;
    box-shadow: 0 8px 18px rgba(41, 75, 137, .14);
}

a.summary-card:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.summary-card::after {
    right: -50px;
    bottom: -85px;
    width: 210px;
    height: 170px;
    background: rgba(255, 255, 255, .1);
}

.summary-blue { background: linear-gradient(135deg, #0877ef, #2c91fa); }
.summary-cyan { background: linear-gradient(135deg, #25aac6, #47bdd2); }
.summary-purple { background: linear-gradient(135deg, #7442a7, #9b63c4); }
.summary-indigo { background: linear-gradient(135deg, #5b54e8, #766ff4); }

.summary-icon {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 24px;
    opacity: .42;
}

.summary-label {
    position: relative;
    z-index: 1;
    padding-right: 30px;
    font-size: 13px;
    font-weight: 600;
}

.summary-card strong {
    position: relative;
    z-index: 1;
    margin-top: 6px;
    font-size: 32px;
    line-height: 1;
}

.summary-note {
    position: relative;
    z-index: 1;
    margin-top: auto;
    font-size: 11px;
    opacity: .86;
}

.summary-note i {
    margin-left: 5px;
}

.dashboard-section {
    margin-bottom: 26px;
}

.section-heading {
    margin-bottom: 16px;
}

.section-heading h2,
.panel-heading-clean h2 {
    font-size: 20px;
}

.section-helper {
    color: #8b94a6;
    font-size: 12px;
}

.quick-report-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.quick-report-card {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr 24px;
    grid-template-rows: auto auto;
    gap: 0 13px;
    min-height: 132px;
    overflow: hidden;
    padding: 18px;
    color: #ffffff;
    border-radius: 13px;
    box-shadow: 0 7px 18px rgba(31, 42, 86, .1);
    transition: transform .2s ease, box-shadow .2s ease;
}

.quick-report-card:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(31, 42, 86, .16);
}

.quick-report-card::after {
    right: -38px;
    bottom: -68px;
    width: 170px;
    height: 140px;
    background: rgba(255, 255, 255, .09);
}

.report-blue { background: linear-gradient(135deg, #1978e9, #439df4); }
.report-cyan { background: linear-gradient(135deg, #19a2c1, #4fc2d7); }
.report-violet { background: linear-gradient(135deg, #8454bb, #aa76d1); }
.report-indigo { background: linear-gradient(135deg, #5854d9, #7671ef); }
.report-green { background: linear-gradient(135deg, #15966a, #3fba8c); }
.report-orange { background: linear-gradient(135deg, #e78635, #f2aa54); }
.report-sky { background: linear-gradient(135deg, #388fcb, #61b3e5); }
.report-teal { background: linear-gradient(135deg, #168b91, #48b5b6); }
.report-rose { background: linear-gradient(135deg, #ce5877, #e47b94); }

.quick-report-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, .17);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    font-size: 19px;
}

.quick-report-copy {
    display: flex;
    flex-direction: column;
}

.quick-report-copy small {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    opacity: .86;
}

.quick-report-copy strong {
    font-size: 27px;
    line-height: 1.05;
}

.quick-report-copy span {
    margin-top: 3px;
    font-size: 10px;
    opacity: .8;
}

.quick-report-arrow {
    align-self: center;
    font-size: 12px;
    opacity: .75;
}

.quick-report-title {
    z-index: 1;
    grid-column: 1 / -1;
    align-self: end;
    margin-top: 14px;
    padding-top: 10px;
    font-size: 12px;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, .85fr);
    gap: 20px;
}

.dashboard-panel {
    min-width: 0;
    padding: 22px;
}

.panel-heading-clean {
    gap: 18px;
    margin-bottom: 14px;
}

.panel-badge {
    padding: 7px 10px;
    color: #5f6a80;
    background: #f4f7fb;
    border-radius: 8px;
    font-size: 11px;
    white-space: nowrap;
}

.panel-link {
    color: #2d7ff9;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.chart-container {
    position: relative;
    height: 330px;
}

.registered-patient-list {
    max-height: 342px;
    overflow-y: auto;
    padding-right: 3px;
}

.patient-list-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 11px 4px;
    color: #303958;
    border-bottom: 1px solid #eef1f5;
}

.patient-list-item:last-child {
    border-bottom: 0;
}

.patient-list-item:hover {
    color: #2d7ff9;
    text-decoration: none;
}

.patient-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #2d7ff9;
    background: #edf5ff;
    border-radius: 12px;
    font-weight: 800;
}

.patient-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.patient-main strong,
.patient-main small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.patient-main strong {
    font-size: 13px;
}

.patient-main small,
.patient-contact {
    color: #8992a6;
    font-size: 10px;
}

.patient-contact i {
    margin-right: 4px;
    color: #40b98b;
}

.empty-state {
    padding: 50px 20px;
    color: #929bad;
    text-align: center;
}

.empty-state i {
    margin-bottom: 10px;
    color: #c6cedb;
    font-size: 32px;
}

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

    .dashboard-welcome-card img {
        right: -45px;
    }
}

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

    .quick-report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (min-width: 992px) {
    body.app-layout.sidenav-no-scroll {
        overflow: auto !important;
    }

    .app-layout .sidenav-overlay {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .app-main {
        margin-left: 0;
    }

    .app-sidenav.sidenav {
        width: 270px;
        transform: translate(-100%, 0);
        box-shadow: 10px 0 30px rgba(31, 42, 86, .14);
        z-index: 101;
    }

    .app-sidenav.sidenav.show {
        transform: translate(0, 0);
    }

    .app-layout .toggle.front#sidenav-toggle {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-right: 10px;
        color: #2d7ff9;
        background: #edf5ff;
        border-radius: 10px;
    }

    .app-layout .toggle.back#sidenav-toggle {
        position: absolute;
        top: 15px;
        right: 12px;
        left: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        color: #717b8e;
    }

    .app-header.navbar-default {
        padding-right: 20px;
        padding-left: 20px;
    }

    .dashboard-page {
        padding: 24px 20px;
    }
}

@media (max-width: 767.98px) {
    .dashboard-heading,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .dashboard-date {
        font-size: 13px;
    }

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

    .dashboard-welcome-card {
        min-height: 205px;
        padding: 30px;
    }

    .welcome-copy {
        max-width: 72%;
    }

    .dashboard-welcome-card img {
        right: -74px;
        width: 300px;
        opacity: .46;
    }

    .dashboard-profile-card {
        min-height: auto;
    }

    .dashboard-summary-grid,
    .quick-report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .patient-contact {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .app-header .navbar-brand > span:last-child,
    .header-user-copy {
        display: none;
    }

    .dashboard-page {
        padding: 20px 14px;
    }

    .dashboard-heading h1 {
        font-size: 21px;
    }

    .dashboard-welcome-card {
        min-height: 190px;
        padding: 26px 22px;
    }

    .welcome-copy {
        max-width: 88%;
    }

    .dashboard-welcome-card h2 {
        font-size: 24px;
    }

    .dashboard-summary-grid,
    .quick-report-grid {
        grid-template-columns: 1fr;
    }

    .summary-card {
        min-height: 126px;
    }

    .dashboard-panel {
        padding: 18px;
    }

    .panel-heading-clean {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .chart-container {
        height: 270px;
    }
}

/* Shared modern module, table and form treatment */
.app-layout .app-content > br {
    display: none;
}

.app-layout .app-content > .container-fluid,
.app-layout .module-page {
    width: 100%;
    max-width: 1580px;
    margin: 0 auto;
    padding: 28px 30px;
}

.app-layout .card {
    overflow: hidden;
    margin-bottom: 24px;
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(31, 42, 86, .06);
}

.app-layout .card-header {
    min-height: 64px;
    padding: 19px 22px;
    color: #252f54;
    background: #ffffff;
    border-bottom: 1px solid #edf0f5;
    font-size: 17px;
}

.app-layout .card-header i {
    margin-right: 7px;
    color: #2d7ff9;
}

.app-layout .card-header b,
.app-layout .card-header strong {
    font-weight: 700;
}

.app-layout .card-body {
    padding: 22px;
}

.app-layout .data-toolbar,
.app-layout .card-body > .form-inline:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf0f5;
}

.app-layout .data-toolbar .toolbar-actions,
.app-layout .data-toolbar .toolbar-export {
    display: flex;
    align-items: center;
    gap: 9px;
}

.app-layout .card-body > .form-inline:first-child > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    flex: 0 0 auto;
}

.app-layout .card-body > .form-inline:first-child > [class*="col-"]:first-child {
    flex: 1 1 auto;
}

.app-layout .card-body > .form-inline:first-child + hr,
.app-layout .data-toolbar + hr {
    display: none;
}

.app-layout .btn {
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.app-layout .btn:hover {
    transform: translateY(-1px);
}

.app-layout .btn i {
    margin-right: 5px;
}

.app-layout .btn-primary,
.app-layout .btn-default {
    color: #ffffff;
    background: linear-gradient(135deg, #2d89f7, #2074e5);
    border-color: #287de8;
}

.app-layout .btn-primary:hover,
.app-layout .btn-primary:focus,
.app-layout .btn-default:hover,
.app-layout .btn-default:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #2179e7, #1864d0);
    border-color: #1d6bd6;
    box-shadow: 0 7px 15px rgba(45, 127, 249, .2);
}

.app-layout .btn-light {
    color: #566177;
    background: #f5f7fb;
    border: 1px solid #e3e8f1;
}

.app-layout .btn-light:hover,
.app-layout .btn-light:focus {
    color: #2d7ff9;
    background: #edf5ff;
    border-color: #d5e6ff;
}

.app-layout .btn-success {
    color: #ffffff;
    background: linear-gradient(135deg, #20a46f, #36b982);
    border-color: #27aa75;
}

.app-layout .btn-success:hover,
.app-layout .btn-success:focus {
    background: linear-gradient(135deg, #178a5c, #299f6d);
    border-color: #1c9463;
    box-shadow: 0 7px 15px rgba(32, 164, 111, .18);
}

.app-layout .btn-dark {
    background: #3f485d;
    border-color: #3f485d;
}

.app-layout .btn-sm {
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 12px;
}

.app-layout .table-responsive {
    overflow: hidden;
    border: 1px solid #e8edf4;
    border-radius: 12px;
}

.app-layout .dataTables_wrapper {
    padding-top: 2px;
}

.app-layout .dataTables_wrapper > .row:first-child {
    align-items: center;
    margin: 0;
    padding: 14px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e8edf4;
}

.app-layout .dataTables_wrapper > .row:last-child {
    align-items: center;
    margin: 0;
    padding: 13px 16px;
    background: #ffffff;
    border-top: 1px solid #edf0f5;
}

.app-layout .dataTables_wrapper .dataTables_length,
.app-layout .dataTables_wrapper .dataTables_filter,
.app-layout .dataTables_wrapper .dataTables_info {
    color: #737d91;
    font-size: 12px;
}

.app-layout .dataTables_wrapper .dataTables_filter label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-weight: 600;
}

.app-layout .dataTables_wrapper .dataTables_filter input,
.app-layout .dataTables_wrapper .dataTables_length select {
    height: 36px;
    color: #39435e;
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    outline: none;
}

.app-layout .dataTables_wrapper .dataTables_filter input {
    min-width: 220px;
    padding: 7px 11px;
}

.app-layout .dataTables_wrapper .dataTables_filter input:focus,
.app-layout .dataTables_wrapper .dataTables_length select:focus {
    border-color: #75abf5;
    box-shadow: 0 0 0 3px rgba(45, 127, 249, .1);
}

.app-layout table.table,
.app-layout table.dataTable {
    width: 100% !important;
    margin: 0 !important;
    color: #3e4862;
    background: #ffffff;
    border: 0;
    border-collapse: separate !important;
    border-spacing: 0;
}

.app-layout .table > thead > tr > th,
.app-layout table.dataTable > thead > tr > th {
    padding: 13px 12px;
    color: #39435e;
    background: #f5f8fc;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #dde5ef;
    border-left: 0;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.app-layout .table > tbody > tr > td,
.app-layout table.dataTable > tbody > tr > td {
    padding: 11px 12px;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #edf0f5;
    border-left: 0;
    font-size: 12px;
}

.app-layout .table > tbody > tr:last-child > td,
.app-layout table.dataTable > tbody > tr:last-child > td {
    border-bottom: 0;
}

.app-layout #tabel_custom > thead > tr > th:last-child,
.app-layout #tabel_custom > tbody > tr > td:last-child {
    min-width: 150px;
    white-space: nowrap;
}

.app-layout .table-striped tbody tr:nth-of-type(odd),
.app-layout table.dataTable tbody tr:nth-of-type(odd) {
    background: #fbfcfe;
}

.app-layout .table-hover tbody tr:hover,
.app-layout table.dataTable tbody tr:hover {
    background: #f1f7ff;
}

.app-layout .page-item .page-link,
.app-layout .pagination > li > a,
.app-layout .pagination > li > span {
    min-width: 34px;
    margin: 0 2px;
    padding: 7px 9px;
    color: #5e687e;
    background: #ffffff;
    border: 1px solid #e3e8f0;
    border-radius: 7px;
    text-align: center;
}

.app-layout .page-item.active .page-link,
.app-layout .pagination > .active > a,
.app-layout .pagination > .active > span {
    color: #ffffff;
    background: #2d7ff9;
    border-color: #2d7ff9;
}

.app-layout .form-group {
    margin-bottom: 18px;
}

.app-layout .control-label,
.app-layout .form-group > label {
    margin-bottom: 7px;
    color: #46506a;
    font-size: 12px;
    font-weight: 700;
}

.app-layout .form-control {
    min-height: 42px;
    padding: 9px 12px;
    color: #313a55;
    background: #fbfcfe;
    border: 1px solid #dce3ed;
    border-radius: 9px;
    font-size: 13px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.app-layout textarea.form-control {
    min-height: 92px;
    resize: vertical;
}

.app-layout .form-control:focus {
    color: #28314d;
    background: #ffffff;
    border-color: #67a2f3;
    box-shadow: 0 0 0 3px rgba(45, 127, 249, .1);
}

.app-layout .form-control[readonly],
.app-layout .form-control:disabled {
    color: #7c8598;
    background: #f2f5f9;
}

.app-layout .form-control::placeholder {
    color: #a7afbd;
}

.app-layout .input-group .form-control {
    border-radius: 9px 0 0 9px;
}

.app-layout .nav-tabs {
    gap: 6px;
    padding: 6px;
    background: #f5f7fb;
    border: 0;
    border-radius: 11px;
}

.app-layout .nav-tabs .nav-link {
    padding: 9px 14px;
    color: #687287;
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.app-layout .nav-tabs .nav-link.active {
    color: #2d7ff9;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(31, 42, 86, .07);
}

.app-layout .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 22px 60px rgba(23, 34, 66, .22);
}

.app-layout .modal-header {
    align-items: center;
    padding: 18px 22px;
    color: #283153;
    background: #f8faff;
    border-bottom: 1px solid #e8edf5;
}

.app-layout .modal-title {
    font-size: 17px;
}

.app-layout .modal-title i {
    margin-right: 7px;
    color: #2d7ff9;
}

.app-layout .modal-body {
    max-height: calc(100vh - 190px);
    overflow-y: auto;
    padding: 22px;
}

.app-layout .modal-footer {
    gap: 7px;
    padding: 14px 22px;
    background: #fbfcfe;
    border-top: 1px solid #e8edf5;
}

@media (min-width: 576px) {
    .app-layout #MyModal .modal-dialog.modal-sm {
        width: calc(100% - 40px);
        max-width: 680px;
    }

    .app-layout #MyModal2 .modal-dialog.lookup-modal {
        width: calc(100% - 40px);
        max-width: 760px;
    }
}

.sks-number-block {
    padding: 15px;
    background: #f7faff;
    border: 1px solid #dfe9f7;
    border-radius: 11px;
}

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

.sks-number-heading label {
    margin-bottom: 0 !important;
}

.sks-number-heading span {
    color: #71809a;
    font-size: 11px;
}

.sks-number-heading strong {
    color: #2d7ff9;
}

.sks-number-fields {
    border-collapse: separate;
    border-spacing: 6px 0;
    margin: 0 -6px;
}

.patient-form-intro {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px;
    color: #35405f;
    background: #f1f7ff;
    border: 1px solid #dceaff;
    border-radius: 11px;
}

.patient-form-intro > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #2d7ff9;
    background: #ffffff;
    border-radius: 10px;
    font-size: 17px;
}

.patient-form-intro > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.patient-form-intro strong {
    font-size: 14px;
}

.patient-form-intro small {
    margin-top: 3px;
    color: #778198;
    font-size: 11px;
}

.patient-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.patient-form-wide {
    grid-column: 1 / -1;
}

.doctor-data-page .table-actions {
    display: flex;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
}

.doctor-data-page .badge {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.doctor-data-note {
    margin: 16px 0 0;
    padding: 12px 14px;
    color: #61708c;
    background: #f7faff;
    border: 1px solid #e0e9f6;
    border-radius: 10px;
    font-size: 12px;
}

.doctor-data-note i {
    margin-right: 6px;
    color: #2d7ff9;
}

.app-layout .lookup-modal input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #2d7ff9;
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .app-layout .app-content > .container-fluid,
    .app-layout .module-page {
        padding: 24px 20px;
    }
}

@media (max-width: 767.98px) {
    .app-layout .data-toolbar,
    .app-layout .card-body > .form-inline:first-child {
        align-items: stretch;
        flex-direction: column;
    }

    .app-layout .data-toolbar .toolbar-actions,
    .app-layout .data-toolbar .toolbar-export,
    .app-layout .card-body > .form-inline:first-child > [class*="col-"] {
        width: 100%;
    }

    .app-layout .data-toolbar .toolbar-actions {
        flex-wrap: wrap;
    }

    .app-layout .data-toolbar .toolbar-export .btn,
    .app-layout .card-body > .form-inline:first-child > [class*="col-"]:last-child .btn {
        width: 100%;
    }

    .app-layout .table-responsive {
        overflow-x: auto;
    }

    .app-layout .dataTables_wrapper .dataTables_filter input {
        min-width: 0;
        width: 180px;
    }

    .patient-form-grid {
        grid-template-columns: 1fr;
    }

    .patient-form-wide {
        grid-column: auto;
    }
}

@media (max-width: 575.98px) {
    .app-layout .app-content > .container-fluid,
    .app-layout .module-page {
        padding: 18px 14px;
    }

    .app-layout .card-header,
    .app-layout .card-body {
        padding-right: 16px;
        padding-left: 16px;
    }

    .app-layout .dataTables_wrapper > .row:first-child,
    .app-layout .dataTables_wrapper > .row:last-child {
        padding-right: 10px;
        padding-left: 10px;
    }

    .app-layout .dataTables_wrapper .dataTables_filter label {
        display: flex;
        justify-content: center;
        margin-top: 8px;
    }

    .app-layout .dataTables_wrapper .dataTables_filter input {
        width: min(190px, 70vw);
    }

    .app-layout .modal-dialog {
        margin: 10px;
    }

    .app-layout .modal-body {
        padding: 18px 16px;
    }
}
