body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #222;
}
/* =============================== */
/*        TOOL WRAPPER             */
/* =============================== */

.bo-tool-wrap {
  max-width: 720px;
  margin: 80px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  text-align: center;
}

/* =============================== */
/*            HEADER               */
/* =============================== */

.bo-tool-header h1 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.bo-tool-header p {
  margin-bottom: 30px;
  color: #555555;
  font-size: 16px;
}

/* =============================== */
/*        INPUT FIELD              */
/* =============================== */

.bo-tool-interface input.bo-tool-input {
  width: 100%;
  height: 50px;
  padding: 0 16px !important; /* override theme */
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  background-color: #ffffff !important;
  color: #1a1a1a !important;
  box-sizing: border-box;
}

/* =============================== */
/*        SELECT FIELD             */
/* =============================== */

.bo-tool-interface select.bo-tool-select {
  width: 100%;
  height: 50px;
  padding: 0 16px !important; /* override theme */
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  background-color: #ffffff !important;
  color: #1a1a1a !important;
  box-sizing: border-box;
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  cursor: pointer;
}

/* Fix dropdown options */
.bo-tool-interface select.bo-tool-select option {
  background-color: #ffffff;
  color: #1a1a1a;
}

/* Focus states */
.bo-tool-interface input.bo-tool-input:focus,
.bo-tool-interface select.bo-tool-select:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0,115,170,0.15);
}

/* =============================== */
/*            BUTTON               */
/* =============================== */

.bo-tool-button {
  width: 100%;
  height: 50px;
  border-radius: 8px;
  border: none;
  background-color: #0073aa;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.bo-tool-button:hover {
  background-color: #005f8d;
}

/* =============================== */
/*         RESULT AREA             */
/* =============================== */

.bo-tool-result-area {
  margin-top: 25px;
  min-height: 120px; /* Prevent CLS */
  padding: 20px;
  border-radius: 8px;
  background-color: #f7f9fc;
  border: 1px solid #e3e8ef;
  text-align: left;
  color: #1a1a1a;
  font-size: 14px;
  overflow-x: auto;
}

/* =============================== */
/*        TRUST SECTION            */
/* =============================== */

.bo-tool-trust {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid #eaeaea;
  text-align: left;
}

.bo-tool-trust h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.bo-tool-trust p {
  color: #555555;
  font-size: 15px;
  line-height: 1.6;
}

.bo-editor-content {
  max-width: 720px;
  margin: 0 auto 30px auto;
  text-align: left;
  line-height: 1.7;
}

.bo-editor-content h2,
.bo-editor-content h3 {
  display: block;
  margin-top: 30px;
  margin-bottom: 10px;
}

.bo-editor-content p {
  margin-bottom: 15px;
}
/* Standardize all H2 inside tool page */

.bo-tool-wrap h2 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #1a1a1a;
}

/* Make FAQ heading consistent */
.bo-tool-faq h2 {
  font-size: 28px;
}

/* Fix FAQ alignment */
.bo-tool-faq {
  text-align: left;
}

/* Section Title (H2) */
.bo-tool-wrap h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: left;
}

/* FAQ Question Titles (H3) */
.bo-tool-faq h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 10px;
  text-align: left;
}

@media (max-width: 768px) {

  .bo-tool-wrap h2 {
    font-size: 22px;
  }

  .bo-tool-faq h3 {
    font-size: 18px;
  }

  .bo-tool-faq p {
    font-size: 15px;
  }

}
/* FAQ Paragraph Text */
.bo-tool-faq p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: left;
}

.bo-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.bo-tool-card {
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  transition: 0.3s ease;
}

.bo-tool-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.bo-tool-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}



.bo-about-tool {
  max-width: 850px;
  margin: 60px auto 40px auto;
  padding: 0 20px;
  text-align: left;   /* Force left alignment */
}

.bo-about-tool h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: left;   /* Keep heading aligned left */
}

.bo-about-tool p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
  text-align: left;
}

.bo-about-tool ul {
  margin: 15px 0 20px 20px;
  padding-left: 20px;
  text-align: left;
}

.bo-about-tool li {
  margin-bottom: 8px;
  font-size: 16px;
}

/* FORCE LEFT ALIGNMENT FOR RELATED SECTION */
.bo-related-tools {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: left;
}

.bo-related-tools h2 {
  font-size: 26px;
  margin-bottom: 30px;
  text-align: left;
}

/* FORCE 2 COLUMN LAYOUT */
.bo-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Card Styling */
.bo-related-card {
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 12px;
  background: #fff;
  transition: 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bo-related-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.bo-related-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.bo-related-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Button Style */
.bo-related-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #0073aa;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
}

.bo-related-btn:hover {
  background: #005f8c;
}

@media (max-width: 768px) {
  .bo-related-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared container width */
.bo-container {
  max-width: 900px;
  margin: 30px auto 10px auto;
  padding: 0 20px;
}

/* Breadcrumb styling */
.bo-breadcrumb {
  font-size: 14px;
  color: #666;
  text-align: left;
}

.bo-breadcrumb a {
  text-decoration: none;
  color: #0073aa;
}

.bo-breadcrumb a:hover {
  text-decoration: underline;
}

/* Remove card styling for breadcrumb wrapper */
.bo-breadcrumb-wrap {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 20px !important;
  margin-top: 15px !important;
  margin-bottom: 5px !important;
}

/* Breadcrumb text */
.bo-breadcrumb-wrap .rank-math-breadcrumb {
  font-size: 14px;
  text-align: centre;
}

.bo-result-card {
    background: #f8f9fa;
    padding: 20px;
    margin-top: 20px;
    border-radius: 6px;
    line-height: 1.6;
}

.bo-error {
    color: #d93025;
    margin-top: 15px;
}

.bo-warning {
    color: #f57c00;
    font-weight: bold;
    margin-top: 10px;
}

/* Fix tool interface alignment */
.bo-tool-interface {
  text-align: left;
}

/* Keep header centered */
.bo-tool-header {
  text-align: center;
}
.bo-tool-result-area pre {
  background: #eef3f8;
  padding: 12px;
  border-radius: 6px;
  overflow-x: auto;
  margin-top: 8px;
}
.bo-tool-result-area strong {
  font-weight: 600;
}

.bo-dmarc-progress {
  width: 100%;
  height: 10px;
  background: #e6ecf2;
  border-radius: 6px;
  margin-top: 10px;
  overflow: hidden;
}

.bo-dmarc-progress-bar {
  height: 100%;
  width: 0;
  transition: width 0.6s ease;
  border-radius: 6px;
}

.bo-tool-result-area ul {
  margin-top: 10px;
  padding-left: 20px;
}

.bo-tool-result-area ul li {
  margin-bottom: 6px;
}

.bo-dkim-progress {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 6px;
    margin-top: 8px;
    overflow: hidden;
}

.bo-dkim-bar {
    height: 100%;
    transition: width 0.4s ease;
}
/* Related Tools Section */
.bo-related-view-all {
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.bo-related-view-all .bo-related-btn {
    display: inline-block;
    padding: 12px 22px;
}

/* ===================================== */
/*        RESPONSIVE SYSTEM              */
/* ===================================== */

/* -------- Tablets (768px – 1024px) -------- */
@media (max-width: 1024px) {

  .bo-tool-wrap {
    max-width: 90%;
    margin: 60px auto;
    padding: 25px;
  }

  .bo-related-tools {
    max-width: 95%;
  }

  .bo-related-grid {
    gap: 20px;
  }

  .bo-about-tool {
    max-width: 95%;
  }

}

/* -------- Mobile (Below 768px) -------- */
@media (max-width: 768px) {

  .bo-tool-wrap {
    margin: 40px 15px;
    padding: 20px;
  }

  .bo-tool-header h1 {
    font-size: 24px;
  }

  .bo-tool-header p {
    font-size: 15px;
  }

  .bo-tool-wrap h2 {
    font-size: 20px;
  }

  .bo-related-grid {
    grid-template-columns: 1fr;
  }

  .bo-related-card {
    padding: 18px;
  }

  .bo-tool-button,
  .bo-related-btn {
    font-size: 15px;
  }

}

/* -------- Small Phones (Below 480px) -------- */
@media (max-width: 480px) {

  .bo-tool-wrap {
    margin: 30px 10px;
    padding: 18px;
    border-radius: 10px;
  }

  .bo-tool-header h1 {
    font-size: 22px;
  }

  .bo-tool-result-area {
    padding: 15px;
    font-size: 13px;
  }

  .bo-related-card h3 {
    font-size: 18px;
    line-height: 1.4;
  }

}
/* -------- loader) -------- */

.bo-loading {
    opacity: 0.7;
    pointer-events: none;
}

.bo-spinner {
    width: 28px;
    height: 28px;
    border: 4px solid #e5e5e5;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: bo-spin 0.8s linear infinite;
    margin: 20px auto;
}

@keyframes bo-spin {
    to { transform: rotate(360deg); }
}

.bo-blacklist-progress {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 6px;
    margin-top: 8px;
    overflow: hidden;
}

.bo-blacklist-bar {
    height: 100%;
    transition: width 0.4s ease;
}

.bo-header-value {
    font-size: 13px;
    background: #f5f7f9;
    padding: 6px 8px;
    margin-top: 4px;
    border-radius: 4px;
}

/* ===============================
   Hosting Result Card Upgrade
=============================== */

.bo-result-card {
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-left: 4px solid #0073aa;
    padding: 18px;
    margin-top: 20px;
    border-radius: 8px;
    line-height: 1.7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* Labels */
.bo-result-card strong {
    display: inline-block;
    min-width: 150px;
    color: #333;
}
/* ===============================
   Confidence Levels
=============================== */

.bo-confidence-high {
    color: #1e8e3e;
    font-weight: 600;
}

.bo-confidence-medium {
    color: #f57c00;
    font-weight: 600;
}

.bo-confidence-low {
    color: #d93025;
    font-weight: 600;
}
/* ===============================
   Detection Signals Tags
=============================== */

.bo-signal-tag {
    display: inline-block;
    background: #eef4fb;
    color: #0073aa;
    padding: 4px 10px;
    margin: 4px 4px 0 0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
/* ===============================
   Loader Upgrade
=============================== */

.bo-loading {
    text-align: center;
    padding: 15px;
    font-size: 14px;
    color: #555;
}

.bo-loading::after {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    margin: 10px auto 0;
    border: 4px solid #e5e5e5;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: bo-spin 0.8s linear infinite;
}
/* ===============================
   Review Box Upgrade
=============================== */

.bo-hosting-review-box {
    border: 1px solid #e3e8ef;
    background: #f8fbff;
    border-left: 4px solid #0073aa;
    transition: 0.2s ease;
}

.bo-hosting-review-box:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
@media (max-width: 480px) {

    .bo-result-card strong {
        display: block;
        margin-bottom: 3px;
    }

}
/* FIX: Expand category page width */
.tax-tool-category .ct-container {
  max-width: 1200px !important;
}

.tax-tool-category .ct-main {
  width: 100% !important;
}
/* ===============================
   CATEGORY PAGE GRID (CLEAN FINAL)
=============================== */

.bo-category-page .bo-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  align-items: stretch;
}

/* Tablet */
@media (max-width: 1024px) {
  .bo-category-page .bo-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .bo-category-page .bo-tools-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   CARD DESIGN
=============================== */

.bo-category-page .bo-tool-card {
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  position: relative;
  gap: 10px;
  border: 1px solid #e6ecf2;
  padding: 35px;
  border-radius: 14px;
  background: #fff;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;

  transition: all 0.25s ease;
}

.bo-category-page .bo-tool-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #0073aa;
}

/* ===============================
   TOOL TITLE + ICON
=============================== */

.bo-tool-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.bo-tool-title a {
  text-decoration: none;
  color: #1a1a1a;
}

.bo-tool-title a:hover {
  color: #0073aa;
}

.bo-tool-icon {
  font-size: 16px;
  margin-top: 4px;
}

/* ===============================
   DESCRIPTION TEXT
=============================== */

.bo-tool-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

/* ===============================
   BUTTON
=============================== */

.bo-related-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #0073aa;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;

  width: fit-content;
  min-width: 120px;
  text-align: center;
}

.bo-related-btn:hover {
  background: #005f8c;
  transform: translateY(-1px);
}

/* ===============================
   FEATURED BADGE
=============================== */

.bo-badge-featured {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-block;
  background: #0073aa;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px; /* pill shape */
  margin-bottom: 10px;
  width: fit-content; /* FIX */
  z-index: 2;
}

/* ===============================
   CATEGORY INTRO
=============================== */

.bo-category-intro {
  max-width: 800px;
  margin: 10px auto 30px auto;
  text-align: center;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

/* ===============================
   HEADER IMPROVEMENT
=============================== */

.bo-tools-category-header h1 {
  font-size: 34px;
  margin-bottom: 10px;
}
/* ===============================
   ADD SUBTLE BACKGROUND FEATURED TOOL
=============================== */
.bo-category-page .bo-tool-card:hover {
  background: #f9fbfd;
}
/* CLICKABLE CARD FIX */
.bo-tool-card {
  cursor: pointer;
  position: relative;
}

.bo-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Keep button clickable */
.bo-related-btn {
  background: linear-gradient(135deg, #0073aa, #005f8c);
  position: relative;
  z-index: 2;
}

/* Keep title clickable */
.bo-tool-title a {
  position: relative;
  z-index: 2;
}
/* =====================================================
   BULK WHOIS CHECKER
===================================================== */

/* =====================================================
   WHOIS CHECKER — SAME AS WEB HOSTING CHECKER
===================================================== */

/* Textarea */
#bo-whois-domains {
    width: 100%;
    min-height: 160px;
    padding: 18px;
    margin: 0 0 24px 0;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 18px;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
    display: block;
    background: #fff;
}

#bo-whois-domains:focus {
    outline: none;
    border-color: #0073aa;
}

/* Button EXACT like Hosting Checker */
.bo-whois-check-btn {
    width: 100%;
    display: block;
    margin: 0;
    padding: 22px 20px;
    background: #0073aa;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: none;
}

/* same hover feel */
.bo-whois-check-btn:hover {
    background: #006799;
}

/* result spacing */
.bo-whois-result {
    margin-top: 24px;
}

/* mobile */
@media (max-width: 768px) {
    #bo-whois-domains {
        min-height: 140px;
        padding: 16px;
        font-size: 16px;
    }

    .bo-whois-check-btn {
        padding: 18px 16px;
        font-size: 17px;
        border-radius: 8px;
    }
}
/* =====================================================
   IP LOOKUP COPY BUTTON
===================================================== */

.bo-ip-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.bo-ip-result-header h3 {
    margin: 0;
    font-size: 28px;
}

.bo-copy-ip-result {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.bo-copy-ip-result:hover {
    background: #005f8d;
}

@media (max-width: 768px) {
    .bo-ip-result-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bo-copy-ip-result {
        width: 100%;
        text-align: center;
    }
}

