/* app/assets/stylesheets/navbar.css */

/* 1. Global Reset & Layout */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden; /* Prevent body scroll, use inner scroll */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.admin-wrapper {
  display: flex;
  height: 100vh;
  width: 100vw;
  /* Light blue gradient background */
  background: linear-gradient(180deg, #e0f2ff 0%, #ffffff 100%);
}

/* 2. Sidebar Navigation */
.water-nav {
  width: 260px;
  height: 100%;
  background: rgba(255, 255, 255, 0.4); /* Glass effect */
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  box-shadow: 5px 0 15px rgba(163, 196, 226, 0.15);
  z-index: 10;
}

.nav-brand {
  font-size: 24px;
  font-weight: 800;
  color: #2b6cb0;
  margin-bottom: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bubble-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* 3. Water Bubbles */
.nav-bubble {
  position: relative;
  width: 160px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #3182ce;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Bouncy animation */
  
  /* Water Droplet Shape */
  background: linear-gradient(145deg, #ffffff, #dcedff);
  border-radius: 30px; /* Pill shape initially */
  box-shadow: 
    6px 6px 12px #b8c9db, 
    -6px -6px 12px #ffffff;
    
  /* Organic blob feel using varying radii */
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.bubble-content {
  z-index: 2;
}

/* Glossy Shine Reflection on top left */
.shine {
  position: absolute;
  top: 10px;
  left: 15px;
  width: 25px;
  height: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transform: rotate(-45deg);
  filter: blur(1px);
  opacity: 0.8;
}

/* Hover Effect - Bubble "Pop" */
.nav-bubble:hover {
  transform: scale(1.05) translateY(-3px);
  color: #2c5282;
  /* Morph shape slightly */
  border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  background: linear-gradient(145deg, #f0f8ff, #cfe5ff);
}

/* Active State - Filled Bubble */
.nav-bubble.active {
  color: white;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  box-shadow: 
    0 10px 20px rgba(79, 172, 254, 0.3),
    inset 0 0 10px rgba(255,255,255,0.2);
  border-radius: 20px;
}

.nav-bubble.active .shine {
  background: rgba(255, 255, 255, 0.4);
}

/* 4. Main Content Area */
.admin-content {
  flex: 1; /* Takes remaining width */
  padding: 40px;
  overflow-y: auto; /* Allows content to scroll independently of navbar */
}

/* Adjust heading styles inside content area */
.admin-content h1 {
  color: #2d3748;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  margin-top: 0;
}
