/* stylesheet.css (trimmed for video.html WebView UI) */

:root {
  --primary-color: #2563eb;
  --card-bg: #ffffff;
  --text-primary: #1e293b;
  --hover-bg: #f1f5f9;
  --border: #e2e8f0;
}

body.lock-scroll {
  overflow: hidden;
  height: 100vh;
}

/* WebView Top Navbar */
.webview-top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: white;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-img {
  height: 45px;
}

/* Bell Icon */
.mobile-top-bell {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 101;
}

.bell-icon {
  text-decoration: none;
  color: #333;
}

.popup-notice {
  position: absolute;
  top: 25px;
  right: -10px;
  background-color: #ffc107;
  color: #000;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  display: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.popup-close {
  background: transparent;
  border: none;
  font-size: 14px;
  margin-left: 8px;
  cursor: pointer;
}

/* Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #ddd;
  padding: 6px 0;
  z-index: 1500;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #555;
  font-size: 12px;
  text-decoration: none;
  flex: 1;
  transition: all 0.3s ease;
}

.mobile-bottom-nav .nav-item.active {
  color: #007bff;
  font-weight: bold;
}

/* Category Ring */
.category-ring {
  position: fixed;
  bottom: 75px;
  left: 50%;
  transform: translateX(-50%)!important;
  width: 280px;
  height: 140px;
  background: #ffffff;
  border-top-left-radius: 130px;
  border-top-right-radius: 130px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.category-ring.show {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.ring-bubble {
  position: absolute;
  bottom: 6px;
  left: 40%;
  width: 60px;
  height: 60px;
  background: linear-gradient(to bottom, #ffffff, #f3f4f6);
  border-radius: 50%;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transform-origin: bottom center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.ring-bubble a {
  color: #333;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
 
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
}

.sidebar.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.sidebar-content {
  padding: 20px;
}

.sidebar-content a {
  display: block;
  margin: 10px 0;
  color: #333;
  text-decoration: none;
}

.close-btn {
  font-size: 24px;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}

/* Animation classes for fading */
.fade-sidebar-out {
  transform: translateX(50%);
  opacity: 0;
}

.fade-category-out {
  transform: scale(0.6);
  opacity: 0;
}

/* Tap highlight removal */
a, button, .nav-item, .iconify {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  outline: none;
}
