:root {
  --bg-color: #0e0e1a;
  --accent-color: #00d2ff;
  --text-color: #ffffff;
  --nav-width: 80px;
  --nav-width-open: 260px;
  --transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  min-height: 100vh;
  background-color: var(--bg-color);
  background-image:
    radial-gradient(at 0% 0%, rgba(0, 210, 255, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(117, 151, 222, 0.15) 0px, transparent 50%);
  display: flex;
}

.navigation {
  position: fixed;
  top: 20px;
  left: 20px;
  bottom: 20px;
  width: var(--nav-width);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  overflow: hidden;
}

.navigation:hover {
  width: var(--nav-width-open);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
}

/* Menu Items */
ul {
  width: 100%;
}

ul li {
  list-style: none;
  position: relative;
  width: 100%;
  height: 60px;
  padding: 0 10px;
}

ul li a {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  transition: 0.3s;
}

/* The Indicator Notch */
ul li:hover a {
  color: var(--accent-color);
  background: rgba(0, 210, 255, 0.1);
}

/* Hover Glow Effect */
ul li a::before {
  content: '';
  position: absolute;
  left: -15px;
  width: 5px;
  height: 0;
  background: var(--accent-color);
  border-radius: 10px;
  box-shadow: 0 0 15px var(--accent-color);
  transition: 0.3s;
}

ul li:hover a::before {
  height: 30px;
}

.icon {
  min-width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
}

.title {
  padding-left: 15px;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0;
  transition: var(--transition);
  white-space: nowrap;
}

.navigation:hover .title {
  opacity: 1;
}

/* Bottom Profile Section */
.user-box {
  margin-top: auto;
  padding: 20px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.user-img {
  min-width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #ff00cc, #3333ff);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
}

.user-details {
  margin-left: 15px;
  opacity: 0;
  transition: var(--transition);
  white-space: nowrap;
}

.navigation:hover .user-details {
  opacity: 1;
}

.user-details p {
  font-size: 0.9rem;
  color: #fff;
}

.user-details span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}