.generate-tab h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
}

.files-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.file-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.file-info strong {
  display: block;
  margin-bottom: 4px;
}

.file-info p {
  margin: 0;
  font-size: 13px;
  color: #646970;
}

.generate-btn {
  background: #6B33C1;
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.generate-btn:disabled {
  background: #a7aaad;
  cursor: not-allowed;
}

.generate-btn:hover:not(:disabled) {
  background: #6B33C1;
}

.existing-files {
  display: flex;
  margin-top: 19px;
  gap: 12px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
  border-radius: 16px;
}

.file-link {
  background-color: #EFEAFF;
  padding: 12px 32px;
  border-radius: 28px;

}
.file-link a {
  text-decoration: none !important;
  box-shadow: none;
}

.file-label {
  font-weight: 500;
  color: #6B33C1;
}

.file-svg-label {
    margin-left: 6px;
    padding-top: 5px;

}

.file-label-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-item a {
  color: #2271b1;
  text-decoration: none;
}

.file-item a:hover {
  text-decoration: underline;
}

.delete-btn {
  background: none;
  border: none;
  color: #d63638;
  cursor: pointer;
  margin-left: auto;
}

.delete-btn:hover {
  color: #b32d2e;
}

.generate-section {
  background-color: #ffffff;
  padding: 14px 20px;
  border-radius: 16px;
}

.regen-container {
  display: flex;
  align-items: center;

}

.regen-icon {
  margin-left: 6px;
}

.generate-tab-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 20px;
}

.generate-main-content {
  flex: 1;
  min-width: 0; /* Important for flex */
}

.generate-sidebar {
  flex-shrink: 0;
  width: 380px;
}

/* Responsive */
@media (max-width: 1024px) {
  .generate-tab-wrapper {
    flex-direction: column;
  }
  
  .generate-sidebar {
    width: 100%;
    margin-top: 30px;
  }
}





.regen-container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  right: 11px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

input[type=checkbox],
input[type=radio] {
  min-width: none;
}

.slider {
  position: relative;
  width: 35px;
  height: 19px;
  background-color: #ccc;
  border-radius: 34px;
  transition: background-color 0.3s;
}

.slider:before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  left: 4px;
  bottom: 3px;

  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

input:checked+.slider {
  background-color: #6B33C1;
}

input:checked+.slider:before {
  transform: translateX(15px);
}

.toggle-switch:hover .slider {
  background-color: #bbb;
}

input:checked+.slider:hover {
  background-color: #7030d1;
}

.toggle-label {
  color: #1d2327;
  font-weight: 500;
}
.llms-upgrade-banner {
  min-width: 340px;
  margin-left: 30px;
}

.llms-upgrade-inner {
     padding: 25px 30px;
  border-radius: 20px;
  color: white;
  box-shadow: 0px 3px 15px rgba(12, 14, 51, 0.15);
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.llms-top-upgrade {
  display: inline-block;
  background: rgba(255, 255, 255, 0.24);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  text-decoration: none;
  color: white;
}

.llms-upgrade-inner h2 {
  font-size: 36px;
  line-height: 1.3;
  margin: 10px 0 10px;
  font-weight: 500;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}

.llms-upgrade-inner p {
  font-size: 19px;
  margin-bottom: 32px;
  opacity: 0.95;
  font-weight: 300;
}

.llms-upgrade-inner ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.llms-upgrade-inner ul li {
  font-size: 16px;
  line-height: 1.6;
  margin: 14px 0;
  font-weight: 300;
}

.llms-upgrade-buttons {
  margin-top: 40px;
}


.llms-upgrade-btn {
  display: block;
  color: #f7eeee;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
  opacity: 0.95;
  transition: opacity 0.2s;
}

.llms-upgrade-btn:hover {
  opacity: 1;
    text-decoration: underline;
  color: #ffff;
}

.llms-upgrade-btn.primary {
  font-weight: 500;
}

.llms-upgrade-btn.secondary {
  font-size: 18px;
  opacity: 0.9;
}
.llms-pro-features-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.llms-pro-features-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.5;
  color: white;
}

.llms-pro-features-list li::before {
  content: "✓";           /* Checkmark symbol */
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}



/* Optional: If you prefer a different bullet, use one of these instead of ✓ */
/* content: "•"; */        /* Round bullet */
/* content: "▸"; */        /* Arrow */
/* content: "★"; */        /* Star */
.setting-tab {
  display: flex;

}

.setting-tab-container {
  width: 500px;
  background: #ffff;
  padding: 0px 15px 20px 15px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 70vh;
  box-sizing: border-box;
  transition: transform 0.25s ease, width 0.2s ease;
}

.setting-tab-title {
  font-weight: 500;
  font-style: medium;
  font-size: 15px;
  color: #44444E;
  padding: 11px 6px;

}


.setting-tab-header-div {
  width: 100%;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.setting-tab-container-button button {
  width: 100%;
  background-color: #502891;
  border-radius: 28px;
  color: #ffff;
  border: none;
  padding: 12px 0px;
  font-size: 16px;
  cursor: pointer;
}

.form-table {
  margin: 0 !important;
}

.llms-heading {
  margin: 10px 1px 14px 0px;
}

.post-type-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 16px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  margin-bottom: 10px;
}

.settings-tab-containers {
  background-color: #fff;
  border-radius: 16px;
  padding: 10px 19px 15px 19px;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
}


.post-type-label strong {
  flex: 1;

  font-weight: 400;
}

.dashicons-arrow-container {
  width: 100%;
  text-align: end;
  cursor: pointer;
}

.toggle-sublist {
  cursor: pointer;
  color: #646970;
  font-size: 30px;
  left: 11px;
  position: relative;
  left: 0px;
  bottom: 6px;
}



.product-sublist,
.sub-sublist {
  margin: 16px 0 0 32px;
  padding-left: 20px;
  list-style: none;


}

.filter-label {
  font-weight: 500;
  font-style: medium;
  font-size: 14px;
  color: #44444E;
}

.product-sublist>li,
.sub-sublist>li {
  margin-bottom: 14px;
}


.setting-tab-form-container {
  width: 100%;
  margin: 0px 0px 0px 20px;
  height: 71vh;
  overflow-y: auto;
  overflow-x: hidden;
  border: none;
  border-radius: 16px;

}

/* Optional: Custom scrollbar styling (Webkit browsers) */
.setting-tab-form-container::-webkit-scrollbar {
  width: 8px;
}

.setting-tab-form-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.setting-tab-form-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.setting-tab-form-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Smooth scrolling */
.setting-tab-form-container {
  scroll-behavior: smooth;
}

.setting-tab-company-info-container {
  background-color: #fff;
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 20px;
}


.setting-tab-tr-container {
  width: 100%;

}

.company-name-email-container {


  display: flex;
  justify-content: space-around;
}

.company-information-paragraph {
  font-size: 16px;
  font-weight: 600;
  font-style: semi-bold;
  color: #1F2937;
}

.regular-text {
  width: 100%;
  border-radius: 8px;
  padding: 4px 8px;
}

.setting-tab-company-info-container {
  padding: 20px;
  background-color: #fff;
}

.company-information-paragraph {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 20px;
}

.company-name-email-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.company-name-div {
  flex: 1;
  min-width: 300px;
}



.company-name-div input.regular-text {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;

}

.company-email-div {
  flex: 1;
  min-width: 300px;
}

.company-name-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: Light Gray;
  margin-bottom: 8px;
  font-style: medium;
}

.company-name-email-container input.regular-text {
  width: 100%;
  padding: 4px 8px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
}

.company-name-email-container input.regular-text:focus {
  outline: none;
  /* /* border-color: #2271b1; */
  /* box-shadow: 0 0 0 1px #2271b1;  */
}

.description {
  width: 100%;
  margin: 5px 0 0 0;
  font-size: 12px;
  color: #646970;
  font-style: italic;
}

.company-description-container {
  margin-top: 20px;
  margin-bottom: 7px;
  border-radius: 8px;
}

.product-sublist-input {
  margin-bottom: 14px;
}



.company-description-container input.regular-text,
.company-description-container textarea {
  width: 100%;
  padding: 4px 8px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  resize: vertical;
}

.company-description-container input.regular-text:focus,
.company-description-container textarea:focus {
  outline: none;
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}

/* Remove table styling if used */
.company-description-container table,
.company-description-container tr,
.company-description-container td {
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .company-name-email-container {
    grid-template-columns: 1fr;
  }

  .description {
    grid-column: 1;
  }
}


/* Input checkbox */

input[type="checkbox"]:focus {
  border: none !important;
}

/* Checkbox styling */
.sortable-list input[type="checkbox"],
.product-sublist input[type="checkbox"],
.sub-sublist input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.sortable-list input[type="checkbox"]:checked,
.product-sublist input[type="checkbox"]:checked,
.sub-sublist input[type="checkbox"]:checked {
  background-color: #502891;
  border-color: #502891;
}

input[type=checkbox]:checked::before {
  content: none !important;
}



.sortable-list input[type="checkbox"]:checked::after,
.product-sublist input[type="checkbox"]:checked::after,
.sub-sublist input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  color: #ffffff !important;
  /* White color with !important */
  font-size: 14px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

.tag-input-wrapper {
  position: relative;
  width: 300px;
}




.tag-input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  border: none !important;
  outline: none !important;
  background: transparent;
  padding: 0.5rem 0;
  font-size: 1rem;
  width: 300px;

}

.tag-input:focus {
  box-shadow: none !important;
}







.tag-dropdown {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  border-radius: 3px;
}

.tag-dropdown-item {
  transition: background 0.2s;
  padding: 4px;
  margin-bottom: 0px !important;

}

.tag-dropdown-item:hover,
.tag-dropdown-item.active {
  background-color: #EFEAFF !important;
  padding: 4px;

}

.product-sublist-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.tag-input-container {
  display: flex;
  border: 1px solid #E5E7EB;
  padding: 5px;
  border-radius: 4px;
  width: 30vw;
  margin-top: 7px;
  flex-wrap: wrap;
}

.existing-tags-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 7px;
  height: 30px;
}

.tag {
  background-color: #EFEAFF;
  padding: 4px;
  border-radius: 4px;
}

.tag-remove {
  border: none;
  background-color: transparent !important;
  cursor: pointer;
}

.filter-section {
  margin-bottom: 10px;
  margin-top: 11px;

}

.include-urls-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  margin-bottom: 15px;
}

.include-urls-input-container {
  width: 100%;
}

.include-urls-textarea {
  width: 100%;
  padding: 4px;
  border-radius: 8px !important;
  border: 1px solid gray;
}

.include-urls-textarea input[type=text]:focus {

  border: 1px solid gray;
  /* border-color: #2271b1; */
  /* box-shadow: 0 0 0 1px #2271b1; */
}

.include-urls-label {
  font-weight: 500;
  margin-bottom: 2px;
}

.include-urls-add-button {
  border-radius: 20px;
  border: none;
  height: 32px;
  margin: 19px 8px;
  padding: 0px 20px;
  background: #502891;
  color: #FFFFFF;
  cursor: pointer;
}

.include-urls-added-container {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 8px;
}

.include-url-label-container {
  padding: 10px 8px;
  background-color: #EFEAFF;
  border-radius: 8px 8px 0px 0px;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
}

.include-urls-added-rows-container {
  display: flex;
  /* border: 1px solid #ddd; */
  border-bottom: 1px solid #ddd;
  justify-content: space-between;
}

.include-urls-added-rows-container:last-child {
  border-radius: 0px 0px 8px 8px;
  border-bottom: none;
}

.added-urls-list {
  width: 100%;
  border-right: 1px solid #ddd;
  padding: 10px 0px 0px 7px;
}

.incldues-urls-added-rows {
  padding: 12px 9px 7px 9px;
}

.exclude-urls-textarea {
  width: 25rem;
  border-radius: 8px;
  border: 1px solid #ddd;

}

.exclude-urls-description,
code,
textarea {
  width: 100%;
  background-color: #fff;
}

.tab-setting-select {
  width: 50%;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
}

.seo-container {
  display: flex;
  gap: 6px;
}

.mobile-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
}

.bottom-spacer {
  margin-bottom: 314px;
}

/* highlight active left item */
.setting-tab-header-div.active {
  background-color: #EDE6FF;
}


@media (max-width: 768px) {
  .setting-tab {
    flex-direction: column;
  }

  /* left sidebar becomes collapsible above content */
  .mobile-toggle {
    display: inline-block;
    margin-bottom: 8px;
    cursor: pointer;
  }

  .setting-tab-container.closed {
    display: none;
  }


  .setting-tab-form-container {
    height: calc(100vh - 180px);
    /* give room for header/sidebar */
    margin: 12px 0 40px 0;
  }


}

.url-remove-btn {
  border: none;
  background: transparent;
  cursor: pointer;
}

/* wrapper must stay */
.add-btn-wrapper {
  position: relative;
  display: inline-block;
}

/* disabled button look */
.include-urls-add-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* UPDATED Tooltip Style */
.pro-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + -3px);
  transform: translateX(-50%);

  padding: 3px 10px;
  background: linear-gradient(135deg, #4a4f57, #1f1f1f);
  color: #fff;

  font-size: 12px;
  border-radius: 6px;
  white-space: nowrap;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease;
  transform-origin: bottom center;

  z-index: 1000;
}

/* Tooltip arrow */
.pro-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  border-width: 6px;
  border-style: solid;
  border-color: #1f1f1f transparent transparent transparent;
}

/* Show on hover */
.add-btn-wrapper:hover .pro-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-3px);
}

.email-name-label-note {
  margin-left: 5px;
  color: #f59e0b;
    margin-top: 2px;
}
.wrap {}

.main-heading-container {
  font-size: 30px !important;
  margin-bottom: 24px;
  margin-left: 9px !important;
}

.notice {
  margin: 16px 0;
  border-radius: 6px;
  font-weight: 500;
}

.notice-success {
  background: #d1f1d8;
  color: #006600;
  border: 1px solid #00a32a;
}

.notice.is-dismissing {
  opacity: 0;
  transition: opacity 3.1s ease-out;
}

.notice-error {
  background: #fde8e8;
  color: #9e0000;
  border: 1px solid #cc0000;
}

.nav-tab-wrapper {
  margin-bottom: 0px;
  border: none;
  margin-top: 0px;
}

.nav-tab {
  padding: 4px 16px 4px 16px;
  background-color: #ffffff;
  margin-top: 24px;
  font-size: 16px;
  color: #1F2937;
  cursor: pointer;
  border-radius: 28px;
  font-weight: 600;
  border: none;
  box-shadow: none !important;
}
.nav-tab-svg {
  padding-top: 5px;
}
.nav-tab-text {
  padding: 1px 6px 2px 6px;
}
.nav-tab-sub-div {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.nav-tab-active {
  background-color: #ffffff !important;
  border: 2px solid #6B33C1 !important;

}

.loader {
  display: flex;
  text-align: center;
  padding: 60px;
  font-size: 18px;
  color: #646970;
  justify-content: center;
  margin-top: 25vh;
}
/* Bot card grid for Visits by AI Bot section */
.bot-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(180px, 100%/5), 1fr));
  gap: 1.5rem;
  padding: 1rem 10px;
  margin-bottom: 10px;
  max-width: 100%;
}

.bot-visit-card {

  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(60, 72, 100, 0.08), 0 1px 2px 0 rgba(60, 72, 100, 0.06);
  min-width: 160px;
  /* max-width: 305px; */
  padding: 18px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 8px;
}

.bot-card-header {
  font-size: 1.08rem;
  font-weight: 600;
  color: #2b364a;
  margin-bottom: 8px;
}

.bot-card-name {
  color: #3b4a6b;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.bot-card-count {
  font-size: 1.1rem;
  color: #4a5a7a;
  font-weight: 500;
  margin-bottom: 8px;
}

.bot-card-bar-bg {
  width: 100%;
  height: 8px;
  background: #e3e8f0;
  border-radius: 5px;
  margin-top: 2px;
  overflow: hidden;
}

.bot-card-bar {
  height: 100%;
  border-radius: 5px;
}

.analytics-tab-wrapper {
  padding: 32px;
  background: white;
  border-radius: 12px;
  font-family: -apple-system, BlinkMacOSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #2c3338;
}

/* Header */
.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.analytics-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  color: #2c3338;
}

.controls-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  background: white;
  border: 1px solid #dcdcde;
  border-radius: 9999px;
  padding: 4px 2px 3px 12px;
  font-size: 13px;
  color: #2c3338;
  cursor: pointer;
  min-width: 120px;
}

.select-wrapper select:focus {
  border-color: #722ed1;
  outline: none;
  box-shadow: 0 0 0 2px rgba(114, 46, 209, 0.15);
}

.select-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #646970;
  pointer-events: none;
}

.btn-clear {
  background: #722ed1;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.btn-clear:hover:not(:disabled) {
  background: #5b24a8;
}

.btn-clear:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Stat cards ─ very similar to reference */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.stat-card.purple .stat-icon-bg {
  background: #f3e8ff;
}

.stat-card.blue .stat-icon-bg {
  background: #eff6ff;
}

.stat-card.emerald .stat-icon-bg {
  background: #ecfdf5;
}

.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #646970;
  letter-spacing: 0.3px;
}

.stat-icon-bg {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon-bg {
  transform: scale(1.12);
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #6b7280;
}

.trend-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 11px;
}

/* Decorative bg circle like in reference */
.stat-card::after {
  content: '';
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 120px;
  height: 120px;
  background: rgba(114, 46, 209, 0.04);
  border-radius: 50%;
  transition: transform 0.6s ease;
  pointer-events: none;
}

.stat-card:hover::after {
  transform: scale(1.3);
}

/* Bot progress bars */
.section-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.table-section h3 {
  margin: 12px 17px !important;

}

.section-card h3 {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: #2c3338;
}

.bot-progress-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bot-progress-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bot-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.bot-name {
  font-size: 14px;
  font-weight: 600;
  color: #2c3338;
}

.bot-count {
  font-size: 13px;
  color: #646970;
  font-weight: 500;
}

.progress-bg {
  height: 8px;
  background: #f0f0f1;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

/* Table */
.table-section {
  padding: 0;
  overflow: hidden;
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead tr {
  background: #f8f9fa;
}

th {
  text-align: left;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  color: #646970;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e5e7eb;
}

td {
  padding: 14px 20px;
  font-size: 13px;
  color: #2c3338;
  border-bottom: 1px solid #f0f0f1;
}

.hover-row:hover {
  background: #fcfcfc;
}

.bot-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bot-icon {
  color: #722ed1;
}

.mono-cell {
  font-family: ui-monospace, 'SFMono-Regular', monospace;
  color: #646970;
  font-size: 12.5px;
}

.url-cell {
  color: #2271b1;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 320px;
}

.url-cell a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #2271b1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.url-cell a:hover {
  color: #135e96;
  text-decoration: underline;
}

.external-icon {
  color: #a7aaad;
  flex-shrink: 0;
}

.time-cell {
  color: #646970;
  white-space: nowrap;
}

.action-cell {
  text-align: right;
}

.delete-btn {
  color: #a7aaad;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s;
}

.hover-row:hover .delete-btn {
  opacity: 1;
}
.select-wrapper select:disabled {
  background: #f9fafb;
  border-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  background-image: none  !important;
}

.delete-btn:hover {
  color: #d63638;
}

/* Notices & loader */
.notice {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.notice.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.notice.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.loader-container {
  display: flex;
  justify-content: center;
  padding: 100px 0;
}

.no-data-text {
  text-align: center;
  color: #9ca3af;
  font-size: 15px;
  padding: 60px 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .analytics-header {
    flex-direction: column;
    align-items: stretch;
  }

  .controls-group {
    flex-direction: column;
    gap: 12px;
  }

  .select-wrapper select {
    width: 100%;
  }
}

/* Table Header & Search - Bottom underline only, no box */
.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;

}

.search-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-input-container {
     display: flex;
    align-items: center;
    border-bottom: 1px solid #94a3b8;
    width: 250px;
    transition: border-color 0.25s ease;
    margin-right: 1vw
}

.search-input-container:focus-within {
  border-color: #722ed1;
}

.table-search-input {
  border: none !important;
  outline: none !important;
  background: transparent;
  padding: 10px 8px 10px 4px;
  font-size: 15px;
  flex: 1;
  color: #1f2937;
}

.table-search-input:focus {
  box-shadow: none !important;
}

.table-search-input::placeholder {
  color: #9ca3af;
}

.search-icon {
  color: #64748b;
  flex-shrink: 0;
}

.clear-search-btn {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 20px;
  cursor: pointer;
  padding: 8px 4px;
}

.clear-search-btn:hover {
  color: #ef4444;
}

/* Keep your existing pagination & table styles */

.pagination {
  display: flex;
  justify-content: space-between;
  padding: 15px 1vw;
}

/* Text on LEFT */
.pagination-info {

  display: flex;
  align-items: center;
  justify-content: end;
}

/* Buttons perfectly CENTERED */
.pagination-container {

  display: flex;
  justify-self: center;

}

/* Button styles (unchanged) */
.page-btn {
  padding: 6px 12px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.page-btn.active {
  background: #722ed1;
  color: #fff;
  border-color: #722ed1;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Mobile - stack everything nicely */
@media (max-width: 640px) {
  .pagination {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .pagination-info-container,
  .pagination-container {
    display: flex;
    justify-self: end;

  }
}
.visibility-ads-shell {
    position: relative;
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: stretch;
    margin-left: 2vw;
}

.visibility-ads-exit-button {
    position: absolute;
    top: 5%;
    right: 5px;

    z-index: 3;
    width: 25px;
    height: 25px;
    border: 0;
    background: transparent;
    color: #000000;
    font-size: 16px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out
}



/* Tablet screens (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .visibility-ads-exit-button {
        right: 2px;
        width: 15px;
        height: 15px;
        top: 37px;
    }
}



.visibility-ads-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visibility-ads-popup__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.35);
    cursor: pointer;
}

.visibility-ads-popup__panel {
    position: relative;
    z-index: 1;
    width: min(320px, calc(100% - 24px));
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
    padding: 16px;
}

.visibility-ads-popup__panel h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.3;
    color: #0f172a;
}

.visibility-ads-popup__panel p {
    margin: 0 0 16px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #475569;
}

.visibility-ads-popup__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.visibility-ads-popup__button {
    border: 0;
    border-radius: 9999px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.visibility-ads-popup__button--secondary {
    background: transparent;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.visibility-ads-popup__button--primary {
    background: #6b33c1;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(107, 51, 193, 0.18);
}

.visibility-ads-popup__button--primary:hover {
    background: #5b2ba9;
}

.visibility-ads-popup__button--secondary:hover {
    background: #f8fafc;
    color: #0f172a;
}

/* Mobile devices */
@media (max-width: 480px) {
    .visibility-ads-exit-button {
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .visibility-ads-popup__panel {
        width: calc(100% - 16px);
        padding: 14px;
    }

    .visibility-ads-popup__actions {
        flex-direction: column;
    }

    .visibility-ads-popup__button {
        width: 100%;
    }
}
/* VisibilityAds.css - Responsive Banner */
.visibility-banner {
  width: 100%;
  height: 70px;
  margin: 0 auto;
  background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 16px 24px;
  box-sizing: border-box;
  overflow: hidden;
}

.banner-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}

.banner-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 200px;
  height: 100%;
}

/* Headline Section */
.headline {
  flex: 1.2;
  min-width: 250px;
  justify-content: flex-start;
}

.headline h1 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
  margin: 0;
  padding: 0;
}

.headline span {
  color: #1e40af;
  font-weight: 700;
}

/* Subheadline Section */
.subheadline {
  flex: 1;
  min-width: 220px;
  justify-content: flex-start;
}

.subheadline p {
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

/* Dashboard Preview Section */
.dashboard-preview {
  flex: 0.8;
  min-width: 140px;
  justify-content: center;
}

.dashboard-preview-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* CTA Section */
.cta-section {
  flex: 0 0 auto;
  justify-content: center;
}

.cta-btn {
  background: #0f172a;
  color: white;
  padding: 10px 20px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

/* Tablet Responsive - 1024px and below */
@media (max-width: 1024px) {
  .visibility-banner {
    height: 100px;
    padding: 14px 20px;
  }

  .banner-content {
    gap: 14px;
  }

  .headline {
    flex: 1;
    min-width: 180px;
  }

  .headline h1 {
    font-size: 1.1rem;
  }

  .subheadline {
    flex: 1;
    min-width: 160px;
  }

  .subheadline p {
    font-size: 0.9rem;
  }

  .dashboard-preview {
    flex: 0.7;
    min-width: 100px;
  }

  .dashboard-preview-img {
    max-width: 140px;
  }
}

/* Small Tablet / Large Mobile - 768px and below */
@media (max-width: 768px) {
  .visibility-banner {
    height: 90px;
    padding: 12px 16px;
  }

  .banner-content {
    gap: 10px;
  }

  .headline {
    flex: 0.95;
    min-width: 120px;
  }

  .headline h1 {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .subheadline {
    flex: 0.95;
    min-width: 110px;
  }

  .subheadline p {
    font-size: 0.8rem;
  }

  .dashboard-preview {
    flex: 0.6;
    min-width: 80px;
  }

  .dashboard-preview-img {
    max-width: 100px;
  }

  .cta-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
  .visibility-banner {
    height: 85px;
    padding: 10px 12px;
  }

  .banner-content {
    gap: 8px;
    flex-wrap: nowrap;
  }

  .banner-section {
    min-width: auto;
  }

  .headline {
    flex: 0.85;
    min-width: 80px;
  }

  .headline h1 {
    font-size: 0.85rem;
    line-height: 1.1;
  }

  .subheadline {
    flex: 0.9;
    min-width: 90px;
  }

  .subheadline p {
    font-size: 0.75rem;
  }

  .dashboard-preview {
    flex: 0.5;
    min-width: 60px;
  }

  .dashboard-preview-img {
    max-width: 80px;
  }

  .cta-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
    white-space: normal;
    line-height: 1.2;
  }
}
