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

:root {
  --primary-purple: #8b5cf6;
  --secondary-purple: #a855f7;
  --accent-purple: #c084fc;
  --dark-bg: #0a0a0a;
  --card-bg: #1a1a1a;
  --modal-bg: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border-color: #27272a;
  --input-bg: #18181b;
  --yellow-accent: #fbbf24;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-logo i {
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-auth {
  display: flex;
  gap: 1rem;
}

.btn-login {
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-login:hover {
  background: var(--card-bg);
}

.btn-signup {
  background: var(--primary-purple);
  border: none;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-signup:hover {
  background: var(--secondary-purple);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Page System */
.page {
  display: none;
  min-height: 100vh;
  padding-top: 80px;
}

.page.active {
  display: block;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-primary {
  background: var(--primary-purple);
  border: none;
  color: var(--text-primary);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--secondary-purple);
  transform: translateY(-2px);
}

.delivery-text {
  color: var(--primary-purple);
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 500;
}

/* Tools Section */
.tools-section {
  padding: 6rem 0;
  background: var(--dark-bg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
}

.tool-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tool-btn {
  background: transparent;
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tool-btn.active {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
}

.tool-btn:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.tool-btn.active:hover {
  color: var(--text-primary);
}

.tool-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--dark-bg);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.tool-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  position: relative;
}

.visual-content {
  display: none;
  width: 100%;
  max-width: 400px;
}

.visual-content.active {
  display: block;
}

/* Visibility Score Chart */
.score-chart {
  width: 100%;
}

.score-bar-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.bar-label {
  min-width: 80px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.bar-track {
  flex: 1;
  height: 12px;
  background: var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.bar-value {
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.bar-purple {
  background: linear-gradient(
    90deg,
    var(--primary-purple),
    var(--secondary-purple)
  );
}

.bar-yellow {
  background: linear-gradient(90deg, var(--yellow-accent), #fcd34d);
}

.bar-red {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.bar-orange {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.bar-blue {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

/* Content Optimization Chart */
.optimization-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.content-blocks {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.content-block {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  min-width: 140px;
  transition: all 0.3s ease;
}

.content-block.optimized {
  border-color: var(--primary-purple);
  background: rgba(139, 92, 246, 0.1);
}

.block-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.block-header i {
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.content-block.optimized .block-header i {
  color: var(--primary-purple);
}

.block-header span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.block-score {
  font-weight: 600;
  padding: 0.5rem;
  border-radius: 6px;
}

.block-score.low {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.block-score.high {
  background: rgba(139, 92, 246, 0.2);
  color: var(--primary-purple);
}

.arrow-right {
  color: var(--primary-purple);
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

.improvement-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.2);
  color: var(--primary-purple);
  padding: 0.75rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Query Targeting Chart */
.targeting-chart {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.query-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.main-query {
  background: var(--primary-purple);
  color: var(--text-primary);
  padding: 1rem;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

.main-query i {
  font-size: 1.2rem;
}

.query-connections {
  position: relative;
  width: 100%;
  height: 100%;
}

.query-node {
  position: absolute;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  min-width: 120px;
  transition: all 0.3s ease;
}

.query-node:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.query-node.top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.query-node.right {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.query-node.bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.query-node.left {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.line {
  position: absolute;
  background: var(--primary-purple);
  opacity: 0.3;
}

.line-1 {
  top: 50px;
  left: 50%;
  width: 2px;
  height: 50px;
  transform: translateX(-50%);
}

.line-2 {
  right: 50px;
  top: 50%;
  width: 50px;
  height: 2px;
  transform: translateY(-50%);
}

.line-3 {
  bottom: 50px;
  left: 50%;
  width: 2px;
  height: 50px;
  transform: translateX(-50%);
}

.line-4 {
  left: 50px;
  top: 50%;
  width: 50px;
  height: 2px;
  transform: translateY(-50%);
}

/* Competitive Analysis Chart */
.competition-chart {
  width: 100%;
}

.competitor-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.competitor-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.competitor-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 120px;
}

.competitor-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.competitor-avatar.you {
  background: var(--primary-purple);
}

.competitor-avatar.comp1 {
  background: #ef4444;
}

.competitor-avatar.comp2 {
  background: #f97316;
}

.competitor-avatar.comp3 {
  background: #3b82f6;
}

.competitor-name {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.competitor-bar {
  flex: 1;
  height: 12px;
  background: var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.analysis-insight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(251, 191, 36, 0.2);
  color: var(--yellow-accent);
  padding: 0.75rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  justify-content: center;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.tool-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tool-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 0;
  background: var(--dark-bg);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--text-primary);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
}

/* Why Section */
.why-section {
  padding: 6rem 0;
  background: var(--dark-bg);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.benefit-item i {
  color: var(--primary-purple);
  font-size: 1.25rem;
}

/* About Page */
.about-hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.mission-section {
  padding: 4rem 0 6rem;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-visual {
  display: flex;
  justify-content: center;
}

.geo-circle {
  width: 300px;
  height: 300px;
  background: var(--primary-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.geo-text {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.seo-circle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  background: var(--accent-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mission-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.mission-text p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.mission-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mission-point {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mission-point i {
  color: var(--primary-purple);
  font-size: 1.25rem;
}

/* Contact Page */
.contact-hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.contact-content {
  padding: 4rem 0 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-item i {
  color: var(--primary-purple);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.contact-details h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--primary-purple);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-purple);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  background: var(--input-bg);
  position: relative;
}

.checkbox-item:hover {
  border-color: var(--primary-purple);
  background: rgba(139, 92, 246, 0.05);
  transform: translateY(-1px);
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark + .checkbox-label {
  color: var(--primary-purple);
  font-weight: 600;
}

.checkbox-item:has(input[type="checkbox"]:checked) {
  border-color: var(--primary-purple);
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.checkmark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: var(--input-bg);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  transform: scale(1.1);
}

.checkbox-label {
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--modal-bg);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

.audit-modal {
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.modal-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.modal-footer a {
  color: var(--primary-purple);
  text-decoration: none;
}

.modal-footer a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  .nav-link {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-auth {
    gap: 0.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .tool-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .tool-buttons {
    flex-direction: column;
    align-items: center;
  }

  .tool-btn {
    width: 200px;
  }
}
/* Enhanced Audit Modal Styles */
.audit-modal .modal-content {
  padding: 2.5rem;
}

.audit-modal .price-tag {
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--secondary-purple)
  );
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.audit-modal .form-group {
  margin-bottom: 1.25rem;
}

.audit-modal .form-group label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.audit-modal .form-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.audit-modal .checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.audit-modal .checkbox-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  transition: all 0.3s ease;
  background: var(--input-bg);
  text-align: center;
  min-height: 60px;
}

.audit-modal .checkbox-item:hover {
  border-color: var(--primary-purple);
  background: rgba(139, 92, 246, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.audit-modal .checkbox-item input[type="checkbox"] {
  display: none;
}

.audit-modal
  .checkbox-item
  input[type="checkbox"]:checked
  + .checkmark
  + .checkbox-label {
  color: var(--primary-purple);
  font-weight: 700;
}

.audit-modal .checkbox-item:has(input[type="checkbox"]:checked) {
  border-color: var(--primary-purple);
  background: rgba(139, 92, 246, 0.15);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
}

.audit-modal .checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: var(--input-bg);
}

.audit-modal .checkbox-item input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  transform: scale(1.1);
}

.audit-modal .checkbox-label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.audit-modal .btn-primary {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--secondary-purple)
  );
  border: none;
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.audit-modal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.audit-modal textarea {
  min-height: 100px;
  resize: vertical;
}

.audit-modal select {
  cursor: pointer;
}

/* Login Required Message */
.login-required {
  text-align: center;
  padding: 2rem;
}

.login-required h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.login-required p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.login-required .btn-primary {
  margin-right: 1rem;
}

.login-required .btn-secondary {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-required .btn-secondary:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}
/* Read-only field styling */
.audit-modal input[readonly] {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--primary-purple);
  color: var(--primary-purple);
  cursor: not-allowed;
}

.audit-modal input[readonly]::placeholder {
  color: var(--primary-purple);
  opacity: 0.7;
}

/* Enhanced form validation styles */
.audit-modal .form-group.error input,
.audit-modal .form-group.error textarea,
.audit-modal .form-group.error select {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.audit-modal .error-message {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

.audit-modal .form-group.error .error-message {
  display: block;
}

/* Loading state for submit button */
.audit-modal .btn-primary.loading {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}

.audit-modal .btn-primary.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--secondary-purple)
  );
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-content .btn-primary {
  background: var(--text-primary);
  color: var(--primary-purple);
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.cta-content .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Booking Page */
.booking-hero {
  padding: 6rem 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--card-bg), var(--dark-bg));
}

.booking-content {
  padding: 4rem 0 6rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.booking-benefits h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-item i {
  color: var(--primary-purple);
  font-size: 1.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.benefit-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.benefit-details p {
  color: var(--text-secondary);
  line-height: 1.5;
}

.call-details-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
}

.call-details-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.detail-item i {
  color: var(--primary-purple);
  font-size: 1rem;
  width: 20px;
}

.detail-item strong {
  color: var(--text-primary);
}

.booking-form-container {
  position: sticky;
  top: 100px;
}

.booking-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.booking-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-align: center;
}

.booking-form-card .form-group {
  margin-bottom: 1.5rem;
}

.booking-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.booking-form-card .form-row .form-group {
  margin-bottom: 0;
}

.btn-booking {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-booking i {
  font-size: 1rem;
}

/* Responsive Design for Booking Page */
@media (max-width: 768px) {
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .booking-form-container {
    position: static;
  }

  .booking-form-card .form-row {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .call-modal .modal-content {
    padding: 2rem;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .audit-modal .checkbox-group {
    grid-template-columns: 1fr;
  }

  .audit-modal .checkbox-item {
    min-height: 50px;
    padding: 0.875rem;
  }
}
/* Time Slots Styling */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.time-slot {
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--input-bg);
  font-weight: 500;
  font-size: 0.9rem;
}

.time-slot:hover {
  border-color: var(--primary-purple);
  background: rgba(139, 92, 246, 0.1);
}

.time-slot.selected {
  border-color: var(--primary-purple);
  background: var(--primary-purple);
  color: var(--text-primary);
}

.time-slot.booked {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  cursor: not-allowed;
}

.time-slot.booked:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.no-date-selected {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 2rem;
}

/* Admin Dashboard Styles */
.admin-badge {
  background: var(--primary-purple);
  color: var(--text-primary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.admin-dashboard {
  min-height: 100vh;
  padding-top: 100px;
  background: var(--dark-bg);
}

.admin-header {
  text-align: center;
  margin-bottom: 3rem;
}

.admin-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.admin-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-purple);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.stat-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.stat-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid transparent;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--primary-purple);
  border-bottom-color: var(--primary-purple);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.filters {
  display: flex;
  gap: 1rem;
}

.filters select,
.filters input {
  padding: 0.5rem;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
}

.table-container {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

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

.admin-table th {
  background: var(--input-bg);
  color: var(--text-primary);
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

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

.datetime .date {
  font-weight: 600;
  color: var(--text-primary);
}

.datetime .time {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.client-info .name {
  font-weight: 600;
  color: var(--text-primary);
}

.client-info .company {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-info .email {
  color: var(--text-primary);
}

.contact-info .phone {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.website-link {
  color: var(--primary-purple);
  text-decoration: none;
}

.website-link:hover {
  text-decoration: underline;
}

.goals {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.status-confirmed {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.status-completed {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.status-cancelled {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.status-in-progress {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.role-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.role-badge.admin {
  background: rgba(139, 92, 246, 0.2);
  color: var(--primary-purple);
}

.role-badge.user {
  background: rgba(107, 114, 128, 0.2);
  color: #6b7280;
}

.actions {
  display: flex;
  gap: 0.5rem;
}

.btn-small {
  padding: 0.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.btn-small.btn-primary {
  background: var(--primary-purple);
  color: var(--text-primary);
}

.btn-small.btn-secondary {
  background: var(--text-secondary);
  color: var(--text-primary);
}

.btn-small.btn-success {
  background: #10b981;
  color: var(--text-primary);
}

.btn-small.btn-danger {
  background: #ef4444;
  color: var(--text-primary);
}

.btn-small:hover {
  transform: translateY(-1px);
}

.loading,
.error,
.no-data {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-style: italic;
}

.error {
  color: #ef4444;
}

.booking-details-modal {
  max-width: 600px;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* Responsive Design for Admin */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .filters {
    width: 100%;
  }

  .admin-table {
    font-size: 0.9rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.75rem 0.5rem;
  }

  .time-slots-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }
}
/* Mini Calendar Styles */
.date-picker-container {
  position: relative;
}

.date-picker-container input {
  cursor: pointer;
  padding-right: 3rem;
}

.date-picker-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-purple);
  cursor: pointer;
  font-size: 1.1rem;
}

.mini-calendar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--modal-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  margin-top: 0.5rem;
  padding: 1rem;
}

.mini-calendar.hidden {
  display: none;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-nav {
  background: transparent;
  border: none;
  color: var(--primary-purple);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.calendar-nav:hover {
  background: rgba(139, 92, 246, 0.1);
}

.calendar-month {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.weekday {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.calendar-day:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary-purple);
}

.calendar-day.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

.calendar-day.disabled:hover {
  background: transparent;
  color: var(--text-muted);
}

.calendar-day.selected {
  background: var(--primary-purple);
  color: var(--text-primary);
}

.calendar-day.today {
  border: 2px solid var(--primary-purple);
}

.calendar-day.other-month {
  color: var(--text-muted);
  opacity: 0.5;
}

/* Responsive calendar */
@media (max-width: 480px) {
  .mini-calendar {
    left: -1rem;
    right: -1rem;
  }

  .calendar-day {
    font-size: 0.8rem;
  }
}
/* GMT Timezone Display */
.timezone-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.timezone-info i {
  font-size: 1rem;
  opacity: 0.9;
}

/* Update time slot styling for GMT */
.time-slot {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.time-slot:hover {
  border-color: var(--primary-purple);
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.time-slot.selected {
  background: var(--primary-purple);
  color: white;
  border-color: var(--primary-purple);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.time-slot.booked {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
  border-color: #e0e0e0;
}

.time-slot.past {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
  border-color: #e0e0e0;
  opacity: 0.6;
}
/* Enhanced Audit Display Styles */
.engines-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.engine-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.engine-badge-large {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.no-engines {
  color: #999;
  font-style: italic;
  font-size: 0.85rem;
}

.no-selection {
  color: #999;
  font-style: italic;
}

.business-type-badge {
  background: #e3f2fd;
  color: #1976d2;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.content-indicator {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.25rem;
}

.content-indicator i {
  margin-right: 0.25rem;
}

/* Audit Details Modal */
.audit-details-modal {
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
}

.audit-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.audit-details-grid .detail-section.full-width {
  grid-column: 1 / -1;
}

.content-preview {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  line-height: 1.4;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.engines-display {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Enhanced table styling for audits */
.admin-table .engines-list {
  max-width: 120px;
}

.admin-table .content-info {
  max-width: 150px;
}

.admin-table .website-link {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 500;
}

.admin-table .website-link:hover {
  text-decoration: underline;
}

.admin-table .content-text {
  color: #666;
  font-style: italic;
  font-size: 0.85rem;
}

/* Responsive adjustments for audit table */
@media (max-width: 1200px) {
  .audit-details-grid {
    grid-template-columns: 1fr;
  }

  .admin-table .engines-list {
    max-width: 100px;
  }

  .admin-table .content-info {
    max-width: 120px;
  }
}

/* Status badge enhancements */
.status-badge.status-in-progress {
  background: #fff3cd;
  color: #856404;
}

.status-badge.status-completed {
  background: #d4edda;
  color: #155724;
}

.status-badge.status-pending {
  background: #f8d7da;
  color: #721c24;
}
/* Radio button styling */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  background: var(--input-bg);
}

.radio-item:hover {
  border-color: var(--primary-purple);
  background: rgba(139, 92, 246, 0.05);
}

.radio-item input[type="radio"] {
  display: none;
}

.radio-item input[type="radio"]:checked + .radio-mark + .radio-label {
  color: var(--primary-purple);
  font-weight: 600;
}

.radio-item:has(input[type="radio"]:checked) {
  border-color: var(--primary-purple);
  background: rgba(139, 92, 246, 0.1);
}

.radio-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: var(--input-bg);
}

.radio-item input[type="radio"]:checked + .radio-mark {
  border-color: var(--primary-purple);
  background: var(--primary-purple);
}

.radio-label {
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Conditional field styling */
.form-group[style*="display: none"] {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
  }
  to {
    opacity: 1;
    max-height: 100px;
    margin-top: 1rem;
  }
}
/* Additional admin dashboard styling for new audit fields */
.company-name {
  font-weight: 500;
  color: var(--text-primary);
}

.goal-badge {
  background: #e3f2fd;
  color: #1565c0;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8em;
  display: inline-block;
}

.scope-badge {
  background: #f3e5f5;
  color: #7b1fa2;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8em;
  text-transform: capitalize;
}

.queries-info,
.competitors-info {
  font-size: 0.85em;
  line-height: 1.3;
  max-width: 150px;
  word-wrap: break-word;
}

.budget-badge {
  background: #e8f5e8;
  color: #2e7d32;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8em;
}

.strategy-call-badge {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: 500;
}

.strategy-call-badge.yes {
  background: #e8f5e8;
  color: #2e7d32;
}

.strategy-call-badge.no {
  background: #ffebee;
  color: #c62828;
}

.specific-url {
  font-size: 0.75em;
  color: #666;
  margin-top: 2px;
}

.engine-badge {
  background: #fff3e0;
  color: #ef6c00;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 0.75em;
  margin: 1px;
  display: inline-block;
}

.engine-badge-large {
  background: #fff3e0;
  color: #ef6c00;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.85em;
  margin: 2px;
  display: inline-block;
}

.no-engines {
  color: #999;
  font-style: italic;
  font-size: 0.8em;
}

.content-preview {
  background: #f5f5f5;
  padding: 8px;
  border-radius: 4px;
  font-size: 0.9em;
  line-height: 1.4;
  max-height: 100px;
  overflow-y: auto;
  border: 1px solid #ddd;
}

/* Audit details modal enhancements */
.audit-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.audit-details-grid .detail-section.full-width {
  grid-column: 1 / -1;
}

/* Responsive adjustments for audit table */
@media (max-width: 1200px) {
  .admin-table {
    font-size: 0.8em;
  }

  .admin-table th,
  .admin-table td {
    padding: 6px 4px;
  }

  .queries-info,
  .competitors-info {
    max-width: 120px;
  }
}
/* Audit Table Specific Styling - Functional Focus */
.audit-table-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 70vh;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--card-bg);
}

.audit-table {
  width: 100%;
  min-width: 2000px; /* Ensure table is wide enough for all columns */
  border-collapse: collapse;
  font-size: 13px;
  background: var(--card-bg);
}

.audit-table th {
  background: var(--dark-bg);
  color: var(--text-primary);
  padding: 12px 8px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10;
  white-space: nowrap;
}

.audit-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
  word-wrap: break-word;
  max-width: 250px;
}

.audit-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.05);
}

/* Audit table specific cell styling */
.audit-table .client-info {
  line-height: 1.3;
}

.audit-table .client-info .name {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.audit-table .client-info .email {
  font-size: 12px;
  color: var(--text-secondary);
}

.audit-table .company-name {
  font-weight: 500;
  color: var(--text-primary);
}

.audit-table .website-info {
  line-height: 1.3;
}

.audit-table .website-link {
  color: var(--primary-purple);
  text-decoration: none;
  word-break: break-all;
}

.audit-table .website-link:hover {
  text-decoration: underline;
}

.audit-table .specific-url {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.audit-table .goal-badge {
  background: #e3f2fd;
  color: #1565c0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  display: inline-block;
  word-break: break-word;
}

.audit-table .scope-badge {
  background: #f3e5f5;
  color: #7b1fa2;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  text-transform: capitalize;
}

.audit-table .queries-info,
.audit-table .competitors-info {
  font-size: 12px;
  line-height: 1.4;
  word-wrap: break-word;
  max-height: 80px;
  overflow-y: auto;
  padding: 4px;
  background: #f8f9fa;
  border-radius: 4px;
  color: #333;
  border: 1px solid #ddd;
}

.audit-table .engines-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.audit-table .engine-badge {
  background: #fff3e0;
  color: #ef6c00;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
}

.audit-table .business-type-badge {
  background: #e0f2fe;
  color: #0277bd;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.audit-table .budget-badge {
  background: #e8f5e8;
  color: #2e7d32;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.audit-table .strategy-call-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.audit-table .strategy-call-badge.yes {
  background: #e8f5e8;
  color: #2e7d32;
}

.audit-table .strategy-call-badge.no {
  background: #ffebee;
  color: #c62828;
}

.audit-table .status-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  text-transform: capitalize;
}

.audit-table .status-pending {
  background: #fff3e0;
  color: #ef6c00;
}

.audit-table .status-in-progress {
  background: #e3f2fd;
  color: #1565c0;
}

.audit-table .status-completed {
  background: #e8f5e8;
  color: #2e7d32;
}

.audit-table .created-info {
  line-height: 1.3;
}

.audit-table .created-info .date {
  font-weight: 500;
  margin-bottom: 2px;
}

.audit-table .created-info .time {
  font-size: 11px;
  color: var(--text-secondary);
}

.audit-table .actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.audit-table .btn-small {
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  min-width: 30px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audit-table .btn-primary {
  background: var(--primary-purple);
  color: white;
}

.audit-table .btn-secondary {
  background: #6c757d;
  color: white;
}

.audit-table .btn-success {
  background: #28a745;
  color: white;
}

.audit-table .btn-small:hover {
  opacity: 0.8;
}

/* Loading and empty states */
.audit-table .loading,
.audit-table .no-data,
.audit-table .error {
  text-align: center;
  padding: 40px;
  color: var(--text-secondary);
  font-style: italic;
}

.audit-table .error {
  color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .audit-table {
    font-size: 12px;
  }

  .audit-table th,
  .audit-table td {
    padding: 8px 6px;
  }
}
/* Fix text readability in white fields */
.audit-table td {
  color: var(--text-primary);
}

.audit-table .queries-info,
.audit-table .competitors-info {
  color: #333 !important;
  background: #ffffff !important;
  border: 1px solid #ccc !important;
}

.audit-table .queries-info:empty::after,
.audit-table .competitors-info:empty::after {
  content: "Not specified";
  color: #999;
  font-style: italic;
}

/* Ensure all text in admin table is readable */
.audit-table .client-info .name,
.audit-table .client-info .email,
.audit-table .company-name,
.audit-table .website-link {
  color: var(--text-primary) !important;
}

.audit-table .website-link {
  color: var(--primary-purple) !important;
}

/* Logo hover effect */
.nav-logo:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
/* Refresh slots button */
.refresh-slots-btn {
  background: var(--primary-purple);
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.refresh-slots-btn:hover {
  background: var(--secondary-purple);
  transform: rotate(180deg);
}

.timezone-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding: 8px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
/* Admin export functionality */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.admin-header div:first-child {
  flex: 1;
}

.admin-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-export {
  background: var(--primary-purple);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-export:hover {
  background: var(--secondary-purple);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-export i {
  font-size: 1rem;
}

/* Responsive admin header */
@media (max-width: 768px) {
  .admin-header {
    flex-direction: column;
    gap: 1rem;
  }

  .admin-actions {
    width: 100%;
    justify-content: center;
  }

  .btn-export {
    width: 100%;
    justify-content: center;
  }
}
