@import url("../colors.3edbdcd941e2.css");


.projects-dropdown-content,
.user-dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
}

.projects-dropdown-content {
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
}

.user-dropdown-content {
    right: 0;
    top: 100%;
}

.projects-dropdown:hover .projects-dropdown-content,
.user-dropdown:hover .user-dropdown-content {
    display: block;
}

@media (max-width: 991.98px) {
    .navbar-right-section {
      flex-direction: column;
      gap: 8px;
      width: 100%;
      padding: 10px 0;
    }

    .balance-box {
      width: 100%;
      min-width: unset;
    }

    .user-dropdown {
      width: 100%;
    }
    
    .nav-colored-section {
      width: 220px;
    }
}

  /* Balance and User Menu Styles */
.navbar-right-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    padding-right: 1rem;
}

  /* Balance Indicator Styles */
.balance-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.balance-icon {
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    background-color: #FFF3E0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-icon svg {
    color: #E67E5C;
}

.balance-details {
    border-left: 1px solid #E5E7EB;
    padding-left: 0.75rem;
}

.balance-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.balance-images {
    font-size: 0.75rem;
    color: #6B7280;
    margin: 0;
}

  /* User Menu Styles */
.user-menu {
    position: relative;
    z-index: 1000;
}

.user-menu-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #F3F4F6;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.user-menu-button:hover {
    background-color: #E5E7EB;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: 240px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #E5E7EB;
    overflow: hidden;
}

.user-dropdown-menu.show {
    display: block;
}

.user-avatar {
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 9999px;
    background-color: #E67E5C;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1F2937;
}

.chevron-icon {
    color: #6B7280;
    width: 1rem;
    height: 1rem;
}

  /* Dropdown Styles */
.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    width: 12rem;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #E5E7EB;
    overflow: hidden;
}

.user-dropdown.show {
    display: block;
}

.dropdown-header {
    padding: 1rem;
    background-color: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
}

.dropdown-email {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1F2937;
    margin: 0;
}

.dropdown-account-type {
    font-size: 0.75rem;
    color: #6B7280;
    margin: 2px 0 0 0;
}

.dropdown-menu {
    padding: 0.5rem;
}



.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: #1F2937;
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.dropdown-link:hover {
  background-color: #F3F4F6;
  color: #1F2937;
  text-decoration: none;
}

.dropdown-link svg {
  color: #6B7280;
  flex-shrink: 0;
}

.dropdown-link.logout {
  color: #DC2626;
}

.dropdown-link.logout svg {
  color: #DC2626;
}

.dropdown-link.logout:hover {
  background-color: #FEF2F2;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: #1F2937;
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

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

.dropdown-item svg {
    color: #6B7280;
}

.dropdown-item.logout {
    color: #DC2626;
}

.dropdown-item.logout svg {
    color: #DC2626;
}

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

  /* Responsive Styles */
@media (max-width: 768px) {
    .navbar-right-section {
      flex-direction: column;
      gap: 1rem;
      padding: 1rem;
    }

    .balance-indicator {
      width: 100%;
      justify-content: center;
    }

    .user-menu {
      width: 100%;
    }

    .user-menu-button {
      width: 100%;
      justify-content: center;
    }

    .user-dropdown {
      width: 100%;
      position: static;
      margin-top: 0.5rem;
    }
}




/* Updated logo-link - remove old flex properties */
.logo-link {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
}

/* Projects Dropdown Styles */
.projects-dropdown {
    position: relative !important;
    z-index: 2147483646 !important;
}

.projects-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    width: 40px;
    height: 40px;
}

.projects-menu-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 18px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 1px;
}

/* When dropdown is moved to body */
.projects-dropdown-menu {
    position: fixed !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid #E5E7EB !important;
    overflow: hidden !important;
    min-width: 180px !important;
    z-index: 2147483647 !important;
    display: none !important;
}

.projects-dropdown-menu.show {
    display: block !important;
}

.projects-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #1F2937;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
    border-bottom: 1px solid #F3F4F6;
}

.projects-dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

.projects-dropdown-menu .dropdown-item:hover {
    background-color: #F9FAFB;
}

.dropdown-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dropdown-indicator.green {
    background-color: #10B981;
}

.dropdown-indicator.blue {
    background-color: #3B82F6;
}

/* Lens positioning - now on the right with margin-left: auto */
.lens {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .nav-colored-section {
        width: 280px;
    }
    
    .logo-container {
        gap: 15px;
        padding-right: 30px;
    }
}
