body {
    overflow-x: hidden;
    background-color: #f6f8fc;
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    
  }
  .topbar .Canaxio-logo{
    height: 45px;
    
}
    

  .topbar input {
    width: 400px;
    border-radius: 25px;
    border: 1.5px solid #e9ecef;
    background: #f6f8fc;
    color: #222;
    transition: border-color 0.2s;
  }
  .topbar input:focus {
    border-color: #38b48e;
    box-shadow: 0 0 0 2px #38b48e22;
  }

  .toggle-btn {
    border-radius: 5px;
    border: 1px solid #19a1ff;
    color: #1c9ffc;
    background: #e9ecef;
    
  }

  .toggle-btn:hover {
    background-color: #d1fae5;
    border-color: #38b48e;
    color: #198754;
  }

 

  .topbar-icons i {
    display: flex;
align-items: center;
justify-content: center;
color: #28a745;
width: 40px;   
height: 40px;  
border-radius: 50%;  
transition: background-color 0.3s ease;
  }

  .topbar-icons i:hover {
    background-color: rgba(0, 128, 0, 0.1); 
cursor: pointer;

  }
  

  
  .apps-dropdown {
  width: 320px;
  max-height: 450px;
  overflow-y: auto;
  border-radius: 20px;
  padding: 15px;
  transform-origin: top right;
  opacity: 0;
  transform: scale(0.92) translateY(-6px);
  transition: opacity 120ms ease, transform 120ms ease;
  z-index: 1080;
}
.apps-dropdown.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Improve hit target for the apps icon button */
.btn.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.btn.icon-btn:hover {
  background-color: rgba(0,0,0,0.06);
}

.apps-item {
  text-align: center;
  padding: 10px 0;
  transition: background 0.2s ease;
  border-radius: 10px;
  font-size: 14px;
}
.apps-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}
.apps-item:hover {
  background: #f1f3f4;
  cursor: pointer;
}
.profile-dropdown .btn-outline-primary {
border-color: #35e844;     
color: #043619;
}

.profile-dropdown .btn-outline-primary:hover {
background-color: #28a745 !important;
border-color: #28a745 !important;
color: #fff !important;
}

.profile-dropdown {
  width: 350px;
  border-radius: 20px;
}
.profile-circle {
  width: 70px;
  height: 70px;
  background: #673ab7;
  color: white;
  font-size: 28px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.profile-dropdown .btn {
  font-size: 14px;
}
.profile-dropdown a {
  text-decoration: none;
  color: inherit;
}
.profile-dropdown a:hover {
  text-decoration: underline;
  
}

  .mini-strip {
    position: fixed;
    top: 56px;
    left: 0;
    width: 60px;
    height: calc(100vh - 56px);
    background-color: #f1f3f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    z-index: 1001;
  }
  .mini-strip-right {
    position: fixed;
    top: 56px;
    right: 0;
    width: 60px;
    height: calc(100vh - 56px);
    background-color: #f1f3f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    z-index: 1001;
  }

  .icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
  }

  .icon-box:hover {
    background-color: #d1fae5;
    color: #38b48e;
  }

  .chat-hover-popup {
    position: absolute;
    top: 0;
    left: 65px;
    width: 280px;
    height: 380px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 2000;
  }

  .chat-hover-popup .chat-header {
    background-color: #f1f3f4;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
  }

  .chat-hover-popup .chat-body {
    padding: 10px;
    overflow-y: auto;
    flex-grow: 1;
  }

  .chat-hover-popup .chat-footer {
    padding: 10px;
    border-top: 1px solid #eee;
  }

  .full-sidebar {
    position: fixed;
    top: 56px;
    left: 60px;
    width: 240px;
    height: calc(100vh - 56px);
    background-color: #fff;
    border-right: 1px solid #ddd;
    transform: translateX(-240px);
    transition: transform 0.3s ease;
    z-index: 1000;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    flex-direction: column;
    padding-bottom: 0 !important;
  }

  .full-sidebar.show {
    transform: translateX(0);
  }

  .full-sidebar .nav-link:hover {
    background-color: #d1fae5;
    color: #0f5132;
    border-radius: 8px;
  }

  .content-area {
    margin-left: 60px;
    margin-right: 80px;
    padding: 80px 20px;
    transition: margin-left 0.3s ease, margin-right 0.3s ease;
    background: #f6f8fc;
    min-height: calc(100vh - 56px);
  }

  .content-area.sidebar-expanded {
    margin-left: 300px;
  }

  
  .content-area.chat-expanded {
    margin-right: 330px;
  }

  
  .content-area.sidebar-expanded.chat-expanded {
    margin-left: 300px;
    margin-right: 310px;
  }

  .content-area h4, .content-area p {
    color: #222;
  }

  .content-area .btn, .content-area .btn-primary {
    background-color: #38b48e !important;
    border: none !important;
    color: #fff !important;
  }
  .content-area .btn:hover, .content-area .btn-primary:hover {
    background-color: #198754 !important;
  }

  .chat-panel {
    position: fixed;
    top: 56px;
    right: 0;
    width: 250px;
    height: calc(100vh - 56px);
    background-color: #f6f8fc;
    border-left: 1px solid #ddd;
    transition: transform 0.3s ease;
    z-index: 999;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }

  .chat-panel.collapsed {
    transform: translateX(100%);
  }

  .chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #38b48e;
    color: #fff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 1100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
  }

  .chat-toggle:hover {
    background-color: #198754;
  }
  .full-sidebar .nav-link.active {
    background-color: #198754 !important;
    color: #fff !important;
  }
  .full-sidebar .nav-link {
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
  }
  .full-sidebar .nav-link.bg-light {
    background: #e9ecef !important;
    color: #222 !important;
  }
  .full-sidebar .nav-link:hover {
    background-color: #d1fae5 !important;
    color: #0f5132 !important;
  }
  .full-sidebar .shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06)!important;
  }
  .full-sidebar .rounded-4 {
    border-radius: 1.5rem!important;
  }
  .full-sidebar .position-absolute {
    z-index: 1;
  }
  .full-sidebar .my-4 {
    margin-top: 2rem!important;
    margin-bottom: 2rem!important;
  }
  .full-sidebar .mt-4 {
    margin-top: 1.5rem!important;
  }
  .full-sidebar .mb-4 {
    margin-bottom: 1.5rem!important;
  }
  .full-sidebar .btn-success {
    background-color: #38b48e;
    border: none;
  }
  .full-sidebar .btn-success:hover {
    background-color: #198754;
  }
  
  .sidebar-content {
    scrollbar-width: none; 
    -ms-overflow-style: none; 
  }
  .sidebar-content::-webkit-scrollbar {
    display: none; 
  }
  .settings-icon:hover {
    background: #d1fae5 !important;
    color: #198754 !important;
    text-decoration: none;
  }

  .custom-btn {
    
    flex-direction: column;
    align-items: center;
    justify-content: center;
   border: none;
   background-color: #ffffff;
    
    
    font-weight: 600;
    
    transition: all 0.3s ease;
    text-align: center;
    height: 60px;
    width: 180px; 
    position: relative;
  }
  .custom-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    
  }
  .custom-btn .logo {
    width: 50px;
    height: 50px;
    margin-top: -15px;
    margin-bottom: 10px;
  }
  .custom-btn .text {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
  }
  .custom-btn .arrow {
    position: absolute;
    right: -10px;
    bottom: 15px;
    font-size: 27px;
    color: #e63946;
    transition: transform 0.3s ease;
  }
  .custom-btn:hover .arrow {
    transform: translateX(6px);
  }



  .project-card {
border: 1px solid #e0e0e0;
border-radius: 12px;
margin: 10px;
padding: 22px;
background: #fff;
display: flex;
align-items: center;
gap: 12px;
max-width: 100%; 
}

.card-image {
position: relative;
width: 210px;
height: 210px;
border-radius: 8px;
overflow: hidden;
flex-shrink: 0;
}

.card-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.pitching-badge {
position: absolute;
top: 6px;
right: 6px;
background: #6b4eff;
color: #fff;
font-size: 12px;
padding: 2px 6px;
border-radius: 6px;
}

.card-middle {
flex: 1;
min-width: 0;
}

.card-middle h6 {
font-weight: 600;
font-size: 15px;
margin-bottom: 4px;
}

.rating-stars i {
color: #f4b400;
font-size: 13px;
}

.rating-text {
font-size: 13px;
margin-left: 4px;
}

.meta {
font-size: 12px;
color: #777;
margin-bottom: 4px;
}

.desc {
font-size: 12px;
color: #666;
margin: 0;
line-height: 1.4;
}

.card-right {
text-align: center;
width: 120px;
flex-shrink: 0;
}

.score-label {
font-size: 12px;
font-weight: 600;
color: #007bff;
}

.score-number {
font-size: 18px;
font-weight: 700;
color: #007bff;
margin: 4px 0;
}

.progress-circle {
width: 50px;
height: 50px;
border-radius: 50%;
background: conic-gradient(#4caf50 0% 70%, #ffa000 70% 85%, #f44336 85% 100%);
display: flex;
align-items: center;
justify-content: center;
margin: 6px auto;
font-size: 11px;
font-weight: 600;
color: #555;
}

.btn-view {
background: #007bff;
color: #fff;
font-size: 12px;
padding: 3px 8px;
border-radius: 6px;
border: none;
}
 .btn-view:hover {
 background: #0056b3;
 }

 /* Responsive Design */
 @media (max-width: 992px) {
   .project-card {
     flex-direction: column;
     text-align: center;
     padding: 18px;
   }
   .card-image {
     width: 100%;
     height: 200px;
   }
   .card-right {
     width: 100%;
     margin-top: 12px;
   }
   
   /* Make investment cards stack better on tablets */
   .col-md-2 {
     margin-bottom: 1rem;
   }
 }

 @media (max-width: 768px) {
   /* Investment cards - 2 per row on tablets */
   .col-md-2 {
     flex: 0 0 50%;
     max-width: 50%;
   }
   
   /* Project cards - full width on tablets */
   .col-md-3 {
     flex: 0 0 100%;
     max-width: 100%;
     margin-bottom: 1rem;
   }
 }

 @media (max-width: 576px) {
   .project-card {
     padding: 14px;
   }
   .card-image {
     height: 160px;
   }
   
   /* Investment cards - 1 per row on mobile */
   .col-md-2 {
     flex: 0 0 100%;
     max-width: 100%;
   }
   
   /* Adjust content area padding on mobile */
   .content-area {
     padding: 60px 10px;
   }
   
   /* Make cards more compact on mobile */
   .card {
     margin-bottom: 1rem;
   }
   
   /* Adjust custom button size on mobile */
   .custom-btn {
     width: 100%;
     height: 80px;
   }
   
   .custom-btn .text {
     font-size: 14px;
   }
   
   .custom-btn .logo {
     width: 30px;
     height: 30px;
   }
 }

