  body {
    margin: 0;
    padding: 0;
  }
  .loginsidebarnavbar{
      height: 70px;
  }
  .minimaxicon{
      margin-left: 130px;
  }
  .mini-sidebar.minimaxicon{
      margin-left: 50px;
  }
  #sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: #ffffff;
    color: white;
    z-index: 1001;
    transition: width 0.3s;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  }

  #sidebar .sidebar-header {
    padding: 10px;
    text-align: center;
    background-color: #ffffff;
  }

  #sidebar ul.components {
    padding: 0;
    list-style: none;
  }

  #sidebar ul li {
    padding: 8px 20px;
  }

  #sidebar ul li a {
    color: #0F498C33;
    text-decoration: none;
    display: block;
  }

  #sidebar ul li.active a,
  #sidebar ul li a:hover {
    color: #0E488A;
  }

  .client-profile-image-small {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    object-fit: cover;
  }

  /* Mini sidebar styles */
  body.mini-sidebarbody #sidebar {
    width: 80px;
  }

  body.mini-sidebarbody #main-content,
  body.mini-sidebarbody .navbar {
    margin-left: 80px;
  }

  body.mini-sidebarbody #sidebar ul li a {
    text-align: center;
    padding: 10px 0;
  }

  body.mini-sidebarbody #sidebar ul li a i {
    display: block;
    font-size: 18px;
  }

  body.mini-sidebarbody #sidebar ul li a span {
    display: none;
  }

  body.mini-sidebarbody .sidebar-logo-full {
    display: none;
  }

  body.mini-sidebarbody .sidebar-logo-mini {
    display: block;
  }

  #wrapper.mini-sidebarbody.nosidebarwrapper #sidebar {
  width: 85%;
  margin-left: 15%; /* Equal to sidebar width */
  transition: width 0.3s ease, margin-left 0.3s ease;
  }

  #sidebar {
  width: 15%;
  transition: width 0.3s ease;
  }

  /* Mini sidebar layout */
  body.mini-sidebarbody #sidebar {
  width: 5%;
  }
  body.mini-sidebarwrapper #wrapper .nosidebarwrapper {
  width: 100%;
  margin-left: 0%; /* Match mini sidebar width */
  }
  .loginsidebarwrapper{
      width: 85%;
      margin-left: 15%;
      background-color: #ffffff;
      @media (min-width: 1200px) {
          .container {
              width: 1040px;
          }
      }
  }
  .mini-sidebarwrapper{
      width: 97%;
      margin-left: 3%;
      @media (min-width: 1200px) {
          .container {
              width: 1120px;
          }
      }
  }
  body.mini-sidebarbody #main-content, body.mini-sidebarbody .navbar {
  margin-left: 0px; 
}
@media (max-width: 768px) {
  #sidebar {
    width: 60px; /* Smaller width for mobile */
  }
  #sidebar ul li a {
    text-align: center;
    padding: 10px 0;
  }

  #sidebar ul li a i {
    display: block;
    font-size: 18px;
  }

  #sidebar ul li a span {
    display: none; /* Hide text labels on mobile */
  }

  .sidebar-logo-full {
    display: none !important;
  }

  .sidebar-logo-mini {
    display: block !important;
  }
  #toggle-sidebar{
    display:none;
  }
  #sidebar{
    display:none;
  }
  .loginsidebarwrapper {
    width: 100%;
    margin-left: 0%;
    background-color: #ffffff;
  }
  .mobileHeight{
    margin-top: 185px;
  }
  #top_search{
    display: none;
  }
  .mobile_logo{
    display: block !important;
  }
  .navbar a.navbar-brand {
    padding: 5px 0px 19px 0px;
  }
  .navbar-toggle {
    margin-top: 0px;
  }
}
.tw-absolute {
  position: relative;
}
.navbar-default .navbar-nav > li > a {
  margin-right: px;
}

#new_ticket{
  margin-bottom: 10px;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  background-color: #C0252E;
  color: #fff;
  text-decoration: none;
  padding: 6px 5px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  font-family: sans-serif;
}

.mobile_logo{
  display: none;
}
.mini-sidebartoggler{
  margin-left: 0px !important;
}

@media (min-width: 768px) {
  .navbar-right {
    float: right !important;
    margin-right: -5%;
  }
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 18px;
}

.pcard {
  position: relative;
  background: linear-gradient(to bottom right, #003973, #005aa7);
  color: white;
  padding: 20px;
  border-radius: 10px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.pcard.with-image {
    background-size: cover;
    background-position: center;
    color: white;
    height: 420px;
    position: relative;
    overflow: hidden;
}

    /* Add a dark overlay */
  .pcard.with-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    z-index: 1;
  }

    /* Make sure content appears on top of the overlay */
  .pcard.with-image .ptitle,
  .pcard.with-image .pheading,
  .pcard.with-image .btn-demande {
    position: relative;
    z-index: 2;
}
.ptitle {
  font-size: 15px !important;
  color: white;
}

.pheading {
  font-size: 15px !important;
  font-weight: bold;
  margin: 10px 0;
}

.btn-demande {
  background-color: #C0252E;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  cursor: pointer;
  width: fit-content;
}
.tabsproject {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 2px solid #dbe3eb;
  margin-top:20px;
}
.tabsproject a {
    padding-bottom: 10px;
}
.tabproject {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  color: #c3cfe3;
  cursor: pointer;
  position: relative;
  text-decoration: none; /* Ensure no underline for links */
}

.pcard1 {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  position: relative;
  }
  .pheader1 {
  display: flex;
  align-items: center;
  gap: 10px;
  }
  .pheader1 h2 {
  margin: 0;
  color: #2c3e50;
  }
  .pdescription {
  color: #777;
  margin-top: 5px;
  }
  .pprogress-bar1 {
  margin-top: 20px;
  }
  .pprogress-bar1-container {
  background: #eee;
  border-radius: 5px;
  overflow: hidden;
  height: 8px;
  margin: 10px 0;
  }
  .pprogress-bar1-filled {
  background: #f1c40f;
  height: 8px;
  width: 90%;
  }
  .psteps1 {
  margin-top: 20px;
  display: none;
  }
  .pstep1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #2c3e50;
  }
  .pmenu {
  position: absolute;
  top: 20px;
  right: 20px;
  }
  @media (max-width: 768px) {
    .pmenu {
      position: static;
    }
  }
  .pmenu button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }
  .pdropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 210px;
    display: none;
    flex-direction: column;
    z-index: 10;
  }
  .pdropdown a {
      padding: 8px 12px;
      text-decoration: none;
      color: #2c3e50;
      border-bottom: 1px solid #eee;
      font-size: 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
  }
  .pdropdown a:last-child {
    border-bottom: none;
  }
  .pdropdown a:hover {
    background-color: #f9f9f9;
  }
  .hide-psteps1 {
    text-align: right;
    margin-top: 10px;
  }
  .hide-psteps1 a {
    color: #3498db;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
  }
  .projectbig-icon {
    border-radius: 50%;
    background: #F0C200;
    width: 24px;
    height: 24px;
  }
  .projectsmall-icon {
      position: absolute;
      margin-left: 7px;
      width: 10px;
      height: 10px;
  }

.tabproject.active {
    color: #0E488A;
    font-weight: bold;
    position: relative;  /* Allow positioning relative to its normal position */
    border-bottom: 3px solid #0E488A;
}
@media (max-width: 768px) {
  .tabsproject {
      display: block;
  }
}