/* ARZHost tool interface, homepage directory, results, tables, and advertising styles */

/* ==========================================================================
   ARZHost Multi-Position Ad Layout (Anti-Overlap Precision Engine)
   ========================================================================== */

/* Outer Layout Grid: Left Sidebar | Center Tool | Right Sidebar */
.arz-ads-layout-grid {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr) 215px;
  gap: 18px;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 14px 12px 30px 12px;
  box-sizing: border-box;
  align-items: start;
}

/* Sidebars (Left & Right): Separate Stacked Cards with 14px Gap */
.arz-ads-col-left,
.arz-ads-col-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

/* ==========================================================================
   INDIVIDUAL AD CARDS
   ========================================================================== */
.arz-ad-card-box {
  width: 100%;
  height: 156px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  padding: 12px 14px 12px 14px;
  display: flex;
  flex-direction: column;
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.arz-ad-card-box:hover {
  transform: translateY(-2px);
}

.arz-ad-card-box *,
.arz-ad-card-box *::before,
.arz-ad-card-box *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Theme 1: Default Dark Indigo/Navy Gradient (1st & 3rd Banners) */
.arzTheme_Dark {
  background:
    radial-gradient(circle at 80% 20%, rgba(23,107,255,.45), transparent 40%),
    linear-gradient(135deg,#0B1026 0%,#352178 55%,#176BFF 120%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.arzTheme_Dark:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Theme 2: Crisp Clean White Card (2nd Banner Left & Right) */
.arzTheme_White {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  color: #0b1126;
}

.arzTheme_White:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   LOGO STYLING
   ========================================================================== */
.arz-ad-card-box .logo {
  font-weight: 900;
  letter-spacing: 0.8px;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 6px;
  flex-shrink: 0;
  display: block;
}

.arzL_txt { color: #ffffff; }
.arzL_dark { color: #0b1126; }
.arzL_h { color: #ff007a !important; font-weight: 900; }

/* ==========================================================================
   SLIDER STAGE & ANTI-OVERLAP RULES
   ========================================================================== */
.arzSlideStage {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* Individual Slide: Strict isolation so text never overlaps */
.arzSlide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.arzSlide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 5;
}

.arzSlide.exit {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-30px);
  pointer-events: none;
  z-index: 2;
}

/* Typography - Dark Theme */
.arzTheme_Dark .arzTitle {
  font-size: 14.5px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

.arzTheme_Dark .arzTitle span {
  color: #61DFFF !important;
  display: block;
  margin-top: 1px;
}

.arzTheme_Dark .arzPrice {
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  color: #61DFFF !important;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 1px 0 0 0;
  padding: 0;
}

.arzTheme_Dark .arzPrice small {
  font-size: 12px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.arzTheme_Dark .arzSub {
  color: #D7DDF5;
  line-height: 1.2;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
  padding: 0;
}

/* Typography - White Theme */
.arzTheme_White .arzTitle {
  font-size: 14.5px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #0b1126;
  margin: 0;
  padding: 0;
}

.arzTheme_White .arzTitle span {
  color: #2563eb !important;
  display: block;
  margin-top: 1px;
}

.arzTheme_White .arzPrice {
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  color: #2563eb !important;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 1px 0 0 0;
  padding: 0;
}

.arzTheme_White .arzPrice small {
  font-size: 12px;
  color: #0b1126;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.arzTheme_White .arzSub {
  color: #64748b;
  line-height: 1.2;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
  padding: 0;
}

/* Buttons */
.arz-btn-light {
  display: inline-block;
  align-self: flex-start;
  background: white;
  color: #3A237D;
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 10.5px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 2px;
}

.arz-btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(255, 255, 255, 0.4);
}

.arz-btn-dark {
  display: inline-block;
  align-self: flex-start;
  background: #0b1126;
  color: #ffffff;
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 10.5px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 2px;
}

.arz-btn-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(11, 17, 38, 0.35);
}

/* Server Lines Graphic */
.arzTheme_Dark .server-lines {
  position: absolute;
  right: 8px;
  bottom: 8px;
  opacity: .25;
  pointer-events: none;
}

.arzTheme_Dark .server-lines div {
  width: 32px;
  height: 5px;
  border-radius: 3px;
  border: 1px solid #fff;
  margin: 3.5px 0;
}

.arzTheme_White .server-lines {
  position: absolute;
  right: 8px;
  bottom: 8px;
  opacity: .14;
  pointer-events: none;
  color: #0b1126;
}

.arzTheme_White .server-lines div {
  width: 32px;
  height: 5px;
  border-radius: 3px;
  border: 1px solid currentColor;
  margin: 3.5px 0;
}

/* Center Tool Column */
.arz-ads-center-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

/* Top & Bottom Long Banner Wrappers */
.arz-ad-slot-top-banner,
.arz-ad-slot-bottom-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.35s ease;
}

.arz-ad-slot-bottom-banner {
  margin-top: 24px;
  margin-bottom: 24px;
}

/* ==========================================================================
   7TH BANNER: 728x90 SLIM DEDICATED SERVERS BANNER
   ========================================================================== */
.a728_exact_banner {
  width: 100%;
  max-width: 760px;
  height: 68px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: block;
}

.a728_exact_banner * { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

.a728_exact_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 18px;
  text-decoration: none;
  cursor: pointer;
  background: #ffffff;
}

.a728_exact_logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-right: 14px;
}

.a728_exact_black { color: #0B1026; }
.a728_exact_pink  { color: #ff007a !important; }

.a728_exact_stage {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.a728_exact_row {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(16px);
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
  pointer-events: none;
}

.a728_exact_row.a728_exact_active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.a728_exact_left_text {
  color: #0B1026;
  font-size: clamp(16px, 2.1vw, 22px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  white-space: nowrap;
}

.a728_exact_right_price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.a728_exact_for {
  color: #176BFF;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 900;
  text-transform: uppercase;
}

.a728_exact_amount {
  color: #176BFF;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.a728_exact_only {
  color: #176BFF;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 900;
  text-transform: uppercase;
}

/* ==========================================================================
   RESPONSIVE HANDLING
   ========================================================================== */
@media (max-width: 1150px) {
  .arz-ads-layout-grid {
    grid-template-columns: 185px minmax(0, 1fr) 185px;
    gap: 12px;
  }
  .arz-ad-card-box {
    height: 145px;
    padding: 10px 12px;
  }
}

@media (max-width: 920px) {
  .arz-ads-layout-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .arz-ads-col-left,
  .arz-ads-col-right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .arz-ad-card-box {
    width: 200px;
  }
}

/* ==========================================================================
   ARZHost Tool Hero Section (#213083) - Enclosing Inputs & Buttons
   ========================================================================== */
.tool-hero-section {
  background-color: #213083;
  width: 100%;
  padding: 24px 0 40px 0;
  box-sizing: border-box;
  color: #ffffff;
  border-bottom-right-radius: 60px;
  position: relative;
  overflow: hidden;
}

.tool-hero-section .container {
  margin: 0 auto;
  padding: 0 1.5rem;
  max-width: 1380px;
  position: relative;
}

/* Floating Cyber Hologram Icon disabled to avoid overlap with left ads */
.tool-hero-section .container::before {
  display: none !important;
}


.tool-hero-section .tool-header {
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
}

.tool-hero-section .breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.6rem;
  font-family: "Mulish", sans-serif;
  text-align: center;
}

.tool-hero-section .breadcrumbs a {
  color: #5673FF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.tool-hero-section .breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.tool-hero-section .breadcrumbs span {
  color: #ffffff;
  font-weight: 500;
}

.tool-hero-section .tool-title {
  font-family: "Urbanist", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  display: block;
  justify-content: center;
}

.tool-hero-section .tool-desc {
  font-family: "Mulish", sans-serif;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}

.tool-hero-section .card {
  background: #ffffff;
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  color: var(--gray-800);
  max-width: 900px;
  margin: 1.5rem auto 0 auto;
}

.tool-hero-section .card .input-label {
  color: var(--gray-700);
  font-weight: 600;
}

.tool-hero-section .card .btn-primary,
.tool-hero-section .card button.btn-primary,
.btn-primary {
  background: linear-gradient(95.45deg, #0082F8 0.64%, #1C40F2 98.23%) !important;
  border: none !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 12px rgba(28, 64, 242, 0.35);
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff !important;
  transition: all 0.25s ease;
}

.tool-hero-section .card .btn-primary:hover,
.btn-primary:hover {
  background: linear-gradient(95.45deg, #1C40F2 0.64%, #0082F8 98.23%) !important;
  box-shadow: 0 6px 16px rgba(28, 64, 242, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
}
.btn-secondary:hover {
  background-color: var(--gray-200);
  border-color: #1C40F2;
  color: #1C40F2;
}

.btn-register {
  background: linear-gradient(95.45deg, #0082F8 0.64%, #1C40F2 98.23%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(28, 64, 242, 0.28);
  transition: all 0.25s ease;
}
.btn-register:hover {
  background: linear-gradient(95.45deg, #1C40F2 0.64%, #0082F8 98.23%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(28, 64, 242, 0.4);
  transform: translateY(-1px);
}

/* ==========================================================================
   ARZHost Index Hero Section (#213083) - Matching Sample Screenshot
   ========================================================================== */
.index-hero-section {
  background-color: #213083;
  width: 100%;
  padding: 30px 0 50px 0;
  box-sizing: border-box;
  color: #ffffff;
  border-bottom-right-radius: 60px;
  position: relative;
  overflow: hidden;
}

.index-hero-section .container {
  margin: 0 auto;
  padding: 0 1.5rem;
  max-width: 1100px;
  position: relative;
}

.index-hero-section .container::before {
  content: "";
  position: absolute;
  left: -65px;
  top: 48%;
  transform: translateY(-50%);
  width: 38px;
  height: 91px;
  background-image: url('../images/home4-hero-shape.png'), url('https://arzhost.com/wp-content/uploads/2023/08/home4-hero-shape.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
  animation: heroShapeFloat 4s ease-in-out infinite alternate;
}

.index-hero-section .hero-title {
  font-family: "Urbanist", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-align: center;
  color: #ffffff;
}

.index-hero-section .hero-subtitle {
  font-family: "Mulish", sans-serif;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 1.75rem auto;
  text-align: center;
  line-height: 1.6;
}

.index-hero-section .search-box {
  max-width: 620px;
  margin: 0 auto 1.5rem auto;
  position: relative;
}

.index-hero-section .search-input {
  width: 100%;
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
  border-radius: 50px;
  border: 1.5px solid transparent;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  font-family: "Urbanist", sans-serif;
  box-sizing: border-box;
}

.index-hero-section .search-input:focus {
  border-color: #0082F8;
  box-shadow: 0 0 0 4px rgba(0, 130, 248, 0.25), 0 4px 15px rgba(0, 0, 0, 0.15);
}

.index-hero-section .search-input::placeholder {
  color: #64748b;
  opacity: 0.9;
}

.index-hero-section .category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.index-hero-section .filter-pill {
  background: #1C40F2;
  border: 1.5px solid #1C40F2;
  color: #ffffff;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: "Urbanist", sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.index-hero-section .filter-pill:hover {
  background: #0082F8;
  border-color: #0082F8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 130, 248, 0.3);
}

.index-hero-section .filter-pill.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #001042;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transform: none;
}

.bulk-tool-input-row {
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 12px;
}

.bulk-tool-input-row .bulk-list-input {
  flex: 0 0 auto;
  width: min(100%, 820px);
  min-width: 0;
  min-height: 150px;
  margin-inline: auto;
  resize: vertical;
  line-height: 1.55;
  border-radius: 8px;
}

.bulk-tool-form > .input-label {
  width: min(100%, 820px);
  margin-inline: auto;
  text-align: center;
}

.bulk-tool-form > .text-input,
.bulk-tool-form > .select-input {
  display: block;
  width: min(100%, 820px);
  margin-inline: auto;
}

.bulk-input-support {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 820px);
  margin-inline: auto;
  margin-top: 0.55rem;
  color: #64748b;
  font-size: 0.82rem;
}

.bulk-input-support .limit-exceeded,
.bulk-result-error,
#bulkCaptchaError {
  color: #dc2626;
}

.bulk-math-captcha {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: min(100%, 820px);
  min-height: 62px;
  margin: 1rem auto 0;
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.bulk-math-captcha label {
  color: #001042;
  font-weight: 600;
}

.bulk-math-captcha input {
  width: 95px;
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font: inherit;
}

.bulk-check-button {
  width: min(100%, 260px);
  min-width: 220px;
  min-height: 48px;
  margin: 0;
  border-radius: 8px;
  align-self: center;
  box-shadow: 0 8px 18px rgba(0, 130, 248, 0.18);
}

.bulk-dns-action-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  width: min(100%, 820px);
  margin-inline: auto;
}

.bulk-dns-action-row .bulk-check-button,
.bulk-dns-action-row #dnsRecordType {
  flex: 0 1 260px;
  width: 260px;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  border-radius: 8px;
}

#bulkCaptchaError {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .bulk-check-button {
    width: min(100%, 260px);
    min-width: 0;
    padding-inline: 12px;
  }

  .bulk-math-captcha {
    width: 100%;
  }

  .bulk-dns-action-row {
    gap: 8px;
  }

  .bulk-dns-action-row .bulk-check-button,
  .bulk-dns-action-row #dnsRecordType {
    width: 50%;
  }
}

.bulk-results-list {
  display: grid;
  gap: 1rem;
}

.bulk-result-item {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.bulk-result-item > h3 {
  margin-bottom: 0.75rem;
  color: #001042;
}

/* Floating Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(95.45deg, #0082F8 0.64%, #1C40F2 98.23%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(28, 64, 242, 0.4);
  transition: all 0.25s ease;
  z-index: 999;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(28, 64, 242, 0.55);
}

/* ==========================================================================
   Form Controls, Inputs & Tables
   ========================================================================== */
.input-group {
  margin-bottom: 20px;
}

.input-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 8px;
  font-family: "Urbanist", sans-serif;
}

.input-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.text-input, .select-input, .textarea-input {
  flex: 1;
  min-width: 240px;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.2s ease;
  outline: none;
  background: #ffffff;
}

.text-input:focus, .select-input:focus, .textarea-input:focus {
  border-color: #0082F8;
  box-shadow: 0 0 0 3px rgba(0, 130, 248, 0.2);
}

.textarea-input {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  font-family: monospace;
}

.btn {
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.action-bar {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.tool-results-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

.results-area {
  margin-top: 24px;
  display: none;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.results-area.active {
  display: block;
}

.result-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.result-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}

.badge {
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: var(--warning); }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-info { background: #e0edff; color: #1C40F2; }

/* ==========================================================================
   DATA TABLE — Structured, Fixed-Layout, Overflow-Safe
   ========================================================================== */

/* Optional wrapper for horizontal scroll on small screens */
.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.results-area .table-scroll-wrapper {
  overflow-x: visible;
  -webkit-overflow-scrolling: auto;
}

.results-area .table-scroll-wrapper.wide-result-table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-400) var(--gray-100);
}

.results-area .table-scroll-wrapper.wide-result-table::-webkit-scrollbar {
  height: 10px;
}

.results-area .table-scroll-wrapper.wide-result-table::-webkit-scrollbar-track {
  background: var(--gray-100);
}

.results-area .table-scroll-wrapper.wide-result-table::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border: 2px solid var(--gray-100);
  border-radius: 999px;
}

.results-area .wide-result-table-content {
  width: max-content;
  table-layout: auto;
}

.results-area .wide-result-table-content th,
.results-area .wide-result-table-content td {
  min-width: 140px;
  max-width: 320px;
}

@media (max-width: 767px) {
  .results-area .wide-result-table-content th,
  .results-area .wide-result-table-content td {
    min-width: 125px;
    padding: 10px 12px;
  }
}

.results-area .data-table {
  table-layout: fixed;
}

.results-area .data-table th,
.results-area .data-table td {
  max-width: none;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;       /* Strict column layout — prevents text merging */
  font-size: 14px;
  margin-top: 0;
}

.data-table th,
.data-table td {
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
  word-break: break-word;    /* Prevents long URLs from breaking table layout */
  overflow-wrap: anywhere;
  max-width: 0;              /* Required for table-layout:fixed to apply width */
}

.data-table th {
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-top: 1px solid var(--gray-200);
}

.data-table tbody tr:nth-child(even) td {
  background: #f8fafc;       /* Zebra striping for readability */
}

.data-table tbody tr:hover td {
  background: #eff6ff;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.tool-content {
  max-width: 1280px;
  margin: 2.5rem auto 0;
  color: var(--gray-700);
}

.tool-content-section {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tool-content-section h2 {
  margin: 0 0 1rem;
  color: #04103B;
  font-size: 1.45rem;
}

.tool-content-section p,
.tool-content-section li {
  line-height: 1.7;
}

.tool-content-section ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.tool-content-table-wrap {
  overflow-x: auto;
}

.tool-content-table {
  width: 100%;
  border-collapse: collapse;
}

.tool-content-table th,
.tool-content-table td {
  padding: 0.8rem;
  border: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}

.tool-content-table th {
  background: var(--gray-100);
  color: #04103B;
}

.tool-faq details {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.tool-faq details:last-child {
  border-bottom: 0;
}

.tool-faq summary {
  color: #04103B;
  font-weight: 700;
  cursor: pointer;
}

.tool-faq details p {
  margin: 0.7rem 0 0;
}

/* Related tools */
.related-tools-section {
  max-width: 1280px;
  margin: 1.5rem auto 0;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.related-tools-section h2 {
  margin: 0 0 1rem;
  color: #04103B;
  font-size: 1.45rem;
}

.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.related-tool-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.15rem;
  color: var(--gray-700);
  text-decoration: none;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.related-tool-card:hover,
.related-tool-card:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(33, 48, 131, 0.12);
  transform: translateY(-2px);
}

.related-tool-card h3 {
  margin: 0 0 0.55rem;
  color: #04103B;
  font-size: 1.05rem;
  line-height: 1.35;
}

.related-tool-card p {
  flex: 1;
  margin: 0 0 0.9rem;
  color: var(--gray-700);
  font-size: 0.92rem;
  line-height: 1.55;
}

.related-tool-link {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .related-tools-grid {
    grid-template-columns: 1fr;
  }
}


.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.score-display {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  margin-bottom: 16px;
}

.score-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
}

.meter-bar {
  flex: 1;
  height: 10px;
  background: var(--gray-200);
  border-radius: 5px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: var(--primary);
  width: 0%;
  transition: width 0.5s ease;
}

@media (max-width: 768px) {
  .tool-hero-section,
  .index-hero-section {
    padding: 18px 0 28px 0;
    border-bottom-right-radius: 35px;
  }
  .tool-hero-section .tool-title,
  .index-hero-section .hero-title {
    font-size: 1.65rem;
  }
}

.category-block {
      margin-bottom: 35px;
    }
    .category-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
      padding-bottom: 8px;
      border-bottom: 2px solid var(--gray-200);
    }
    .category-header h2 {
      font-family: "Urbanist", sans-serif;
      font-size: 22px;
      font-weight: 700;
      color: var(--gray-900);
    }
    .tool-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 16px;
    }
    .tool-tile {
      background: #ffffff;
      border: 1px solid var(--gray-200);
      border-radius: 6px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    }
    .tool-tile:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
      border-color: #0082F8;
    }
    .tool-tile h3 {
      font-family: "Urbanist", sans-serif;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 6px;
    }
    .tool-tile h3 a {
      color: var(--gray-900);
      text-decoration: none;
    }
    .tool-tile h3 a:hover {
      color: #1C40F2;
    }
    .tool-tile p {
      font-size: 13px;
      color: var(--gray-600);
      line-height: 1.4;
      flex: 1;
    }
    .tile-btn {
      padding: 7px 16px;
      font-size: 13px;
      font-weight: 600;
      font-family: "Urbanist", sans-serif;
      border-radius: 4px;
      text-decoration: none;
      background: linear-gradient(95.45deg, #0082F8 0.64%, #1C40F2 98.23%);
      color: #ffffff;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s ease;
      box-shadow: 0 3px 10px rgba(28, 64, 242, 0.25);
    }
    .tile-btn:hover {
      background: linear-gradient(95.45deg, #1C40F2 0.64%, #0082F8 98.23%);
      box-shadow: 0 4px 14px rgba(28, 64, 242, 0.4);
      transform: translateY(-1px);
      color: #ffffff;
    }
    .tile-btn:hover {
      background: linear-gradient(95.45deg, #1C40F2 0.64%, #0082F8 98.23%);
      box-shadow: 0 3px 10px rgba(28, 64, 242, 0.3);
      transform: translateY(-1px);
    }
    .tile-btn-secondary {
      background: #f1f5f9;
      color: #334155;
      border: 1px solid #cbd5e1;
    }
    .tile-btn-secondary:hover {
      background: #e2e8f0;
      color: #0f172a;
      border-color: #94a3b8;
    }

/* Extracted tool and layout utilities */
.arz-text-dark { color: #0f172a; }
.arz-flex-between-mb-6 { display: flex; justify-content: space-between; margin-bottom: 6px; }
.arz-grid-2-mb-12 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.arz-form-error-hidden { display: none; margin-top: 10px; padding: 10px 14px; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; border-radius: 6px; font-size: 13px; font-weight: 600; }
.arz-flex-1 { flex: 1; }
.arz-eyebrow-label { font-size: 12px; color: #64748b; text-transform: uppercase; font-weight: 600; }
.arz-caption-mb-8 { font-size: 13px; color: #64748b; margin-bottom: 8px; }
.arz-text-muted-sm { font-size: 14px; color: #64748b; }
.arz-heading-sm-dark { font-size: 16px; color: #0f172a; margin-top: 4px; }
.arz-heading-md-dark { font-size: 18px; color: #0f172a; }
.arz-link-emphasis { font-weight: 600; color: #2563eb; }
.arz-text-semibold-sm { font-weight: 600; font-size: 14px; }
.arz-mb-12 { margin-bottom: 12px; }
.arz-flex-row-mb-16 { margin-bottom: 16px; display: flex; gap: 12px; align-items: center; }
.arz-mt-14 { margin-top: 14px; }
.arz-section-label { margin-top: 18px; margin-bottom: 8px; font-size: 14px; }
.arz-main-spacing { margin-top: 2.5rem; margin-bottom: 3.5rem; }
.arz-empty-cell-16 { text-align: center; padding: 16px; color: #64748b; }
.arz-empty-cell-18 { text-align: center; padding: 18px; color: #64748b; }
.arz-error-cell { text-align: center; padding: 18px; color: #dc2626; font-weight: 600; }
.arz-w-8 { width: 8%; }
.arz-w-15 { width: 15%; }
.arz-w-20 { width: 20%; }
.arz-w-25 { width: 25%; }
.arz-w-30 { width: 30%; }
.arz-w-35 { width: 35%; }
.arz-w-50 { width: 50%; }
.arz-w-85 { width: 85%; }
.arz-w-full { width: 100%; }
.arz-w-full-mb-12 { width: 100%; margin-bottom: 12px; }
.arz-w-full-mb-16 { width: 100%; margin-bottom: 16px; }
.arz-break-all { word-break: break-all; }
.audit-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.audit-form-grid .full-width {
  grid-column: 1 / -1;
}

.audit-form-grid textarea {
  min-height: 118px;
  resize: vertical;
}

.audit-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 13px 15px;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  background: #f8fafc;
}

.audit-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-weight: 600;
}

.audit-option input {
  width: 17px;
  height: 17px;
  accent-color: #e11d48;
}

.audit-help {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 13px;
}

.audit-error {
  display: none;
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fee2e2;
  color: #991b1b;
}

.audit-error.active {
  display: block;
}

.audit-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.audit-summary-grid > div {
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.audit-summary-grid span,
.audit-summary-grid strong {
  display: block;
}

.audit-summary-grid span {
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
}

.audit-summary-grid strong {
  margin-top: 5px;
  color: #213083;
  font-size: 18px;
}

.audit-report-section {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.audit-report-section h3 {
  margin: 0 0 14px;
  color: #172554;
}

.audit-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.audit-source {
  padding: 5px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
}

.audit-source-unavailable {
  background: #fef3c7;
  color: #92400e;
}

.audit-partial-errors {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
}

.ssl-tool-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  align-items: end;
}

.ssl-tool-form .full-width {
  grid-column: 1 / -1;
}

.ssl-focused-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ssl-focused-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid #dbe4f0;
  border-radius: 9px;
  background: #f8fafc;
}

.ssl-focused-item span,
.ssl-focused-item strong {
  display: block;
}

.ssl-focused-item span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ssl-focused-item strong {
  margin-top: 7px;
  color: #172554;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.ssl-result-message {
  margin: 16px 0 0;
  color: #991b1b;
}

@media (max-width: 700px) {
  .ssl-tool-form {
    grid-template-columns: 1fr;
  }

  .ssl-tool-form .full-width {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .audit-form-grid,
  .audit-summary-grid {
    grid-template-columns: 1fr;
  }

  .audit-form-grid .full-width {
    grid-column: auto;
  }
}
