:root {
  --sidebar-width: 250px;
  --sidebar-collapsed-width: 80px;
  /* --primary-color: #28a745;
  --secondary-color: #6d624d; */

  --primary-color: #71C9CE;
  --secondary-color: #71C9CE;
  
  --light-color: #f5f6fa;
  --dark-color: #2c3e50;
}

.main-sidebar .sidebar {
  padding: 10px;
  height: max-content;
  transition: box-shadow 0.4s ease;
}

.main-sidebar .sidebar:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.sidebar-menu .header {
  font-size: 12px;
  padding: 10px 15px;
  text-transform: uppercase;
}

.sidebar-menu li {
  transition: background-color 0.4s ease, border-radius 0.4s ease, margin 0.4s ease;
  border-radius: 8px;
  margin: 5px 10px;
}

.sidebar-menu li.active,
.sidebar-menu li:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.sidebar-menu li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  transition: color 0.4s ease, background-color 0.4s ease, padding 0.4s ease;
}

.sidebar-menu li a i {
  margin-right: 10px;
  font-size: 20px;
}

.sidebar-menu li a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .main-sidebar {
      width: var(--sidebar-collapsed-width);
  }

  .sidebar-menu li a {
      padding: 10px;
  }
}

/* profile */
.profile-user-custom {
  margin: 0 auto;
  padding: 3px;
}

/* Toggle button */
.toggle-btn {
  background: var(--secondary-color);
  border: none;
  color: #ffffff;
  padding: 5px 5px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  outline: none;
  position: absolute;
  right: -5px;
  z-index: 1000;
  overflow: hidden;
}

.toggle-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.2);
  transition: opacity 0.5s ease, transform 0.5s ease;
  border-radius: 50%;
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
}

.toggle-btn:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.toggle-btn:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.toggle-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.toggle-btn span {
  position: relative;
  z-index: 2;
}

/* logo jogjacagar */
.logo-container {
  padding: 20px;
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.4s ease;
}

.logo-container:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.logo-container img.logo {
  max-width: 100%;
  height: auto;
  filter: invert(1) brightness(9);
  transition: transform 0.4s ease;
}

.logo-container img.logo:hover {
  transform: scale(1.1);
}

/* user */
.profile-user-custom {
  background-color: #fff;
  margin: 3px;
  border-radius: 15px;
  transition: transform 0.4s ease;
  text-align: center;
  max-width: 200px;
}

.profile-user-custom img {
  border-radius: 5px;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid #f1f1f1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  width: 100%;
  transition: width 0.4s ease, height 0.4s ease;
}

.row h5,
.row p,
.row .button {
  transition: opacity 0.4s ease;
}

.row h5 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.row p {
  color: #777;
  /* color: white; */
  margin-bottom: 15px;
}

.row .button {
  color: gray;
  border-radius: 50px;
  border-color: #0056b3;
  transition: background-color 0.4s ease, border-color 0.4s ease;
  background-color: #ddd;
  padding: 10px;
  text-align: center;
}

.row .button:hover {
  border-color: #0056b3;
  background-color: var(--secondary-color);
  color: #ddd;
}

.card-content-side {
  background-color: #ffffff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  transition: border-top 0.4s ease, border-bottom 0.4s ease;
}

.card-content-side p {
  margin: 0;
  color: #555;
}

.categories-boxes-container {
  display: inline-flex;
  flex-wrap: wrap;
  left: 0px;
  justify-content: center;
  width: 100%;
}

.category-small-box {
  flex: 0 0 auto;
  background: #f7f7f7;
  color: #333;
  padding: 5px;
  margin: 5px;
  border: 1px solid var(--secondary-color);
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.4s ease, transform 0.4s ease;
  width: 80px;
  position: relative;
}

.category-small-box i {
  font-size: 50px;
  margin-bottom: 30px;
  margin-top: 0px;
  color: var(--secondary-color);
}

.category-small-box span {
  display: none;
  font-size: 12px;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  transition: display 0.4s ease;
}

.category-small-box:hover span {
  display: inline-block;
}

.category-small-box:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
  text-decoration: none;
  z-index: 1;
}

.text-right img {
  max-height: 100px;
  filter: invert(1) brightness(2);
  transition: max-height 0.4s ease;
}

