/* 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; removed to allow centering */
  box-shadow: 5px 0 15px rgba(163, 196, 226, 0.15);
  z-index: 10;
  position: relative;
}

.nav-brand {
  font-size: 24px;
  font-weight: 800;
  color: #2b6cb0;
  margin-top: 40px; /* Position from top */
  position: absolute; /* Keep it at the top */
  top: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bubble-container {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Reduced gap for professional look */
  margin: auto 0; /* Vertically center in the flex container */
  width: 100%;
  align-items: center;
}

/* 3. Professional Square Buttons */
.nav-bubble {
  position: relative;
  width: 200px; /* Wider for professional look */
  height: 50px; /* Slightly shorter */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #3182ce;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease-in-out; 
  
  /* Square/Rectangular Shape */
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px; /* Square with slight rounding */
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bubble-content {
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hover Effect */
.nav-bubble:hover {
  transform: translateY(-1px);
  color: #2c5282;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

/* Active State */
.nav-bubble.active {
  color: white;
  background: #3182ce; /* Solid professional blue or gradient */
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

/* 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;
}
