*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

#mobile-header {
  display: none;
}

#mobile-drawer {
  display: none;
}

#mobile-drawer-overlay {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
  height: auto;
  overflow: visible;
  overflow-x: hidden;
}

#site-wrap {
  display: flex;
  flex-direction: row;
  height: 100vh;
  overflow: visible;
}

#left-sidebar {
  width: 220px;
  min-width: 220px;
  height: 100vh;
  border-right: 1px solid #e5e5e5;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  flex-shrink: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

#sidebar-logo {
  padding: 8px 20px 24px;
}

#sidebar-logo img {
  height: 24px;
  display: block;
}

#sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 400;
  color: #18181b;
  cursor: pointer;
  border-radius: 8px;
  margin: 0 8px;
}

.nav-item i {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.get-coins-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-item.active {
  font-weight: 700;
}

.nav-item.active i {
  color: #6D28D9;
}

.nav-item:hover:not(.active) {
  background: #f5f5f5;
}

#main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow-x: hidden;
  background: #ffffff;
}

#feed-area {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 16px;
  padding-bottom: 0;
  display: block;
  background: #ffffff;
}

/* ---- Login view ---- */
#login-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #ffffff;
  padding: 48px 32px;
}

#login-view img {
  height: 32px;
  margin-bottom: 32px;
}

#login-form {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#login-form input {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: #18181b;
}

#login-form input:focus { border-color: #6D28D9; }

#login-form button {
  background: linear-gradient(to top right, #6D28D9, #14B8A6);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

#login-form button:disabled { opacity: 0.7; cursor: not-allowed; }

#login-error {
  font-size: 13px;
  color: #dc2626;
  min-height: 18px;
  text-align: center;
}
