@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

/* Base Styles */
body {
  font-family: "Poppins", sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}
/* Header Styles */
.header {
  height: 108px;
  background: linear-gradient(90deg, #0c75c2 0%, #1ecee4 100%);
  padding: 0 32px;
  justify-content: flex-start;
  color: #fff;
}

.header > div:last-child {
  margin-left: auto;
}

.logo-container {
  display: flex;
  align-items: center;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.logo {
  width: 116px;
  height: 90.925px;
  flex-shrink: 0;
}

.trustpilot {
  width: 120px;
}

/* Header Navigation */
.nav-center {
  margin-left: 40px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 0 24px;
  border-radius: 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s;
}

.nav-link:last-child {
  border-right: none;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Header Icons and User */
.header-icons .bi {
  font-size: 24px;
  color: #fff;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4444;
  color: white;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layout Container */
.layout-container {
  display: flex;
  min-height: calc(100vh - 80px);
  max-width: 100%;
  overflow-x: hidden;
}

/* Left Sidebar */
.sidebar {
  width: 306px;
  height: 943px;
  flex-shrink: 0;
  background-color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
a {
  text-decoration: none;
}
/* Menu Items */
.menu-item {
  display: flex;
  align-items: center;
  padding: 6px 16px;
  color: #8b8d97;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.3s;
  cursor: pointer;
}

.menu-item:hover {
  background-color: rgba(12, 117, 194, 0.1);
  color: #0c75c2;
  padding-right: 30px;
}

.menu-item:active {
  background-color: #0c75c2;
  color: #fff;
  padding-right: 30px;
}

.menu-item i {
  margin-right: 12px;
  font-size: 20px;
}

/* Dropdown Menu Items */
.menu-item-dropdown {
  background: #0c75c2;
  color: white;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
}

.menu-item-dropdown:not(.active) {
  background: white;
  color: #8b8d97;
}

.menu-item-dropdown:hover:not(.active) {
  background-color: rgba(12, 117, 194, 0.1);
  color: #0c75c2;
}

.menu-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 1px;
}

.menu-item-dropdown .arrow {
  transition: transform 0.3s;
}

.menu-item-dropdown.active .arrow {
  transform: rotate(180deg);
}

/* Dropdown Content */
.dropdown-content {
  padding-left: 48px;
  margin-bottom: 16px;
  display: none;
}

.dropdown-content.show {
  display: block;
}

.dropdown-item-custom {
  color: #8b8d97;
  padding: 8px 0;
  display: block;
  text-decoration: none;
  transition: color 0.3s;
}

.dropdown-item-custom:hover {
  color: #0c75c2;
}

/* Upgrade Box */
.upgrade-box {
  background: linear-gradient(90deg, #0c75c2 0%, #1ecee4 100%);
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-top: 32px;
}

.upgrade-button {
  background: #fff;
  color: #0c75c2;
  border: none;
  border-radius: 24px;
  padding: 8px 24px;
  font-weight: 500;
  margin-top: 16px;
  cursor: pointer;
}

/* Right Sidebar */
.right-sidebar {
  width: 168px;
  background-color: #fff;
  padding: 16px 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* Ad Container */
.ad-container {
  width: 168px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.ad-container img {
  width: 168px;
  height: 168px;
  object-fit: cover;
}

/* Stats Container */
.stats-container {
  background-color: #f5f5f5;
  padding: 8px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-size: 12px;
}

.stat-item i {
  font-size: 14px;
}

/* Utility Classes */
.vertical-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 24px;
}

/* Button Styles */
.btn-icon {
  border: none;
  background: none;
  padding: 6px;
  color: #6b7280;
}

.btn-icon:hover {
  color: #0c75c2;
}

.log-out-btn {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 24px;
  background-color: #0c75c2;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.log-out-btn:hover {
  background-color: #0959a3;
}

.log-out-btn i {
  font-size: 20px;
}
.right-sidebar {
  width: 168px;
  background-color: #fff;
  padding: 16px 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* Ad Container */
.ad-container {
  width: 168px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.ad-container img {
  width: 168px;
  height: 168px;
  object-fit: cover;
}

/* Stats Container */
.stats-container {
  background-color: #f5f5f5;
  padding: 8px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-size: 12px;
}

.stat-item i {
  font-size: 14px;
}
.log-out-btn:hover {
  background-color: #0959a3;
}

.log-out-btn i {
  font-size: 20px;
}

.modal-content {
  box-shadow: 0 10px 30px rgba(255, 77, 103, 0.1);
}

.btn-close {
  opacity: 1;
  filter: none;
}

.btn-close:hover {
  opacity: 0.75;
}

.modal-content {
  box-shadow: 0 10px 30px rgba(255, 77, 103, 0.1);
}

.btn-close {
  opacity: 1;
  filter: none;
}

.btn-close:hover {
  opacity: 0.75;
}

/* Animation for modal entrance */
.modal.fade .modal-dialog {
  transform: scale(0.8);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
}

/* Ensure modal maintains dimensions on smaller screens */
@media (max-width: 576px) {
  .modal-dialog {
    margin: 0.5rem;
  }
}

/* Mobile Menu Styles */
.navbar-toggler {
  border: none;
  padding: 0;
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.offcanvas {
  width: 300px;
  background-color: #fff;
}

.offcanvas-header {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.mobile-nav-link {
  color: #8b8d97;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.mobile-nav-link:hover {
  background-color: rgba(12, 117, 194, 0.1);
  color: #0c75c2;
}

.mobile-menu-item {
  color: #8b8d97;
  text-decoration: none;
  padding: 0.75rem 1rem;
  display: block;
  transition: all 0.3s;
}

.text-muted {
  color: var(--Primary, #0c74c2) !important;

  /* H3 */
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.metric-date {
  font-size: 12px !important;
}

.card-unit {
  color: var(--for-textfields, #666) !important;

  /* shaded text */
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.card-value {
  color: var(--Font, #2e2e2e);
  font-family: Poppins;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.mobile-menu-item:hover {
  color: #0c75c2;
  background-color: rgba(12, 117, 194, 0.1);
}

.mobile-user-menu {
  border-top: 1px solid #eee;
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Responsive Header Adjustments */
@media (max-width: 991px) {
  .header {
    height: 70px;
    padding: 0 16px;
  }

  .logo {
    width: 80px;
    height: auto;
  }

  .logo-container {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  .nav-center {
    margin-left: auto;
    margin-right: auto;
  }
}

#mobileMenu {
  background: linear-gradient(90deg, #0c75c2 0%, #1ecee4 100%);
}

#mobileMenu a {
  color: white;
}

#mobileMenu > .text-muted {
  color: white !important;
}
#btn-close {
  color: white !important;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #f5f6fa;
}

/* Layout container */
.layout-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar styles */
.sidebar {
  width: 306px;
  background: #fff;
  transition: all 0.3s ease;
  padding: 24px;
  position: relative;
  z-index: 1050;
}

.sidebar.collapsed {
  width: 80px;
}

/* Toggle button */
.sidebar-toggle {
  position: absolute;
  right: -12px;
  top: 20px;
  width: 24px;
  height: 24px;
  background: #2d2d2d;
  border: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1051;
  transition: transform 0.3s;
}

.sidebar.collapsed .sidebar-toggle {
  transform: rotate(180deg);
}

/* Menu items */
.menu-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #8b8d97;
  border-radius: 8px;
  margin-bottom: 8px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.menu-item:hover {
  background: rgba(12, 117, 194, 0.1);
  color: #0c75c2;
}

.menu-item.active {
  background: #0c75c2;
  color: #fff;
}

.sidebar-icon {
  width: 20px !important;
  height: 20px !important;
  margin-right: 12px;
  flex-shrink: 0;
}
.dated {
  color: var(--for-textfields, #666) !important;
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}
.medication-date {
  color: var(--for-textfields, #666) !important;
  font-family: Poppins;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: -0.36px;
}

.menu-text {
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.2s;
}

.sidebar.collapsed .menu-text {
  opacity: 0;
  width: 0;
  margin: 0;
}

/* Dropdown menu */
.menu-item-dropdown {
  background: #fff;
  color: #8b8d97;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
}

.menu-item-dropdown:hover {
  background: rgba(12, 117, 194, 0.1);
  color: #0c75c2;
}

.menu-item-dropdown.active {
  background: #0c75c2;
  color: #fff;
}

.menu-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 1px;
}

.arrow {
  transition: transform 0.3s;
}

.menu-item-dropdown.active .arrow {
  transform: rotate(90deg);
}

.dropdown-content {
  padding-left: 48px;
  margin-bottom: 16px;
  display: none;
}

.dropdown-content.show {
  display: block;
}

.dropdown-item-custom {
  color: #8b8d97;
  padding: 8px 0;
  display: block;
  text-decoration: none;
  transition: color 0.3s;
}

.dropdown-item-custom:hover {
  color: #0c75c2;
}

/* Upgrade box */
.upgrade-box {
  background: linear-gradient(90deg, #0c75c2 0%, #1ecee4 100%);
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-top: 32px;
  transition: opacity 0.3s;
}

.sidebar.collapsed .upgrade-box {
  display: none;
}

.upgrade-button {
  background: #fff;
  color: #0c75c2;
  border: none;
  border-radius: 24px;
  padding: 8px 24px;
  font-weight: 500;
  margin-top: 16px;
  cursor: pointer;
}

/* Logout button */
.log-out-btn {
  display: flex;
  align-items: center;
  padding: 5px 15px 5px 5px;
  color: #fff;
  background: #0c75c2;
  border: none;
  border-radius: 8px;
  margin-top: 24px;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s;
}

.log-out-btn:hover {
  background: #0959a3;
}

/* Mobile overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
}

.sidebar-overlay.active {
  display: block;
}

/* Mobile styles */
@media (max-width: 991px) {
  .sidebar {
    position: fixed;
    left: -306px;
    height: 100vh;
    overflow-y: auto;
  }

  .sidebar.mobile-active {
    left: 0;
  }

  .sidebar-toggle {
    display: none;
  }

  .layout-container {
    margin-left: 0 !important;
  }
}

/* Collapsed dropdown behavior */
.sidebar.collapsed .dropdown-content {
  position: absolute;
  left: 100%;
  top: 0;
  width: 200px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 8px;
  border-radius: 8px;
  display: none;
}

.sidebar.collapsed .menu-item-dropdown:hover .dropdown-content {
  display: block;
}
.mobile-toggle-btn {
  position: fixed;
  left: 0;
  top: 120px; /* Adjust based on your header height */
  width: 24px;
  height: 24px;
  background: #2d2d2d;
  border: none;
  border-radius: 0 4px 4px 0;
  color: #fff;
  display: none; /* Hidden by default on desktop */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1060;
  transition: left 0.3s ease;
}

.mobile-toggle-btn i {
  font-size: 14px;
}

/* Mobile sidebar styles */
@media (max-width: 991px) {
  .sidebar {
    position: fixed;
    left: -306px; /* Start off-screen */
    height: 100vh;
    transition: left 0.3s ease;
    z-index: 1050;
    top: 70px; /* Height of mobile header */
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .sidebar.mobile-active {
    left: 0;
  }

  .sidebar.mobile-active + .mobile-toggle-btn {
    left: 306px;
  }

  /* Hide the desktop sidebar toggle */
  .sidebar-toggle {
    display: none;
  }

  /* Overlay when sidebar is open */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
  }

  .sidebar-overlay.active {
    display: block;
  }
}

@media (max-width: 991px) {
  .main-content {
    padding: 16px;
    margin-left: 0;
    width: 100%;
  }

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

  /* Stats Cards */
  .stats-card {
    padding: 16px;
    margin-bottom: 16px;
  }

  .stats-card h3 {
    font-size: 20px;
  }

  /* Charts */
  .chart-card {
    margin-bottom: 16px;
    padding: 16px;
  }

  .chart-container {
    height: 250px; /* Slightly smaller on mobile */
  }

  /* List Cards */
  .list-card {
    margin-bottom: 16px;
    padding: 16px;
  }

  .list-item {
    padding: 10px;
  }

  /* Right Sidebar (Ads) */
  /* Layout container modification */
  .layout-container {
    flex-direction: column;
  }

  /* Right sidebar modifications for mobile */
  .right-sidebar {
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  /* Ad container modifications for mobile */
  .ad-container {
    width: calc(50% - 10px); /* Two ads per row with gap */
    margin-bottom: 0;
  }

  .ad-container img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1; /* Maintain square aspect ratio */
  }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
  .ad-container {
    width: 100%; /* Full width on very small screens */
    max-width: 300px; /* Maximum width for better appearance */
  }

  .right-sidebar {
    padding: 16px 8px;
  }
  /* Adjust grid layout for stats */
  .col-md-3 {
    width: 100%;
  }

  /* Make charts full width */
  .col-md-6 {
    width: 100%;
  }

  .chart-container {
    height: 200px; /* Even smaller on mobile */
  }

  /* Adjust list items */
  .list-item {
    flex-direction: column;
    gap: 10px;
  }

  .list-item .btn-icon {
    align-self: flex-end;
  }

  /* Banner image */
  .banner-image {
    height: auto;
    margin-top: 16px;
  }

  /* Header content adjustments */
  .dashboard-title {
    font-size: 18px;
  }

  .btn-outline-primary {
    padding: 6px 12px;
    font-size: 14px;
  }
}

/* Medium Devices */
@media (min-width: 577px) and (max-width: 767px) {
  /* Two columns for stats on tablets */
  .col-md-3 {
    width: 50%;
  }
}

/* Large Devices */
@media (min-width: 768px) and (max-width: 991px) {
  /* Two columns for stats on small laptops */
  .col-md-3 {
    width: 50%;
  }
}

/* Utility Classes for Responsive Design */
@media (max-width: 991px) {
  .d-mobile-none {
    display: none !important;
  }

  .d-mobile-block {
    display: block !important;
  }

  .text-mobile-center {
    text-align: center !important;
  }

  .mb-mobile-3 {
    margin-bottom: 1rem !important;
  }

  .p-mobile-2 {
    padding: 0.5rem !important;
  }
}

/* Modal Responsiveness */
@media (max-width: 576px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-content {
    border-radius: 12px;
  }

  .modal-body {
    padding: 1rem;
  }
}

/* Chart Responsiveness */
@media (max-width: 991px) {
  .chart-card {
    overflow-x: auto;
  }

  .chart-container {
    min-width: 300px;
  }
}

/* List Items Responsiveness */
@media (max-width: 576px) {
  .list-item {
    padding: 12px 8px;
  }

  .list-item h6 {
    font-size: 14px;
  }

  .list-item .text-muted {
    font-size: 12px;
  }

  .icon-box {
    width: 32px;
    height: 32px;
  }
}

/* Stats Card Responsiveness */
@media (max-width: 576px) {
  .stats-card {
    text-align: center;
  }

  .stats-card .d-flex {
    flex-direction: column;
    align-items: center;
  }

  .stats-card .btn-icon {
    margin-top: 8px;
  }
}

.header {
  height: 108px;
  background: linear-gradient(90deg, #0c75c2 0%, #1ecee4 100%);
  padding: 0 32px;
  justify-content: flex-start;
  color: #fff;
}

.header > div:last-child {
  margin-left: auto;
}

/* Logo Styles */
.logo-container {
  display: flex;
  align-items: center;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.logo {
  width: 116px;
  height: 90.925px;
  flex-shrink: 0;
}

.trustpilot {
  width: 120px;
}

/* Navigation Styles */
.nav-center {
  margin-left: 40px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 0 24px;
  border-radius: 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s;
}

.nav-link:last-child {
  border-right: none;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* User Elements */
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4444;
  color: white;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dropdown Menu Styles */
.dropdown-menu {
  background: white;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  color: #2e2e2e;
  transition: background-color 0.3s;
}

.dropdown-item:hover {
  background-color: rgba(12, 117, 194, 0.1);
  color: #0c75c2;
}

/* Mobile Menu Styles */
#mobileMenu {
  background: linear-gradient(90deg, #0c75c2 0%, #1ecee4 100%);
}

#mobileMenu a {
  color: white;
}

.mobile-nav-link {
  color: #8b8d97;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.mobile-nav-link:hover {
  background-color: rgba(12, 117, 194, 0.1);
  color: #0c75c2;
}

/* Mobile User Menu Styles */
.mobile-user-profile {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-item {
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.3s;
}

.mobile-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-item i {
  font-size: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .header {
    height: 70px;
    padding: 0 16px;
  }

  .logo {
    width: 80px;
    height: auto;
  }

  .logo-container {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }
}

@media (min-width: 992px) {
  .nav-center {
    margin-left: auto;
    margin-right: auto;
  }
}

.notification-dropdown {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 2px;
  margin-top: 10px;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4444;
  color: white;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-item {
  transition: background-color 0.3s;
  border-radius: 6px;
}

.notification-item:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}

.icon-circle {
  width: 40px;
  height: 40px;
  background: #e0f1ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-content {
  flex: 1;
}

.dropdown-divider {
  margin: 0;
  border-color: #e9ecef;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .notification-dropdown {
    width: 100% !important;
    margin: 0;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    border-radius: 0;
  }
}

.dropdown-toggle-custom::after {
  display: none !important;
}

.menu-item:hover {
  background-color: rgba(12, 117, 194, 0.1);
  color: #0c75c2;
}

/* .menu-item svg path {
    fill: #9197B3;
} */

.menu-item:hover svg path {
  fill: #0c75c2;
}

.popup {
  height: 100vh;
  width: 100%;
  padding: 0 2%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 10000;
}

.paired-box {
  max-width: 572px;
  width: 100%;
  padding: 40px 30px;
}

.paired-box h5 {
  font-size: 25px;
  color: #ed4c5c;
  font-weight: 500;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
}

.popup-btn {
  padding: 6px 34px;
  color: #0959a3;
  border: 1px solid #0959a3;
  border-radius: 20px;
  background: transparent;
  transition: all 0.3s ease;
}

.popup-btn:hover {
  background: linear-gradient(to right, #0b6fc0, #0ae0fc);
  color: white;
  border: 1px solid white;
}

.m-remote-care-dropdown {
  background: white;
  width: 100%;
  margin-top: 10px;
  padding: 10px 0px;
  border-radius: 10px;
}

.m-remote-care-dropdown li {
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 5px;
  list-style: none;
  color: black !important;
}

.m-remote-care-dropdown li:hover {
  background: #ececec;
}

.sidebar-icon {
  width: 37px !important;
  height: 30px !important;
  margin-right: 12px;
  flex-shrink: 0;
}

.sidebar.collapsed {
  width: 100px !important;
}

.menu-item {
  padding: 13px !important;
}

.menu-item-dropdown {
  padding: 13px !important;
}

.upgrade-box {
  display: flex;
  flex-direction: column;
  margin-top: 30px !important;
  margin-bottom: 18px !important;
}

.upgrade-box .upgrade-text {
  font-size: 16px;
}

.profile-box {
  max-width: 622px;
  width: 100%;
  padding: 40px 30px;
}

.profile-box h5 {
  font-size: 25px;
  color: #0c74c2;
  font-weight: 500;
}

.profile-box .profile-link h6 {
  color: #555555;
}

.sidebar-icon {
  width: 35px !important;
}

.popup {
  height: 100vh;
  width: 100%;
  padding: 0 2%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 10000;
}

.paired-box {
  max-width: 572px;
  width: 100%;
  padding: 40px 30px;
}

.paired-box h5 {
  font-size: 25px;
  color: #ed4c5c;
  font-weight: 500;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
}

.popup-btn {
  padding: 6px 34px;
  color: #0959a3;
  border: 1px solid #0959a3;
  border-radius: 20px;
  background: transparent;
  transition: all 0.3s ease;
}

.popup-btn:hover {
  background: linear-gradient(to right, #0b6fc0, #0ae0fc);
  color: white;
  border: 1px solid white;
}

.m-remote-care-dropdown {
  background: white;
  width: 100%;
  margin-top: 10px;
  padding: 10px 0px;
  border-radius: 10px;
}

.m-remote-care-dropdown li {
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 5px;
  list-style: none;
  color: black !important;
}

.m-remote-care-dropdown li:hover {
  background: #ececec;
}

.sidebar-icon {
  width: 37px !important;
  height: 30px !important;
  margin-right: 12px;
  flex-shrink: 0;
}

.sidebar.collapsed {
  width: 100px !important;
}

.menu-item {
  padding: 13px !important;
}

.menu-item-dropdown {
  padding: 13px !important;
}

.upgrade-box {
  display: flex;
  flex-direction: column;
  margin-top: 30px !important;
  margin-bottom: 18px !important;
}

.upgrade-box .upgrade-text {
  font-size: 16px;
}

.profile-box {
  max-width: 622px;
  width: 100%;
  padding: 40px 30px;
}

.profile-box h5 {
  font-size: 25px;
  color: #0c74c2;
  font-weight: 500;
}

.profile-box .profile-link h6 {
  color: #555555;
}

.sidebar-icon {
  width: 30px !important;
}
/* Modal Container Styles */
.preview-modal {
  width: 598px;
  max-height: 446px;
  border-radius: 30px;
  position: relative;
  background: white;
  overflow: hidden;
}

/* Close Button */
.preview-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1;
}

/* Modal Title */
.preview-title {
  color: #0c74c2;
  font-family: "Poppins", sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 0.1rem;
  text-align: center;
}

/* Modal Text Content */
.preview-text {
  color: var(--for-textfields, #666);
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-align: center;
  margin-bottom: 0px;
}

/* History Section */
.preview-history {
  margin-top: 1rem;
}

.preview-history-title {
  color: var(--Font, #2e2e2e);
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

/* Timeline Entries Container */
.timeline-entries {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Individual Timeline Entry */
.timeline-entry {
  background-color: #f0f9ff;
  height: 38px;
  padding: 1rem;
  padding-top: 10px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  font-family: "Poppins", sans-serif;
  border-radius: 5px;
  background: var(--container-fill, #ddf2f9);
}

.timeline-entry span {
  color: var(--Font, #2e2e2e);
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

/* "Add again" Text Style */
#addagain {
  color: var(--Font, #2e2e2e);
  font-family: Poppins;
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  line-height: normal;
}

/* Action Buttons Container */
.preview-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Individual Action Button */
.action-btn {
  width: 38px;
  height: 38px;
  border-radius: 5%;
  border: none;
  background-color: #f0f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.action-btn:hover {
  background-color: #e1f4ff;
}

.action-btn i {
  color: #0c74c2;
  font-size: 1rem;
}

/* Preview Button Hover */
.btn-preview:hover {
  cursor: pointer;
  color: #0c74c2;
}

/* Modal Animation */
.modal.fade .modal-dialog {
  transform: scale(0.8);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .preview-modal {
    width: 100%;
    height: auto;
    max-height: 90vh;
    margin: 1rem;
  }

  .modal-dialog {
    margin: 1rem;
  }

  .modal-body {
    padding: 16px;
  }
}

.notification-dropdown {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 2px;
  margin-top: 10px;
}

.popup {
  height: 100vh;
  width: 100%;
  padding: 0 2%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 10000;
}

.paired-box {
  width: 572px;
  padding: 40px 30px;
}

.paired-box h5 {
  font-size: 25px;
  color: #0959a3 !important;
  font-weight: 500;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
}

.popup-btn {
  padding: 6px 34px;
  color: #0959a3;
  border: 1px solid #0959a3;
  border-radius: 20px;
  background: transparent;
  transition: all 0.3s ease;
}

.popup-btn:hover {
  background: linear-gradient(to right, #0b6fc0, #0ae0fc);
  color: white;
  border: 1px solid white;
}

.m-remote-care-dropdown {
  background: white;
  width: 100%;
  margin-top: 10px;
  padding: 10px 0px;
  border-radius: 10px;
}

.m-remote-care-dropdown li {
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 5px;
  list-style: none;
  color: black !important;
}
.m-remote-care-dropdown li:hover {
  background: #ececec;
}

.sidebar.collapsed {
  width: 100px !important;
}

.menu-item {
  padding: 13px !important;
}
.menu-item-dropdown {
  padding: 13px !important;
}

.upgrade-box {
  display: flex;
  flex-direction: column;
  margin-top: 30px !important;
  margin-bottom: 18px !important;
}

.upgrade-box .upgrade-text {
  font-size: 17px;
  line-height: 24px;
}

.profile-box {
  max-width: 622px;
  width: 100%;
  padding: 40px 30px;
}

.profile-box h5 {
  font-size: 25px;
  color: #0c74c2;
  font-weight: 500;
}

.profile-box .profile-link h6 {
  color: #555555;
}

.dropdown-content {
  display: none;
}

.dropdown-content.show {
  display: block;
}

.dropdown-item-custom.active {
  color: #0c75c2;
}

.sidebar-icon {
  width: 30px;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4444;
  color: white;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-item {
  transition: background-color 0.3s;
  border-radius: 6px;
}

.notification-item:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}

.icon-circle {
  width: 40px;
  height: 40px;
  background: #e0f1ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-content {
  flex: 1;
}

.dropdown-divider {
  margin: 0;
  border-color: #e9ecef;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .notification-dropdown {
    width: 100% !important;
    margin: 0;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    border-radius: 0;
  }
}

.dropdown-toggle-custom::after {
  display: none !important;
}

.menu-item.active svg path {
  fill: white;
}

.menu-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 1px;
}

.menu-icon-wrapper svg path {
  fill: #9197b3;
}

.menu-icon-wrapper:hover svg path {
  fill: #0c75c2;
}

.menu-icon-wrapper.active svg path {
  fill: white;
}

.menu-icon-wrapper.active svg path:hover {
  fill: #9197b3 !important;
}

.logo {
  width: 145px !important;
  height: 125px !important;
}
z .notification-icon img {
  width: 26px !important;
  height: 30px !important;
}

.menu-item.active:hover {
  background: #0c75c2 !important;
  color: white !important;
}

.menu-item-dropdown.active:hover {
  background: #0c75c2 !important;
  color: white !important;
}

.menu-item-active {
  background: #0c75c2 !important;
  color: white !important;
}
.menu-item-active svg path {
  fill: white !important;
}

.sidebar {
  min-height: 100vh !important;
  height: auto !important;
}

.menu-item:hover svg path {
  fill: #0c75c2 !important;
}
.menu-item.active:hover svg path {
  fill: white !important;
}

.menu-item-dropdown.active svg path {
  fill: white !important;
}

.log-out-btn {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 24px;
  background-color: #0c75c2;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.log-out-btn:hover {
  background-color: #0959a3;
}

.add-box {
  width: 370px !important;
  padding: 20px 0;
}

.add-img-container {
  position: relative;
}

.learn-more {
  position: absolute;
  bottom: 37px;
  width: 100%;
  background: rgba(255, 255, 255, 0.76);
  /* background: red; */
  padding: 5px 0;
  font-weight: 600;
}

.add-close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
}

.add-stats-container {
  background-color: #f5f5f5;
  padding: 8px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.add-stats-container i {
  font-size: 18px;
  color: black;
}

.add-video-box iframe {
  width: 600px;
  height: 370px;
}

/* Main Contant Start  */
.main-content {
  flex: 1;
  padding: 24px;
  background-color: #f5f6fa;
  min-width: 0;
}

.transfer-container {
  background: white;
  height: 100%;
  padding: 20px 30px;
  border-radius: 10px;
}

.transfer-heading h3 {
  color: black;
  font-weight: 500;
  font-size: 25px;
}

.transfer-heading p {
  color: #0c74c2;
}

.transfer-user-card {
  background: white;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px #00000026;
}

.user-info h3 {
  color: #0c74c2;
  font-size: 23px;
}

.user-info span {
  color: #2e2e2e;
  font-size: 17px;
}

.transfer-info h3 {
  font-weight: 400;
  color: #2e2e2e;
  font-size: 16px;
}

.transfer-info h4 {
  font-weight: 300;
  color: #2e2e2e;
  font-size: 16px;
}

.transfer-patients table {
  margin-top: 50px;
  border-collapse: collapse;
  width: 100%;
}

.transfer-patients tr {
  border-top: 15px solid white;
  border-bottom: 15px solid white;
}

.transfer-patients th {
  padding: 17px 20px;
  margin-top: 20px;
  background: #ddf2f9;
  margin-bottom: 10px !important;
}

.transfer-patients td {
  padding: 10px 20px;
  background: #ddf2f9;
  margin-top: 20px !important;
}

.transfer-patients table h5 {
  font-size: 18px;
  color: #2e2e2e;
}

.transfer-patients td {
  cursor: pointer;
}

.profile-box-content h5 {
  font-weight: 500;
  color: #0c74c2;
}

.patient-profile-box {
  max-width: 450px;
  width: 100%;
  padding: 40px 30px;
}
.profile-box-content h6 {
  font-weight: 400;
}

.highlight-text {
  font-weight: 600;
  font-style: italic;
}

.transfer-table-container{
  width: 100%;
  overflow: scroll;
  background-color: transparent !important;
}
.transfer-table{
  margin-top: 0 !important;
  width: 800px;
  background-color: transparent !important;
  overflow: scroll;
}

@media (max-width: 1300px) {
    .primary-btn {
    padding: 3px 14px !important;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .transfer-user-card {
    padding: 10px 15px;
  }
  .transfer-container {
    padding: 15px 15px;
  }
}

@media (max-width: 425px) {
  .transfer-info h3 {
    font-size: 13px;
  }
  .transfer-info h4 {
    font-size: 13px;
  }
  .user-info span {
    font-size: 15px;
  }
  .user-info h3 {
    font-size: 20px;
  }
  .primary-btn {
    padding: 3px 14px !important;
  }
  .transfer-heading h3 {
    font-size: 20px;
    margin-bottom: 0 !important;
  }
  .transfer-heading p {
    margin: 0 !important;
  }
}