
/**
 * Lead Generation UI - Main stylesheet
 * Vidyayug Soft Technologies
 */

:root {
  --header-bg: #ffffff;
  --header-height: 64px;
  --primary-blue: #2563eb;
  --text-muted: #6b7280;
  --border-light: #b7b7b7;
  --card-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --card-shadow-hover: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
 
}
.table{
border:1px solid var(--border-light);
}
.table-leads thead th{
 font-size: 0.8rem !important;
    text-transform: capitalize !important;
    color: black !important;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: #3866c4;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Top header - full width */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--header-bg);
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.app-header .header-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-header .header-brand .logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #7dd3fc;
  letter-spacing: -0.02em;
}

.app-header .header-brand .logo-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.app-header .header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.app-header .header-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-banner-tagline.banner-sub-text{
  font-size: 14px;
  margin-top: 9px;
}


.table-leads .form-check-input {
    cursor: pointer;
    border: 1px solid #0d6efd;
}

.app-header .header-nav .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.app-header .header-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.app-header .navbar-toggler {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0.4rem 0.6rem;
  border-radius: 0.375rem;
}

@media (max-width: 767.98px) {
  .app-header .header-nav {
    display: none;
  }

  .app-header .header-nav.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-bg);
    padding: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }

  .app-header .navbar-toggler {
    display: inline-flex;
  }
}

/* Main content */
.main-content {
  margin-left: 0;
  min-height: 100vh;
  padding: 1.5rem;
  padding-top: calc(var(--header-height) + 1.5rem);
}

/* Hero banner */
.hero-banner {
  /* background: var(--primary-blue); */
  color: #fff;
  text-align: center;
}

.hero-banner-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-banner-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Cards */
.card-lead {
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  box-shadow: var(--card-shadow);
  background: #fff;
  transition: box-shadow 0.2s;
      width: 100%;
    margin: 0 auto;
}

.card-lead:hover {
  box-shadow: var(--card-shadow-hover);
}

.section-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 0.5rem;
}

.section-field-label {
  font-size: 0.875rem;
  color: black;
  font-weight: 600;
}
.section-subtitle-lead{
  font-weight: 600;
  font-size: 0.9rem;
}
.btn-table-action,.btn-table-action,.btn-table-action:hover{
  border:1px solid var(--primary-blue) !important;
  color: var(--primary-blue) !important;
}
.lead-description::placeholder,textarea#emailBodyInput::placeholder {
 padding-top: 10px;
  font-size: 14px;        
  color: #969696;            
  opacity: 1;  
  font-weight: 400;          
}


/* Form */
.form-context {
  min-height: 100px;
  resize: vertical;
  border-radius: 0.375rem;
  border: 1px solid var(--border-light);
}

.form-context:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* LinkedIn message cards */
.linkedin-lead-panel {
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  background: #ffffff;
  overflow: hidden;
}

.linkedin-lead-header {
  display: grid;
  grid-template-columns: 60px minmax(160px, 1.5fr) minmax(150px, 1.2fr) minmax(160px, 1.2fr);
  column-gap: 1rem;
  font-weight: 600;
  font-size: 0.8rem;
  color: #111827;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  background: #f8fafc;
  align-items: center;
}

.linkedin-lead-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem;
  max-height: 420px;
  overflow-y: auto;
}

.linkedin-empty {
  color: #6b7280;
  /* padding: 1.5rem 0; */
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.status-success {
  background: #dcfce7;
  color: #166534;
}

.status-warn {
  background: #fef3c7;
  color: #92400e;
}

.status-danger {
  background: #fee2e2;
  color: #991b1b;
}

.status-muted {
  background: #f3f4f6;
  color: #6b7280;
}

.mt-1 {
  margin-top: 1.25rem !important;
}

.me-2 {
  margin-right: 1.5rem !important;
}

.status-info {
  display: inline-flex;
  align-items: center;
  margin-left: 0.4rem;
  color: #6b7280;
  cursor: default;
  position: relative;
}

.status-info i {
  font-size: 0.9rem;
}

.status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  vertical-align: middle;
}

.status-info::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  max-width: 260px;
  width: max-content;
  padding: 0.5rem 0.7rem;
  background: #111827;
  color: #f9fafb;
  font-size: 0.75rem;
  line-height: 1.2;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 20;
  white-space: normal;
  text-align: left;
}

.status-info::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #111827 transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.status-info:hover::after,
.status-info:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.linkedin-lead-item {
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.linkedin-lead-row {
  display: grid;
  grid-template-columns: 60px minmax(160px, 1.2fr) minmax(150px, 1.2fr) minmax(160px, 1.2fr);
  column-gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.linkedin-lead-header .linkedin-select-col {
  display: block;
  text-align: left;
}

.linkedin-lead-row .linkedin-select-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.linkedin-select-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #94a3b8;
  border-radius: 4px;
  background: #ffffff;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
}

.linkedin-select-all-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #94a3b8;
  border-radius: 4px;
  background: #ffffff;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
}

.linkedin-select-all-checkbox:checked {
  background: #2563eb;
  border-color: #2563eb;
}

.linkedin-select-all-checkbox:checked::after {
  content: "";
  width: 6px;
  height: 10px;
  border: 2px solid #ffffff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
  margin-top: -1px;
}

.linkedin-select-all-checkbox:indeterminate {
  background: #2563eb;
  border-color: #2563eb;
}

.linkedin-select-all-checkbox:indeterminate::after {
  content: "";
  width: 10px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.linkedin-select-checkbox:checked {
  background: #2563eb;
  border-color: #2563eb;
}

.linkedin-select-checkbox:checked::after {
  content: "";
  width: 6px;
  height: 10px;
  border: 2px solid #ffffff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
  margin-top: -1px;
}

.linkedin-select-checkbox:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.linkedin-company {
  font-size: 1rem;
  /* font-weight: 600; */
  color: #111827;
}

.linkedin-industry-text {
  font-size: 0.95rem;
  color: #111827;
}

.linkedin-link-col {
  font-size: 0.9rem;
  word-break: break-word;
}

.linkedin-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.linkedin-message-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.linkedin-message-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.linkedin-message-row .linkedin-copy-btn {
  height: 2.5rem;
  padding: 0 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.linkedin-message-row .linkedin-message-input {
  flex: 1;
}

.linkedin-actions-inline {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 991.98px) {
  .linkedin-lead-header {
    display: none;
  }

  .linkedin-lead-row {
    grid-template-columns: 1fr;
  }
}

.form-select-custom {
  border-radius: 0.375rem;
  border: 1px solid var(--border-light);
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  background-position: right 0.6rem center;
  font-size: 14px;
}

/* Industry multiselect dropdown */
.form-select-multiselect {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 16px 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.form-select-multiselect span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-menu-industry {
  max-height: 220px;
  overflow-y: auto;
  min-width: 100%;
}

.dropdown-menu-industry .dropdown-item {
  cursor: pointer;
  white-space: nowrap;
}

.dropdown-menu-industry .dropdown-item:hover {
  background-color: #f3f4f6;
}

.btn-generate {
  background: var(--primary-blue);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 2rem;
  border-radius: 0.375rem;
  border: none;
  transition: background 0.2s, transform 0.1s;
}

.btn-disabled {
  opacity: 0.55;
}

.btn-generate:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-1px);
}

.btn-generate:disabled,
.btn-generate.is-loading {
  opacity: 0.85;
  cursor: not-allowed;
  transform: none;
}

.btn-row-action:disabled,
.btn-row-action.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.btn-spin {
  display: inline-block;
  animation: leadgen-spin 0.8s linear infinite;
}
.show-all-lead-btn,.show-all-lead-btn:hover{
 background: var(--primary-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  border: none;
  transition: background 0.2s, transform 0.1s;	
  margin-left: 0;
}
.gen-lead-block {
    line-height: 45px;
    height: 45px;
}

.generated-leads-toolbar {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.75rem;
}

.generated-leads-filter-bar {
  flex: 0 1 auto;
  justify-content: flex-start;
  gap: 0.5rem !important;
}

.generated-filter-label {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.35rem;
  white-space: nowrap;
}

.generated-filter-field {
  min-width: 140px;
  max-width: 165px;
}

.generated-filter-field .form-select {
  padding-right: 1.7rem;
  font-size: 0.92rem;
}

.generated-leads-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.generated-leads-top-row {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.generated-leads-header {
  min-width: 320px;
}

/* Email Template & Generation */
.email-preview-block {
  box-shadow: var(--card-shadow);
}

.email-preview-header {
  background: var(--primary-blue);
  font-size: 0.9rem;
}

.email-preview-textarea {
  min-height: 200px;
  resize: vertical;
  font-size: 0.9rem;
}

.email-preview-textarea:focus {
  box-shadow: none;
  outline: none;
}

.btn-email-action {
  font-weight: 500;
}

.leadgen-loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.leadgen-loader-card {
  min-width: 260px;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.leadgen-loader-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid #dbeafe;
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: leadgen-spin 0.8s linear infinite;
}

.leadgen-loader-text {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 600;
}

@keyframes leadgen-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Table */
.table-leads {
  margin-bottom: 0;
}

.table-leads thead th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.table-leads thead th .bi-chevron-down {
  font-size: 0.65rem;
  margin-left: 0.25rem;
  opacity: 0.7;
}

.table-leads tbody td {
    /* padding: 0.3rem 1rem; */
  vertical-align: middle;
  font-size: 0.9rem;
  color: black;
}

.table-leads tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
}

.table-leads tbody tr:last-child {
  border-bottom: none;
}

.table-leads tbody tr:hover {
  background: #f9fafb;
}

.table-leads .form-check-input {
  cursor: pointer;
}

.table-leads .action-menu {
  border: none;
  background: none;
  padding: 0.35rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 0.25rem;
}

.table-leads .action-menu:hover {
  background: #f3f4f6;
  color: #111827;
}

.table-leads .action-menu.dropdown-toggle::after {
  display: none;
}

 .table-leads .link-website {
  color: black !important;
  text-decoration: none;
  font-size: 0.9rem;
} 

.table-leads .link-website:hover {
  text-decoration: underline;
}

/* Table actions */
.table-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-bottom: 0;
}

.btn-table-action {
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-light);
  background: #fff;
  color: #374151;
  border-radius: 0.375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.2s, border-color 0.2s;
}

.btn-table-action:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

/* Table wrapper for horizontal scroll on small screens */
.table-responsive-custom {
  overflow-x: auto;
  overflow-y: visible;
  padding-right: 12px;
  -webkit-overflow-scrolling: touch;
}

.email-actions-wrapper {
  padding-right: 0;
  overflow-x: hidden;
}

.email-actions-wrapper .table {
  width: 100%;
  min-width: 0;
}

/* Generated leads table needs extra width for many columns */
.generated-leads-table .table {
  min-width: 1600px;
}

.generated-leads-table {
  max-height: 465px;
  overflow-y: auto;
}

.generated-leads-table .table-leads th,
.generated-leads-table .table-leads td {
  padding: 10px 12px;
  vertical-align: top;
}

.generated-leads-table .table-leads {
  table-layout: fixed;
  width: 100%;
}

.generated-leads-table .table-leads th,
.generated-leads-table .table-leads td {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.generated-leads-table .table-leads th:nth-child(1),
.generated-leads-table .table-leads td:nth-child(1) { width: 40px; }
.generated-leads-table .table-leads th:nth-child(2),
.generated-leads-table .table-leads td:nth-child(2) { width: clamp(180px, 18vw, 260px); }
.generated-leads-table .table-leads th:nth-child(3),
.generated-leads-table .table-leads td:nth-child(3) { width: clamp(160px, 14vw, 220px); }
.generated-leads-table .table-leads th:nth-child(4),
.generated-leads-table .table-leads td:nth-child(4) { width: clamp(120px, 10vw, 170px); }
.generated-leads-table .table-leads th:nth-child(5),
.generated-leads-table .table-leads td:nth-child(5) { width: clamp(120px, 10vw, 170px); }
.generated-leads-table .table-leads th:nth-child(6),
.generated-leads-table .table-leads td:nth-child(6) { width: clamp(140px, 12vw, 200px); }
.generated-leads-table .table-leads th:nth-child(7),
.generated-leads-table .table-leads td:nth-child(7) { width: clamp(160px, 16vw, 240px); }
.generated-leads-table .table-leads th:nth-child(8),
.generated-leads-table .table-leads td:nth-child(8) { width: clamp(200px, 20vw, 320px); }
.generated-leads-table .table-leads th:nth-child(9),
.generated-leads-table .table-leads td:nth-child(9) { width: clamp(180px, 18vw, 280px); }
.generated-leads-table .table-leads th:nth-child(10),
.generated-leads-table .table-leads td:nth-child(10) { width: clamp(200px, 20vw, 320px); }
.generated-leads-table .table-leads th:nth-child(11),
.generated-leads-table .table-leads td:nth-child(11) { width: 70px; }

/* Email actions table spacing */
.email-actions-table {
  table-layout: fixed;
  width: 100%;
}

.email-actions-table th,
.email-actions-table td {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.email-actions-table th:nth-child(1),
.email-actions-table td:nth-child(1) { width: 40px; }
.email-actions-table th:nth-child(2),
.email-actions-table td:nth-child(2) { width: 220px; }
.email-actions-table th:nth-child(3),
.email-actions-table td:nth-child(3) { width: 200px; }
.email-actions-table th:nth-child(4),
.email-actions-table td:nth-child(4) { width: 140px; }
.email-actions-table th:nth-child(5),
.email-actions-table td:nth-child(5) { width: 140px; }
.email-actions-table th:nth-child(6),
.email-actions-table td:nth-child(6) { width: 260px; }
.email-actions-table th:nth-child(7),
.email-actions-table td:nth-child(7) { width: 140px; }
.email-actions-table th:nth-child(8),
.email-actions-table td:nth-child(8) { width: 110px; }
/* Pagination bar */
.pagination-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pagination-bar .entries-select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-bar .entries-select select {
  padding: 0.25rem 1.8rem;
  border-radius: 0.25rem;
  border: 1px solid var(--border-light);
  font-size: 0.875rem;
}

.pagination-bar .pagination {
  margin: 0;
  gap: 0.25rem;
}

.pagination-bar .pagination .page-link {
  padding: 0.35rem 0.65rem;
  border-radius: 0.25rem;
  color: #374151;
  border: 1px solid var(--border-light);
}

.pagination-bar .pagination .page-item.active .page-link {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
}

.pagination-bar .pagination .page-link:hover {
  background: #f3f4f6;
}

.pagination-page {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pagination-page .btn-page {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  background: #fff;
  border-radius: 0.25rem;
  color: #374151;
  transition: background 0.2s;
}

.pagination-page .btn-page:hover:not(:disabled) {
  background: #f3f4f6;
}

.pagination-page .btn-page:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Section 3: Lead Email Actions - blue pagination bar */
.pagination-bar-blue {
  background: var(--primary-blue);
  color: #fff;
}

.pagination-bar-blue .pagination-page {
  color: #fff;
}

.pagination-bar-blue .pagination-page .btn-page {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.pagination-bar-blue .pagination-page .btn-page:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.pagination-bar-blue .pagination-select-blue {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  width: auto;
}

.pagination-bar-blue .pagination-select-blue option {
  color: #111827;
  background: #fff;
}

.btn-page-blue {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #fff !important;
}

.btn-page-blue:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: #fff !important;
}

.btn-row-action {
  text-decoration: none;
  font-size: 1.1rem;
}

.btn-row-action:hover {
  opacity: 0.85;
}

/* Preview Email Modal */
.preview-email-modal-header {
  background: var(--primary-blue);
  border-bottom: none;
  padding: 1rem 1.25rem;
}

.preview-email-modal-header .btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.preview-email-body {
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
  min-height: 120px;
}

@media (max-width: 991.98px) {
  .table-responsive-custom .table {
    min-width: 700px;
  }

  .pagination-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .table-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .generated-leads-top-row {
    flex-direction: column;
    align-items: stretch;
  }

  .generated-leads-filter-bar {
    width: 100%;
    justify-content: flex-start;
  }

  .generated-filter-field {
    min-width: 100%;
  }
}

