/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  overflow: hidden;
  /* font-family: 'Roboto Serif', serif; */
}

/* Navbar */
.iph-navbar {
  height: 70px;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  z-index: 1000;
}
.iph-navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.iph-navbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.iph-headerlogo {
  height: 40px;
}
.iph-slidebar {
  height: 30px;
  width: 30px;
  cursor: pointer;
}


/* Nav Items */
.iph-nav-items {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.iph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 550 !important;
  line-height: 1.5;
  border-radius: 6px;
  text-decoration: none;
  background-color: #f8f9fa;
  color: #212529;
  /* border: 1px solid #ced4da; */
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
  box-sizing: border-box;

  font-family: 'Roboto Serif', serif;
}

.iph-btn:hover {
  background-color: #e2e6ea;
  color: #212529;
}

.iph-btn-active {
  background-color: #b8d1e9 !important;
  color: #000 !important;
  border: 1px solid #005C8B !important;
}

.iph-btn-primary {
    padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  height: 40px !important;
   background-color: #f3f3f3; 
  color: #000;
  border: 1px solid #ccc;

}
.iph-btn-primary:hover {
  background-color: #a0c3e0;
}
.iph-btn-dark {
  background-color: #004065;
  color: #fff;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

/* Dropdown */
.iph-dropdown {
  position: relative;
}
.iph-dropdown-toggle::after {
  content: " ▼";
}
.iph-dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  top: 100%;
  left: 0;
  min-width: 150px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  z-index: 10;
}
.iph-dropdown:hover .iph-dropdown-menu {
  display: block;
}
.iph-dropdown-menu li {
  list-style: none;
}
.iph-dropdown-menu a {
  text-decoration: none;
  color: #000;
  display: block;
  padding: 5px;
}
.iph-dropdown-menu a:hover {
  background-color: #f5f5f5;
}

/* Layout Container (below navbar) */
.iph-layout-container {
  display: flex;
  height: calc(100vh - 70px); /* fill remaining height after navbar */
  margin-top: 70px;
}

/* Sidebar */
.iph-leftside {
  width: 245px;
  background-color: #fff;
  border-right: 1px solid #eee;
  overflow-y: auto;
  padding: 20px 10px;
}
.iph-leftside.collapsed2 {
  width: 0;
  padding: 0;
}
.main-panel  {
    width: 100% !important;

  }
  .cke_notifications_area
  {
    display: none;
  }
.mode-btn {
  border-radius: 20px;
  padding: 4px 14px;
  font-weight: 500;
}

.mode-btn.active {
  background-color: #005C8B;
  color: #fff;
  border-color: #005C8B;
}

/* Right Panel */
.iph-right-panel {
  flex: 1;

  overflow-y: auto;
  padding:20px ;
  
}
.d-none {
  display: none !important;
}



.iph-leftside .nav-item.nav-item-dr.active > .nav-link {
 /* background-color: #4A8A87; */
  color: #ffffff !important; /* Bootstrap green */
  font-weight: 600;
   /* border-right: 4px solid #78aba7  */
  
}

/* Hover effect for better UX */
.iph-leftside .nav-link:hover,
.iph-leftside .hover-link:hover,
.iph-leftside .hover-link-list:hover {
  background-color: #f0f0f0;
  color: #198754;
  
}

.sidebar2 {
  
  width: 210px;
  height: 60px;
  font-size: 0.8rem;
  line-height: 1;
  vertical-align: middle;
  white-space: normal;
 
}
.nav .nav-item .nav-link
{
 width: 210px;

  font-size: 0.8rem;
  line-height: 1;
  vertical-align: middle;
  white-space: normal;
}
.nav-item-list {
  width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #bcebef;
  
  
  height: 60px;
}
.nav-item-list:hover {
  background-color: #1cc3cc;
}
.group {
  position: fixed;
  top: 110%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}
.overlap-group {
  position: relative;
  width: 400px;
  height: 400px;
}
.card-img-holder
{
      border: none !important;
}

.ellipse {
  position: absolute;
  top: 40%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background-color: #c6dfff;
  border-radius: 50%;
  filter: blur(100px);
}

.ellipse-2 {
  position: absolute;
  top: 60%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background-color: #005c8b;
  border-radius: 50%;
  filter: blur(150px);
}

/* Footer */
.iph-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
  background-color: #fff;
  color: #56637E;
  z-index: 10;
}

/* Scrollbar Styling */

::-webkit-scrollbar-thumb {
  background: #005c8b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0088ff;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Responsive */
@media (max-width: 768px) {
  .iph-layout-container {
    flex-direction: column;
  }
  .iph-leftside {
    width: 100%;
    height: 200px;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .iph-right-panel {
    width: 100%;
    height: calc(100vh - 70px - 200px);
  }
  .iph-navbar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .iph-nav-items {
    flex-wrap: wrap;
    gap: 10px;
  }
}
.iph-profile-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.iph-profile-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000;
  cursor: pointer;
}

.iph-profile-img {
  position: relative;
  width: 40px;
  height: 40px;
}

.iph-profile-img img {
  border-radius: 35%;
  width: 45px;
  height: 45px;
  object-fit: cover;
}

.iph-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: #28a745;
  border-radius: 50%;
  border: 2px solid #fff;
}

.iph-profile-name {
  font-weight: 500;
  white-space: nowrap;
  font-size: 0.9rem;
  
}

.menu-arrow {
  font-family: "bootstrap-icons";



  font-size: 0.85rem;
  color: #333;
  transition: transform 0.2s ease-in-out;
align-items: flex-end;
  display: inline-flex;
}
  .nav-link[aria-expanded="true"] .menu-arrow::before {
  transform: rotate(90deg);
}
.hover-link-list {
  position: relative;
  padding-left: 1.8rem; /* Space for the icon */
  display: inline-block;
}

.hover-link-list::before {
  content: "\f138"; /* Unicode for bi-arrow-right */
  font-family: "bootstrap-icons";
  font-size: 0.9rem;
  color: #005c8b;
  position: absolute;
  left: -20%;
  top: 50%;
  transform: translateY(-50%);
}


/* Dropdown Menu */
.iph-profile-menu {
  display: none;
  position: absolute;
  top: 105%;
  right: 0;
  min-width: 150px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  z-index: 100;

}

.iph-profile-menu.show {
  display: block;
}

.iph-profile-item {
  display: block;
  padding: 5px;
  color: #333;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background-color 0.2s;
}

.iph-profile-item:hover {
  background-color: #f0f0f0;
}

.iph-profile-divider {
  height: 1px;
  background-color: #eee;
  margin: 4px 0;
}
