body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f0f0f;
  color: white;
  user-select: none;
}

img, button, div {
  -webkit-user-drag: none;
  user-drag: none;
}

.layout {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 220px;
  background: #151515;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.logo-area {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  width: 60px;
}

.brand {
  font-weight: bold;
  margin-top: 5px;
}

.sub {
  font-size: 12px;
  opacity: 0.6;
}

.nav {
  background: transparent;
  border: none;
  color: white;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  margin: 3px 0;
}

.nav:hover {
  background: #2a2a2a;
}

.nav.active {
  background: #2f80ff;
}

.back {
  background: transparent;
  border: none;
  color: white;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  margin: 3px 0;
}

.back:hover {
  background: #2a2a2a;
}

.bottom {
  margin-top: auto;
}

.logout {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  background: #ff3b3b;
  color: white;
  cursor: pointer;
}

.logout:hover {
  background: #d92c2c;
}

.main {
  flex: 1;
  padding: 20px;
}

.topbar {
  margin-bottom: 20px;
}

.welcome {
  font-size: 18px;
  font-weight: bold;
}

.big-card {
  background: #1c1c1c;
  padding: 25px;
  border-radius: 12px;
  width: 400px;
}

.big-card h2 {
  margin: 0 0 10px 0;
}

.big-card p {
  opacity: 0.7;
}

.fadeout {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-item {
  background: #1c1c1c;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.news-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  opacity: 0.7;
  font-size: 12px;
}

.post-btn {
  width: 100%;
  margin-top: 15px;
  padding: 10px;
  border: none;
  border-radius: 6px;
  background: #2f80ff;
  color: white;
  cursor: pointer;
}

.post-btn:hover {
  background: #1f6fe0;
}
