/* ================================================================
   Rankora.gg – Web-specific CSS overrides
   Loaded after styles.css to handle web vs desktop differences
================================================================ */

/* Hide Electron window controls */
.window-drag-region,
.window-controls { display: none !important; }

/* No draggable title bar */
.app-sidebar { -webkit-app-region: no-drag; }

/* Web banner for desktop-only features */
.web-notice {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #9a3412;
}
.web-notice svg {
  flex-shrink: 0;
  stroke: #ea580c;
}
.web-notice a {
  color: #ea580c;
  font-weight: 600;
  text-decoration: underline;
}

/* Ensure body doesn't have frameless window padding */
body {
  padding-top: 0 !important;
  -webkit-app-region: no-drag !important;
}

/* Adjust main content area for web (no title bar offset) */
.main-content {
  padding-top: 0 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .app-sidebar {
    transform: translateX(-100%);
    z-index: 1000;
  }
  .app-sidebar.mobile-open {
    transform: translateX(0);
  }
  body.sidebar-active .main-content {
    margin-left: 0 !important;
  }
  .mobile-menu-btn {
    display: flex !important;
  }
}

/* Mobile menu button (hidden by default on desktop) */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1001;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
.mobile-menu-btn svg {
  stroke: var(--text-primary);
}
