/* Base Layout */
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* Menu Toggle Button (Mobile) */
.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  background: #00ffcc;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: bold;
  z-index: 1001;
  color: #000;
}

/* Spacer for menu button */
.spacer { height: 60px; }

/* Sidebar */
.sidebar {
  width: 250px;
  background-color: #111;
  padding: 20px;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 0;
  left: 0;
  z-index: 1000;
}

.sidebar img {
  max-width: 120px;
  margin-bottom: 30px;
  cursor: pointer;
}

.sidebar a {
  color: #ccc;
  text-decoration: none;
  margin: 10px 0;
  display: block;
}

/* Sidebar close button – red “✕” */
.sidebar-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1002;
  display: none;
  background: red;
  color: white;
  font-weight: bold;
  border: none;
  font-size: 20px;
  border-radius: 4px;
  padding: 5px 8px;
}

/* Responsive Sidebar (Mobile) */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .sidebar.show {
    transform: translateX(0);
  }
  .menu-toggle {
    display: block;
  }
  .container-wrap {
    margin-left: 0;
  }
  .sidebar-close {
    display: block;
  }
}

/* Container Layout */
.container-wrap {
  margin-left: 270px;
}
.container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

/* Headings */
h1, h3 {
  text-align: center;
  color: #00ffcc;
}

/* Button Group */
.go-home {
  text-align: center;
  margin-bottom: 20px;
}
.go-home a button {
  background: #00ffcc;
  color: #000;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

/* Forms and Textareas */
form {
  margin: 10px 0;
  text-align: center;
}
textarea {
  width: 90%;
  height: 100px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 16px;
}

/* Input Fields */
input[type="text"], .comment-input {
  padding: 6px;
  border-radius: 6px;
  border: none;
  width: 160px;
  background: #333;
  color: #fff;
}
.comment-input {
  max-width: 140px;
}

/* Buttons */
button, input[type="submit"], .btn {
  background: #00ffcc;
  color: #000;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin: 4px;
}
.approve-btn {
  background: #0f0;
  color: #000;
}
.deny-btn {
  background: orange;
  color: #000;
}
.delete-btn {
  background: red;
  color: #fff;
}

/* News List */
.news-list {
  max-width: 800px;
  margin: 20px auto;
}
.news-item {
  background: #111;
  padding: 12px;
  border-left: 4px solid #00ffcc;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Tables */
.table-container {
  overflow-x: auto;
  width: 100%;
}
table {
  width: 100%;
  border-spacing: 0 10px;
  margin-top: 10px;
  table-layout: auto;
  min-width: 1000px;
}
th, td {
  padding: 10px;
  text-align: left;
}
tr {
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 255, 0, 0.05);
}

/* Filter Box Responsive Styling */
.filter-box {
  text-align: center;
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .filter-box {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .filter-box label,
  .filter-box select {
    display: inline-block;
    margin: 4px 0;
  }
}
@media screen and (max-width: 1024px) {
  .container-wrap {
    margin-left: 0 !important;
  }
}
