/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333438;
  
}

/* Dashboard Structure */
.dashboard {
  display: flex;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 250px;
  --tw-bg-opacity: 1;
  background-color: rgb(27 28 30 / var(--tw-bg-opacity, 1));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;

}

.sidebar-header {
  margin-bottom: 20px;
  text-align: center;
}

.sidebar-header .logo {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.menu {
  list-style: none;
  width: 100%;
}

.menu li {
  margin: 15px 0;
  text-align: left;
}

.menu li a {
  text-decoration: none;
  color: #525B65;
  font-size: 1rem;
  padding: 10px 15px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s ease, color 0.3s ease;
}

.menu li a i {
  font-size: 1.2rem;
}

.menu li a:hover {
  background-color: #3E4751;
  color: #24292e;
}

.menu li a:active {
  border-left: 4px solid #2BC4C3;
  border-radius: 0;
  background: #fff;
}

.menu li a.active {
  border-left: 4px solid #2BC4C3;
  border-radius: 0;
  background: #fff;
}



@keyframes bubbleEffect {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
  }
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header */
.main-header {
  background-color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

  position: relative;
  z-index: 10;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-icon {
  font-size: 1.5rem;
  color: #3E4751;
}

.progress-bar {
  width: 120px;
  height: 8px;
  background-color: #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #3E4751;
  transition: width 0.3s ease;
}

.progress-percentage {
  font-size: 0.85rem;
  font-weight: 600;
  color: #3E4751;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-icon {
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}

.header-icon:hover {
  color: #3E4751;
}

/* User Dropdown */
.user-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

a.edit-profile {
  color: #3E4751;
}

.user-time {
  color: #777;
  font-size: 14px;
}

.user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #24292e;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.user-avatar:hover {
  transform: scale(1.1);
}

.user-menu {
  position: absolute;
  top: 60px;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 250px;
  display: none;
  flex-direction: column;
  padding: 15px;
  z-index: 100;
}

.user-menu.visible {
  display: flex;
}

.user-info-details {
  margin-bottom: 10px;
}

.user-info-details .user-name {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.user-info-details .user-email {
  font-size: 0.85rem;
  color: #777;
}

.logout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background-color: #3E4751;
  color: #fff;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.logout-button:hover {
  background-color: #e6a70e;
  color: #24292e;
}

/* Floating Chat Button */
.floating-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #3E4751;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-chat:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.chat-icon {
  font-size: 1.5rem;
  color: #fff;
}

/* Loader */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.loader {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: #3E4751;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Content */
.content {
  padding: 20px;
  background-color: #F8F8F9  ;
  border-radius: 8px;
  flex: 1;

  overflow: auto;
}

/* Responsividade */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    margin-bottom: 10px;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .main-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .menu li {
    margin: 10px 0;
  }

  .user-avatar {
    width: 35px;
    height: 35px;
  }
}


.fa-brands, .fab {
  font-size: 25px;
}


/* menu items */

.menu-badge {

  font-size: 10px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 5px;
  right: 15px;
  border: none;
  background-color: rgba(0, 0, 0, .06);
  color: rgba(97, 97, 97, 1);
  font-weight: 700;
  border-radius: .5rem;
}

.menu-item {
  position: relative;
  padding-right: 30px; /* Espaço para acomodar a badge */
}

.menu li {
  position: relative;
}

.menu li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.menu li a:hover {
  background-color: #fff;
  color: #525B65;
}

/* Main Header */
.main-header {
  background-color: #fff;
  width: 100%; /* Garante que ocupe toda a largura */
  padding: 15px 20px;
  display: flex;
  justify-content: space-between; /* Espaço entre os itens do header */
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

  position: fixed; /* Fixa o header no topo */
  top: 0;
  z-index: 10;
}

/* Logo Centralizado no Header */
.header-center {
  position: absolute;
  left: 130px; /* Alinhado com a largura da sidebar */
  right: 0;
  text-align: center;
  transform: translateX(-50%); /* Centraliza horizontalmente */
}

.header-logo {
  width: 150px; /* Tamanho ajustável do logo */
  height: auto;
}

/* Sidebar */
.sidebar {
  margin-top: 65px; /* Move a sidebar para baixo do header */
  width: 250px;
  background-color: #E8E9EB;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none; /* Remove scrollbar no Firefox */
  -ms-overflow-style: none; /* Remove scrollbar no IE/Edge */
}

.sidebar::-webkit-scrollbar {
  display: none; /* Remove scrollbar no Chrome/Safari */
}

/* Main Content */
.main-content {
  margin-top: 70px; /* Evita sobreposição do header */
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: #F8F8F9;
  border-radius: 8px;

}

/* Responsividade */
@media (max-width: 768px) {
  .header-center {
    position: static;
    transform: none;
    text-align: center;
  }

  .main-header {
    flex-direction: column; /* Ajusta o layout em telas menores */
    padding: 10px;
  }

  .sidebar {
    margin-top: 0; /* Sidebar alinhada ao topo em telas menores */
  }

  .main-content {
    margin-top: 0; /* Remove o espaçamento do header */
  }
}





/**/



.header-logo {
  width: 150px; /* Adjust the size if needed */
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth animation */
}

.header-logo:hover,
.header-logo:focus {
  transform: scale(1.1); /* Slight zoom-in effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 15px rgba(43, 196, 195, 0.6); /* Glow effect */
  border-radius: 10px; /* Adds slight rounding */
}

svg#dashicon {
  width: 12%;
  fill: #525B65;
}