:root {
  --primary: #0077bd;
  --secondary: #e5b81f;
  --white: #ffffff;
}
/* ===== SIDEBAR MAIN (COLOR VISIBLE) ===== */
.main-sidebar {
  background: #0077bd !important;
  color: var(--white);
  box-shadow: 8px 0 25px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.05);
  border-radius: 0 18px 18px 0;
}
/* ===== MENU ITEMS ===== */
.sidebar-menu > li > a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin: 6px 10px;
  border-radius: 10px;
  color: #fff !important;
  font-weight: 500;
  font-size: 14px;
  /* LIGHT GLASS (COLOR NA HIDE HO) */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  text-decoration: none;
}
/* ===== HOVER (ONLY COLOR CHANGE) ===== */
.sidebar-menu > li > a:hover {
  background: rgba(229, 184, 31, 0.25); /* yellow highlight */
  color: #fff !important;
}
/* ===== ACTIVE ===== */
.sidebar-menu > li.active > a {
  background: var(--secondary);
  color: #000; /* yellow par black text best hota hai */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}
/* ===== ICON ===== */
.sidebar-menu i {
  margin-right: 12px;
  font-size: 18px;
  color: var(--secondary) !important;
}
/* ===== SUBMENU ===== */
.treeview-menu {
  margin-left: 15px;
}
.treeview-menu li a {
  display: block;
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 8px;
  color: #e0f7ff;
  background: rgba(255, 255, 255, 0.05);
  transition: 0.3s;
  text-decoration: none;
}
/* SUBMENU HOVER */
.treeview-menu li a:hover {
  background: rgba(229, 184, 31, 0.3);
  color: #fff !important;
}
/* ===== ARROW ===== */
.treeview > a .fa-angle-right {
  color: #fff;
  transition: 0.3s;
}
.treeview.active > a .fa-angle-right {
  transform: rotate(90deg);
}
/* ===== WIDGET BOX ===== */
/*.side-bx {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}*/
.side-bx h4 {
  color: #fff;
}
.side-bx a {
  color: var(--secondary);
  font-weight: 500;
}
/* ===== SCROLLBAR ===== */
.multinav-scroll::-webkit-scrollbar {
  width: 5px;
}
.multinav-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}
/* HEADER WRAPPER */
.dashboard-header {
  background: linear-gradient(135deg, #0077bd, #003459);
  border-radius: 15px;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #fff;
  margin-bottom: 20px;
  box-shadow:
}
/* LEFT SIDE */
.header-left {
  display: flex;
  align-items: center;
}
/* ICON */
.header-icon {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-right: 15px;
}
/* TEXT */
.dashboard-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}
.dashboard-header p {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}
/* BREADCRUMB */
.breadcrumb-box {
  font-size: 13px;
}
.breadcrumb-box a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: 0.3s;
}
.breadcrumb-box a:hover {
  opacity: 1;
}
.breadcrumb-box span {
  margin: 0 5px;
}
.breadcrumb-box .active {
  font-weight: 600;
  opacity: 1;
}
/* ===== CARD LINK ===== */
.card-link {
  text-decoration: none;
  display: block;
  width: 100%;
  color: inherit;
}
/* ===== ROW FIX (EQUAL HEIGHT) ===== */
.row {
  display: flex;
  flex-wrap: wrap;
}
/*.col-lg-3, .col-md-6, .col-sm-6 {
  display: flex;
}*/
/* ===== GLASS CARD ===== */
.box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  /* YOUR SHADOW */
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 12px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}
/* ===== HOVER ===== */
.card-link:hover .box, .box:hover {
  transform: translateY(-6px);
}
/* ===== BODY ===== */
.box-body {
  width: 100%;
  padding: 20px 0px 0px 15px !important;
}
/* ===== FLEX ===== */
.stat-flex {
  display: flex;
  align-items: center;
  gap: 16px;
}
/* ===== ICON BASE ===== */
.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* ===== 8 DIFFERENT COLORS ===== */
.icon-1 {
  background: linear-gradient(135deg, #0077bd, #00c6ff);
}
.icon-2 {
  background: linear-gradient(135deg, #00b894, #00cec9);
}
.icon-3 {
  background: linear-gradient(135deg, #ff9f43, #ff6b6b);
}
.icon-4 {
  background: linear-gradient(135deg, #e84393, #fd79a8);
}
.icon-5 {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}
.icon-6 {
  background: linear-gradient(135deg, #0984e3, #74b9ff);
}
.icon-7 {
  background: linear-gradient(135deg, #00cec9, #81ecec);
}
.icon-8 {
  background: linear-gradient(135deg, #d63031, #ff7675);
}
/* ===== ICON ===== */
.stat-icon i {
  font-size: 26px;
  color: #fff;
}
/* ===== TEXT ===== */
.stat-content h4 {
  font-size: 16px;
  margin: 0;
  color: var(--white);
  font-weight: 600;
}
.stat-content h3 {
  font-size: 28px;
  margin-top: 4px;
  font-weight: 700;
  color: var(--secondary);
}
/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .stat-content h3 {
    font-size: 22px;
  }
  .stat-icon {
    width: 50px;
    height: 50px;
  }
  .box {
    height: auto;
  }
}
/* ===== MEDIA ITEMS (LEFT LIST) ===== */
.media {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 15px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
  border-radius: 20px !important;
}
/* ONLY COLOR CHANGE */
.media:hover {
  background: rgba(229, 184, 31, 0.25);
}
/* ===== LINKS ===== */
/*.media a {
  color: #fff !important;
  font-weight: 500;
}

.media a:hover {
  color: #e5b81f !important;
}*/
/* ===== TEXT FADE ===== */
.text-fade, .text-light {
  color: #000 !important;
}
/* ===== AVATAR ===== */
.avatar {
  background: #fff;
  padding: 6px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(229, 184, 31, 0.6);
}
/* ===== PROGRESS BAR ===== */
.progress {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  height: 6px;
}
.progress-bar {
  background: linear-gradient(90deg, #e5b81f, #ffcc33);
  box-shadow: 0 0 10px rgba(229, 184, 31, 0.7);
}
/* ===== DONUT TEXT FIX ===== */
#donut-chart text {
  fill: #fff !important;
}
/* ===== BADGES ===== */
.badge {
  border-radius: 6px;
}
/* ===== PROFILE IMAGE ===== */
.avatar-xl img {
  border: 3px solid #e5b81f;
  box-shadow: 0 0 18px rgba(229, 184, 31, 0.7);
}
/* ===== BUTTON ===== */
.btn-warning-light {
  /*background: rgba(229,184,31,0.2);
  color: #fff !important;*/
  border-radius: 10px;
  border: 1px solid rgba(229, 184, 31, 0.4);
}
.btn-warning-light:hover {
  background: #e5b81f;
  color: #000 !important;
}
/* ===== DROPDOWN ===== */
.dropdown-menu {
  /* background: #0077bd !important;*/
  backdrop-filter: blur(10px);
  border-radius: 12px;
}
.dropdown-item {
  color: #fff !important;
}
.dropdown-item:hover {
  background: rgba(229, 184, 31, 0.3);
}
/* ===== CHART FIX ===== */
.apexcharts-text {
  fill: #fff !important;
}
.apexcharts-gridline {
  stroke: rgba(255, 255, 255, 0.1);
}
/* ===== TOGGLER ===== */
.toggler input:checked + span {
  background: #e5b81f;
}
/* ===== EXTRA PREMIUM TOUCH ===== */
.box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0.3;
}
/* Sidebar Wrapper */
.sidebar-widgets {
  padding: 20px;
  margin-bottom: 50px;
}
/* Card Design */
.custom-side-card {
  background: linear-gradient(135deg, #fff4d6, #ffe7a3);
  border-radius: 20px;
  padding: 25px 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.4);
  transition: 0.4s;
  color: #333;
}
/* Card Hover */
.custom-side-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}
/* Image */
.side-img {
  width: 120px;
  margin-bottom: 15px;
}
/* Title */
.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #b86b00;
  margin-bottom: 10px;
}
/* CTA Link */
.cta-link {
  display: inline-block;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
.cta-link i {
  margin-left: 5px;
}
/* Hover CTA */
.cta-link:hover {
  color: #ff8800;
  letter-spacing: 0.5px;
}
/* Footer */
.sidebar-footer {
  margin-top: 20px;
  font-size: 13px;
  color: #666;
  padding: 7px;
}
.sidebar-footer p {
  margin-bottom: 0;
}
.sidebar-footer strong {
  color: #222;
  font-weight: 600;
}
/* Image styling */
.sideimg {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #fff;
  transition: 0.3s;
}
.custom-side-card:hover .sideimg {
  transform: scale(1.1);
}
/* Heading */
.title-bx {
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
.cta-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 30px;
  background: #0077bd !important;
  color: #fff !important;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
  z-index: 2;
}
.custom-side-card::before {
  pointer-events: none;
}
.img-wrapper {
  width: 250px;
  /* height: 250px;*/
  background: #dfe9ef; /* same light grey-blue circle */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Image styling */
.img-wrapper img {
  width: 90%;
  height: auto;
}
.patient-box {
  border-radius: 20px;
  background: linear-gradient(145deg, #eef3ff, #ffffff);
  /*box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.1), -10px -10px 25px rgba(255, 255, 255, 0.8);*/
}
.title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
  color: #0077bd;
}
.body-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* HUMAN */
.human-body {
  position: relative;
  width: 260px;
}
.human-body img {
  width: 100%;
  filter: drop-shadow(0px 15px 25px rgba(0, 0, 0, 0.25));
}
/* POINT */
.point {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
}
/* PROBLEM */
.problem {
  background: #ff3b3b;
  animation: pulse 1.5s infinite;
}
/* NORMAL */
.normal {
  background: #28c76f;
  opacity: 0.7;
}
/* POSITIONS */
.head {
  top: 10px;
  left: 120px;
}
.neck {
  top: 40px;
  left: 125px;
}
.left-shoulder {
  top: 70px;
  left: 92px;
}
.right-shoulder {
  top: 65px;
  left: 160px;
}
.chest {
  top: 90px;
  left: 125px;
}
.left-arm {
  top: 120px;
  left: 70px;
}
.right-arm {
  top: 120px;
  left: 180px;
}
.abdomen {
  top: 140px;
  left: 125px;
}
.lower-back {
  top: 170px;
  left: 130px;
}
.hip {
  top: 139px;
  left: 105px;
}
.left-knee {
  top: 218px;
  left: 101px;
}
.right-knee {
  top: 215px;
  left: 148px;
}
.left-foot {
  top: 280px;
  left: 100px;
}
.right-foot {
  top: 280px;
  left: 150px;
}
/* PULSE */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 59, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
  }
}
/* INFO */
.body-info {
  flex: 1;
}
.info-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 12px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
}
/* COLORS */
.problem-active {
  border-left: 5px solid red;
}
.normal-active {
  border-left: 5px solid green;
}
/* Responsive */
@media(max-width:768px) {
  .body-wrapper {
    flex-direction: column;
  }
}
.video-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 22px;
}
/* Video container */
.video-box {
  position: relative;
  width: 100%;
  height: 200px;
}
/* Video */
.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-header {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4); /* transparent bg */
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 20px;
  color: #fff;
}
/* Icon */
.video-header i {
  font-size: 14px;
}
/* Text */
.video-header h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.push-btn, .custom-btn i {
  font-size: 20px;
  color: #0077bd !important;
  transition: 0.3s;
}
.push-btn:hover, .custom-btn:hover i {
  transform: scale(1.2);
  color: #e5b81f !important;
}
/* Main Box */
.notification-box {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
}
/* List */
.notification-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* List Items */
.notification-list li {
  border-bottom: 1px solid #f1f1f1;
}
/* Links */
.notification-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
/* Hover Effect (ONLY color change) */
.notification-list li a:hover {
  background: #0077bd;
  color: #fff;
}
/* Icons */
.icon {
  font-family: FontAwesome;
  font-style: normal;
  font-size: 14px;
  width: 20px;
  text-align: center;
}
/* Icon Codes */
.icon.user-md:before {
  content: "\f0f0";
  color: #0077bd;
}
.icon.heartbeat:before {
  content: "\f21e";
  color: #ffa800;
}
.icon.calendar:before {
  content: "\f274";
  color: #0077bd;
}
.icon.wheelchair:before {
  content: "\f193";
  color: #ffa800;
}
.icon.stethoscope:before {
  content: "\f0f1";
  color: #0077bd;
}
.icon.medkit:before {
  content: "\f0fa";
  color: #ffa800;
}
/* Hover me icon white */
.notification-list li a:hover .icon:before {
  color: #0077bd;
}
/* View All Button */
.view-all {
  text-align: center;
  padding: 10px;
  background: #f9f9f9;
}
.view-all a {
  display: inline-block;
  padding: 8px 15px;
  font-size: 13px;
  color: #fff;
  background: #ffa800;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
}
/* Button Hover */
.view-all a:hover {
  background: #0077bd;
}
/* Default Desktop - ONLY Full Logo */
.main-header .logo-mini {
  display: none !important;
}
.main-header .logo-lg {
  display: block !important;
}
/* Sidebar Collapse - ONLY Mini Logo */
.sidebar-collapse .main-header .logo-mini {
  display: block !important;
}
.sidebar-collapse .main-header .logo-lg {
  display: none !important;
}
/* Mobile - ONLY Full Logo */
@media (max-width: 768px) {
  .main-header .logo-mini {
    display: none !important;
  }
  .main-header .logo-lg {
    display: block !important;
    width: 60%;
    padding-top: 10px;
    margin: 0 auto;
  }
}
/* Header Flex Fix */
.header-megamenu {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Search Item */
.search-item {
  flex: 1;
  display: flex;
  align-items: center;
}
/* Search Box */
.search-box {
  width: 100%;
  max-width: 380px;
}
/* Wrapper */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  padding: 5px 5px 5px 35px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f1f1;
  transition: 0.3s;
}
/* Input */
.search-wrapper input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 13px;
  background: transparent;
  padding: 8px;
}
/* Icon */
.search-icon {
  position: absolute;
  left: 12px;
  color: #0077bd;
  font-size: 14px;
}
/* Button */
.search-btn {
  border: none;
  background: #0077bd;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s;
}
/* Hover */
.search-btn:hover {
  background: #ffa800;
}
/* Focus effect */
.search-wrapper:focus-within {
  border-color: #0077bd;
  box-shadow: 0 0 0 3px rgba(0, 119, 189, 0.15);
}
/* MOBILE */
@media (max-width: 768px) {
  .search-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}
/* ================= COMMON DROPDOWN STYLE ================= */
.navbar-nav > li.dropdown > .dropdown-menu {
  margin-top: 10px;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  right: 0;
  left: auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  animation: fadeInUp 0.3s ease;
}
/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================= USER PROFILE DROPDOWN ================= */
.navbar-nav > .user-menu > .dropdown-menu {
  width: 180px;
  min-width: 160px;
  padding: 10px 0;
}
/* Profile items */
.user-menu .dropdown-item {
  font-size: 13px;
  padding: 10px 15px;
  transition: 0.3s;
}
.user-menu .dropdown-item:hover {
  background: #f5f7ff;
  color: #0077bd;
}
/* ================= NOTIFICATION DROPDOWN ================= */
.navbar-nav > .notifications-menu > .dropdown-menu {
  width: 320px;
  max-width: 320px;
  padding: 0;
}
/* Header */
.notifications-menu .header {
  background: #f8faff;
  border-bottom: 1px solid #eee;
}
/* Notification list scroll */
.notification-list {
  max-height: 250px;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}
/* Notification item */
.notification-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  font-size: 13px;
  color: #333;
  transition: 0.3s;
}
.notification-list li a:hover {
  background: #f5f7ff;
  color: #0077bd;
}
/* Icon */
.notification-list i {
  color: #0077bd;
  font-size: 14px;
}
/* View all */
/*.view-all {
  text-align: center;
  padding: 10px;
  border-top: 1px solid #eee;
}

.view-all a {
  font-size: 13px;
  color: #0077bd;
  font-weight: 600;
  text-decoration: none;
}

.view-all a:hover {
  text-decoration: underline;
}*/
/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {
  .navbar-nav > .notifications-menu > .dropdown-menu {
    width: 95vw;
    max-width: 95vw;
    right: 10px;
  }
  .navbar-nav > .user-menu > .dropdown-menu {
    width: 160px;
  }
  .search-wrapper {
    display: none;
  }
}
/* Main Container */
.patient-profile {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 5px 0;
}
/* Text Section */
.patient-info {
  text-align: right;
}
/* Name */
.patient-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}
/* Role */
.patient-role {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-light);
}
/* Avatar Container */
.patient-avatar {
  width: 40px;
  height: 40px;
  border-radius: 40px;
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--secondary);
  transition: 0.3s;
  padding: 4px;
}
/* Image */
.patient-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Hover Effect (Premium Feel) */
/*.patient-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 119, 189, 0.3);
}*/
/* Scroll To Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}
/* Show Button */
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Hover Effect */
#scrollTopBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 119, 189, 0.4);
}
/* ===== PAGE ===== */
.patient-page {
  font-family: 'Poppins', sans-serif;
}
/* ===== HEADER ===== */
.page-header-banner {
  position: relative;
  background: url('https://images.unsplash.com/photo-1588776814546-ec7e0a6f9c39') center/cover;
  padding: 60px;
  border-radius: 20px;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 119, 189, 0.7);
  border-radius: 20px;
}
.header-content {
  position: relative;
  color: #fff;
}
/* ===== GLASS CARD ===== */
.card-glass {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
/* ===== PROFILE ===== */
.profile-img {
  width: 90px;
  border-radius: 50%;
  border: 3px solid #0077bd;
}
/* ===== INFO ===== */
.info-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.info-box label {
  font-size: 12px;
  color: #aaa;
}
.info-box p {
  margin: 0;
  color: #fff;
}
/* ===== NOTES ===== */
.notes-box {
  background: rgba(0, 119, 189, 0.2);
  padding: 12px;
  border-radius: 12px;
}
/* ===== TABS ===== */
.custom-tabs .nav-link {
  color: #ccc;
}
.custom-tabs .nav-link.active {
  background: #0077bd;
  color: #fff;
  border-radius: 8px;
}
/* ===== FORM ===== */
.form-control {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
}
/* ===== TIMELINE ===== */
.timeline {
  list-style: none;
  padding-left: 0;
}
.timeline li {
  margin-bottom: 15px;
  border-left: 2px solid #0077bd;
  padding-left: 10px;
}
.timeline span {
  font-size: 12px;
  color: #aaa;
}
.analytics_wrap {
  margin-bottom: 30px;
}
.margin_btm_30 {
  margin-bottom: 30px;
}
/* Card Base */
.stat-card {
  text-align: center;
  transition: .3s;
  height: 100%;
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}
/* Hover Effect */
.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* Flex Layout */
.stat-flex {
  display: flex;
  align-items: center;
  gap: 15px;
}
/* Icons */
.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}
/* Gradient Icons */
.icon-1 {
  background: linear-gradient(45deg, #ff7d48, #ff3d3d);
}
.icon-2 {
  background: linear-gradient(45deg, #1a4ffc, #00c6ff);
}
.icon-3 {
  background: linear-gradient(45deg, #28a745, #00d4aa);
}
.icon-4 {
  background: linear-gradient(45deg, #f61263, #ff9a9e);
}
/* Text */
.stat-content h4 {
  font-size: 14px;
  color: #ddd;
  margin: 0;
}
.stat-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 5px 0;
}
.stat-sub {
  font-size: 12px;
  color: #bbb;
  margin: 0;
}
/* Remove underline */
.card-link {
  text-decoration: none;
}
.dashboard-wrapper {
  position: relative;
  min-height: 100vh;
  background: url('../images/register-bg.png') no-repeat center center;
  background-attachment: scroll;
  background-size: auto;
  background-size: cover;
  background-attachment: fixed;
}
.dashboard-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  /*  backdrop-filter: blur(3px);*/
  z-index: 0;
}
.dashboard-wrapper > * {
  position: relative;
  z-index: 1;
}
.dashboard-card-wrapper {}
/* CARD */
.dashboard-card {
  padding: 15px;
  color: #fff;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 12px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

/* Patient profile: use the portal dark/translucent card background only */
.profile-theme-card {
  background: linear-gradient(
    135deg,
    rgba(0, 119, 189, 0.18), /* primary */
    rgba(229, 184, 31, 0.10) /* secondary */
  ) !important;
  border-color: rgba(0, 119, 189, 0.35) !important;
}

/* Scoped branding for patient profile form UI */
.profile-theme-card .profile-section {
  background: rgba(255, 255, 255, 0.92); /* soft off-white */
  border: 1px solid rgba(0, 119, 189, 0.18);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.profile-theme-card .section-title {
  margin-bottom: 12px;
}

.profile-theme-card .form-label {
  color: #0f172a;
}

.profile-theme-card .form-control,
.profile-theme-card textarea.form-control,
.profile-theme-card select.form-control {
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: #0f172a !important;
}

.profile-theme-card .form-control::placeholder {
  color: rgba(15, 23, 42, 0.55) !important;
}

.profile-theme-card .form-control:focus,
.profile-theme-card textarea.form-control:focus,
.profile-theme-card select.form-control:focus {
  border-color: rgba(0, 119, 189, 0.9) !important;
  box-shadow: 0 0 0 3px rgba(0, 119, 189, 0.22) !important;
}

/* Dropdown: keep select/options readable (black text) */
.profile-theme-card select.form-control {
  background: rgba(255, 255, 255, 0.98) !important;
  color: #000 !important;
}

.profile-theme-card select.form-control option {
  background: #fff !important;
  color: #000 !important;
}

/* Patient intake form: apply portal logo colors */
.patient-form-theme-card {
  background: linear-gradient(
    135deg,
    rgba(0, 119, 189, 0.22), /* primary */
    rgba(229, 184, 31, 0.12) /* secondary */
  ) !important;
  border-color: rgba(0, 119, 189, 0.35) !important;
}

/* Patient booking form card theme */
.booking-theme-card {
  background: #c7cbd1 !important;
  border: 1px solid rgba(0, 119, 189, 0.2) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
}

.booking-theme-card .form-label,
.booking-theme-card .section-title {
  color: #0f172a !important;
}

.booking-theme-card .form-control,
.booking-theme-card textarea.form-control,
.booking-theme-card select.form-control {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #111827 !important;
  border: 1px solid rgba(15, 23, 42, 0.2) !important;
}

.booking-theme-card .form-control::placeholder {
  color: rgba(17, 24, 39, 0.55) !important;
}

.booking-theme-card .form-control:focus,
.booking-theme-card textarea.form-control:focus,
.booking-theme-card select.form-control:focus {
  border-color: rgba(0, 119, 189, 0.8) !important;
  box-shadow: 0 0 0 3px rgba(0, 119, 189, 0.2) !important;
}
.dashboard-card p {
  color: var(--secondary);
}
.dashboard-card h5 {
  color: var(--primary);
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-link:hover .dashboard-card {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}
/* ICON */
.icon-box {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
}
/* CARD STYLE */
.card-highlight {
  position: relative;
  overflow: hidden;
}
.card-highlight::before {
  width: 100px;
  height: 100px;
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0.3;
}
/* 5 GRID */
.col-5-custom {
  flex: 0 0 20%;
  max-width: 20%;
}
@media(max-width:992px) {
  .col-5-custom {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}
@media(max-width:768px) {
  .col-5-custom {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media(max-width:576px) {
  .col-5-custom {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.table_wrapper {}
.oppointments_wrapper {}
.reports_wrapper {}
/* TABLE */
.table-premium {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}
.table-premium th {
  opacity: 0.7;
}
.table-premium td {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  border-radius: 8px;
}
/* IMAGE */
.image-card {
  position: relative;
  height: 236px;
  border-radius: 12px;
  overflow: hidden;
}
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), #000);
  ;
}
.overlay h6 {
  font-size: 18px;
}
.btn-custom {
  background: var(--primary);
  color: #fff;
}
.btn-custom:hover {
  background: var(--secondary);
  color: #fff;
}
.section-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  letter-spacing: 0.5px;
  /* background: rgba(255,255,255,0.08);*/ background: var(--primary);
  padding: 8px 12px;
  border-radius: 8px;
  /* text-shadow:0 2px 6px rgba(0,0,0,0.6);*/
  backdrop-filter: blur(6px);
}
.section-title::before {
  display: none;
}
.section-title i {
  color: var(--secondary);
  font-size: 16px;
}
/* ===== Wrapper (No Conflict Zone) ===== */
.dashboard-cards-wrapper {
  width: 100%; /* padding: 20px 10px;*/
}
/* Fix Row Spacing */
.dashboard-cards-wrapper .row {
  margin-left: -10px;
  margin-right: -10px;
}
.dashboard-cards-wrapper [class*="col-"] {
  padding: 10px;
}
/* ===== Card Link ===== */
.dash-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
}
/* ===== Card Design ===== */
.dash-card {
  height: 100%;
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}
/* Hover Effect */
.dash-card:hover {
  /* transform: translateY(-8px) scale(1.02);*/
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 10px 25px rgba(0, 0, 0, 0.25);
}
/* ===== Flex Layout ===== */
.dash-flex {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}
/* ===== Icon ===== */
.dash-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}
/* Gradient Icons */
.icon-1 {
  background: linear-gradient(45deg, #ff7d48, #ff3d3d);
}
.icon-2 {
  background: linear-gradient(45deg, #1a4ffc, #00c6ff);
}
.icon-3 {
  background: linear-gradient(45deg, #28a745, #00d4aa);
}
.icon-4 {
  background: linear-gradient(45deg, #f61263, #ff9a9e);
}
/* ===== Text ===== */
.dash-content h4 {
  font-size: 14px;
  color: var(--secondary);
  margin: 0;
}
.dash-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 5px 0;
}
.dash-content p {
  font-size: 12px;
  color: var(--secondary);
  margin: 0;
}
/* Smooth transition sab elements ke liye */
.dash-card, .dash-content h4, .dash-content h3, .dash-content p, .dash-icon {
  transition: all 0.3s ease;
}
.dash-card:hover {
  background: #ffffff;
}
/* Text Color Change */
.dash-card:hover .dash-content h4 {
  color: var(--primary);
}
.dash-card:hover .dash-content h3 {
  color: var(--secondary);
}
.dash-card:hover .dash-content p {
  color: var(--primary);
}
/* Icon Background Light + Icon Color Dark */
.dash-card:hover .dash-icon {
  background: var(--primary);
  color: #fff;
}
/*Patient Listing Page Css Starts*/
.patient-bg-section {
  position: relative;
  min-height: 100vh;
  background: url('../images/register-bg.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed; /* 🔥 FIXED BG */
}
/* DARK OVERLAY */
.patient-bg-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  z-index: 0;
}
/* ===== CONTENT WRAPPER ===== */
.patient-wrapper {
  position: relative;
  z-index: 2;
  padding: 25px 20px;
}
/* ===== GLASS BOX ===== */
.patient-glass {
  padding: 25px; /* border-radius: 25px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 25px 80px rgba(0,0,0,0.6);*/
}
/* ===== HEADER ===== */
.patient-header h4 {
  color: var(--white);
  font-weight: 600;
}
/* ===== BUTTON ===== */
.add-btn {
  border-radius: 30px;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 8px 18px;
}
.add-btn:hover {
  background: var(--secondary);
  color: var(--white);
}
/* ===== CARD LINK ===== */
.patient-card {
  text-decoration: none;
  display: block;
  color: inherit;
}
/* ===== CARD ===== */
.card-inner {
  position: relative;
  text-align: center;
  padding: 25px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  transition: 0.4s;
  color: var(--white);
}
/* HOVER */
.patient-card:hover .card-inner {
  transform: translateY(-10px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
}
/* ===== AVATAR ===== */
.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: auto;
  overflow: hidden;
  border: 3px solid var(--secondary);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ===== STATUS ===== */
.status {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  background: var(--secondary);
  color: #000;
}
/* ===== TEXT ===== */
.card-inner h5 {
  margin-top: 15px;
  font-weight: 600;
}
.sub {
  font-size: 13px;
  color: #ddd;
}
.info p {
  font-size: 13px;
  margin: 4px 0;
}
.info i {
  margin-right: 6px;
  color: var(--secondary);
}
/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 576px) {
  .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.custom-pagination {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  margin-top: 20px;
}
.custom-pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-weight: 500;
  transition: all 0.3s ease;
}
/* HOVER */
.custom-pagination li a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 119, 189, 0.3);
}
/* ACTIVE */
.custom-pagination li.active a {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 119, 189, 0.4);
}
/* DISABLED */
.custom-pagination li.disabled a {
  opacity: 0.4;
  pointer-events: none;
}
/* CLICK EFFECT */
.custom-pagination li a:active {
  transform: scale(0.95);
}
/* Css Starts for Patient Detail Page */
.main-wrapper {
  position: relative;
  min-height: 100vh;
  background: url('../images/register-bg.png') no-repeat center center;
  background-attachment: scroll;
  background-size: auto;
  background-size: cover;
  background-attachment: fixed;
}
.main-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  z-index: 0;
}
.content {
  position: relative;
  z-index: 1;
  padding: 30px;
}
/* GLASS */
.glass {
  padding: 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  transition: 0.4s;
  color: var(--white);
}
/* PROFILE */
.profile-img {
  width: 110px;
  border-radius: 50%;
  border: 3px solid var(--secondary);
}
/* EMERGENCY */
.emergency {
  color: var(--secondary);
  font-weight: 600;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    color: red;
  }
  100% {
    transform: scale(1);
  }
}
/* STATS */
.stat-box {
  text-align: center;
  transition: .3s;
  height: 100%;
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}
.stat-box i {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  font-size: 24px;
  color: #fff;
  color: var(--secondary);
}
.stat-box h4 {
  font-size: 14px;
  color: var(--secondary);
  margin: 0;
}
.stat-box h6 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 5px 0;
}
.stat-box:hover {
  transform: translateY(-5px);
  border: 1px solid var(--secondary);
}
/* TABS */
.custom-tabs .nav {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  gap: 10px;
}
.custom-tabs .nav-link {
  border: none;
  color: var(--primary);
  padding: 10px 9px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.custom-tabs .nav-link.active {
  background: var(--primary);
  color: #fff;
}
.custom-tabs .nav-link:hover {
  background: var(--secondary);
  color: #fff;
}
.tab-box {
  margin-top: 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}
/* CARDS */
.tab-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 12px;
  transition: .3s;
 /* background: rgba(255, 255, 255, 0.12);*/
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}
.tab-card:hover {
  transform: translateY(-5px);
  background: rgba(0, 119, 189, 0.2);
}
.tab-card i {
  color: var(--secondary);
  font-size: 22px;
}
/* PROGRESS */
.progress {
  height: 8px;
}
.progress-bar {
  background: var(--secondary);
}
.patient-img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  padding: 5px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
/* Hover Effect (optional but recommended ??) */
.patient-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}
/* Parent Box */
.patient-profile-box {
  padding: 54px 0px;
  border-radius: 15px;
}

/* Title */
.profile-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
}

/* Underline effect */
.profile-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #007bff; /* your primary color */
  display: block;
  margin: 6px auto 0;
  border-radius: 10px;
}

/* Profile Image */
.profile-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Text Styling */
.patient-profile-box p {
  margin: 5px 0;
  font-size: 14px;
}

/* Emergency Highlight ?? */
.patient-profile-box .emergency {
  font-weight: 600;
  color: #dc3545;
  animation: blink 1.2s infinite;
}

/* Status Badge Style */
.patient-profile-box .status {
  margin-top: 8px;
  font-weight: 600;
  color: #28a745;
}

/* Blink Animation */
@keyframes blink {
  0% {opacity:1;}
  50% {opacity:0.4;}
  100% {opacity:1;}
}

/* Emergency Box */
.patient-profile-box .emergency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  
  padding: 8px 15px;
  border-radius: 25px;
  
  font-weight: 600;
  font-size: 14px;
  
  margin: 10px auto;
  text-align: center;
  
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
  
  animation: pulse 1.5s infinite;
}

/* Icon size */
.patient-profile-box .emergency i {
  font-size: 14px;
}

/* Pulse animation ?? */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}