/* Modern Premium Styling for PropLeads AI */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --dark-bg: #0f172a;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --accent-rental: #8b5cf6;
  --accent-offplan: #0ea5e9;
  --accent-ready: #10b981;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #f8fafc;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
}

/* Header & Top Bar */
.top-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-brand-logo {
  height: 38px;
  max-width: 175px;
  object-fit: contain;
  display: block;
}

.brand-badge {
  font-size: 0.7rem;
  background: #dbeafe;
  color: #1e40af;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Center Location Selection Button at the Top */
.location-selector-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.location-btn {
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.6rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.location-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.location-btn .loc-pin {
  color: #ef4444;
  font-size: 1.1rem;
}

.location-btn .chevron {
  font-size: 0.75rem;
  color: #64748b;
  margin-left: 0.3rem;
  transition: transform 0.2s ease;
}

.location-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 290px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  display: none;
  z-index: 100;
  overflow: hidden;
  animation: fadeInDown 0.2s ease-out;
}

.location-dropdown.show {
  display: block;
}

.loc-dropdown-header {
  padding: 0.75rem 1rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.loc-item {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f1f5f9;
}

.loc-item:last-child {
  border-bottom: none;
}

.loc-item:hover {
  background: #f8fafc;
}

.loc-item.active {
  background: #eff6ff;
  color: var(--primary);
  font-weight: 600;
}

.loc-item-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.loc-count-badge {
  font-size: 0.75rem;
  background: #e2e8f0;
  color: #475569;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
}

.loc-item.active .loc-count-badge {
  background: #bfdbfe;
  color: #1e40af;
}

/* Header Action Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-extract {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
}

.btn-extract:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.btn-extract:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #ffffff;
  color: #334155;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

/* Stats Ribbon */
.stats-ribbon {
  max-width: 1440px;
  margin: 1.25rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease;
}

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

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-icon.total { background: #eff6ff; color: #2563eb; }
.stat-icon.rental { background: #f5f3ff; color: #8b5cf6; }
.stat-icon.offplan { background: #f0f9ff; color: #0284c7; }
.stat-icon.ready { background: #ecfdf5; color: #10b981; }
.stat-icon.phone { background: #fef2f2; color: #ef4444; }

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
}

/* Main Dashboard Container */
.main-container {
  max-width: 1440px;
  margin: 1.5rem auto 3rem;
  padding: 0 1.5rem;
}

/* Filter & Category Controls Card */
.filter-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Category Navigation Bar (Rental / Offplan / Ready to Move) */
.category-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  overflow-x: auto;
}

.cat-tab {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cat-tab:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.cat-tab.active {
  background: #0f172a;
  color: #ffffff;
}

.cat-tab.active.tab-rental {
  background: #7c3aed;
}

.cat-tab.active.tab-offplan {
  background: #0284c7;
}

.cat-tab.active.tab-ready {
  background: #059669;
}

.cat-tab .tab-badge {
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}

.cat-tab.active .tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Sub-filters row */
.filter-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
}

.search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease;
  background: #f8fafc;
}

.search-input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-dropdowns {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filter-select {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.filter-select:focus {
  border-color: var(--primary);
}

.view-toggle {
  display: flex;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 0.2rem;
}

.view-btn {
  background: transparent;
  border: none;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  color: #64748b;
  font-size: 0.9rem;
  transition: all 0.15s ease;
}

.view-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Source Filter Pills */
.source-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border);
  overflow-x: auto;
  font-size: 0.8rem;
}

.source-pill-title {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.source-pill {
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.source-pill:hover {
  background: #f1f5f9;
}

.source-pill.active {
  background: #1e293b;
  color: #ffffff;
  border-color: #1e293b;
}

/* Leads Grid View */
.leads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.25rem;
}

/* Lead Card Style */
.lead-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}

.lead-card:hover {
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* Card Header: Client Info & Status */
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.client-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.client-intent-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-top: 0.1rem;
}

.intent-buy { background: #dbeafe; color: #1e40af; }
.intent-sell { background: #fee2e2; color: #991b1b; }
.intent-rent { background: #ede9fe; color: #5b21b6; }

.lead-status-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}

.status-hot { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.status-new { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.status-qualified { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.status-contacted { background: #f8fafc; color: #475569; border: 1px solid #e2e8f0; }

/* HIGHLIGHTED CLIENT PHONE BOX - CLEARLY VISIBLE AS REQUIRED */
.client-phone-highlight {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.phone-details {
  display: flex;
  flex-direction: column;
}

.phone-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #15803d;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.phone-number-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #14532d;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.phone-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.phone-btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.15s ease;
  text-decoration: none;
}

.phone-btn-call {
  background: #22c55e;
  color: #ffffff;
}

.phone-btn-call:hover {
  background: #16a34a;
  transform: scale(1.05);
}

.phone-btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.phone-btn-whatsapp:hover {
  background: #1eb956;
  transform: scale(1.05);
}

.phone-btn-copy {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.phone-btn-copy:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Category & Property Specs Grid */
.property-specs-grid {
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  border: 1px solid #f1f5f9;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.spec-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
}

/* Category Specific Tag */
.category-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 0.5rem;
}

.cat-badge-rental { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }
.cat-badge-offplan { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.cat-badge-ready { background: #d1fae5; color: #047857; border: 1px solid #a7f3d0; }

/* Furnishing Badge */
.furnish-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.furnish-furnished { background: #fef3c7; color: #92400e; }
.furnish-unfurnished { background: #f1f5f9; color: #475569; }
.furnish-semi { background: #e0e7ff; color: #3730a3; }

/* Price Banner */
.card-price-section {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.lead-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.lead-sqft-calc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Notes & Requirements */
.client-notes {
  font-size: 0.82rem;
  color: #475569;
  background: #f8fafc;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

/* Source & Footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.4rem;
}

.source-badge-tag {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #334155;
}

.source-badge-tag i {
  color: var(--primary);
}

.card-action-btns {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Source Link Button */
.btn-source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-source-link:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.source-link-pill {
  color: #2563eb;
  font-weight: 600;
  font-size: 0.75rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  background: #f1f5f9;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.source-link-pill:hover {
  background: #dbeafe;
  color: #1e40af;
  text-decoration: underline;
}

.table-source-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 0.25rem;
  transition: all 0.15s ease;
}

.table-source-link-btn:hover {
  background: #2563eb;
  color: #ffffff;
}

/* Table View Container */
.leads-table-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  display: none;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.leads-table th {
  background: #f8fafc;
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  border-bottom: 1px solid var(--border);
}

.leads-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.leads-table tr:hover {
  background: #f8fafc;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.15s ease;
}

.modal-close-btn:hover {
  color: #0f172a;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

/* Extraction Live Simulation Modal */
.extraction-terminal {
  background: #0f172a;
  color: #38bdf8;
  font-family: 'Consolas', 'Courier New', monospace;
  border-radius: 12px;
  padding: 1rem;
  height: 200px;
  overflow-y: auto;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-top: 1rem;
  border: 1px solid #1e293b;
}

.terminal-line {
  margin-bottom: 0.25rem;
}

.terminal-line.success { color: #4ade80; }
.terminal-line.warn { color: #facc15; }
.terminal-line.info { color: #38bdf8; }

.progress-bar-container {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  transition: width 0.3s ease;
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Google Sign-In & Auth Styles */
.btn-google-auth {
  background: #ffffff;
  color: #1f2937;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-google-auth:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-google-auth svg {
  width: 18px;
  height: 18px;
}

.user-profile-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  padding: 0.3rem 0.75rem 0.3rem 0.4rem;
}

.user-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ea4335, #fbbc05, #34a853, #4285f4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.user-info-text {
  display: flex;
  flex-direction: column;
}

.user-email-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-tier-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.05rem 0.4rem;
  border-radius: 9999px;
  display: inline-block;
  width: fit-content;
}

.user-tier-badge.badge-trial {
  background: #fef3c7;
  color: #92400e;
}

.user-tier-badge.badge-pro {
  background: #dcfce7;
  color: #15803d;
}

.btn-upgrade-pill {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-upgrade-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

.btn-signout-icon {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.2rem;
  transition: color 0.15s ease;
}

.btn-signout-icon:hover {
  color: #ef4444;
}

/* Locked Lead / Trial Limit Styles */
.client-phone-highlight.locked {
  background: #fef2f2;
  border-color: #fca5a5;
}

.client-phone-highlight.locked .phone-label {
  color: #b91c1c;
}

.phone-number-text.masked {
  filter: blur(4px);
  user-select: none;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.phone-number-text.masked:hover {
  filter: blur(2px);
}

.btn-unlock-lead {
  background: #dc2626;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.btn-unlock-lead:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.lead-locked-badge {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Paywall & Pricing Modal */
.paywall-modal-box {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 780px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.paywall-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 1.75rem 2rem;
  position: relative;
  text-align: center;
}

.paywall-tagline {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.35rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1.75rem;
}

.pricing-card {
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: #2563eb;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15);
}

.pricing-badge-promo {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3);
}

.pricing-plan-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.75rem 0 0.25rem;
}

.pricing-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
}

.pricing-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2563eb;
}

.pricing-period {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.pricing-savings-callout {
  font-size: 0.78rem;
  color: #15803d;
  font-weight: 700;
  background: #dcfce7;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 1rem;
}

.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  font-size: 0.85rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-grow: 1;
}

.pricing-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-feature-list li i {
  color: #10b981;
}

.btn-pricing-cta {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-pricing-cta.primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-pricing-cta.primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-pricing-cta.secondary {
  background: #f1f5f9;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
}

.btn-pricing-cta.secondary:hover {
  background: #e2e8f0;
}

.paywall-footer-note {
  background: #f8fafc;
  padding: 0.85rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Auth Tabs & Validation */
.auth-nav-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 0.25rem;
  margin-bottom: 1.25rem;
}

.auth-nav-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s ease;
  text-align: center;
}

.auth-nav-tab.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.auth-error-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 1rem;
  display: none;
  align-items: center;
  gap: 0.4rem;
}

.auth-error-alert.show {
  display: flex;
}
.auth-box {
  background: #ffffff;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.auth-header {
  padding: 1.75rem 1.5rem 1rem;
  text-align: center;
}

.auth-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.auth-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.35rem;
}

.auth-body {
  padding: 0 1.5rem 1.75rem;
}

.btn-google-large {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.btn-google-large:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.25rem 0;
  color: #94a3b8;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.auth-divider span {
  padding: 0 0.75rem;
}

.demo-account-chip {
  background: #eff6ff;
  border: 1px dashed #93c5fd;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-size: 0.8rem;
  color: #1e40af;
  cursor: pointer;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s ease;
}

.demo-account-chip:hover {
  background: #dbeafe;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .leads-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .header-container {
    flex-direction: column;
    align-items: stretch;
  }
  .location-selector-wrapper {
    justify-content: center;
  }
  .location-dropdown {
    width: 100%;
  }
  .header-actions {
    justify-content: stretch;
    flex-wrap: wrap;
  }
  .btn-extract {
    flex: 1;
    justify-content: center;
  }
}

/* ================= AUTHENTICATION & LOGIN GATE SCREEN ================= */
.login-gate-screen {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: radial-gradient(circle at 50% 20%, #1e293b 0%, #0b0f19 75%, #050811 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.login-gate-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.login-card {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.65), 0 0 40px rgba(37, 99, 235, 0.15);
  color: #ffffff;
  position: relative;
  animation: fadeInDown 0.35s ease;
}

.login-brand-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.login-brand-logo {
  height: 52px;
  max-width: 260px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(255, 255, 255, 0.12));
}

.login-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.login-subtitle {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-top: 0.4rem;
  line-height: 1.45;
}

.login-error-alert {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin: 1.25rem 0;
  display: none;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  line-height: 1.4;
}

.login-error-alert.show {
  display: flex;
}

.login-input-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.login-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}

.login-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-icon {
  position: absolute;
  left: 1rem;
  color: #64748b;
  font-size: 1rem;
  pointer-events: none;
}

.login-input {
  width: 100%;
  background: #1e293b;
  border: 1.5px solid #334155;
  border-radius: 12px;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  font-size: 0.95rem;
  color: #ffffff;
  transition: all 0.2s ease;
}

.login-input:focus {
  outline: none;
  border-color: #3b82f6;
  background: #0f172a;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.login-pass-toggle {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.25rem;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.login-pass-toggle:hover {
  color: #ffffff;
}

.btn-login-submit {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
  margin-top: 1.5rem;
}

.btn-login-submit:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -5px rgba(37, 99, 235, 0.5);
}

.login-footer-badge {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.login-helper-pill {
  background: rgba(37, 99, 235, 0.15);
  border: 1px dashed rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.76rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.login-helper-pill:hover {
  background: rgba(37, 99, 235, 0.25);
}

/* ================= HEADER USER SESSION & ADMIN BUTTON ================= */
.header-user-section {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-admin-panel {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
  transition: all 0.15s ease;
}

.btn-admin-panel:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(217, 119, 6, 0.35);
}

.user-session-chip {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-session-avatar {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-session-avatar.admin-avatar {
  background: #d97706;
}

.user-session-exp-badge {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
}

.btn-signout-header {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.btn-signout-header:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

/* ================= ADMIN CONTROL CENTER MODAL ================= */
.admin-modal-box {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 960px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.admin-modal-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-tabs-nav {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.5rem 1.5rem 0;
  gap: 0.5rem;
}

.admin-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
}

.admin-tab-btn:hover {
  color: #0f172a;
}

.admin-tab-btn.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
  background: #ffffff;
  border-radius: 8px 8px 0 0;
}

.admin-tab-content {
  padding: 1.75rem;
  overflow-y: auto;
  flex: 1;
}

/* User Management Table in Admin */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.admin-table th {
  background: #f8fafc;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  border-bottom: 1.5px solid #e2e8f0;
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.admin-table tr:hover {
  background: #f8fafc;
}

/* Time remaining badges */
.badge-active {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-warning {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-urgent {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  animation: pulse 1.5s infinite;
}

.badge-expired {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-perm {
  background: #ede9fe;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-admin-action {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-admin-action:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-admin-action.danger:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.generated-pass-banner {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* ================= ANTI-TAMPER SECURITY LOCKDOWN SCREEN ================= */
.security-tamper-lock {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: #090d16;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  font-family: 'Inter', sans-serif;
}

.security-tamper-box {
  background: rgba(220, 38, 38, 0.1);
  border: 2px solid #ef4444;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 0 50px rgba(239, 68, 68, 0.35);
  animation: fadeInDown 0.3s ease;
}

.security-tamper-icon {
  width: 72px;
  height: 72px;
  background: #ef4444;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.6);
}

.security-tamper-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fca5a5;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.security-tamper-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.btn-tamper-reload {
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-tamper-reload:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.5);
}

/* Concurrent Session Invalidation Notice Alert */
.login-kickout-alert {
  background: rgba(245, 158, 11, 0.15);
  border: 1.5px solid #f59e0b;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  display: none;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  animation: fadeInDown 0.3s ease;
}

.login-kickout-alert.show {
  display: flex;
}

.login-kickout-icon {
  font-size: 1.35rem;
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.login-kickout-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fef3c7;
  margin-bottom: 0.25rem;
}

.login-kickout-msg {
  font-size: 0.82rem;
  color: #fde68a;
  line-height: 1.45;
}

