/* ============================================
   MINT HELP CENTER – Override Stylesheet v5
   Design system: Manrope, 12px radius, dark theme
   Brand: #00c5a3 (mint), #010d13 (dark)
   ============================================ */

/* --- Base / Global --- */
body {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 400;
  background: #0a1117 !important;
  color: #c8d0d8 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  text-shadow: none !important;
}

/* --- Typography: Headings = semi-bold --- */
h1, h2, h3, h4, h5, h6,
.article-title,
#docsSearch h1,
#fullArticle h1, #fullArticle h2, #fullArticle h3,
#fullArticle h4, #fullArticle h5, #fullArticle h6,
#fullArticle .title,
.contentWrapper h1 {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}

/* --- Typography: Body = regular --- */
p, li, span, td, th, dd, dt, label,
input, textarea, select, button, a,
#fullArticle, #fullArticle p, #fullArticle ul,
#fullArticle ol, #fullArticle li, #fullArticle div,
#fullArticle blockquote, #fullArticle dd, #fullArticle table,
.contentWrapper p {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 400;
  color: #c8d0d8 !important;
}

#fullArticle strong, #fullArticle b {
  font-weight: 600;
  color: #e4e8ec !important;
}

/* =============================================
   NAVBAR – remove bottom border line
   ============================================= */
.navbar .navbar-inner {
  background: #010d13 !important;
  border: none !important;
  box-shadow: none !important;
}

.navbar .nav li a,
.navbar .icon-private-w {
  color: #a0aab4 !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 400;
}

.navbar .brand,
.navbar .nav li a:hover,
.navbar .nav li a:focus,
.navbar .nav .active a,
.navbar .nav .active a:hover,
.navbar .nav .active a:focus {
  color: #00c5a3 !important;
}

.navbar a:hover .icon-private-w,
.navbar a:focus .icon-private-w,
.navbar .active a .icon-private-w {
  color: #00c5a3 !important;
}

/* =============================================
   HOMEPAGE SEARCH
   Work WITH Help Scout's absolute-positioned
   button instead of fighting it.
   ============================================= */
#docsSearch {
  background: #010d13 !important;
  border: none !important;
  padding-top: 48px;
  padding-bottom: 48px;
}

#docsSearch h1 {
  font-size: 28px;
}

#searchBar {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* The search input */
#searchBar .search-query {
  background: #111c24 !important;
  border: 1px solid rgba(0, 197, 163, 0.25) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 400;
  box-shadow: none !important;
  font-size: 16px !important;
  padding: 12px 120px 12px 16px !important;
  height: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#searchBar .search-query:focus {
  border-color: #00c5a3 !important;
  outline: none;
  box-shadow: none !important;
}

#searchBar .search-query::placeholder {
  color: #5a6872 !important;
}

/* The search button – positioned inside right of input */
#searchBar button {
  background: #00c5a3 !important;
  border: none !important;
  border-radius: 0 12px 12px 0 !important;
  color: #010d13 !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-shadow: none !important;
  box-shadow: none !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  height: auto !important;
  padding: 0 24px !important;
  cursor: pointer;
}

#searchBar button:hover {
  background: #00ddb8 !important;
  color: #010d13 !important;
}

/* =============================================
   SIDEBAR SEARCH (category + article pages)
   Same approach: absolute button inside input.
   ============================================= */
#sidebar form {
  position: relative !important;
  margin-bottom: 20px;
}

#sidebar input.search-query,
#sidebar .search-query {
  background: #111c24 !important;
  border: 1px solid rgba(0, 197, 163, 0.25) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  padding: 10px 56px 10px 14px !important;
  height: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
}

#sidebar input.search-query:focus,
#sidebar .search-query:focus {
  border-color: #00c5a3 !important;
  outline: none;
  box-shadow: none !important;
}

#sidebar form button,
#sidebar form .btn {
  background: #00c5a3 !important;
  border: none !important;
  border-radius: 0 12px 12px 0 !important;
  color: #010d13 !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  height: auto !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  cursor: pointer;
}

#sidebar form button:hover {
  background: #00ddb8 !important;
  color: #010d13 !important;
}

/* =============================================
   SEARCH DROPDOWN RESULTS
   ============================================= */
#serp-dd {
  background: #111c24 !important;
  border: 1px solid rgba(0, 197, 163, 0.15) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

#serp-dd .result a { color: #c8d0d8 !important; }

#serp-dd .result a:hover,
#serp-dd .result > li.active {
  color: #00c5a3 !important;
  background: rgba(0, 197, 163, 0.08) !important;
}

#serp-dd .noResult, .noResult { color: #5a6872 !important; }

/* =============================================
   CONTENT PANEL (category + article pages)
   Style goes on .contentWrapper NOT #main-content.
   #main-content is the outer float wrapper.
   ============================================= */
#main-content {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 32px 0 0 28px !important;
}

.contentWrapper {
  background: #111c24 !important;
  border: 1px solid rgba(0, 197, 163, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding: 28px !important;
}

.container {
  background: transparent !important;
}

/* =============================================
   HOMEPAGE SEPARATOR
   The area between popular articles and category
   grid has a solid line + dotted line. Kill borders
   and any background.
   ============================================= */
.most-pop-articles {
  background: transparent !important;
  border: none !important;
}

hr {
  border: none !important;
  border-top: 1px dotted rgba(0, 197, 163, 0.15) !important;
  background: transparent !important;
  margin: 2em 0 !important;
}

/* Kill the solid green line above the dotted separator */
#docsSearch {
  border-bottom: none !important;
}

section, .home-sections, .twoCol, .threeCol {
  background: transparent !important;
  border: none !important;
}

/* =============================================
   HOMEPAGE FOOTER spacing – add margin above
   ============================================= */
.category-list {
  margin-bottom: 40px !important;
}

/* =============================================
   SIDEBAR
   ============================================= */
#sidebar, .sidebar, .sidebar-content, .categoryNav {
  background: transparent !important;
}

#sidebar h3 {
  color: #7a848e !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 11px !important;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

#sidebar .nav-list a {
  color: #c8d0d8 !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  transition: color 0.2s ease;
}

#sidebar .nav-list a:hover {
  color: #00c5a3 !important;
  background: transparent !important;
}

#sidebar .nav-list .active a,
#sidebar .nav-list .active a:hover,
#sidebar .nav-list .active a:focus {
  color: #00c5a3 !important;
  font-weight: 600;
  background: transparent !important;
}

/* =============================================
   LINKS
   ============================================= */
#fullArticle strong a, #fullArticle a strong,
.collection a, .contentWrapper a,
.most-pop-articles .popArticles a,
.category-list .category a {
  color: #00c5a3 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

#fullArticle strong a:hover, #fullArticle a strong:hover,
.collection a:hover, .contentWrapper a:hover,
.most-pop-articles .popArticles a:hover,
.category-list .category a:hover {
  color: #00ddb8 !important;
}

#fullArticle a {
  color: #00c5a3 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 197, 163, 0.3);
}

#fullArticle a:hover {
  color: #00ddb8 !important;
  border-bottom-color: #00ddb8;
}

.most-pop-articles .popArticles a span { color: #c8d0d8 !important; }
.most-pop-articles .popArticles a:hover span { color: #00c5a3 !important; }
.most-pop-articles .popArticles i,
.most-pop-articles .popArticles .icon-document { color: #3a4750 !important; }

/* =============================================
   CATEGORY GRID – Homepage cards
   ============================================= */
.category-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  justify-content: center !important;
  padding: 0 16px !important;
  max-width: 960px;
  margin: 0 auto 40px !important;
}

.category-list .category {
  background: #111c24 !important;
  border: 1px solid rgba(0, 197, 163, 0.1) !important;
  border-radius: 12px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  padding: 24px !important;
  float: none !important;
  margin: 0 !important;
  width: auto !important;
  flex: 1 1 calc(50% - 16px) !important;
  min-width: 240px !important;
  max-width: calc(50% - 8px) !important;
  box-sizing: border-box !important;
  text-align: center;
}

.category-list .category:hover {
  border-color: rgba(0, 197, 163, 0.35) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.category-list .category h2,
.category-list .category h3 {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  margin-bottom: 4px !important;
}

.category-list .category .article-count {
  color: #00c5a3 !important;
  font-weight: 400;
  opacity: 0.8;
  font-size: 13px;
}

@media (max-width: 600px) {
  .category-list { padding: 0 12px !important; }
  .category-list .category {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (min-width: 900px) {
  .category-list .category {
    flex: 1 1 calc(33.333% - 16px) !important;
    max-width: calc(33.333% - 11px) !important;
  }
}

.twoCol .collection, .threeCol .collection {
  background: #111c24 !important;
  border: 1px solid rgba(0, 197, 163, 0.1) !important;
  border-radius: 12px !important;
}

/* =============================================
   CATEGORY PAGE – Sort dropdown + article list
   ============================================= */
#categoryHead .sort select,
select {
  background: #111c24 !important;
  border: 1px solid rgba(0, 197, 163, 0.2) !important;
  border-radius: 8px !important;
  color: #c8d0d8 !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 13px !important;
  padding: 6px 28px 6px 10px !important;
  height: auto !important;
  width: auto !important;
  min-width: 160px !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300c5a3' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 10px !important;
}

.article-list .article {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.article-list .article a { color: #c8d0d8 !important; }
.article-list .article a:hover { color: #00c5a3 !important; }
.article-list .article p,
.article-list .article .article-desc { color: #7a848e !important; }

.collection-category h2 {
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600 !important;
}

.collection-category h2 a { color: #00c5a3 !important; }

/* =============================================
   ARTICLE CONTENT
   ============================================= */
#fullArticle { background: transparent !important; }

#fullArticle .printArticle { color: #5a6872 !important; }
#fullArticle .printArticle:hover { color: #00c5a3 !important; }

#fullArticle code {
  background: rgba(0, 197, 163, 0.08) !important;
  color: #00c5a3 !important;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.9em;
  border: 1px solid rgba(0, 197, 163, 0.12);
}

#fullArticle pre {
  background: #0a1117 !important;
  border: 1px solid rgba(0, 197, 163, 0.15) !important;
  border-radius: 12px !important;
  padding: 16px !important;
  color: #c8d0d8 !important;
  overflow-x: auto;
}

#fullArticle pre code {
  background: transparent !important;
  border: none;
  padding: 0;
}

#fullArticle blockquote {
  border-left: 3px solid #00c5a3 !important;
  background: rgba(0, 197, 163, 0.05) !important;
  border-radius: 0 12px 12px 0 !important;
  padding: 12px 20px !important;
}

#fullArticle table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px !important;
  overflow: hidden;
  border: 1px solid rgba(0, 197, 163, 0.15) !important;
  width: 100%;
}

#fullArticle th {
  background: #0d1920 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid rgba(0, 197, 163, 0.15) !important;
}

#fullArticle td {
  padding: 10px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#fullArticle tr:nth-child(even) td {
  background: rgba(0, 197, 163, 0.03);
}

#fullArticle dt {
  background: rgba(0, 197, 163, 0.06) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 8px;
  padding: 8px 12px;
}

#fullArticle img {
  border-radius: 12px;
  border: 1px solid rgba(0, 197, 163, 0.1);
}

/* "View in Help Scout" button */
.viewOriginal a, a.viewOriginal {
  background: transparent !important;
  border: 1px solid rgba(0, 197, 163, 0.3) !important;
  border-radius: 12px !important;
  color: #00c5a3 !important;
  font-weight: 600 !important;
  padding: 6px 16px !important;
}

.viewOriginal a:hover, a.viewOriginal:hover {
  background: rgba(0, 197, 163, 0.1) !important;
}

/* =============================================
   ARTICLE FOOTER
   ============================================= */
.articleFoot {
  border-top: 1px solid rgba(0, 197, 163, 0.1) !important;
  color: #5a6872 !important;
}

.articleFoot p, .articleFoot time, .articleFoot time.lu {
  color: #5a6872 !important;
}

.articleFoot .vote a, .contact-toggle a {
  background: transparent !important;
  border: 1px solid rgba(0, 197, 163, 0.3) !important;
  border-radius: 12px !important;
  color: #00c5a3 !important;
  font-weight: 600;
  padding: 8px 20px;
}

.articleFoot .vote a:hover, .contact-toggle a:hover {
  background: rgba(0, 197, 163, 0.1) !important;
  border-color: #00c5a3 !important;
}

/* =============================================
   BUTTONS (global)
   ============================================= */
.btn {
  border-radius: 12px !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600;
  text-shadow: none !important;
}

.btn-primary {
  background: #00c5a3 !important;
  border-color: #00c5a3 !important;
  color: #010d13 !important;
}

.btn-primary:hover {
  background: #00ddb8 !important;
  border-color: #00ddb8 !important;
  color: #010d13 !important;
}

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs, .breadcrumbs a, .breadcrumbs li {
  color: #5a6872 !important;
  font-family: 'Manrope', sans-serif !important;
}

.breadcrumbs a:hover { color: #00c5a3 !important; }

/* =============================================
   FOOTER – completely transparent, no borders
   ============================================= */
footer, .footer {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-top: none !important;
  box-shadow: none !important;
  color: #5a6872 !important;
  margin-top: 20px;
}

footer p, .footer p { color: #5a6872 !important; }
footer a, .footer a { color: #5a6872 !important; }
footer a:hover, .footer a:hover { color: #00c5a3 !important; }

/* =============================================
   FORMS – textarea, contact modal
   ============================================= */
textarea {
  background: #111c24 !important;
  border: 1px solid rgba(0, 197, 163, 0.2) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif !important;
  padding: 10px 14px;
}

textarea:focus {
  border-color: #00c5a3 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 197, 163, 0.15) !important;
}

#contactModal h2, .abuse h2 {
  background: #111c24 !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 197, 163, 0.15) !important;
}

#contactModal .control-label { color: #c8d0d8 !important; }
.contact-form label { color: #c8d0d8 !important; font-weight: 600 !important; }

/* =============================================
   RELATED ARTICLES
   ============================================= */
.related {
  background: transparent !important;
  border-top: 1px solid rgba(0, 197, 163, 0.1) !important;
}

.related h3 { color: #ffffff !important; }
.related a { color: #c8d0d8 !important; }
.related a:hover { color: #00c5a3 !important; }

/* =============================================
   PAGINATION
   ============================================= */
.pagination li a, .pagination li span {
  background: #111c24 !important;
  border: 1px solid rgba(0, 197, 163, 0.15) !important;
  color: #c8d0d8 !important;
  border-radius: 8px !important;
}

.pagination li a:hover {
  background: rgba(0, 197, 163, 0.1) !important;
  color: #00c5a3 !important;
}

.pagination .active a, .pagination .active span {
  background: #00c5a3 !important;
  color: #010d13 !important;
  border-color: #00c5a3 !important;
}

/* =============================================
   SCROLLBAR + SELECTION
   ============================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a1117; }
::-webkit-scrollbar-thumb { background: rgba(0, 197, 163, 0.25); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 197, 163, 0.4); }

::selection {
  background: rgba(0, 197, 163, 0.3);
  color: #ffffff;
}