* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f5f5f5;
  overflow-x: hidden;
}

/* Top Navigation Bar */
.top-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  padding: 9px 36px 9px 14px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: #6b46c1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.logo-text {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.search-container {
  flex: 1;
  max-width: 500px;
  margin: 0 16px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 6.5px 16px 6.5px 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: white;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #6c7275;
  min-width: 400px;
}

@media (max-width: 1000px) {
  .search-input {
    min-width: 200px;
  }
}

.search-input::placeholder {
  color: #6c7275;
}

.search-input:focus {
  outline: none;
  border: 1px solid #e8ecef;
  /* box-shadow: 0 0 0 2px rgba(107, 70, 193, 0.2); */
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c7275;
  font-size: 18px;
  font-weight: 600;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-btn {
  height: 40px;
  padding: 0 16px;
  background-color: transparent;
  border: none;
  border-radius: 8px;
  color: #6b46c1;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-radius 0.2s ease;
}

.nav-btn-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: #141718;
}

.import-images-text {
  color: #7F81F8 !important;
}

.nav-btn:hover {
  background-color: #d6d7ff;
  border-radius: 8px;
  color: #141718 !important;
}

.cloud-upload-btn {
  color: #7f81f8;
  transition: background-color 0.2s ease, border-radius 0.2s ease,
    color 0.2s ease;
}

.cloud-upload-btn .cloud-icon {
  transition: color 0.2s ease;
}

.cloud-upload-btn:hover .cloud-icon {
  color: #141718;
}

.cloud-upload-btn:hover .import-images-text {
  color: #141718 !important;
}

/* .icon-container {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #7F81F8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-container i {
  color: white;
  font-size: 12px;
  line-height: 1;
  font-weight: bold;
  transform: scale(1.1);
  display: inline-block;
} */

.nav-separator {
  width: 1px;
  height: 24px;
  background-color: #6c7275;
  margin: 0 8px;
}

.user-profile-container {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  cursor: pointer;
  position: relative;
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #555555;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 12px;
}

.user-dropdown-arrow {
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 900;
  -webkit-text-stroke: 1.4px currentColor;
  margin-top: 4px;
}

/* User Dropdown Menu */
.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1000;
  overflow: hidden;
}

.user-dropdown-menu .dropdown-item{
  gap: 18px;
  padding-left: 20px;
}

.user-dropdown-menu .dropdown-item i {
  font-size: 14px;
  font-weight: bold;
  transform: scale(1.2);
  display: inline-block;
  -webkit-text-stroke: 0.2px currentColor;
}

.user-profile-container.dropdown-open .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-user-section {
  background-color: #f5f5f5;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  margin: 15px;
}

.dropdown-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #555555;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.dropdown-user-name {
  font-size: 16px;
  font-weight: 600;
  color: #141718;
  text-align: center;
}

.dropdown-user-email {
  font-size: 12px;
  font-weight: 500;
  color: #6c7275;
  text-align: center;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 23px 16px;
  color: #444444;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dropdown-item i {
  font-size: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-item:hover {
  background-color: #ede9fe;
}

.dropdown-item.active {
  background-color: #ede9fe;
  font-weight: 500;
}

.dropdown-item.active:hover {
  background-color: #ede9fe;
}

/* Sidebar */
.sidebar {
  /* background-color: #f5f5f5; */
  width: 64px;
  height: calc(100vh - 64px);
  position: fixed;
  left: 0;
  top: 64px;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  overflow: visible;
  z-index: 1000;
}

.sidebar-item {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #242220;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
  position: relative;
  z-index: 1;
}

.sidebar-item:hover {
  background-color: #d6d7ff;
  z-index: 10001;
}

.sidebar-item.active {
  background-color: #d6d7ff;
  color: #242220;
}

.sidebar-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  color: #333333;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sidebar-tooltip::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: white;
}

.sidebar-item:hover .sidebar-tooltip {
  opacity: 1;
  visibility: visible;
}

.sidebar-search-icon {
  filter: none;
}

/* Main Content */
.main-content {
  margin-left: 64px;
  margin-top: 64px;
  padding: 21px 36px;
  background-color: #ffffff;
  border-radius: 8px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  border-bottom: 1px solid #e8ecef;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #242220;
  margin: 0;
}

.page-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #242220;
  opacity: 0.6;
}

.filter-section {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-search {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.filter-search-input {
  width: 100%;
  height: 40px;
  padding: 0 40px 0 16px;
  border: 2px solid transparent;
  border-radius: 8px;
  background-color: #f5f5f5;
  font-size: 14px;
  color: #333333;
  transition: background-color 0.2s ease, border 0.2s ease;
  outline: none;
}

.filter-search-input:focus {
  background-color: white;
  border: 1px solid #6C7275;
  outline: none;
}

.filter-search-input::placeholder {
  color: #999999;
}

.filter-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999999;
  font-size: 16px;
}

.filter-dropdown {
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  background-color: white;
  color: #141718;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  text-wrap-mode: nowrap !important;
}

.filter-dropdown-icon{
  margin-top: 4px;
}

/* Filter Dropdown Menu */
.filter-dropdown .dropdown-menu {
  position: absolute !important;
  top: calc(100%) !important;
  left: 0 !important;
  background-color: white !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  min-width: 264px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-10px) !important;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
  z-index: 1000 !important;
  overflow: hidden !important;
  padding: 0 !important;
  display: block !important;
  border: none !important;
}

.filter-dropdown.dropdown-open .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.filter-dropdown .dropdown-menu .dropdown-item {
  padding: 10px 16px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  border: none !important;
  background-color: transparent !important;
}

.filter-dropdown .dropdown-menu .dropdown-item:hover {
  background-color: #D6D7FF !important;
}

.filter-dropdown .dropdown-menu .dropdown-item.active {
  background-color: #D6D7FF !important;
}

.filter-dropdown
  .dropdown-menu
  .dropdown-item.active
  .dropdown-item-title {
  font-weight: 500;
}

.filter-dropdown .dropdown-menu.short-by-dropdown .dropdown-item {
  padding: 21.5px 20px !important;
}

.filter-dropdown .dropdown-menu.short-by-dropdown {
  left: -152px !important;
}

.dropdown-item-title {
  font-weight: 500;
  color: #444444;
  line-height: 1.5;
}

.dropdown-item-subtitle {
  font-size: 12px;
  color: #6c7275;
  margin-top: 2px;
  line-height: 1.5;
}

.filter-dropdown .dropdown-menu .dropdown-item .doctor-avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-right: 0 !important;
}

.filter-dropdown .dropdown-menu .dropdown-item.has-avatar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px !important;
}

.filter-dropdown .dropdown-menu .dropdown-item:not(.has-avatar) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* Table */
.table-container {
  background-color: #f5f5f5;
  border: none;
  border-radius: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.table {
  margin: 0;
  font-size: 14px;
  border-collapse: collapse;
  background-color: white;
  border-radius: 11px;
  width: 100%;
  min-width: 800px;
  border: 1px solid #e8ecef;
}

.table thead th {
  padding: 10px 16px;
  font-weight: 500;
  color: #141718;
  border-bottom: 1px solid #e8ecef;
  font-size: 14px;
  line-height: 24px;
  text-align: left;
  background-color: #e8ecef;
  text-wrap-mode: nowrap !important;
}

.table tbody td {
  padding: 8.5px 16px;
  color: #141718;
  vertical-align: middle;
  background-color: transparent;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  text-wrap-mode: nowrap !important;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover td {
  background-color: #d6d7ff !important;
}

.table tbody tr:hover td {
  color: #333333;
}

.doctor-avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 10px;
  margin-right: 14px;
}

.review-link {
  color: #6b46c1;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.review-link:hover {
  text-decoration: underline;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination-btn,
.pagination-number {
  min-width: 32px;
  height: 32px;
  border: 1px solid #e8ecef;
  border-radius: 8px;
  background-color: white;
  color: #242220;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.pagination-btn {
  color: #242220;
}

.pagination-btn:hover,
.pagination-number:hover {
  background-color: #e8ecef;
}

.pagination-number.active {
  background-color: #7f81f8;
  color: white;
  border: none;
}

.pagination-number.active:hover {
  background-color: #7f81f8;
}

.pagination-ellipsis {
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  border-radius: 8px;
}

@media (max-width: 1200px) {
  .main-content {
    padding: 24px;
  }
}

@media (max-width: 1000px) {
  .filter-wrapper {
    align-items: flex-start !important;
  }

  .sort-by-dropdown {
    margin-top: 10px;
  }
}

/* Add Patient Sidebar */
.sidebar-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* background-color: rgba(0, 0, 0, 0.5); */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Import Images Sidebar */
.import-images-sidebar {
  position: fixed;
  top: 0;
  right: -558px;
  width: 558px;
  height: 100vh;
  background-color: white;
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.import-images-sidebar.active {
  right: 0;
}

.import-images-header {
  padding: 26px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    135deg,
    #512ac1 0%,
    #6952f1 40%,
    #7f81f8 100%
  );
}

.import-images-header h2 {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.import-images-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.import-images-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.import-images-content {
  flex: 1;
  padding: 25px 45px;
  background-color: white;
  overflow-y: auto;
}

.import-images-form-group {
  margin-bottom: 24px;
}

.import-images-form-group label {
  display: block;
  color: #141718;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.import-images-form-group input {
  width: 100%;
  padding: 15px 16px;
  background-color: #f3f5f7;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  color: #6C7275;
  font-weight: 400;
  transition: all 0.2s ease;
  outline: none;
}

.import-images-form-group input:focus {
  background-color: white;
  border: 1px solid #d0d0d0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.import-images-form-group select {
  width: 100%;
  padding: 15px 16px;
  background-color: #f3f5f7;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  color: #141718;
  font-weight: 500;
  transition: all 0.2s ease;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

.import-images-form-group select:focus {
  background-color: white;
  border: 1px solid #d0d0d0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.add-category-icon{
  font-size: 20px;
  line-height: 20px;
}

.add-category-link {
  color: #7f81f8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
}

/* .add-category-link:hover {
  text-decoration: underline;
} */

/* Upload Dropzone */
.upload-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px dashed #7f81f8;
  border-radius: 12px;
  padding: 50px 20px;
  text-align: center;
  background-color: #e9e9ff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-dropzone:hover {
  opacity: 0.8;
}

.upload-text {
  color: #7f81f8;
  font-size: 14px;
  font-weight: 600;
}

.upload-link {
  color: #7f81f8;
}

/* Uploaded Images List */
.uploaded-images-list {
  margin-top: 24px;
  border: 1px solid #e8ecef;
  border-radius: 12px;
}

.uploaded-image-item-container {
  display: flex;
  align-items: center;
  gap: 17px;
}

.uploaded-image-item {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 20px;
  border-bottom: 1px solid #e8ecef;
}

.uploaded-image-item:last-child {
  border-bottom: none;
}

.image-thumbnail {
  width: 75px;
  height: 75px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.image-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.image-filename {
  font-size: 14px;
  font-weight: 500;
  color: #6c7275;
  margin-bottom: 2px;
  width: 100%;
}

.ihc-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  width: 100%;
}

.ihc-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #7f81f8;
}

.ihc-checkbox label {
  font-size: 14px;
  font-weight: 500;
  color: #141718;
  cursor: pointer;
  margin: 0;
}

.image-details-input {
  width: 100%;
  padding: 12px 16px;
  background-color: #f3f5f7;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  color: #141718;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  display: block;
}

.image-details-input:focus {
  border-color: #d0d0d0;
  background-color: #ffffff;
}

.remove-image-btn {
  background: none;
  border: none;
  color: #141718;
  font-size: 12px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.remove-image-btn:hover {
  opacity: 1;
}

.import-images-footer {
  padding: 30px;
  border-top: 1px solid #e8ecef;
  display: flex;
  gap: 12px;
  background-color: white;
  justify-content: flex-start;
}

.btn-import-save {
  padding: 14px 32px;
  background-color: #6a3ee8;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-import-save:hover {
  opacity: 0.9;
}

.btn-import-cancel {
  padding: 14px 32px;
  background-color: white;
  color: #141718;
  border: 1px solid #e8ecef;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-import-cancel:hover {
  background-color: #fafafa;
}

.add-patient-sidebar {
  position: fixed;
  top: 0;
  right: -558px;
  width: 558px;
  height: 100vh;
  background-color: white;
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.add-patient-sidebar.active {
  right: 0;
}

.sidebar-header {
  padding: 26px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    135deg,
    #512ac1 0%,
    #6952f1 40%,
    #7f81f8 100%
  );
}

.sidebar-header h2 {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.close-sidebar {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.close-sidebar:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-content {
  flex: 1;
  padding: 25px 45px;
  background-color: white;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #141718;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.form-group label .required {
  color: #ff0200;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 15px 16px;
  background-color: #f3f5f7;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  color: #141718;
  font-weight: 400;
  transition: all 0.2s ease;
  outline: none;
  appearance: none;
}

.form-group input {
  padding-right: 12px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus {
  background-color: white;
  border: 1px solid #d0d0d0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder {
  color: #999;
}

.form-group select {
  cursor: pointer;
}

/* Custom Select Dropdown */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select select {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.custom-select-dropdown {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  padding: 15px 16px;
  background-color: #f3f5f7;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  color: #6C7275;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.custom-select-trigger:hover {
  border-color: #d0d0d0;
}

.custom-select-trigger span {
  pointer-events: none;
}

.custom-select-trigger i {
  pointer-events: none;
  transition: transform 0.2s ease;
  font-size: 10px;
  color: #141718;
  font-weight: 600;
  -webkit-text-stroke: 1px currentColor;
}

.custom-select.open .custom-select-trigger i {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background-color: white;
  border: 1px solid #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1000;
  overflow: hidden;
}

.custom-select.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 25px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #444444;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.custom-select-option:hover,
.custom-select-option.selected {
  background-color: #d8d0f8;
  font-weight: 600;
}

.fetch-btn {
  background-color: #7f81f8;
  color: white;
  border: none;
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 15px;
  transition: all 0.2s ease;
}

.fetch-btn:hover {
  opacity: 0.8;
}

.sidebar-footer {
  padding: 35px 45px;
  border-top: 1px solid #e8ecef;
  display: flex;
  gap: 15px;
  background-color: white;
  display: flex;
  justify-content: start;
}

.btn-add {
  padding: 14px 55px;
  background-color: #7f81f8;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel {
  padding: 14px 43px;
  background-color: white;
  color: #141718;
  border: 1px solid #7f81f8;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add:hover,
.btn-cancel:hover {
  opacity: 0.8;
}

.mrn-group {
  display: flex;
  align-items: center;
}

.mrn-group input {
  flex: 1;
  background-color: #e3e3e4 !important;
}

/* Logo cursor pointer */
.logo-cursor {
  cursor: pointer;
}

/* Nav button text */
.nav-btn-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: #141718;
  text-wrap-mode: nowrap !important;
}

/* Doctor avatars with different colors */
.doctor-avatar-gray {
  background-color: #555555;
}

.doctor-avatar-red {
  background-color: #dc2626;
}

.doctor-avatar-purple {
  background-color: #9333ea;
}

.doctor-avatar-green {
  background-color: #65a30d;
}

.doctor-avatar-blue {
  background-color: #2563eb;
}

.doctor-avatar-orange {
  background-color: #b45309;
}

.doctor-avatar-yellow {
  background-color: #eab308;
}

.doctor-avatar-cyan {
  background-color: #0284c7;
}

/* Upload plus icon */
.upload-plus-icon {
  color: #7f81f8;
}

/* Hidden file input */
.file-input-hidden {
  display: none;
}

/* Add Category Modal */
.add-category-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.5); */
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.add-category-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.add-category-modal {
  position: fixed;
  top: 313px;
  right: 332px;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 10px;
  width: 396px;
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.add-category-modal::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%) rotate(45deg);
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 8px;
  
  z-index: -1;
}

.add-category-modal.active {
  opacity: 1;
  visibility: visible;
}

.add-category-modal.anchored {
  transform: none;
}

.add-category-modal.anchored::before {
  display: block;
  left: -10px;
  right: auto;
  top: 102px;
  transform: translateY(-50%) rotate(45deg);
  /* box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.08); */
}

.add-category-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: #141718;
  padding: 25px 25px 22px 25px;
  border-bottom: 1px solid #E8ECEF;
  margin: 0;
}

.add-category-form-group {
  padding: 25px 25px 22px 25px;
  border-bottom: 1px solid #E8ECEF;
}

.add-category-form-group label {
  display: block;
  color: #141718;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}

.add-category-input {
  width: 100%;
  padding: 15px 16px;
  background-color: #f3f5f7;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  color: #141718;
  font-weight: 400;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.add-category-input:focus {
  background-color: white;
  border: 1px solid #d0d0d0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.add-category-input::placeholder {
  color: #999;
}

.add-category-modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  padding: 24px 25px 25px;
  border-radius: 0 0 10px 10px;
}

.add-category-modal-buttons {
  border-radius: 0 0 10px 10px;
}

.btn-add-category {
  padding: 9px 50px;
}
.btn-cancel-category {
  padding: 9px 43px;
}


/* Login Style */
/* =========== */
/* =========== */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
:focus {
  box-shadow: none !important;
}

.login-page {
  background: linear-gradient(238.88deg, rgba(0, 0, 0, 0) 42%, #511CE9 99.9%) left bottom, url(../images/login-bg.png) center/cover no-repeat;
  min-height: 100vh;
  background-attachment: fixed;
  padding: 20px 0;
}
.login-page .container {
  max-width: 1230px;
}
.login-page .form-info .desc {
  max-width: 320px;
}
.login-page .form-info .desc h1 {
  font-weight: 700;
  font-style: Bold;
  font-size: 44px;
  line-height: 54px;
  letter-spacing: -0.02em;
  color: #FEFEFE;
  margin-bottom: 12px;
}
.login-page .form-info .desc p {
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: -0.01em;
  color: rgba(232, 236, 239, 0.6);
  margin-bottom: 0;
}
.login-page .form-area {
  background-color: #FFFFFF;
  border-radius: 5px;
  padding: 130px 98px;
  max-width: 532px;
  width: 100%;
  margin-right: 70px;
}
.login-page .form-area .logo {
  margin-bottom: 36px;
}
.login-page .form-area form .form-group {
  margin-bottom: 16px;
}
.login-page .form-area form .form-group input.form-control {
  background-color: #F3F5F7;
  padding: 14px 16px;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: -0.01em;
  border-radius: 12px;
  border-color: #F3F5F7;
}
.login-page .form-area form .form-group input.form-control::-moz-placeholder {
  color: rgba(108, 114, 117, 0.5019607843);
}
.login-page .form-area form .form-group input.form-control::placeholder {
  color: rgba(108, 114, 117, 0.5019607843);
}
.login-page .form-area form .form-group input.form-control:focus {
  background-color: #FFFFFF;
  border-color: rgba(36, 34, 32, 0.3019607843);
  outline: none;
  box-shadow: none;
}
.form-check{
  margin-bottom: 14px;
}
.login-page .form-area form .form-group .form-check-input {
  background-color: #F3F5F7;
  border: 1px solid #E8ECEF;
  border-radius: 4px;
  width: 18px;
  height: 18px;
  padding: 5px;
  cursor: pointer;
}
.login-page .form-area form .form-group .form-check-input:checked[type=checkbox] {
  background-image: url(../images/form-right-check.svg);
  background-size: 10px;
  background-position: 2px 3.5px;
}
.login-page .form-area form .form-group .form-check-input:checked {
  background-color: #7F81F8;
  border-color: #7F81F8;
}
.form-check-input:checked {
  background-color: #7F81F8;
  border-color: #7F81F8;
}
.login-page .form-area form .form-group .form-check-label {
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.01em;
  color: rgba(108, 114, 117, 0.7490196078);
    cursor: pointer;
    margin-bottom: 0;
}
.login-page .form-area form .form-btn {
  padding-top: 14px;
}
.login-page .form-area form .form-btn .btn {
  background: #7F81F8;
  color: #FEFEFE;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  padding: 14px;
  width: 100%;
  border-radius: 12px;
}
.login-page .form-area form .form-btn .btn:hover {
  background-color: #999AF9;
}
.login-page .form-area form .forgot {
  padding: 12px 0;
}
.login-page .form-area form .forgot a {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: -0.01em;
  color: #7F81F8;
}
.login-page .form-area form .forgot a:hover {
  background: linear-gradient(0deg, #7F81F8, #7F81F8), linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.login-page .form-area form .signup p {
  font-weight: 500;
  font-size: 14px;
  line-height: 30px;
  letter-spacing: -0.01em;
  color: #232627;
}
.login-page .form-area form .signup p a {
  color: #7F81F8;
}
.login-page .form-area form .signup p a:hover {
  background: linear-gradient(0deg, #7F81F8, #7F81F8), linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}/*# sourceMappingURL=style.css.map */

.no-record-found {
    background-color: white;
    border: 1px solid rgba(232, 236, 239, 1);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    text-align: center;
    padding: 150px;
}
.dark-image{
  display: none;
}
.no-record-found-slide {
    background-color: white;
    border-top: 1px solid rgba(232, 236, 239, 1);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    text-align: center;
    padding: 150px;
    height: 100vh;
}