/*
 Theme Name:   NPGZ Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Astra Child Theme for custom styling
 Author:       NPlayGroundZ LLC
 Author URI:   https://wpastra.com/
 Template:     astra
 Version:      1.0.0
*/

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #fff;
  color: #000;
  line-height: 1.6;
}

a {
  color: red;
}

button,
input[type="submit"],
.woocommerce button.button {
  background-color: red;
  color: white;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 12px;
  border: none;
}

button:hover,
input[type="submit"]:hover {
  background-color: #000;
  color: #fff;
}

input[type="text"],
textarea,
select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.container,
.site-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* bbPress forum styling */
.bbp-breadcrumb {
  display: none !important;
}

#bbpress-forums {
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  border-collapse: collapse;
  width: 100%;
}

/* Table headers (column titles) */
#bbpress-forums thead th,
#bbpress-forums .bbp-header {
  background-color: #a10808 !important; /* Brand red */
  color: #ffffff !important;
  font-weight: 600;
}

/* Content rows (topics/posts) */
#bbpress-forums tbody td,
#bbpress-forums .bbp-body {
  background-color: #000000 !important;
  color: #ffffff;
}

/* Footer row (now matching brand red) */
#bbpress-forums .bbp-footer {
  background-color: #a10808 !important; /* Brand red */
  color: #ffffff;
  font-weight: 600;
}

/* Links */
#bbpress-forums a {
  color: #e11d48; /* Slightly lighter red for contrast */
  text-decoration: none;
}

#bbpress-forums a:hover {
  text-decoration: underline;
}

/* Forum & topic titles */
.bbp-forum-title,
.bbp-topic-title {
  font-weight: bold;
}

/* Metadata text */
.bbp-meta {
  font-size: 0.85rem;
  color: #aaa;
}

/* Author avatar styling */
.bbp-topic-author img.avatar,
.bbp-forum-author img.avatar {
  border-radius: 9999px;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 4px;
}

/* Make bbPress forum/topic/reply areas use a black background */
body.bbpress #bbpress-forums,
body.bbpress #bbpress-forums li.bbp-body ul.topic,
body.bbpress #bbpress-forums li.bbp-body ul.forum,
body.bbpress #bbpress-forums li.bbp-body ul.reply,
body.bbpress #bbpress-forums div.odd,
body.bbpress #bbpress-forums div.even,
body.bbpress #bbpress-forums ul.odd,
body.bbpress #bbpress-forums ul.even {
  background: #000 !important;
  color: #fff !important;
  border-color: #222 !important; /* subtle borders */
}

/* Ensure the post content itself stays white-on-black */
body.bbpress #bbpress-forums .bbp-topic-content,
body.bbpress #bbpress-forums .bbp-reply-content {
  color: #fff !important;
}

/* Form fields in dark mode */
body.bbpress #bbpress-forums fieldset.bbp-form input,
body.bbpress #bbpress-forums fieldset.bbp-form textarea,
body.bbpress #bbpress-forums fieldset.bbp-form select {
  background: #111;
  color: #fff;
  border-color: #333;
}

/* If your theme wraps bbPress in a white container, force it dark too */
body.bbpress .entry-content,
body.bbpress .site-main,
body.bbpress .content-area {
  background: #000 !important;
}
