@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Grantha&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

* {
  /* font-family: "Roboto", sans-serif !important; */
  /* font-family: "Noto Sans Grantha", sans-serif !important; */
  font-family: "Nunito", sans-serif !important;
}

.offcanvas-body {
  padding: 0 !important;
}
.offcanvas-body .card {
  border-bottom: unset;
}
.submenu-list {
  margin: 0px 0px !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-in-out !important;
}

.submenu-list.show {
  max-height: 355px;
}
.sidebar .sidebar-menu .menu-arrow {
  display: inline-block !important;
  transition: all 0.3s !important;
  margin: 0px !important;
}
.logo-white {
  width: 200px;
}
.nav.nav-pills {
  margin-bottom: 12px;
}
.logo-dark {
  width: 200px;
}
.paddingZero {
  padding: 0px !important;
  margin-top: 24px;
}
.flexAlign {
  padding: 0px !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}
.sidebar .sidebar-menu .menu-arrow.rotate-arrow {
  transform: rotate(90deg) !important;
  right: 8px;
  top: 35%;
}
.viewDoctor.btn-liner-gradient {
  padding: 4px 10px;
}
.branchContainerBranch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.branchCardBranch {
  position: relative;

  overflow: hidden;

  background: #fff;

  border-radius: 20px;

  padding: 12px 25px 25px 25px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  transition: 0.35s;

  border: none;
}

.branchCardBranch:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 55px rgba(37, 99, 235, 0.18);
}
.detailsBranch i {
  font-size: 20px;
  color: #000;
  margin-right: 3px;
}
.detailsBranch {
  margin-bottom: 12px;
  display: flex;
}
.detailsBranch span {
  color: #000;
  font-size: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.branchHeaderBg {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 50px;

  background: linear-gradient(135deg, #2563eb, #4f8cff);

  border-bottom-left-radius: 25px;
}
.cardHeaderBranch {
  position: relative;

  z-index: 2;

  display: flex;

  justify-content: space-between;

  align-items: center;
}

.branchTitleBranch {
  color: #fff;

  font-size: 20px;

  font-weight: 700;
  margin: 0px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.badgeBranch {
  background: white;

  color: #16a34a;

  padding: 2px 12px;

  border-radius: 30px;

  font-weight: 600;
}
.logoCircleBranch {
  position: relative;

  z-index: 2;

  width: 120px;

  height: 120px;

  margin: 38px auto 10px;

  background: white;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.logoBranch {
  width: 85px;

  height: 85px;

  object-fit: contain;
}
.branchDivider {
  width: 70px;

  height: 4px;

  background: #2563eb;

  margin: 20px auto;

  border-radius: 50px;
}
.branchDivider {
  width: 70px;

  height: 4px;

  background: #2563eb;

  margin: 20px auto;

  border-radius: 50px;
}
.actionsBranch {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.editBtnBranch,
.deleteBtnBranch {
  /* flex: 1; */
  /* height: 50px; */
  padding: 5px 14px;
  border: none;
  border-radius: 7px;

  font-size: 16px;

  font-weight: 600;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 8px;
}

.editBtnBranch {
  background: #2563eb;

  color: white;
}

.deleteBtnBranch {
  background: #ef4444;

  color: white;
}
/* --------------- Department -------------- */

.departmentContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 22px;
}

.departmentCard {
  position: relative;

  display: flex;

  align-items: center;

  gap: 18px;

  background: #fff;

  border-radius: 22px;

  padding: 20px;

  overflow: hidden;

  border: 1px solid #edf2f7;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  transition: 0.35s;
}

.departmentCard:hover {
  transform: translateY(-6px);

  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
}

.departmentCard::before {
  content: "";

  position: absolute;

  left: 0;

  top: 0;

  width: 6px;

  height: 100%;

  background: linear-gradient(#2563eb, #60a5fa);
}

.departmentNumber {
  width: 70px;

  height: 70px;

  border-radius: 18px;

  background: #eff6ff;

  color: #2563eb;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 26px;

  font-weight: 700;

  flex-shrink: 0;
}

.departmentLogo {
  width: 90px;

  height: 90px;

  border-radius: 18px;

  background: #fff;

  display: flex;

  justify-content: center;

  align-items: center;

  border: 1px solid #edf2f7;

  flex-shrink: 0;
}

.departmentLogo img {
  max-width: 80%;

  max-height: 80%;

  object-fit: contain;
}

.departmentContent {
  flex: 1;
}

.departmentName {
  margin: 0;

  font-size: 24px;

  font-weight: 700;

  color: #1e293b;
}

.departmentActions {
  position: absolute;

  right: -70px;

  top: 50%;

  transform: translateY(-50%);

  display: flex;

  flex-direction: column;

  gap: 10px;

  transition: 0.35s ease;

  opacity: 0;

  z-index: 5;
}
.departmentCard:hover .departmentActions {
  right: 18px;

  opacity: 1;
}
.editIconBtn,
.deleteIconBtn {
  width: 42px;

  height: 42px;

  border: none;

  border-radius: 50%;

  cursor: pointer;

  display: flex;

  justify-content: center;

  align-items: center;

  transition: 0.3s;

  color: #fff;
}

.editIconBtn {
  background: #2563eb;
}

.editIconBtn:hover {
  transform: scale(1.1);

  background: #1d4ed8;
}

.deleteIconBtn {
  background: #ef4444;
}

.deleteIconBtn:hover {
  transform: scale(1.1);

  background: #dc2626;
}
.departmentCard {
  overflow: hidden;
}

.departmentCard:hover {
  padding-right: 75px;
}

.departmentActionBtn {
  width: 42px;

  height: 42px;

  border-radius: 12px;

  background: #f8fafc;

  display: flex;

  justify-content: center;

  align-items: center;

  color: #475569;

  text-decoration: none;

  transition: 0.3s;
}

.departmentActionBtn:hover {
  background: #2563eb;

  color: #fff;
}

.dropdown-item {
  border-radius: 8px;

  padding: 8px 12px;
}

.dropdown-item:hover {
  background: #eff6ff;
}
.dropdown-menu.p-2.show {
  inset: unset;
  top: -82px;
  right: -80px;
}
.designationCard .departmentCard::before {
  position: absolute;
  left: 13px;
  top: -27px;
  width: 21px;
  height: 100%;
  background: linear-gradient(#2563eb, #60a5fa);
  transform: rotate(67deg);
}
.designationCard .departmentCard::after {
  position: absolute;
  right: 13px;
  bottom: -27px;
  width: 21px;
  height: 100%;
  background: linear-gradient(#2563eb, #60a5fa);
  transform: rotate(67deg);
}
.designationCard .departmentCard {
  border-radius: 12px 3px;
  padding: 9px 14px;
}
.designationCard .departmentContent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex: unset;
}
.designationCard .editIconBtn,
.designationCard .deleteIconBtn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.designationCard .editIconBtn {
  box-shadow: 0px 0px 3px rgb(72 138 244);
  color: rgb(72 138 244);
  background: unset;
}
.designationCard .deleteIconBtn {
  background: unset;
  box-shadow: 0px 0px 3px red;
  color: red;
}
.designationCard .departmentActions {
  position: unset;
  flex-direction: row;
  border-radius: unset;
  padding: 7px;
  transform: unset;
  opacity: 1;
}
.searchWidth {
  width: 40%;
}
.searchWidth .search-input input {
  font-size: 16px;
  padding: 9px 20px;
  border: 3px solid #2b6282b0;
}
.addNPatient button {
}
.visitNumber {
  font-size: 20px;
  font-weight: bold;
  color: #0a6765;
  margin: 20px auto 4px;
  background: #c3e7e6;
  padding: 6px;
  border-radius: 20px 3px;
  width: 500px;
  text-align: center;
}
.symboles {
  display: flex;
  justify-content: space-around;
  width: 100%;
}
.symboles div {
  height: 35px;
  width: 35px;
  border: 3px solid #1a7090;
  background: #1a7090;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.symboles button {
  font-weight: bold;
  font-size: 14px;
  height: 100%;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  color: #fff;
}
.symboles a svg {
  color: #fff;
  font-size: 17px;
}
.navbar-header .topbar-menu {
  top: 10px;
}
.roleName {
  text-transform: capitalize;
  margin-left: 6px;
  font-weight: bold;
  font-size: 16px;
  color: #20a4a2;
}
.navbar-header .profile-dropdown a {
  display: flex;
  align-items: center;
}
