@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");

body {
  font-family: "Poppins", sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

/* Header styles */
.header {
  height: 80px;
  background: linear-gradient(90deg, #0c75c2 0%, #1ecee4 100%);
  padding: 0 24px;
  color: #fff;
}

.logo {
  height: 45px;
}

.trustpilot {
  color: #fff;
  font-size: 14px;
}

.trustpilot-stars {
  color: gold;
}

.header-icons .bi {
  font-size: 24px;
  color: #fff;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Layout container */
.layout-container {
  display: flex;
  min-height: calc(100vh - 80px);
  max-width: 100%;
  overflow-x: hidden;
}

/* Left Sidebar styles */
.sidebar {
  width: 306px;
  height: 943px;
  flex-shrink: 0;
  background-color: #fff;
  padding: 24px;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 12px 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;
}

.menu-item.active {
  background-color: #0c75c2;
  color: #fff;
}

.menu-item i {
  margin-right: 12px;
  font-size: 20px;
}

.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;
}

/* Main content styles */
.main-content {
  flex: 1;
  padding: 24px;
  background-color: #f9f9f9;
  min-width: 0;
  background-color: #f5f6fa;

  height: 100%; /* Full height */
}

.main-content > p {
  color: #2e2e2e;
  font-family: "Work Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.banner-image {
  width: 100%;

  object-fit: cover;

  height: 252px;
  flex-shrink: 0;
}

.content-heading {
  color: #0c75c2;
  font-size: 24px;
  font-weight: 600;
  margin: 24px 0 16px;
}

.read-more {
  color: #2aafe8;
  font-family: "Work Sans";
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
}

.feature-card {
  background-color: #e0f1ff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  height: 100%;
}

.feature-icon {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-icon i {
  font-size: 32px;
  color: #0c75c2;
}

/* Right sidebar styles */
.right-sidebar {
  width: 168px;
  background-color: #fff;
  padding: 16px 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.ad-box {
  width: 168px;
  height: 168px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-box img {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 8px;
}

.vertical-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 24px;
}

.sidebar-icon {
  padding-right: 10px;
}
.dropdown-menu {
  transform: translateY(10px);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  color: #2e2e2e;
  font-size: 14px;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #0c75c2;
}

.dropdown-item i {
  opacity: 0.7;
}

.dropdown-header {
  padding-bottom: 16px;
}

/*Left Side Bar DropDowns */
.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;
}

.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;
}

.menu-item-dropdown .arrow {
  transition: transform 0.3s;
}

.menu-item-dropdown.active .arrow {
  transform: rotate(180deg);
}

.menu-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-content {
  background-color: #f5f6fa;
  padding: 24px;
}

.dashboard-title {
  color: #2e2e2e;
  font-size: 24px;
  font-weight: 600;
}

.stats-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  height: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chart-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.list-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chart-container {
  height: 300px;
  position: relative;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.list-item:hover {
  background-color: #f5f6fa;
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon {
  border: none;
  background: none;
  padding: 6px;
  color: #6b7280;
}

.btn-icon:hover {
  color: #0c75c2;
}

.card-title {
  color: #2e2e2e;
  font-weight: 600;
}
.trustpilot-wrapper {
  color: #fff;
}

.trustpilot-header {
  margin-bottom: 2px;
}

.review-text {
  font-size: 12px;
  color: #fff;
  opacity: 0.9;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.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;
}

.header {
  padding: 0 32px;
}
.main-content {
  background-color: #f5f6fa;
  padding: 24px;
  flex: 1;
}
.content-wrapper {
  background: white;
  border-radius: 16px;
  padding: 32px;
  height: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
a {
  text-decoration: none;
}

.page-title {
  font-size: 24px;
  color: #1e293b;
  font-weight: 500;
  margin: 0;
}

.add-new-btn {
  border: 1px solid #0c75c2;
  color: #0c75c2;
  background: white;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
}

.add-new-btn:hover {
  background: #f1f5f9;
}

.test-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f9ff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.lab-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lab-info h6 {
  font-size: 14px;
  font-weight: 400;
}

.lab-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

.lab-details h3 {
  color: #1e293b;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 4px 0;
}

.lab-type {
  color: #64748b;
  font-size: 14px;
}

.test-date {
  color: #64748b;
  font-size: 14px;
}

.view-results-btn {
  color: #0c75c2;
  background: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.view-results-btn:hover {
  background: #f8fafc;
}

.results-btn {
  color: #0c75c2;
  background: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.results-btn:hover {
  background: #f8fafc;
}
/* 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;
}

/* Dropdown Styles */
.dropdown-menu {
  transform: translateY(10px);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  color: #2e2e2e;
  font-size: 14px;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #0c75c2;
}

.dropdown-item i {
  opacity: 0.7;
}

.dropdown-header {
  padding-bottom: 16px;
}

.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;
}
.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;
}
.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;
  }
}
.sidebar {
  width: 306px;
  height: 943px;
  flex-shrink: 0;
  background-color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1050;
  transition: all 0.3s ease;
}

.sidebar.collapsed {
  width: 80px;
}

.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;
  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;
}

/* Sidebar Icons */
.sidebar-icon {
  width: 30px !important;
  height: 30px !important;
  margin-right: 12px;
  flex-shrink: 0;
}

.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: 12px;
}

.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: 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;
}

.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;
}

/* 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 Sidebar */
@media (max-width: 991px) {
  .sidebar {
    position: fixed;
    left: -306px;
    height: 100vh;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1050;
  }

  .sidebar.mobile-active {
    left: 0;
  }

  .sidebar-toggle {
    display: none;
  }

  .sidebar-overlay {
    display: none;
  }

  .sidebar-overlay.active {
    display: block;
  }
}
/* Sidebar 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 ease;
}

.sidebar.collapsed .sidebar-toggle {
  transform: rotate(180deg); /* Rotate the toggle when sidebar is collapsed */
}

/* Sidebar Collapsed */
.sidebar {
  width: 306px;
  background: #fff;
  transition: all 0.3s ease; /* Smooth transition for collapsing */
  padding: 24px;
  position: relative;
  z-index: 1050;
}

.sidebar.collapsed {
  width: 80px; /* Reduced width for collapsed state */
}

.sidebar.collapsed .menu-text {
  opacity: 0; /* Hide text for collapsed state */
  width: 0;
  margin: 0;
  white-space: nowrap;
  overflow: hidden; /* Prevent text overflow */
}

/* Collapsed Dropdown Behavior */
.sidebar.collapsed .dropdown-content {
  position: absolute;
  left: 100%; /* Dropdown appears to the right of the collapsed sidebar */
  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; /* Show dropdown content on hover */
}

/* Sidebar Overlay (for mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dimmed background */
  z-index: 1040;
}

.sidebar-overlay.active {
  display: block;
}

/* Mobile Sidebar Behavior */
@media (max-width: 991px) {
  .sidebar {
    position: fixed;
    left: -306px; /* Start off-screen */
    height: 100vh;
    transition: left 0.3s ease; /* Smooth transition */
    z-index: 1050;
    top: 70px; /* Adjust for header height */
  }

  .sidebar.mobile-active {
    left: 0; /* Slide-in when active */
  }

  .sidebar.mobile-active + .mobile-toggle-btn {
    left: 306px; /* Adjust mobile toggle position */
  }

  .sidebar-toggle {
    display: none; /* Hidden toggle for mobile */
  }
}

/* Mobile Toggle Button */
.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;
}

/* Show the mobile toggle button for smaller screens */
@media (max-width: 991px) {
  .mobile-toggle-btn {
    display: flex;
  }
}
/* Preserve desktop layout above 991px */
@media (max-width: 991px) {
  .layout-container {
    flex-wrap: wrap;
  }

  .main-content {
    flex: 1 1 100%;
    padding: 16px;
  }

  .content-wrapper {
    padding: 24px;
  }

  .right-sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding: 16px;
    gap: 16px;
  }

  .ad-container {
    width: calc(33.33% - 16px);
    margin-bottom: 0;
  }

  /* Adjust header container */
  .header-container {
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 22px;
  }

  .test-date {
    width: 100%;
    order: 3;
    text-align: left;
  }

  .view-results-btn {
    order: 4;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 20px;
  }

.test-action-btns {
  /* width: 100%;  */
  margin: auto;
  /* justify-content: center !important; */
}

  .ad-container {
    width: calc(50% - 16px);
  }

  .test-result-card {
    padding: 16px;
  }

  .lab-info {
    width: 100%;
  }

  .lab-avatar {
    width: 40px;
    height: 40px;
  }

  .lab-details h3 {
    font-size: 15px;
  }

  .lab-type,
  .test-date {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .content-wrapper {
    padding: 16px;
    border-radius: 12px;
  }

  .header-container {
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
  }

  .add-new-btn {
    /* width: 100%; */      
      min-height: auto !important;
      padding: 6px 20px !important;

  }

  .ad-container {
    width: 100%;
  }

  .test-result-card {
    margin-bottom: 12px;
  }

  .lab-info {
    gap: 12px;
  }

  .view-results-btn {
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* Card hover and focus states */
.test-result-card {
  transition: all 0.3s ease;
}

.test-result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Button touch targets */
@media (max-width: 991px) {
  .add-new-btn,
  .view-results-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Ensure proper spacing between cards */
.test-results-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 576px) {
  .test-results-list {
    gap: 12px;
  }
}

/* Modal Styles */
#addValuesModal .modal-dialog {
  max-width: 572px;
}

#addValuesModal .modal-content {
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

#addValuesModal .modal-title {
  color: #0c75c2;
  font-size: 36px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

#addValuesModal .input-label {
  color: #1e293b;
  font-size: 16px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

#addValuesModal .form-control,
#addValuesModal .form-select {
  height: 48px;
  background-color: #f0f9ff !important;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
}

#addValuesModal .upload-box {
  background-color: #f0f9ff;
  border: 2px dashed #0c75c2;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#addValuesModal .upload-box:hover {
  background-color: #e5f4ff;
}

#addValuesModal .upload-box i {
  font-size: 24px;
  color: #0c75c2;
}

#addValuesModal .upload-text {
  color: #0c75c2;
  font-size: 14px;
  font-weight: 300;
}

#addValuesModal .btn-outline-primary {
  color: #0c75c2;
  border-color: #0c75c2;
  font-weight: 500;
  padding: 12px 32px;
  min-width: 200px;
}

#addValuesModal .btn-outline-primary:hover {
  background-color: #0c75c2;
  color: white;
}

/* Add this CSS */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-wrapper {
  width: 485px;
  height: 417px;
  flex-shrink: 0;
  background: white;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.modal-content {
  padding: 40px;
}

.modal-content h2 {
  color: #0c75c2;
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  font-family: "Poppins", sans-serif;
}

.input-group {
  margin-bottom: 24px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: #1e293b;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
}

.input-with-icon {
  position: relative;
}

.input-with-icon input,
.input-with-icon select {
  width: 100%;
  height: 48px;
  background: #f0f9ff;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
}

.input-with-icon i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}

.upload-box {
  background: #f0f9ff;
  border: 2px dashed #0c75c2;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  margin-bottom: 32px;
  cursor: pointer;
}

.upload-box i {
  color: #0c75c2;
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}

.upload-box span {
  color: #0c75c2;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
}

.save-btn {
  width: 40%;
  height: 48px;
  border: 1px solid #0c75c2;
  border-radius: 24px;
  background: white;
  color: #0c75c2;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;

  padding: 6px 23px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.save-btn:hover {
  background: #0c75c2;
  color: white;
}

.modal-wrapper {
  width: 485px;
  height: 417px;
  flex-shrink: 0;
  background: white;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* To maintain fixed height */
}

.modal-content {
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.input-group {
  margin-bottom: 16px;
}

/* Make label and input inline */
.input-group label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #1e293b;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
}

/* Style for the label text */
.input-group label span {
  min-width: 100px; /* Fixed width for labels */
}

.input-with-icon {
  position: relative;
  flex: 1; /* Take remaining space */
}

.input-with-icon input,
.input-with-icon select {
  width: 100%;
  height: 40px;
  background: #ddf2f9;
  border: none;
  border-radius: 5px;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
}

.upload-box {
  background: #ddf2f9;
  border-radius: 5px;
  padding: 16px;
  text-align: center;
  margin: 16px 0;
  cursor: pointer;
}

/* Update layout spacing */
.modal-content h2 {
  margin-bottom: 32px;
}

.save-btn {
  margin-top: auto; /* Push button to bottom */
}

.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;
}
.test-print-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  display: none;
  justify-content: flex-end;
  align-items: stretch;
  z-index: 1050;
  transition: all 0.3s ease;
}

.test-print-popup.show {
  display: flex;
}

.test-print-card {
  width: 900px;
  height: 100%;
  background: white;
  padding: 40px;
  position: relative;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.test-print-popup.show .test-print-card {
  transform: translateX(0);
}

.print-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.lab-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.print-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 -20px;
  pointer-events: none;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s;
}

.nav-btn:hover {
  background: #f8f9fa;
  transform: scale(1.05);
}

.prev {
  margin-left: -20px;
}

.next {
  margin-right: -20px;
}

.test-results-preview {
  flex: 1;
  overflow-y: hidden;
  align-items: center;
}

/* Custom scrollbar for the preview */
.test-results-preview::-webkit-scrollbar {
  width: 8px;
}

.test-results-preview::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.test-results-preview::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.test-results-preview::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .test-print-card {
    width: 100%;
  }

  .print-navigation {
    display: none;
  }
}

.print-pop-head {
  color: var(--Primary, #0c74c2) !important;
  font-family: Poppins !important;
  font-size: 25px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: normal !important;
}
.print-btn,
.cancel-print {
  border-radius: 20px !important;
  border: 1px solid #0b6fc0 !important;
  width: 122px;
  height: 37px;
  padding: 9px 23px;
  padding-top: 8px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #0c75c2 !important;
  background-color: white !important;
}

.test-chart > img {
  width: 600px;
  background-size: cover;
}
.test-chart {
  padding-left: 80px;
}

#addValuesModal .modal-dialog {
  max-width: 485px;
}

#addValuesModal .modal-content {
  width: 485px;
  height: 567px !important;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25),
    0px 4px 15px 0px rgba(221, 242, 249, 0.6);
  border: none;
}

#addValuesModal .modal-body {
  padding: 24px;
  padding-top: 6px;
}

#addValuesModal .modal-title {
  color: #0c75c2;
  font-size: 24px;
  font-weight: 500;
}

#addValuesModal .form-control {
  width: 343px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 5px;
  background: #ddf2f9;
  border: none;
  padding: 8px 12px;
}

#addValuesModal label {
  min-width: 80px;
  margin-right: 12px;
  color: #1e293b;
  font-size: 14px;
}

#addValuesModal .upload-box {
  background: #ddf2f9;
  border-radius: 5px;
  padding: 16px;
  margin: 20px 0;
  cursor: pointer;
}

#addValuesModal .upload-box:hover {
  background: #cce8f5;
}

#addValuesModal .cursor-pointer {
  cursor: pointer;
}

#addValuesModal .btn-outline-primary {
  border-color: #0c75c2;
  color: #0c75c2;
}

#addValuesModal .btn-outline-primary:hover {
  background: #0c75c2;
  color: white;
}

#addValuesModal .upload-box {
  background: #ddf2f9;
  border-radius: 5px;
  padding: 12px;
  margin: 20px 0;
  cursor: pointer;
}

#addValuesModal .upload-box label {
  min-width: unset;
  margin: 0;
}

#addValuesModal .upload-box i {
  font-size: 14px;
  margin: 0;
}

#addValuesModal .upload-text {
  color: #0c75c2;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

#addValuesModal .upload-box:hover {
  background: #cce8f5;
}

/* Updated Modal CSS */
#addValuesModal .modal-dialog {
  max-width: 485px;
}

#addValuesModal .modal-content {
  width: 100%;
  height: 417px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25),
    0px 4px 15px rgba(221, 242, 249, 0.6);
  border: none;
  padding: 24px;
}

/* Modal Title */
#addValuesModal .modal-title {
  color: #0c75c2;
  text-align: center;
  font-family: Poppins;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Form Groups */
#addValuesModal .form-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

#addValuesModal .form-group label {
  color: #1e293b;
  font-size: 16px;
  min-width: 100px;
  margin: 0;
}

/* Form Controls */
#addValuesModal .form-control {
  width: 343px;
  height: 38px;
  border-radius: 5px;
  background: #ddf2f9;
  border: none;
  padding: 8px 12px;
  color: #64748b;
}

/* Upload Box */
#addValuesModal .upload-box {
  width: 372px;
  height: 60px;
  border: none;
  border-radius: 5px;
  background: #ddf2f9;
  margin: 20px auto;
  cursor: pointer;
}

#addValuesModal .upload-label {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0c75c2;
}

/* Save Button */
#addValuesModal .button-container {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

#addValuesModal .btn-primary {
  display: flex;
  width: 130px;
  height: 37px;
  padding: 9px 23px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 20px;
  border: 1px solid #0c75c2;
  color: #0c75c2;
  background: white;
  font-size: 14px;
}

/* Select Dropdown */
#addValuesModal select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1.5 1.75L6 6.25L10.5 1.75' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* Form Icons */
#addValuesModal .form-group svg {
  width: 20px;
  height: 20px;
  color: #64748b;
}
#addValuesModal .modal-dialog {
  max-width: 485px;
}

#addValuesModal .modal-content {
  width: 100% !important;
  height: 417px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  border: none;
}

#addValuesModal .modal-body {
  padding: 32px;
  padding-top: 0px;
}

#addValuesModal .modal-title {
  color: #0c75c2;
  font-size: 24px;
  text-align: center;
  font-weight: 500;
  margin-bottom: 32px;
}

#addValuesModal .form-group {
  margin-bottom: 16px;
}

#addValuesModal label {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
}

#addValuesModal label span {
  width: 80px;
  color: #1e293b;
  font-size: 14px;
}

#addValuesModal .input-wrapper {
  position: relative;
  flex: 1;
}

#addValuesModal .form-control {
  width: 100%;
  height: 38px;
  border-radius: 5px;
  background: #ddf2f9;
  border: none;
  padding: 8px 12px;
  padding-right: 35px;
}

#addValuesModal .form-control:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(12, 117, 194, 0.3);
}

#addValuesModal .input-wrapper i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

#addValuesModal .upload-box {
  width: 100% !important;
  background: #ddf2f9;
  border-radius: 5px;
  margin: 24px 0;
  transition: background-color 0.2s;
}

#addValuesModal .upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  margin: 0;
  cursor: pointer;
  color: #0c75c2;
}

#addValuesModal .upload-label i {
  font-size: 14px;
}

#addValuesModal .upload-text {
  font-size: 14px;
  font-weight: 300;
  text-decoration: underline;
}

#addValuesModal .upload-box:hover {
  background: #cce8f5;
}

#addValuesModal .save-btn {
  height: 37px;
  border-radius: 20px;
  border: 1px solid #0b6fc0;
  color: #0c75c2;
  background: white;
  transition: all 0.2s;
}

#addValuesModal .save-btn:hover {
  background: #0c75c2;
  color: white;
}
/* Update these existing modal styles */
#addValuesModal .form-control {
  width: 100%;
  height: 38px;
  border-radius: 5px;
  background: #f0f9ff;
  border: none;
  padding: 8px 12px;
  color: #1e293b;
  font-size: 14px;
}

#addValuesModal .upload-box {
  background: #f0f9ff;
  border-radius: 5px;
  margin: 24px 0;
  transition: background-color 0.2s;
}

#addValuesModal .custom-date::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M15 2H19C19.5523 2 20 2.44772 20 3V19C20 19.5523 19.5523 20 19 20H1C0.447715 20 0 19.5523 0 19V3C0 2.44772 0.447715 2 1 2H5V0H7V2H13V0H15V2ZM18 8H2V18H18V8Z' fill='%2364748B'/%3E%3C/svg%3E");
  cursor: pointer;
}

#addValuesModal .custom-time::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C4.486 0 0 4.486 0 10C0 15.514 4.486 20 10 20C15.514 20 20 15.514 20 10C20 4.486 15.514 0 10 0ZM10 18C5.589 18 2 14.411 2 10C2 5.589 5.589 2 10 2C14.411 2 18 5.589 18 10C18 14.411 14.411 18 10 18ZM11 5H9V10H14V8H11V5Z' fill='%2364748B'/%3E%3C/svg%3E");
  cursor: pointer;
}

#addValuesModal .custom-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5 7L10 12L15 7' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
.add-new-btn:hover {
  background: linear-gradient(90deg, #0c75c2 0%, #1ecee4 100%);
  color: white;
}

.delete-box {
  max-width: 572px;
  padding: 40px 30px;
  z-index: 1000 !important;
}

.delete-box p {
  margin-top: 10px;
}

.delete-box h5 {
  font-size: 25px;
  color: #ed4c5c;
  font-weight: 500;
}


@media (max-width: 1200px) {
  /* Test result cards adjustments */
  .test-result-card {
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
  }
}

@media (max-width: 425px) {
  .results-btn {
    height: 40px;
    font-size: 12px;
  }
  .view-results-btn {
    min-height: auto;
    height: 40px;
    font-size: 12px;
    text-wrap: nowrap;
  }
}

