/*

Add here your custom css styles Example: p { text-align: center; color: red; }

*/

/* Android App Promo Banner */
.android-app-banner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
   border-bottom: 1px solid rgba(61, 220, 132, 0.2);
   padding: 10px 20px;
   position: relative;
   z-index: 1000;
}

.android-app-banner-inner {
   display: flex;
   align-items: center;
   gap: 12px;
}

.android-app-banner-icon {
   font-size: 28px;
   color: #3ddc84;
   filter: drop-shadow(0 0 6px rgba(61, 220, 132, 0.4));
}

.android-app-banner-text {
   display: flex;
   flex-direction: column;
   gap: 1px;
}

.android-app-banner-text strong {
   color: #fff;
   font-size: 13px;
   font-weight: 700;
   letter-spacing: 0.3px;
}

.android-app-banner-text span {
   color: rgba(255, 255, 255, 0.5);
   font-size: 11px;
}

.android-app-banner-close {
   background: none;
   border: none;
   color: rgba(255, 255, 255, 0.4);
   font-size: 22px;
   cursor: pointer;
   padding: 4px 8px;
   line-height: 1;
   transition: color 0.2s;
}

.android-app-banner-close:hover {
   color: #fff;
}

@media (max-width: 520px) {
   .android-app-banner {
      padding: 8px 14px;
   }
   .android-app-banner-icon {
      font-size: 22px;
   }
   .android-app-banner-text strong {
      font-size: 12px;
   }
   .android-app-banner-text span {
      font-size: 10px;
   }
}

/* VIP Room header button glow */
@keyframes vipGlow {
   0% { box-shadow: 0 0 10px rgba(139,92,246,0.2), 0 0 20px rgba(139,92,246,0.08); border-color: rgba(139,92,246,0.4); }
   100% { box-shadow: 0 0 18px rgba(139,92,246,0.4), 0 0 35px rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.7); }
}
/* Header Android App icon — override per-page .navbar-header > *:not(.watchee-logo) { display:none } */
.navbar-header > a.header-android-btn {
   display: flex !important;
   align-items: center;
   justify-content: center;
   margin-left: 8px;
   padding: 6px;
   border-radius: 8px;
   transition: all 0.3s ease;
   text-decoration: none !important;
}
.header-android-btn:hover {
   background: rgba(61, 220, 132, 0.1);
   box-shadow: 0 0 12px rgba(61, 220, 132, 0.5);
   transform: scale(1.1);
}
.header-android-btn svg {
   filter: drop-shadow(0 0 4px rgba(61, 220, 132, 0.3));
   transition: filter 0.3s ease;
}
.header-android-btn:hover svg {
   filter: drop-shadow(0 0 8px rgba(61, 220, 132, 0.6));
}

/* VIP Room header button glow */
.header-vip-btn:hover {
   background: linear-gradient(135deg, rgba(102,126,234,0.35), rgba(118,75,162,0.35)) !important;
   box-shadow: 0 0 22px rgba(139,92,246,0.5), 0 0 44px rgba(139,92,246,0.2) !important;
   transform: translateY(-1px);
}

/* ========== Mobile Hamburger Menu ========== */

/* Hide hamburger on desktop */
.mobile-hamburger-li {
   display: none !important;
}

/* Mobile menu overlay — hidden by default, shown via JS */
#mobile-menu-overlay {
   position: fixed;
   top: 0; left: 0; right: 0; bottom: 0;
   background: rgba(0, 0, 0, 0.5);
   z-index: 100000;
   justify-content: flex-end;
   opacity: 0;
   transition: opacity 0.25s ease;
}
#mobile-menu-overlay.active {
   opacity: 1;
}

/* The slide-in panel */
#mobile-menu-panel {
   width: 300px;
   max-width: 85vw;
   height: 100%;
   background: linear-gradient(180deg, #111827 0%, #0a0a1a 100%);
   overflow-y: auto;
   transform: translateX(100%);
   transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
   -webkit-overflow-scrolling: touch;
}
#mobile-menu-overlay.active #mobile-menu-panel {
   transform: translateX(0);
}

/* Menu header */
.mobile-menu-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 16px 20px;
   border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}
.mobile-menu-title {
   color: #fff;
   font-size: 18px;
   font-weight: 700;
}
#mobile-menu-close {
   background: none;
   border: none;
   color: rgba(255, 255, 255, 0.5);
   font-size: 28px;
   cursor: pointer;
   padding: 0 4px;
   line-height: 1;
}

/* User info strip */
.mobile-menu-user {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 16px 20px;
   border-bottom: 1px solid rgba(55, 65, 81, 0.3);
}
.mobile-menu-user img {
   width: 44px;
   height: 44px;
   border-radius: 50%;
   border: 2px solid rgba(139, 92, 246, 0.5);
}
.mobile-menu-user-name {
   color: #fff;
   font-weight: 600;
   font-size: 15px;
}
.mobile-menu-user-handle {
   color: #9ca3af;
   font-size: 13px;
}

/* Quick action cards row */
.mobile-menu-cards {
   display: flex;
   gap: 8px;
   padding: 16px 16px 8px;
}
.mobile-menu-card {
   flex: 1;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 6px;
   padding: 14px 6px;
   border-radius: 12px;
   text-decoration: none !important;
   font-size: 11px;
   font-weight: 600;
   transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mobile-menu-card:active {
   transform: scale(0.95);
}
.mobile-menu-card-icon {
   font-size: 20px;
   line-height: 1;
}
.mobile-menu-card-icon svg {
   display: block;
}
.mobile-menu-card-vip {
   background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(102, 126, 234, 0.15));
   border: 1px solid rgba(139, 92, 246, 0.4);
   color: #c4b5fd !important;
}
.mobile-menu-card-messages {
   background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
   border: 1px solid rgba(59, 130, 246, 0.35);
   color: #93c5fd !important;
}
.mobile-menu-card-messages .mobile-menu-card-icon svg {
   color: #60a5fa;
}
.mobile-menu-card-notif {
   background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
   border: 1px solid rgba(245, 158, 11, 0.35);
   color: #fcd34d !important;
}
.mobile-menu-card-notif .mobile-menu-card-icon svg {
   color: #fbbf24;
}

/* Feature links list */
.mobile-menu-section {
   padding: 8px 12px;
   border-bottom: 1px solid rgba(55, 65, 81, 0.3);
}
.mobile-menu-item {
   display: flex;
   align-items: center;
   gap: 14px;
   padding: 13px 12px;
   border-radius: 10px;
   color: #e5e7eb !important;
   text-decoration: none !important;
   font-size: 14px;
   font-weight: 500;
   transition: background 0.15s ease;
}
.mobile-menu-item:active {
   background: rgba(255, 255, 255, 0.08);
}
.mobile-menu-item-icon {
   font-size: 18px;
   width: 24px;
   text-align: center;
   flex-shrink: 0;
}
.mobile-menu-item-label {
   flex: 1;
}
.mobile-menu-item-value {
   font-size: 13px;
   font-weight: 600;
   color: #9ca3af;
}

/* Admin section — subtle red border */
.mobile-menu-admin {
   border-top: 1px solid rgba(239, 68, 68, 0.3);
}
.mobile-menu-admin .mobile-menu-item {
   color: #fca5a5 !important;
}

/* ========== Mobile Avatar Menu Trigger (opens slide-out menu) ========== */
/* Hidden on desktop — only shows on mobile */
.mobile-avatar-trigger-li {
   display: none !important;
}
.mobile-avatar-trigger {
   display: flex;
   align-items: center;
   padding: 4px;
   cursor: pointer;
   text-decoration: none !important;
}
.mobile-avatar-trigger .header-image {
   width: 34px !important;
   height: 34px !important;
   border-radius: 50%;
   border: 2px solid rgba(139, 92, 246, 0.5);
   box-shadow: 0 0 10px rgba(139, 92, 246, 0.3), 0 0 20px rgba(139, 92, 246, 0.1);
   object-fit: cover;
   transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.mobile-avatar-trigger:active .header-image {
   box-shadow: 0 0 18px rgba(139, 92, 246, 0.5), 0 0 35px rgba(139, 92, 246, 0.2);
   border-color: rgba(139, 92, 246, 0.8);
}

/* ========== Desktop: Android icon spacing ========== */
/* Prevent android icon from overlapping the Watchee logo */
.navbar-header > a.header-android-btn {
   margin-left: 24px !important;
   flex-shrink: 0 !important;
}

/* ========== Mobile Header Responsive ========== */
@media (max-width: 768px) {

   /* Hide all desktop-only header items on mobile — they're now in the hamburger menu */
   .hide-from-mobile {
      display: none !important;
   }

   /* Show the hamburger button on mobile */
   .mobile-hamburger-li {
      display: list-item !important;
   }

   /* Hide the 9-dot grid menu (yp_slide_menu) — desktop sidebar toggle */
   .yp_slide_menu {
      display: none !important;
   }

   /* Hide the announcement banner on mobile */
   nav.navbar-findcond > div[style*="linear-gradient"] {
      display: none !important;
   }

   /* Watchee logo sizing for mobile — override style.css 130px/110px caps that clip ".io" */
   .navbar-header > a.watchee-logo,
   nav.navbar-findcond .logo-img {
      display: flex !important;
      max-width: 160px !important;
      overflow: visible !important;
   }
   .navbar-header > a.watchee-logo img,
   nav.navbar-findcond .logo-img img {
      max-height: 32px;
      width: auto;
      overflow: visible !important;
   }

   /* ---- Main header layout on mobile ---- */
   .pt_main_hdr {
      display: flex !important;
      align-items: center !important;
      padding: 0 8px !important;
      gap: 4px !important;
   }
   /* Search bar: hide on mobile — use the search icon instead */
   .pt_main_hdr .navbar-header .search-header {
      display: none !important;
   }
   /* Let the logo area shrink */
   .pt_main_hdr .navbar-header {
      flex: 0 1 auto !important;
   }

   /* ---- Right-side nav: search + hamburger + profile side by side ---- */
   .navbar-right {
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      float: none !important;
      margin: 0 !important;
      padding: 0 !important;
      list-style: none !important;
      flex-shrink: 0 !important;
      gap: 2px !important;
   }

   /* Show the mobile avatar trigger (opens hamburger instead of dropdown) */
   .mobile-avatar-trigger-li {
      display: flex !important;
      align-items: center !important;
   }

   /* Guest login dropdown — keep visible on mobile (no hamburger for guests) */
   li.non-logged.profile-nav {
      display: flex !important;
      align-items: center !important;
   }

   /* Hide standalone hamburger on mobile — avatar+badge combo replaces it */
   .mobile-hamburger-li {
      display: none !important;
   }

   /* Hide the 3-dot vertical icon on mobile — saves space */
   .profile-nav .desktop.hide_iam_from_mobile {
      display: none !important;
   }

   /* Hide the android app button in header on mobile (it's in the hamburger menu now) */
   .header-android-btn {
      display: none !important;
   }

   /* Profile dropdown: hidden on mobile — all items are in hamburger menu now */
   /* Desktop dropdown still works via hide-from-mobile class on the <li> */

   /* Upload button hide on mobile — it's in the hamburger */
   li.hide_upload_mobi_link {
      display: none !important;
   }

   /* Search icon — keep visible on mobile for quick access */
   li.show-in-mobile {
      display: flex !important;
      align-items: center !important;
   }
}


