@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;700&display=swap');

body {
  font-family: 'Barlow Semi Condensed', sans-serif;
  background-color: #22262a;
  color: #bbcde1;
  font-size: 16px;
  line-height: 1.6;
}

/* Search area styling */
#docsSearch {
  background-color: #2a2f34 !important;
  border: 1px solid #59626c;
  padding: 20px;
  margin: 10px 8px 30px 8px;
  text-align: center;
}

#searchBar {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

#searchBar input.search-query {
  flex: 1;
  height: 50px;
  font-size: 18px;
  padding: 10px 15px;
  border: 1px solid #59626c;
  border-radius: 4px;
  background: #22262a;
  color: #bbcde1;
}

#searchBar button {
  border: none;
  margin-top: 7px;
  border-radius: 4px;
  color: #22262a;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#searchBar button:hover {
  background: #bbcde1;
}

#searchBar button i.icon-search {
  margin-right: 5px;
}

/* Logo styling */
.navbar .brand {
  padding: 10px 20px;
}

.navbar .brand img {
  height: 75px;
  width: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}


/* Category styling */
.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.category-list .category {
  background: #2a2f34;
  border: 1px solid #59626c;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  width: auto;
}

.category-list .category h3 {
  color: #bbcde1 !important;
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 700;
}

.category-list .category .article-count {
  color: #7e8a98;
  font-size: 16px;
  margin: 0;
}

.category-list .category:hover {
  background: #353a40 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.category:hover {
  background: #353a40 !important;
}

/* Content area styling */
.contentWrapper {
  background: #2a2f34 !important;
  border: 1px solid #59626c;
}

#contentArea {
  padding-right: 0px;
  padding-left: 0px;
}

/* Typography */
#fullArticle p {
  color: #bbcde1 !important;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 1.2em;
}

#sidebar .nav-list a {
  color: #bbcde1 !important;
  font-size: 16px;
  padding: 8px 12px;
  text-shadow: none;
}

/* Search dropdown */
#serp-dd {
  background: #2a2f34 !important;
  border: 1px solid #59626c;
}

#serp-dd .result a {
  font-size: 16px;
  padding: 10px;
}

#serp-dd .result a:hover {
  background: #353a40;
}

/* Modal styling */
.modal {
  background: #2a2f34 !important;
  border: 1px solid #7e8a98;
}

#contactModal h2, .abuse h2 {
  background: #2a2f34;
  font-size: 24px;
}

/* Headings */
h1, .h1 {
  font-size: 32px !important;
  margin-bottom: 20px;
}

h2, .h2 {
  font-size: 28px !important;
  margin-bottom: 16px;
}

h3, .h3 {
  font-size: 24px !important;
  margin-bottom: 14px;
}

h4, .h4 {
  font-size: 20px !important;
}

h5, .h5 {
  font-size: 18px !important;
}

h6, .h6 {
  font-size: 16px !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: #bbcde1 !important;
  font-family: 'Barlow Semi Condensed', sans-serif;
  line-height: 1.3;
}

/* Strong text */
#fullArticle strong {
  color: #bbcde1;
}

/* Related articles section */
.related {
  background: #2a2f34;
  border: 1px solid #59626c;
  border-top: 0px;
}

.related h3 {
  font-size: 20px;
}

.related ul li a {
  font-size: 16px;
  padding: 10px 0;
}

/* Links */
a, #fullArticle a, .contentWrapper a {
  color: #7e8a98;
  transition: color 0.3s ease;
}

a:hover, #fullArticle a:hover, .contentWrapper a:hover {
  color: #bbcde1;
  text-decoration: none;
}

/* Navigation */
.navbar .navbar-inner {
  background: #22262a;
}

.navbar .nav li a {
  color: #bbcde1;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 18px;
  padding: 15px 20px;
}

.navbar .brand {
  font-size: 24px;
  padding: 15px 20px;
}

.navbar .nav li a:hover,
.navbar .nav li a:focus {
  color: #7e8a98;
}

/* List items */
#fullArticle ul li,
#fullArticle ol li {
  color: #bbcde1;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* Images */
#fullArticle img {
  max-width: 100%;
  height: auto;
  border: 1px solid #59626c;
  border-radius: 4px;
}

/* Code blocks */
pre, code {
  background: #2a2f34;
  border: 1px solid #59626c;
  color: #bbcde1;
  font-size: 15px;
  padding: 15px;
  border-radius: 4px;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
}

th, td {
  border: 1px solid #59626c;
  padding: 12px;
  color: #bbcde1;
}

/* Print article button */
.printArticle {
  display: none;
}

/* Category article count */
.category-list .category .article-count {
  font-size: 16px;
}

/* Search results */
.search-results li {
  font-size: 16px;
  padding: 12px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1, .h1 {
    font-size: 28px !important;
  }

  h2, .h2 {
    font-size: 24px !important;
  }

  h3, .h3 {
    font-size: 20px !important;
  }

  .navbar .nav li a {
    font-size: 16px;
    padding: 10px 15px;
  }

  .category-list {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .category-list .category {
    min-height: 100px;
  }
}