/* Sidebar UI Styling - Glassmorphism & Neumorphic Theme */
.geo-sidebar {
  position: fixed;
  top: 70px;
  left: 20px;
  width: 340px;
  max-height: calc(100vh - 90px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  overflow: hidden;
  font-family: 'Noto Sans Oriya', 'Inter', sans-serif;
}

.geo-sidebar.collapsed {
  transform: translateX(-370px);
}

.geo-sidebar-toggle-btn {
  position: absolute;
  top: 80px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 101;
  color: #334155;
  font-size: 20px;
  transition: all 0.2s ease;
}

.geo-sidebar-toggle-btn:hover {
  transform: scale(1.05);
  color: #4f46e5;
}

.geo-sidebar-header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.geo-sidebar-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.geo-sidebar-content {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

.geo-chapter-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.geo-step-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.geo-step-card.active {
  border-color: #6366f1;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.geo-step-card.completed {
  border-color: #10b981;
  background: #f0fdf4;
}

.geo-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.geo-step-num {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.geo-step-instruction {
  font-size: 14px;
  color: #1e293b;
  line-height: 1.5;
}

.geo-hint-btn {
  margin-top: 10px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.geo-hint-btn:hover {
  background: #f1f5f9;
  color: #4f46e5;
}

/* Mobile Responsiveness - Bottom Sheet Transition */
@media (max-width: 768px) {
  .geo-sidebar {
    top: auto;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 35vh;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    border-left: none;
    border-right: none;
    border-bottom: none;
  }

  .geo-sidebar.collapsed {
    transform: translateY(100%);
  }

  .geo-sidebar-toggle-btn {
    top: auto;
    bottom: calc(35vh + 10px);
    left: 20px;
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .geo-sidebar-toggle-btn.collapsed {
    bottom: 20px;
  }
}
