body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}
/* Build 1759695501 */
/* Build 1759695681 */
/* Build 1759695780 */

.public-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Header */
.public-header {
  background-color: #003646;
  border-bottom: none;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.wave-icon {
  font-size: 2rem;
}

.logo-text {
  color: #FFFFFF;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-login,
.btn-profile {
  padding: 0.5rem 1.25rem;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.938rem;
  transition: all 0.2s;
  border-radius: 6px;
}

.btn-login:hover,
.btn-profile:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-signup {
  padding: 0.5rem 1.25rem;
  background: #6BA48A;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.938rem;
  transition: all 0.2s;
  border: 2px solid #6BA48A;
}

.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Main Content */
.public-main {
  flex: 1 1;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }
}
/* Header */
.app-header {
  background-color: #003646;
  border-bottom: none;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.wave-icon {
  font-size: 2rem;
}

.logo-text {
  color: #FFFFFF;
  text-transform: uppercase;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-display-name {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.user-menu {
  position: relative;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #6BA48A;
  border: 2px solid #6BA48A;
  color: white;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.938rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  text-transform: uppercase;
}

.user-avatar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 140px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 1000;
}

.user-menu:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  color: #374151;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 0.938rem;
  cursor: pointer;
  transition: background-color 0.15s;
  white-space: nowrap;
}

.dropdown-item:hover {
  background-color: #F3F4F6;
}

.dropdown-item:first-child {
  border-radius: 4px 4px 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 4px 4px;
}

/* Navigation for non-authenticated users */
.header-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-login {
  padding: 0.5rem 1.25rem;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.938rem;
  transition: all 0.2s;
  border-radius: 6px;
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-signup {
  padding: 0.5rem 1.25rem;
  background: #6BA48A;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.938rem;
  transition: all 0.2s;
  border: 2px solid #6BA48A;
}

.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    padding: 0 1rem;
  }

  .logo-link {
    font-size: 1.25rem;
  }

  .wave-icon {
    font-size: 1.5rem;
  }

  .user-display-name {
    display: none;
  }
}

/* GLOBAL FOOTER - All Pages */
.global-footer {
  margin-top: auto;
  width: 100%;
}

/* Pre-Footer Email Signup Section */
.pre-footer {
  background: #6BA48A;
  padding: 2rem 2rem;
}

.pre-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.pre-footer-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: 1px;
  line-height: 24px;
  margin: 0;
  flex: 1 1;
  min-width: 300px;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex: 1 1;
  max-width: 500px;
}

.newsletter-input {
  flex: 1 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #00495E;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  letter-spacing: 1.33px;
}

.newsletter-input::placeholder {
  color: #E5E8E8;
  opacity: 0.75;
  font-style: italic;
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
  background: #90BAA7;
  border: 2px solid #00495E;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #00495E;
  letter-spacing: 1.5px;
  padding: 0.75rem 2rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.newsletter-btn:hover {
  background: #7fa596;
  transform: translateY(-1px);
}

.subscribe-message {
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

.subscribe-success {
  color: #FFFFFF;
}

.subscribe-error {
  color: #fee2e2;
  background: rgba(153, 27, 27, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

/* Main Footer Section */
.footer-main {
  background: #00495E;
  padding: 3rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Footer Left - Logo & Copyright */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #FFFFFF;
}

.footer-logo-icon {
  font-size: 1.8rem;
}

.footer-logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: 1px;
  margin: 0;
}

/* Footer Center - App Download (currently commented out) */
.footer-center {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-buttons {
  display: flex;
  gap: 1rem;
}

.app-store-btn img,
.google-play-btn img {
  height: 40px;
  transition: opacity 0.2s ease;
}

.app-store-btn:hover img,
.google-play-btn:hover img {
  opacity: 0.8;
}

/* Footer Right - Nav Links (RIGHT ALIGNED) */
.footer-right {
  display: flex;
  gap: 4rem;
  margin-left: auto;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: 5px;
  line-height: 24px;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: 2px;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #6BA48A;
}

/* TABLET RESPONSIVE */
@media (max-width: 1024px) {
  .pre-footer-content {
    flex-direction: column;
    text-align: center;
  }

  .pre-footer-text {
    flex: initial;
  }

  .newsletter-form {
    width: 100%;
    max-width: 600px;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-right {
    margin-left: 0;
    gap: 3rem;
  }

  .footer-center {
    align-items: center;
  }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .pre-footer {
    padding: 2rem 1rem;
  }

  .pre-footer-text {
    font-size: 16px;
    line-height: 22px;
    min-width: 0;
    min-width: initial;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
  }

  .newsletter-input {
    font-size: 14px;
  }

  .newsletter-btn {
    font-size: 14px;
    padding: 0.75rem 1.5rem;
  }

  .footer-main {
    padding: 2rem 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-right {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }

  .footer-title {
    font-size: 16px;
    letter-spacing: 4px;
  }

  .footer-links a {
    font-size: 16px;
    line-height: 36px;
  }

  .app-buttons {
    flex-direction: column;
    align-items: center;
  }
}
/* Hero Section */
.hero-section {
  background-color: #00495E;
  color: #FFFFFF;
  padding: 6rem 2rem;
  text-align: center;
}

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

.hero-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 2rem 0;
  line-height: 1.2;
}

.hero-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0 0 3rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 3rem;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #6BA48A;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 16px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.2);
}

.hero-cta-btn:hover {
  background-color: #5a9377;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(107, 164, 138, 0.3);
}

.hero-cta-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Value Prop Section */
.value-prop-section {
  background-color: #6BA48A;
  color: #FFFFFF;
  padding: 5rem 2rem;
}

.value-prop-container {
  max-width: 1200px;
  margin: 0 auto;
}

.value-prop-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 2rem 0;
  text-align: center;
}

.value-prop-text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Features Section */
.features-section {
  background-color: #FFFFFF;
  padding: 6rem 2rem;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.feature-card {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-icon {
  color: #00495E;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #00495E;
  margin: 0 0 1rem 0;
}

.feature-description {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #00495E;
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background-color: #003646;
  color: #FFFFFF;
  padding: 6rem 2rem;
  text-align: center;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 2rem 0;
}

.cta-btn {
  background-color: #6BA48A;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-btn:hover {
  background-color: #5a9379;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.3);
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 1rem;
  }

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

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .value-prop-section {
    padding: 4rem 1rem;
  }

  .value-prop-title {
    font-size: 2rem;
  }

  .features-section {
    padding: 4rem 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-section {
    padding: 4rem 1rem;
  }

  .cta-title {
    font-size: 2rem;
  }
}
cat > frontend/src/pages/Auth.css << 'EOF'
.auth-container {
  min-height: calc(100vh - 128px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2f1 100%);
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 73, 94, 0.1);
  padding: 2.5rem;
}

.auth-card h1 {
  color: #00495E;
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-subtitle {
  color: #6b7280;
  font-size: 0.938rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.error-message {
  background-color: #fee2e2;
  color: #991b1b;
  padding: 0.875rem;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  border: 1px solid #fca5a5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  color: #374151;
  font-weight: 500;
  font-size: 0.938rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.938rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
  outline: none;
  border-color: #6BA48A;
  box-shadow: 0 0 0 3px rgba(107, 164, 138, 0.1);
}

.form-help {
  color: #6b7280;
  font-size: 0.813rem;
  margin-top: -0.125rem;
}

.preferences-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background-color: #f9fafb;
  border-radius: 8px;
  margin-top: 0.25rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #6BA48A;
}

.checkbox-label span {
  color: #374151;
  font-size: 0.938rem;
  font-weight: 400;
}

.btn-submit {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #00495E, #003646);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

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

.auth-footer {
  text-align: center;
  margin-top: 0.75rem;
  color: #6b7280;
  font-size: 0.938rem;
}

.auth-footer a {
  color: #6BA48A;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-footer a:hover {
  color: #00495E;
}

@media (max-width: 640px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Header */
.app-header {
  background-color: #00495E;
  border-bottom: none;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.wave-icon {
  font-size: 2rem;
}

.logo-text {
  color: #FFFFFF;
  text-transform: uppercase;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-display-name {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.user-menu {
  position: relative;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #6BA48A;
  border: 2px solid #6BA48A;
  color: white;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.938rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  text-transform: uppercase;
}

.user-avatar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 1000;
}

.user-menu:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  color: #00495E;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
  border-bottom: 1px solid #E0E0E0;
}

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

.dropdown-item:hover {
  background-color: #F5F5F5;
}

.dropdown-item:first-child {
  border-radius: 4px 4px 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 4px 4px;
}

/* Body */
.app-body {
  display: flex;
  flex: 1 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Sidebar */
.app-sidebar {
  width: 240px;
  background-color: #F5F5F5;
  border-right: 1px solid #E0E0E0;
  padding: 1.5rem 0;
  overflow-y: auto;
  min-height: calc(100vh - 80px);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-section {
  margin-bottom: 0.5rem;
}

.section-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  color: #666666;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: color 0.2s;
}

.section-header:hover {
  color: #00495E;
}

.nav-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: #666666;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: all 0.2s;
  border-left: 4px solid transparent;
  margin: 0;
}

.nav-item:hover {
  background-color: #E8E8E8;
  color: #00495E;
}

.nav-item.active {
  background-color: #00495E;
  color: #FFFFFF;
  border-left-color: #6BA48A;
  font-weight: 600;
}

/* Main Content */
.app-main {
  flex: 1 1;
  padding: 2.5rem;
  overflow-y: auto;
  background-color: #FFFFFF;
}

/* Responsive */
@media (max-width: 768px) {
  .app-header {
    height: 64px;
  }

  .app-sidebar {
    display: none;
  }

  .header-content {
    padding: 0 1rem;
  }

  .logo-link {
    font-size: 1.25rem;
  }

  .wave-icon {
    font-size: 1.5rem;
  }

  .app-main {
    padding: 1rem;
  }

  .user-display-name {
    display: none;
  }
}
/* Admin section styling */
.admin-header {
  background: linear-gradient(135deg, rgba(107, 164, 138, 0.1), rgba(0, 73, 94, 0.1));
  border-left: 3px solid #6BA48A;
  font-weight: 600;
}

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

.dashboard-container h1 {
  color: #00495E;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.dashboard-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 2rem;
}

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

.stat-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.stat-card h3 {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.stat-value {
  color: #00495E;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.btn-buy-credits {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background: #00495E;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-buy-credits:hover {
  background: #003646;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

.quick-actions {
  margin-top: 2rem;
}

.quick-actions h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.action-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.1);
  border-color: #6BA48A;
}

.action-card-highlight {
  border: 2px solid #6BA48A;
  background: linear-gradient(135deg, rgba(107, 164, 138, 0.05), rgba(0, 73, 94, 0.05));
}

.action-card h3 {
  color: #00495E;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.action-card p {
  color: #6b7280;
  font-size: 0.938rem;
  margin: 0;
}

@media (max-width: 768px) {
  .dashboard-container h1 {
    font-size: 1.5rem;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================
   PAGINATION CONTROLS
   ============================================ */

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
  margin: 1rem 0;
  border-radius: 6px;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Left: Items per page selector */
.pagination-size-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.pagination-size-selector label {
  font-weight: 500;
}

.pagination-size-select {
  padding: 0.375rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: white;
  color: #00495E;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s;
}

.pagination-size-select:hover {
  border-color: #00495E;
}

.pagination-size-select:focus {
  outline: none;
  border-color: #00495E;
  box-shadow: 0 0 0 3px rgba(0, 73, 94, 0.1);
}

/* Center: Page info */
.pagination-info {
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  min-width: 200px;
}

/* Right: Navigation buttons */
.pagination-nav {
  display: flex;
  gap: 0.5rem;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #00495E;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #00495E;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.pagination-btn:active:not(:disabled) {
  transform: translateY(0);
}

/* ============================================
   ACTION BAR
   ============================================ */

.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.action-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.action-bar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Select All Button */
.btn-select-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-select-all:hover {
  background: #f3f4f6;
  border-color: #00495E;
}

.btn-select-all:active {
  transform: scale(0.98);
}

/* Action Buttons */
.btn-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #00495E;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-action:hover:not(:disabled) {
  background: #00495E;
  color: white;
  border-color: #00495E;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 73, 94, 0.2);
}

.btn-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.btn-action:active:not(:disabled) {
  transform: translateY(0);
}

/* Danger variant (for Delete) */
.btn-danger {
  color: #dc2626;
  border-color: #fecaca;
}

.btn-danger:hover:not(:disabled) {
  background: #dc2626;
  color: white;
  border-color: #dc2626;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .pagination-controls {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .pagination-size-selector,
  .pagination-info,
  .pagination-nav {
    justify-content: center;
  }

  .pagination-info {
    min-width: auto;
  }

  .action-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .action-bar-left,
  .action-bar-right {
    width: 100%;
    justify-content: center;
  }

  .btn-action,
  .btn-select-all {
    flex: 1 1;
    justify-content: center;
  }
}

.prospects-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

.prospects-header h1 {
  color: #00495E;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.prospects-subtitle {
  color: #6b7280;
  font-size: 0.938rem;
  margin: 0;
}

.prospects-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-box {
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}

.search-box svg {
  color: #6b7280;
}

.search-box input {
  flex: 1 1;
  border: none;
  outline: none;
  font-size: 0.938rem;
  font-family: 'Inter', sans-serif;
}

.status-filter {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.938rem;
  font-family: 'Inter', sans-serif;
  background: white;
  cursor: pointer;
}

.error-banner {
  background-color: #fee2e2;
  color: #991b1b;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #fca5a5;
}

.loading-state,
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.empty-state {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.empty-state p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #00495E, #003646);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.938rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

/* Controls matching PreviewResults */
.prospects-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 8px 8px 0 0;
  border: 1px solid #e5e7eb;
  border-bottom: none;
}

.page-size-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-size-selector label {
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
}

.page-size-selector select {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
}

.bulk-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-select-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-select-all:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #00495E;
}

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

.btn-bulk-export {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #6BA48A 0%, #5a8f76 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(107, 164, 138, 0.2);
}

.btn-bulk-export:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.3);
}

.btn-bulk-export:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-bulk-delete {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: white;
  color: #dc2626;
  border: 1px solid #dc2626;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-bulk-delete:hover:not(:disabled) {
  background: #dc2626;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-bulk-delete:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.prospects-table-wrapper {
  overflow-x: auto;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0 0 8px 8px;
}

.prospects-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.prospects-table thead {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.prospects-table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prospects-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.15s;
  cursor: pointer;
}

.prospects-table tbody tr:hover {
  background: #f9fafb;
}

.prospects-table tbody tr.selected {
  background: #EFF6FF;
}

.prospects-table td {
  padding: 1rem 0.75rem;
  color: #374151;
}

.col-select {
  width: 40px;
  text-align: center;
}

.col-select input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.col-company strong {
  color: #00495E;
  font-weight: 600;
}

.col-contact {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.col-delete {
  width: 50px;
  text-align: center;
}

.btn-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: white;
  color: #9ca3af;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-delete:hover:not(:disabled) {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fca5a5;
}

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

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.btn-page {
  padding: 0.5rem 1rem;
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-page:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #00495E;
}

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

.page-info {
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
}

.bottom-actions-container {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e5e7eb;
}

.selection-summary {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: #EFF6FF;
  border-left: 3px solid #3B82F6;
  border-radius: 4px;
}

.selection-summary p {
  margin: 0;
  color: #1E40AF;
  font-size: 0.875rem;
  font-weight: 500;
}

.bottom-bulk-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .prospects-container {
    padding: 1rem;
  }

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

  .prospects-filters {
    flex-direction: column;
  }

  .prospects-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .bulk-actions,
  .bottom-bulk-actions {
    flex-direction: column;
  }

  .btn-select-all,
  .btn-bulk-export,
  .btn-bulk-delete {
    width: 100%;
    justify-content: center;
  }

  .prospects-table {
    font-size: 0.75rem;
  }

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

/* List Filter Dropdown */
.list-filter {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.938rem;
  font-family: 'Inter', sans-serif;
  background: white;
  cursor: pointer;
  min-width: 200px;
}

/* List Management Buttons */
.btn-bulk-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add-to-list {
  background: linear-gradient(135deg, #3B82F6, #2563eb);
  color: white;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.btn-add-to-list:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-remove-from-list {
  background: linear-gradient(135deg, #F59E0B, #d97706);
  color: white;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.btn-remove-from-list:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-bulk-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.modal-header h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.btn-close {
  padding: 0.25rem;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
}

.btn-close:hover {
  background: #f3f4f6;
  color: #00495E;
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.list-selection {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 400px;
  overflow-y: auto;
}

.list-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-left: 4px solid #6BA48A;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.list-option:hover {
  border-color: #00495E;
  background: #f9fafb;
}

.list-option.selected {
  border-color: #00495E;
  background: #EFF6FF;
  box-shadow: 0 0 0 3px rgba(0, 73, 94, 0.1);
}

.list-option-info strong {
  color: #00495E;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25rem;
}

.list-option-info p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.list-count {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
}

.empty-lists {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}

.empty-lists p {
  margin-bottom: 1rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #00495E;
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #00495E, #003646);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 73, 94, 0.2);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Pagination Controls */
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0;
  margin: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #00495E;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #00495E;
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-info {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 100px;
  text-align: center;
}

/* Create New List Button */
.btn-create-new-list {
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #6BA48A, #5A8F7A);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-create-new-list:hover {
  background: linear-gradient(135deg, #5A8F7A, #4A7F6A);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.3);
}

/* Form Groups for Create List */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #374151;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.938rem;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.938rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00495E;
  box-shadow: 0 0 0 3px rgba(0, 73, 94, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Color Picker */
.color-picker {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.color-option {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.color-option:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.color-option.active {
  border-color: #00495E;
  box-shadow: 0 0 0 2px white, 0 0 0 4px #00495E;
}

.color-option.active::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Modal Overlay */
.verify-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease-in-out;
}

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

/* Modal Content */
.verify-modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 520px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 73, 94, 0.4);
  text-align: center;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Close Button */
.verify-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #003646;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.verify-modal-close:hover {
  background: #f0f0f0;
  color: #00495E;
}

/* Icon */
.verify-modal-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #6BA48A 0%, #90BAA7 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(107, 164, 138, 0.3);
}

/* Title */
.verify-modal-title {
  margin: 0 0 16px 0;
  color: #00495E;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
}

/* Message */
.verify-modal-message {
  margin: 0 0 28px 0;
  color: #003646;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
}

/* Benefit Highlight */
.verify-modal-benefit {
  background: linear-gradient(135deg, #6BA48A 0%, #90BAA7 100%);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(107, 164, 138, 0.2);
}

.verify-benefit-icon {
  font-size: 32px;
  line-height: 1;
}

.verify-benefit-text {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}

.verify-benefit-text strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.verify-benefit-text span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
}

/* Instructions */
.verify-modal-instructions {
  margin: 0 0 32px 0;
  color: #5a5a5a;
  font-size: 15px;
  line-height: 1.6;
}

/* Primary Button */
.verify-modal-button {
  width: 100%;
  padding: 16px 24px;
  background: #00495E;
  border: 2px solid #00495E;
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
  margin-bottom: 16px;
}

.verify-modal-button:hover:not(:disabled) {
  background: #003646;
  border-color: #003646;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 73, 94, 0.4);
}

.verify-modal-button:active:not(:disabled) {
  transform: translateY(0);
}

.verify-modal-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Button Spinner */
.verify-button-spinner {
  animation: spin 1s linear infinite;
}

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

/* Cancel Button */
.verify-modal-cancel {
  background: transparent;
  border: none;
  color: #6BA48A;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s ease;
}

.verify-modal-cancel:hover {
  color: #00495E;
  text-decoration: underline;
}

/* Alert Messages */
.verify-modal-alert {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  animation: fadeIn 0.3s ease-in-out;
}

.verify-modal-alert.success {
  background: #d4f4dd;
  color: #0a5f1e;
  border: 1px solid #6BA48A;
}

.verify-modal-alert.error {
  background: #ffe6e6;
  color: #5E0000;
  border: 1px solid #cc0000;
}

/* Responsive */
@media (max-width: 600px) {
  .verify-modal-content {
    padding: 36px 24px;
  }

  .verify-modal-title {
    font-size: 24px;
  }

  .verify-modal-message {
    font-size: 16px;
  }

  .verify-benefit-text {
    font-size: 18px;
  }

  .verify-benefit-text strong {
    font-size: 20px;
  }
}

.prospect-detail-container {
  max-width: 1200px;
  margin: 0 auto;
}

.prospect-detail-loading,
.prospect-detail-error {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.prospect-detail-error {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

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

.btn-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #374151;
  font-weight: 500;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back:hover {
  background-color: #f9fafb;
  border-color: #6BA48A;
  color: #00495E;
}

.detail-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #374151;
  font-weight: 500;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-action:hover {
  background-color: #f9fafb;
  border-color: #6BA48A;
  color: #00495E;
}

.btn-action-delete:hover {
  background-color: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}

.detail-content {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
}

.detail-title-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f3f4f6;
}

.detail-title-section h1 {
  color: #00495E;
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.status-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: capitalize;
}

.status-active {
  background-color: #d1fae5;
  color: #065f46;
}

.status-archived {
  background-color: #e5e7eb;
  color: #374151;
}

.status-invalid {
  background-color: #fee2e2;
  color: #991b1b;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.detail-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-section h2 {
  color: #00495E;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.detail-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.detail-field label {
  color: #6b7280;
  font-size: 0.813rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-field p {
  color: #374151;
  font-size: 0.938rem;
  margin: 0;
}

.detail-field a {
  color: #6BA48A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

.detail-field a:hover {
  color: #00495E;
}

.source-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #dbeafe;
  color: #1e40af;
  border-radius: 6px;
  font-size: 0.813rem;
  font-weight: 500;
  text-transform: capitalize;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.375rem 0.75rem;
  background-color: #f3f4f6;
  color: #374151;
  border-radius: 6px;
  font-size: 0.813rem;
  font-weight: 500;
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  background: white;
  color: #00495E;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background-color: #f9fafb;
  border-color: #6BA48A;
}

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

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

  .detail-actions {
    width: 100%;
  }

  .btn-action {
    flex: 1 1;
    justify-content: center;
  }

  .detail-title-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}
.prospect-edit-container {
  max-width: 900px;
  margin: 0 auto;
}

.prospect-edit-loading {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.edit-header {
  margin-bottom: 2rem;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #374151;
  font-weight: 500;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back:hover {
  background-color: #f9fafb;
  border-color: #6BA48A;
  color: #00495E;
}

.error-message {
  background-color: #fee2e2;
  color: #991b1b;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #fca5a5;
}

.success-message {
  background-color: #d1fae5;
  color: #065f46;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #6ee7b7;
}

.edit-form {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
}

.form-section {
  margin-bottom: 2.5rem;
}

.form-section:last-of-type {
  margin-bottom: 2rem;
}

.form-section h2 {
  color: #00495E;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f3f4f6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.form-group label {
  color: #374151;
  font-weight: 500;
  font-size: 0.938rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.938rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6BA48A;
  box-shadow: 0 0 0 3px rgba(107, 164, 138, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-help {
  color: #6b7280;
  font-size: 0.813rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 2px solid #f3f4f6;
}

.btn-cancel {
  padding: 0.75rem 1.5rem;
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel:hover {
  background-color: #f9fafb;
  border-color: #6BA48A;
}

.btn-save {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #00495E, #003646);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.938rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-save:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

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

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

  .form-actions {
    flex-direction: column;
  }

  .btn-cancel,
  .btn-save {
    width: 100%;
    justify-content: center;
  }
}
.lists-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

.lists-header h1 {
  color: #00495E;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.lists-subtitle {
  color: #6b7280;
  font-size: 0.938rem;
  margin: 0;
}

.limits-info {
  color: #00495E;
  font-weight: 500;
}

.btn-create-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #00495E, #003646);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 73, 94, 0.2);
}

.btn-create-list:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

.btn-create-list:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.error-banner {
  background-color: #fee2e2;
  color: #991b1b;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #fca5a5;
}

.loading-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.lists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.list-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #6BA48A;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.2s;
}

.list-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.list-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.list-info h3 {
  color: #00495E;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.master-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #6BA48A, #5a8f76);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: white;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: #f9fafb;
  color: #00495E;
  border-color: #00495E;
}

.btn-icon.btn-delete:hover {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fca5a5;
}

.list-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 1rem 0;
}

.list-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.stat-item svg {
  color: #00495E;
}

.btn-view-list {
  width: 100%;
  padding: 0.75rem;
  background: #f9fafb;
  color: #00495E;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-view-list:hover {
  background: #00495E;
  color: white;
  border-color: #00495E;
}

.upgrade-prompt {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 2px solid #3B82F6;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.upgrade-prompt h3 {
  color: #00495E;
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
}

.upgrade-prompt p {
  color: #6b7280;
  margin: 0 0 1.5rem 0;
}

.btn-upgrade {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #3B82F6, #2563eb);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.modal-header h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.btn-close {
  padding: 0.25rem;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
}

.btn-close:hover {
  background: #f3f4f6;
  color: #00495E;
}

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

.form-group label {
  display: block;
  color: #374151;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.938rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00495E;
  box-shadow: 0 0 0 3px rgba(0, 73, 94, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.color-picker {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.color-option {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option.active {
  border-color: #00495E;
  box-shadow: 0 0 0 3px rgba(0, 73, 94, 0.2);
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #00495E;
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #00495E, #003646);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 73, 94, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .lists-container {
    padding: 1rem;
  }

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

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

  .lists-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .btn-secondary,
  .btn-primary {
    width: 100%;
  }
}

cat > frontend/src/pages/Settings.css << 'EOF'
.settings-container {
  max-width: 800px;
  margin: 0 auto;
}

.settings-container h1 {
  color: #00495E;
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.938rem;
}

.message-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.message-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.message-info {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.settings-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.settings-section h2 {
  color: #00495E;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f3f4f6;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #374151;
  font-weight: 500;
  font-size: 0.938rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.938rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
  outline: none;
  border-color: #6BA48A;
  box-shadow: 0 0 0 3px rgba(107, 164, 138, 0.1);
}

.disabled-input {
  background-color: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.form-help {
  color: #6b7280;
  font-size: 0.813rem;
  margin-top: -0.25rem;
}

.info-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: 8px;
}

.info-row label {
  margin-bottom: 0;
}

.info-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  background-color: #d1fae5;
  color: #065f46;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
}

.unverified-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  background-color: #fef3c7;
  color: #92400e;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
}

.credits-display {
  font-size: 1.5rem;
  font-weight: 600;
  color: #00495E;
}

.link-button {
  background: none;
  border: none;
  color: #6BA48A;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.link-button:hover {
  color: #00495E;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #6BA48A;
}

.checkbox-label span {
  color: #374151;
  font-weight: 400;
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #00495E, #003646);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.938rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  align-self: flex-start;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

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

@media (max-width: 768px) {
  .settings-container {
    padding: 0;
  }

  .settings-section {
    padding: 1.5rem;
  }

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

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.btn-buy-credits-settings {
  display: inline-block;
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  background: #00495E;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-buy-credits-settings:hover {
  background: #003646;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

.plan-display {
  font-weight: 600;
  color: #00495E;
  font-size: 0.938rem;
}

.btn-manage-subscription {
  display: inline-block;
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  background: #6BA48A;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-manage-subscription:hover {
  background: #5a8f76;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.3);
}

.manage-subscription-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.header-section {
  margin-bottom: 2rem;
}

.header-section h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #00495E;
  margin-bottom: 0.5rem;
}

.header-subtitle {
  color: #6B7280;
  font-size: 1rem;
}

/* Loading & Error States */
.loading-state,
.error-state,
.no-subscription-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #E5E7EB;
  border-top-color: #6BA48A;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

.error-state svg {
  color: #EF4444;
  margin-bottom: 1rem;
}

.error-state h2 {
  font-size: 1.5rem;
  color: #1F2937;
  margin-bottom: 0.5rem;
}

.btn-retry {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #6BA48A;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-retry:hover {
  background: #5a8f76;
}

.no-subscription-state svg {
  margin-bottom: 1.5rem;
}

.no-subscription-state h2 {
  font-size: 1.75rem;
  color: #1F2937;
  margin-bottom: 0.5rem;
}

.no-subscription-state p {
  color: #6B7280;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Subscription Cards */
.subscription-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 73, 94, 0.1);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #F3F4F6;
}

.card-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00495E;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Plan Details */
.plan-details {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 2rem;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.plan-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00495E;
}

.plan-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1F2937;
}

.plan-billing {
  color: #6B7280;
  font-size: 0.875rem;
}

.renewal-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #F9FAFB;
  border-radius: 8px;
}

.renewal-info svg {
  color: #6BA48A;
  flex-shrink: 0;
}

.renewal-label {
  font-size: 0.875rem;
  color: #6B7280;
  margin-bottom: 0.25rem;
}

.renewal-date {
  font-size: 1rem;
  font-weight: 600;
  color: #1F2937;
}

.cancel-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  color: #92400E;
}

.cancel-notice svg {
  flex-shrink: 0;
}

.card-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Payment Method */
.payment-method-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-icon {
  font-size: 2rem;
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F4F6;
  border-radius: 8px;
}

.card-info {
  flex: 1 1;
}

.card-brand {
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 0.25rem;
}

.card-expiry {
  font-size: 0.875rem;
  color: #6B7280;
}

.no-payment-method {
  text-align: center;
  padding: 2rem;
  color: #6B7280;
}

/* Credits Overview */
.credits-overview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.credit-stat {
  text-align: left;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6BA48A;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Invoices Table */
.invoices-table {
  overflow-x: auto;
}

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

.invoices-table th {
  text-align: left;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #E5E7EB;
}

.invoices-table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid #E5E7EB;
  color: #1F2937;
}

.invoice-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.invoice-status.paid {
  background: #D1FAE5;
  color: #065F46;
}

.invoice-status.open {
  background: #FEF3C7;
  color: #92400E;
}

.invoice-status.void {
  background: #E5E7EB;
  color: #6B7280;
}

.no-invoices {
  text-align: center;
  padding: 2rem;
  color: #6B7280;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #6BA48A;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #5a8f76;
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: white;
  color: #00495E;
  border: 2px solid #00495E;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #00495E;
  color: white;
}

.btn-danger {
  padding: 0.75rem 1.5rem;
  background: white;
  color: #DC2626;
  border: 2px solid #DC2626;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger:hover {
  background: #DC2626;
  color: white;
}

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

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6BA48A;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-link:hover {
  color: #5a8f76;
}

.btn-link-small {
  color: #6BA48A;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-link-small:hover {
  color: #5a8f76;
  text-decoration: underline;
}

/* Cancel Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
}

.modal-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 1rem;
}

.modal-content p {
  color: #6B7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
  .manage-subscription-container {
    padding: 1rem;
  }

  .header-section h1 {
    font-size: 1.5rem;
  }

  .subscription-card {
    padding: 1.5rem;
  }

  .plan-details {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .credits-overview {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-method-details {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-actions {
    flex-direction: column;
  }

  .card-actions .btn-secondary,
  .card-actions .btn-danger {
    width: 100%;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions button {
    width: 100%;
  }

  .invoices-table {
    font-size: 0.875rem;
  }

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

.preview-results-container {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.preview-results-empty {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

.preview-results-header {
  margin-bottom: 1.5rem;
}

.results-info h3 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.preview-notice {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0 0 1rem 0;
  padding: 0.75rem;
  background: #FFF9E6;
  border-left: 3px solid #F59E0B;
  border-radius: 4px;
}

.results-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-size-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-size-selector label {
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
}

.page-size-selector select {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
}

.bulk-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-select-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-select-all:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #00495E;
}

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

.btn-bulk-enhance {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #6BA48A 0%, #5a8f76 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(107, 164, 138, 0.2);
}

.btn-bulk-enhance:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.3);
}

.btn-bulk-enhance:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-bulk-delete {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: white;
  color: #dc2626;
  border: 1px solid #dc2626;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-bulk-delete:hover:not(:disabled) {
  background: #dc2626;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-bulk-delete:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.preview-table-wrapper {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.preview-table thead {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.preview-table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preview-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.15s;
}

.preview-table tbody tr:hover {
  background: #f9fafb;
}

.preview-table tbody tr.selected {
  background: #EFF6FF;
}

.preview-table td {
  padding: 1rem 0.75rem;
  color: #374151;
}

.col-select {
  width: 40px;
  text-align: center;
}

.col-select input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.col-company strong {
  color: #00495E;
  font-weight: 600;
}

.col-obfuscated {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.obfuscated-text {
  color: #9ca3af;
  font-style: italic;
  cursor: help;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.enhanced-text {
  color: #374151;
  font-weight: 500;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.processing-text {
  color: #3B82F6;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #3B82F6;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.preview-table tbody tr.processing {
  background: #EFF6FF;
}

.preview-table tbody tr.processing:hover {
  background: #DBEAFE;
}

.col-actions {
  width: 120px;
}

.col-delete {
  width: 50px;
  text-align: center;
}

.btn-enhance-single {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: white;
  color: #6BA48A;
  border: 1px solid #6BA48A;
  border-radius: 4px;
  font-size: 0.813rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-enhance-single:hover:not(:disabled) {
  background: #6BA48A;
  color: white;
}

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

.btn-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: white;
  color: #9ca3af;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-delete:hover:not(:disabled) {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fca5a5;
}

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

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.btn-page {
  padding: 0.5rem 1rem;
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-page:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #00495E;
}

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

.page-info {
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
}

.selection-summary {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #EFF6FF;
  border-left: 3px solid #3B82F6;
  border-radius: 4px;
}

.selection-summary p {
  margin: 0;
  color: #1E40AF;
  font-size: 0.875rem;
  font-weight: 500;
}

.credit-warning {
  color: #6b7280;
  font-weight: 400;
}

.bottom-actions-container {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e5e7eb;
}

.bottom-bulk-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .results-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .bulk-actions,
  .bottom-bulk-actions {
    flex-direction: column;
  }

  .btn-select-all,
  .btn-bulk-enhance,
  .btn-bulk-delete {
    width: 100%;
    justify-content: center;
  }

  .preview-table {
    font-size: 0.75rem;
  }

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

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 500px;
  width: 100%;
  animation: modalSlideIn 0.2s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-title h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #00495E;
}

.modal-icon {
  color: #6BA48A;
}

.modal-close {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.modal-body {
  padding: 1.5rem;
}

.info-box {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: #EFF6FF;
  border-left: 3px solid #3B82F6;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.info-icon {
  color: #3B82F6;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.info-title {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  color: #1E40AF;
  font-size: 0.875rem;
}

.info-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: #1E3A8A;
}

.info-list li {
  margin-bottom: 0.375rem;
}

.info-list li:last-child {
  margin-bottom: 0;
}

.warning-box {
  padding: 1rem;
  background: #FFFBEB;
  border-left: 3px solid #F59E0B;
  border-radius: 4px;
}

.warning-box p {
  margin: 0;
  font-size: 0.875rem;
  color: #92400E;
  line-height: 1.5;
}

.modal-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  justify-content: flex-end;
}

.btn-cancel {
  padding: 0.625rem 1.25rem;
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #9ca3af;
}

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

.btn-confirm {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #6BA48A 0%, #5a8f76 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(107, 164, 138, 0.2);
}

.btn-confirm:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.3);
}

.btn-confirm:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Responsive */
@media (max-width: 640px) {
  .modal-content {
    margin: 1rem;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .modal-footer {
    flex-direction: column-reverse;
  }

  .btn-cancel,
  .btn-confirm {
    width: 100%;
    justify-content: center;
  }
}

.processing-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 1.5rem;
}

.processing-modal {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 550px;
  width: 100%;
  padding: 1.5rem;
  animation: modalSlideIn 0.2s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.processing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.processing-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.processing-title h2 {
  margin: 0;
  color: #00495E;
  font-size: 1.25rem;
  font-weight: 600;
}

.sparkle-icon {
  color: #6BA48A;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: rotate(180deg) scale(1.1);
  }
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s;
}

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

/* Progress Bar */
.progress-bar-container {
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.375rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6BA48A 0%, #5a8f76 100%);
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5rem;
}

.progress-text {
  text-align: center;
  color: #6b7280;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0.75rem;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.processing {
  background: #EFF6FF;
  color: #3B82F6;
}

.stat-icon.success {
  background: #ECFDF5;
  color: #10B981;
}

.stat-icon.failed {
  background: #FEF2F2;
  color: #EF4444;
}

.stat-info {
  flex: 1 1;
}

.stat-label {
  font-size: 0.6875rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.125rem;
}

.stat-value {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

/* Credits Section */
.credits-section {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: 6px;
  padding: 0.875rem;
  margin-bottom: 1rem;
}

.credits-header {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #1E40AF;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.625rem;
}

.credits-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.credit-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.credit-label {
  color: #6b7280;
  font-size: 0.8125rem;
  font-weight: 500;
}

.credit-value {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
}

.credit-value.used {
  color: #DC2626;
}

.credit-value.available {
  color: #059669;
}

.credit-divider {
  color: #9ca3af;
  font-size: 1.25rem;
}

/* Paused State */
.paused-container {
  margin-top: 0.75rem;
}

.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.alert-box.warning {
  background: #FFF9E6;
  border: 1px solid #F59E0B;
  color: #92400E;
}

.alert-box.success {
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
}

.alert-box svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.alert-box strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.alert-box p {
  margin: 0;
  font-size: 0.875rem;
}

.paused-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.btn-upgrade {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #6BA48A 0%, #5a8f76 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(107, 164, 138, 0.2);
}

.btn-upgrade:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.3);
}

.btn-cancel {
  padding: 0.75rem 1.5rem;
  background: white;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

/* Complete State */
.complete-container {
  margin-top: 0.75rem;
}

.btn-close-complete {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #6BA48A 0%, #5a8f76 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-close-complete:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.3);
}

/* Processing Footer */
.processing-footer {
  display: flex;
  justify-content: center;
  padding-top: 0.875rem;
  margin-top: 0.875rem;
  border-top: 1px solid #e5e7eb;
}

.pulse-indicator {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #3B82F6;
  font-weight: 500;
  font-size: 0.875rem;
}

.pulse-indicator .pulse-dot {
  width: 10px;
  height: 10px;
  background: #3B82F6;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

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

  .credits-display {
    flex-direction: column;
    gap: 0.75rem;
  }

  .credit-divider {
    display: none;
  }

  .paused-actions {
    flex-direction: column;
  }

  .btn-upgrade,
  .btn-cancel {
    width: 100%;
    justify-content: center;
  }
}

/* Modal Overlay */
.plan-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease-in-out;
  padding: 20px;
  overflow-y: auto;
}

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

/* Modal Content */
.plan-modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 1200px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 73, 94, 0.4);
  animation: slideUp 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Close Button */
.plan-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #003646;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  z-index: 10;
}

.plan-modal-close:hover {
  background: #f0f0f0;
  color: #00495E;
}

/* Header */
.plan-modal-header {
  text-align: center;
  margin-bottom: 40px;
}

.plan-modal-title {
  margin: 0 0 12px 0;
  color: #00495E;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
}

.plan-modal-subtitle {
  margin: 0;
  color: #003646;
  font-size: 18px;
  line-height: 1.6;
}

/* Plan Grid */
.plan-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
}

/* Plan Card */
.plan-modal-card {
  background: #FFFFFF;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.plan-modal-card.popular {
  border-width: 3px;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 73, 94, 0.15);
}

.plan-modal-card.current {
  border-color: #6BA48A;
  background: #f9fdfb;
}

.plan-modal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 73, 94, 0.2);
}

.plan-modal-card.popular:hover {
  transform: scale(1.02) translateY(-4px);
}

/* Badge */
.plan-modal-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  white-space: nowrap;
}

/* Card Title */
.plan-modal-card-title {
  margin: 8px 0 8px 0;
  color: #00495E;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

.plan-modal-card-subtitle {
  margin: 0 0 24px 0;
  color: #5a5a5a;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
  min-height: 40px;
}

/* Pricing */
.plan-modal-pricing {
  text-align: center;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.plan-modal-currency {
  font-size: 20px;
  font-weight: 600;
  color: #00495E;
}

.plan-modal-price {
  font-size: 42px;
  font-weight: 700;
  color: #00495E;
  letter-spacing: -1px;
}

.plan-modal-period {
  font-size: 16px;
  color: #5a5a5a;
}

.plan-modal-savings {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #6BA48A;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* CTA Button */
.plan-modal-cta {
  width: 100%;
  padding: 14px 24px;
  border: 2px solid;
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.plan-modal-cta:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 73, 94, 0.3);
}

.plan-modal-cta:active:not(:disabled) {
  transform: translateY(0);
}

.plan-modal-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Features List */
.plan-modal-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.plan-modal-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #003646;
  line-height: 1.5;
}

.plan-modal-check {
  color: #6BA48A;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Bonus Notice */
.plan-modal-bonus-notice {
  background: linear-gradient(135deg, #6BA48A 0%, #90BAA7 100%);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(107, 164, 138, 0.2);
}

.plan-modal-bonus-notice svg {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .plan-modal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .plan-modal-content {
    padding: 36px 24px;
  }

  .plan-modal-title {
    font-size: 26px;
  }

  .plan-modal-subtitle {
    font-size: 16px;
  }

  .plan-modal-grid {
    grid-template-columns: 1fr;
  }

  .plan-modal-card.popular {
    transform: scale(1);
  }

  .plan-modal-card.popular:hover {
    transform: translateY(-4px);
  }

  .plan-modal-bonus-notice {
    font-size: 14px;
    padding: 14px 20px;
  }
}

.discovery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.discovery-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.discovery-header h1 {
  color: #00495E;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.discovery-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.credits-badge {
  display: inline-block;
  background: #6BA48A;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.credits-badge strong {
  font-weight: 600;
}

/* Resume Enhancement Prompt */
.resume-prompt {
  background: linear-gradient(135deg, #FFF9E6 0%, #FFF3CD 100%);
  border: 2px solid #F59E0B;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.resume-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1;
}

.resume-icon {
  font-size: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

.resume-text strong {
  display: block;
  color: #92400E;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.resume-text p {
  margin: 0;
  color: #78350F;
  font-size: 0.875rem;
}

.resume-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-resume {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #6BA48A 0%, #5a8f76 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-resume:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.3);
}

.btn-dismiss {
  padding: 0.75rem 1.25rem;
  background: white;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-dismiss:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

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

  .resume-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-resume,
  .btn-dismiss {
    width: 100%;
  }
}

.search-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.tab-btn {
  padding: 0.75rem 2rem;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  color: #666;
}

.tab-btn:hover {
  border-color: #6BA48A;
  color: #00495E;
}

.tab-btn.active {
  background: #00495E;
  color: white;
  border-color: #00495E;
}

.tab-btn.locked {
  opacity: 0.6;
  cursor: not-allowed;
  position: relative;
}

.tab-btn.locked:hover {
  border-color: #e0e0e0;
  color: #999;
}

.discovery-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 73, 94, 0.1);
  margin-bottom: 2rem;
}

.ai-search-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  resize: vertical;
  transition: all 0.2s ease;
}

.ai-search-form textarea:focus {
  outline: none;
  border-color: #6BA48A;
  box-shadow: 0 0 0 3px rgba(107, 164, 138, 0.1);
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #00495E;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input {
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6BA48A;
  box-shadow: 0 0 0 3px rgba(107, 164, 138, 0.1);
}

.form-group input::placeholder {
  color: #999;
}

.form-help {
  color: #666;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.search-btn {
  width: 100%;
  background: #00495E;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.search-btn:hover:not(:disabled) {
  background: #003646;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.2);
}

.search-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.message {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.error-message {
  background: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.success-message {
  background: #efe;
  color: #3a3;
  border: 1px solid #cfc;
}

.results-section {
  margin-top: 2rem;
}

.results-section h2 {
  color: #00495E;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.result-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.result-card:hover {
  border-color: #6BA48A;
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.15);
  transform: translateY(-2px);
}

.result-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.result-header h3 {
  color: #00495E;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-name {
  color: #333;
  font-weight: 500;
  margin: 0.25rem 0;
}

.contact-title {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
  margin: 0.25rem 0;
}

.result-details {
  margin-bottom: 1.25rem;
}

.detail-row {
  display: flex;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.detail-label {
  color: #666;
  font-weight: 600;
  min-width: 80px;
}

.detail-value {
  color: #333;
  word-break: break-word;
}

.save-btn {
  width: 100%;
  background: #6BA48A;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.save-btn:hover {
  background: #5a9379;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(107, 164, 138, 0.3);
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: #666;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .discovery-container {
    padding: 1rem;
  }

  .discovery-header h1 {
    font-size: 2rem;
  }

  .search-tabs {
    flex-direction: column;
  }

  .tab-btn {
    width: 100%;
  }

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

  .results-grid {
    grid-template-columns: 1fr;
  }

  .discovery-form {
    padding: 1.5rem;
  }
}
.pricing-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* Hero Section */
.pricing-hero {
  text-align: center;
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: #00495E;
  margin-bottom: 20px;
  line-height: 1.2;
}

.pricing-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* Pricing Cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 32px;
  gap: 32px;
  margin-bottom: 80px;
}

.pricing-card {
  background: #FFFFFF;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  border-width: 3px;
}

.pricing-card.popular:hover {
  transform: translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #00495E;
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.current-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #6BA48A;
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.pricing-card.current-plan {
  border-width: 3px;
  border-color: #6BA48A !important;
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.2);
  transform: scale(1.05);
}

.pricing-card.current-plan:hover {
  transform: scale(1.05) translateY(-8px);
}

.card-header {
  margin-bottom: 24px;
}

.plan-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #00495E;
  margin: 0 0 12px 0;
}

.plan-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666666;
  margin: 0;
  line-height: 1.5;
}

.card-pricing {
  margin-bottom: 24px;
}

.price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.currency {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #00495E;
}

.price {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #00495E;
  line-height: 1;
}

.period {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #666666;
  margin-left: 4px;
}

.savings-badge {
  display: inline-block;
  background: #E8F5E9;
  color: #2E7D32;
  padding: 4px 12px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.cta-button {
  width: 100%;
  padding: 14px 24px;
  background: #6BA48A;
  border: 2px solid #6BA48A;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.3);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
}

.check-icon {
  color: #6BA48A;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Enterprise Card */
.enterprise-card {
  background: linear-gradient(135deg, #00495E 0%, #003646 100%);
  border-color: #00495E;
  color: #FFFFFF;
}

.enterprise-card .plan-name,
.enterprise-card .plan-subtitle {
  color: #FFFFFF;
}

.enterprise-content {
  margin: 32px 0;
}

.enterprise-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.enterprise-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #FFFFFF;
}

.enterprise-features svg {
  color: #6BA48A;
  flex-shrink: 0;
}

.enterprise-cta {
  background: #6BA48A;
  border-color: #6BA48A;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.enterprise-cta:hover {
  background: #5a9377;
  border-color: #5a9377;
}

/* Trust Section */
.trust-section {
  text-align: center;
  padding: 60px 0;
  background: #F5F5F5;
  border-radius: 12px;
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #00495E;
  margin-bottom: 40px;
}

.trust-features {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #333333;
}

.trust-icon {
  color: #6BA48A;
  flex-shrink: 0;
}

.free-trial-cta {
  max-width: 600px;
  margin: 0 auto;
}

.free-trial-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: #6BA48A;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 12px;
}

.free-trial-button:hover {
  background: #5a9377;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(107, 164, 138, 0.3);
}

.free-trial-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666666;
  margin: 0;
}

/* How It Works */
.how-it-works {
  padding: 60px 0;
  text-align: center;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 48px auto 0;
  gap: 24px;
}

.step {
  flex: 1 1;
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #6BA48A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #00495E;
  margin: 0 0 12px 0;
}

.step p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

.step-arrow {
  font-size: 32px;
  color: #6BA48A;
  font-weight: bold;
  flex-shrink: 0;
}

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

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }

  .steps-container {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .pricing-title {
    font-size: 32px;
  }

  .pricing-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .trust-features {
    flex-direction: column;
    gap: 24px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

/* Billing Toggle */
.billing-toggle {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
  background: #F5F5F5;
  padding: 6px;
  border-radius: 40px;
  width: -webkit-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.billing-option {
  padding: 12px 28px;
  border: none;
  border-radius: 32px;
  background: transparent;
  color: #666666;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.billing-option.active {
  background: #FFFFFF;
  color: #00495E;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.save-badge {
  background: #6BA48A;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.annual-note {
  font-size: 13px;
  color: #888888;
  margin-top: 4px;
  font-style: italic;
}

/* Credit Packs Section */
.credit-packs-section {
  margin: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  font-size: 18px;
  color: #666666;
  max-width: 700px;
  margin: 12px auto 0;
  line-height: 1.6;
}

.pro-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #003646 0%, #00495E 100%);
  color: #FFFFFF;
  padding: 16px 24px;
  border-radius: 12px;
  margin: 24px auto 0;
  max-width: 600px;
  font-weight: 600;
  font-size: 16px;
  cursor: default;
  -webkit-user-select: none;
          user-select: none;
}

.credit-packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 40px;
}

.credit-pack-card {
  background: #FFFFFF;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.credit-pack-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: #6BA48A;
}

.credit-pack-card.popular {
  border-width: 3px;
  border-color: #00495E;
  transform: scale(1.03);
}

.credit-pack-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.pack-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #00495E;
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.pack-credits {
  font-size: 42px;
  font-weight: 700;
  color: #00495E;
  margin-bottom: 8px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.credits-label {
  font-size: 14px;
  font-weight: 600;
  color: #666666;
  margin-top: 8px;
  letter-spacing: 1px;
}

.pack-pricing {
  margin: 20px 0;
}

.pack-price {
  font-size: 32px;
  font-weight: 700;
  color: #00495E;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pro-savings {
  font-size: 14px;
  font-weight: 600;
  color: #6BA48A;
  background: #d4f4dd;
  padding: 4px 10px;
  border-radius: 12px;
}

.cost-per-credit {
  font-size: 14px;
  color: #888888;
}

.pack-description {
  font-size: 14px;
  color: #666666;
  margin: 16px 0 24px;
  min-height: 40px;
}

.pack-cta {
  width: 100%;
  padding: 14px 24px;
  background: #6BA48A;
  border: 2px solid #6BA48A;
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.pack-cta:hover {
  background: #00495E;
  border-color: #00495E;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 73, 94, 0.3);
}

.pro-upgrade-hint {
  font-size: 12px;
  color: #888888;
  margin-top: 12px;
  font-style: italic;
}

.pack-details {
  font-size: 13px;
  color: #666666;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E0E0E0;
}

.pro-upsell {
  text-align: center;
  background: linear-gradient(135deg, #f0f9f5 0%, #e8f5ee 100%);
  border: 2px solid #6BA48A;
  border-radius: 12px;
  padding: 24px;
  font-size: 16px;
  color: #003646;
}

.pro-upsell strong {
  color: #00495E;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .credit-packs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .billing-toggle {
    width: 100%;
  }

  .billing-option {
    flex: 1 1;
    padding: 10px 16px;
    font-size: 14px;
  }

  .credit-packs-grid {
    grid-template-columns: 1fr;
  }

  .pack-credits {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 16px;
  }
}
.verify-email-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.verify-email-card {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icon-large {
  font-size: 72px;
  margin-bottom: 20px;
  animation: bounce 1s ease-in-out infinite;
}

.icon-large.success {
  animation: scaleIn 0.5s ease-out;
}

.icon-large.error {
  animation: shake 0.5s ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.verify-email-card h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #333;
}

.success-title {
  color: #4caf50;
}

.error-title {
  color: #f44336;
}

.verify-email-card p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.success-message {
  font-size: 18px;
  color: #555;
  font-weight: 500;
}

.error-message {
  color: #d32f2f;
  font-weight: 500;
}

.credits-display {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  padding: 30px;
  border-radius: 15px;
  margin: 30px 0;
  border: 2px solid #4caf50;
}

.credits-amount {
  font-size: 48px;
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 5px;
}

.credits-label {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

.redirect-message {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
  font-style: italic;
}

.help-text {
  font-size: 14px;
  color: #999;
  margin: 20px 0;
}

.secondary-text {
  font-size: 13px;
  color: #999;
  margin-top: 15px;
}

.btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

@media (max-width: 600px) {
  .verify-email-card {
    padding: 40px 30px;
  }
  
  .icon-large {
    font-size: 60px;
  }
  
  .verify-email-card h2 {
    font-size: 24px;
  }
  
  .credits-amount {
    font-size: 36px;
  }
}
.verify-newsletter-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem;
}

.verify-newsletter-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
  padding: 3rem;
  text-align: center;
}

.verify-status h1 {
  color: #00495E;
  font-size: 2rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem 0;
}

.verify-status p.message {
  font-size: 1.125rem;
  color: #374151;
  margin: 1rem 0;
}

.verify-status p.email {
  font-size: 0.938rem;
  color: #6b7280;
  margin: 0.5rem 0 1.5rem 0;
}

.verify-status p.email strong {
  color: #00495E;
  font-family: 'Monaco', 'Courier New', monospace;
}

/* Icons */
.icon-success,
.icon-error,
.icon-info {
  font-size: 4rem;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-weight: bold;
}

.icon-success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  border: 4px solid #6ee7b7;
}

.icon-error {
  background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
  color: #991b1b;
  border: 4px solid #f87171;
}

.icon-info {
  background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
  color: #1e40af;
  border: 4px solid #60a5fa;
}

/* Spinner for verifying state */
.spinner {
  border: 4px solid #e5e7eb;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Info boxes */
.success-info,
.error-info {
  text-align: left;
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.success-info h2,
.error-info h2 {
  color: #00495E;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.success-info ul,
.error-info ul {
  margin: 0;
  padding-left: 1.5rem;
  color: #374151;
}

.success-info li,
.error-info li {
  margin: 0.75rem 0;
  line-height: 1.6;
}

/* Action buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  flex: 1 1;
  min-width: 150px;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #667eea;
  color: white;
  border: 2px solid #667eea;
}

.btn-primary:hover {
  background: #5568d3;
  border-color: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .verify-newsletter-container {
    padding: 1rem;
  }

  .verify-newsletter-card {
    padding: 2rem 1.5rem;
  }

  .verify-status h1 {
    font-size: 1.5rem;
  }

  .verify-status p.message {
    font-size: 1rem;
  }

  .icon-success,
  .icon-error,
  .icon-info {
    font-size: 3rem;
    width: 80px;
    height: 80px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

.test-email-discovery {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.test-header {
  margin-bottom: 2rem;
}

.back-button {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.back-button:hover {
  color: #0056b3;
  text-decoration: underline;
}

.test-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.test-subtitle {
  color: #666;
  font-size: 1rem;
}

.test-form-container {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.test-form {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
}

.form-group {
  flex: 1 1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #007bff;
}

.form-group input:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

.test-button {
  padding: 0.75rem 2rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.test-button:hover:not(:disabled) {
  background: #0056b3;
}

.test-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.test-button.secondary {
  background: #6c757d;
}

.test-button.secondary:hover {
  background: #5a6268;
}

.error-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  color: #721c24;
}

.loading-indicator {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-indicator p {
  font-size: 1.1rem;
  color: #333;
  margin: 0.5rem 0;
}

.loading-subtext {
  font-size: 0.9rem;
  color: #666;
}

.results-container {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.results-header {
  margin-bottom: 2rem;
}

.results-header h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.results-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  color: #666;
  font-size: 0.95rem;
}

.results-meta strong {
  color: #333;
}

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

.stat-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e9ecef;
}

.stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.results-table {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.results-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.results-table th {
  background: #f8f9fa;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #dee2e6;
}

.results-table td {
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
}

.results-table tr.success {
  background: #d4edda;
}

.results-table tr.failed {
  background: #f8d7da;
}

.method-name {
  font-weight: 500;
  color: #333;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-icon {
  font-weight: bold;
  font-size: 1.2rem;
}

.status.success {
  color: #28a745;
}

.status.failed {
  color: #dc3545;
}

.email-cell code {
  background: #f8f9fa;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

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

.notes-cell {
  max-width: 300px;
  font-size: 0.9rem;
}

.error-note {
  color: #dc3545;
}

.reasoning-note {
  color: #666;
}

.analysis-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e9ecef;
}

.analysis-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.analysis-content {
  color: #333;
  line-height: 1.6;
}

.analysis-content p {
  margin-bottom: 1rem;
}

.warning {
  padding: 1rem;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  color: #856404;
}

.consensus-check {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.consensus {
  color: #28a745;
  font-weight: 500;
}

.consensus code {
  background: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

.disagreement {
  color: #856404;
}

.disagreement ul {
  margin: 0.5rem 0 0 1.5rem;
}

.disagreement li {
  margin: 0.5rem 0;
}

.disagreement code {
  background: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

.disagreement .count {
  margin-left: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.recommendations {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #e7f3ff;
  border-left: 4px solid #007bff;
  border-radius: 4px;
}

.recommendations h4 {
  margin-bottom: 0.5rem;
  color: #333;
}

.recommendations ul {
  margin: 0.5rem 0 0 1.5rem;
}

.recommendations li {
  margin: 0.5rem 0;
}

.test-actions {
  margin-top: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .test-email-discovery {
    padding: 1rem;
  }

  .test-form {
    flex-direction: column;
  }

  .test-button {
    width: 100%;
  }

  .results-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .summary-stats {
    grid-template-columns: 1fr 1fr;
  }

  .results-table {
    font-size: 0.85rem;
  }

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

.admin-dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.admin-dashboard-header {
  margin-bottom: 2rem;
}

.admin-dashboard-header h1 {
  color: #00495E;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.dashboard-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* Loading and Error States */
.loading-state,
.error-state {
  text-align: center;
  padding: 4rem 2rem;
}

.error-state h2 {
  color: #ef4444;
  margin-bottom: 1rem;
}

.error-state p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.btn-retry {
  padding: 0.75rem 1.5rem;
  background: #00495E;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-retry:hover {
  background: #003646;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.kpi-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: all 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.1);
  border-color: #6BA48A;
}

.kpi-icon {
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(107, 164, 138, 0.1), rgba(0, 73, 94, 0.1));
  border-radius: 12px;
  flex-shrink: 0;
}

.kpi-content {
  flex: 1 1;
}

.kpi-content h3 {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem 0;
}

.kpi-value {
  color: #00495E;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  line-height: 1;
}

.kpi-subtext {
  color: #9ca3af;
  font-size: 0.813rem;
  display: block;
}

/* Charts Section */
.charts-section {
  margin-bottom: 3rem;
}

.charts-section > h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.chart-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
}

.chart-card h3 {
  color: #00495E;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
}

/* Quick Actions */
.admin-quick-actions {
  margin-top: 3rem;
}

.admin-quick-actions > h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.admin-action-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
}

.admin-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.1);
  border-color: #6BA48A;
}

.admin-action-card h3 {
  color: #00495E;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.admin-action-card p {
  color: #6b7280;
  font-size: 0.938rem;
  margin: 0;
}

.admin-action-button {
  cursor: pointer;
  border: 2px solid #6BA48A;
  background: linear-gradient(135deg, rgba(107, 164, 138, 0.05), rgba(0, 73, 94, 0.05));
}

.admin-action-button:hover {
  background: linear-gradient(135deg, rgba(107, 164, 138, 0.1), rgba(0, 73, 94, 0.1));
}

/* Responsive Design */
@media (max-width: 1024px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-dashboard-header h1 {
    font-size: 1.5rem;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .kpi-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
  }

  .kpi-value {
    font-size: 1.75rem;
  }
}

.admin-dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.admin-dashboard-header {
  margin-bottom: 2rem;
}

.admin-dashboard-header h1 {
  color: #00495E;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.dashboard-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* Loading and Error States */
.loading-state,
.error-state {
  text-align: center;
  padding: 4rem 2rem;
}

.error-state h2 {
  color: #ef4444;
  margin-bottom: 1rem;
}

.error-state p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.btn-retry {
  padding: 0.75rem 1.5rem;
  background: #00495E;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-retry:hover {
  background: #003646;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.kpi-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: all 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.1);
  border-color: #6BA48A;
}

.kpi-icon {
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(107, 164, 138, 0.1), rgba(0, 73, 94, 0.1));
  border-radius: 12px;
  flex-shrink: 0;
}

.kpi-content {
  flex: 1 1;
}

.kpi-content h3 {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem 0;
}

.kpi-value {
  color: #00495E;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  line-height: 1;
}

.kpi-subtext {
  color: #9ca3af;
  font-size: 0.813rem;
  display: block;
}

/* Charts Section */
.charts-section {
  margin-bottom: 3rem;
}

.charts-section > h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.chart-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
}

.chart-card h3 {
  color: #00495E;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
}

/* Quick Actions */
.admin-quick-actions {
  margin-top: 3rem;
}

.admin-quick-actions > h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.admin-action-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
}

.admin-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.1);
  border-color: #6BA48A;
}

.admin-action-card h3 {
  color: #00495E;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.admin-action-card p {
  color: #6b7280;
  font-size: 0.938rem;
  margin: 0;
}

.admin-action-button {
  cursor: pointer;
  border: 2px solid #6BA48A;
  background: linear-gradient(135deg, rgba(107, 164, 138, 0.05), rgba(0, 73, 94, 0.05));
}

.admin-action-button:hover {
  background: linear-gradient(135deg, rgba(107, 164, 138, 0.1), rgba(0, 73, 94, 0.1));
}

/* Responsive Design */
@media (max-width: 1024px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-dashboard-header h1 {
    font-size: 1.5rem;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .kpi-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
  }

  .kpi-value {
    font-size: 1.75rem;
  }
}

/* Reuse base styles from AdminDashboard.css */

/* Header Controls */
.admin-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.date-range-select {
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.938rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.date-range-select:hover {
  border-color: #6BA48A;
}

.date-range-select:focus {
  outline: none;
  border-color: #6BA48A;
  box-shadow: 0 0 0 3px rgba(107, 164, 138, 0.1);
}

.btn-export {
  padding: 0.75rem 1.5rem;
  background: #00495E;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-export:hover {
  background: #003646;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

/* Chart Full Width */
.chart-full-width {
  grid-column: 1 / -1;
}

/* Table Section */
.table-section {
  margin-bottom: 3rem;
}

.table-section > h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.table-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

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

.data-table thead {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.data-table th {
  padding: 1rem;
  text-align: left;
  font-size: 0.813rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.15s ease;
}

.data-table tbody tr:hover {
  background-color: #f9fafb;
}

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

.data-table td {
  padding: 1rem;
  font-size: 0.938rem;
  color: #374151;
}

/* Badges and Tags */
.attempt-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, rgba(107, 164, 138, 0.1), rgba(0, 73, 94, 0.1));
  border: 1px solid #6BA48A;
  border-radius: 20px;
  font-size: 0.813rem;
  font-weight: 600;
  color: #00495E;
}

.success-rate {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.813rem;
  font-weight: 600;
}

.success-rate.high {
  background: #d1fae5;
  color: #065f46;
}

.success-rate.low {
  background: #fee2e2;
  color: #991b1b;
}

.api-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.api-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.api-tag.api-web-scraping {
  background: #d1fae5;
  color: #065f46;
}

.api-tag.api-grok {
  background: #dbeafe;
  color: #1e40af;
}

.api-tag.api-gemini {
  background: #fed7aa;
  color: #9a3412;
}

.api-tag.api-claude {
  background: #e9d5ff;
  color: #6b21a8;
}

.api-tag.api-openai {
  background: #cffafe;
  color: #155e75;
}

.cost-free {
  color: #065f46;
  font-weight: 600;
}

.cost-paid {
  color: #991b1b;
  font-weight: 600;
}

.recommendation {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.recommendation.excellent {
  background: #d1fae5;
  color: #065f46;
}

.recommendation.good {
  background: #dbeafe;
  color: #1e40af;
}

.recommendation.warning {
  background: #fef3c7;
  color: #92400e;
}

.recommendation.poor {
  background: #fee2e2;
  color: #991b1b;
}

/* Insights Section */
.insights-section {
  margin-bottom: 3rem;
}

.insights-section > h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.insight-card {
  background: linear-gradient(135deg, rgba(107, 164, 138, 0.05), rgba(0, 73, 94, 0.05));
  border: 1px solid #e5e7eb;
  border-left: 4px solid #6BA48A;
  border-radius: 12px;
  padding: 1.5rem;
}

.insight-card h3 {
  color: #00495E;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.insight-card p {
  color: #374151;
  font-size: 0.938rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }

  .chart-full-width {
    grid-column: 1;
  }
}

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

  .header-controls {
    flex-direction: column;
  }

  .date-range-select,
  .btn-export {
    width: 100%;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .data-table {
    font-size: 0.813rem;
  }

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

.admin-users-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.admin-users-header {
  margin-bottom: 2rem;
}

.admin-users-header h1 {
  color: #00495E;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* Controls */
.users-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-box {
  flex: 1 1;
  min-width: 300px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.search-box svg {
  color: #6b7280;
}

.search-box input {
  flex: 1 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #00495E;
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  color: #00495E;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-select:hover {
  border-color: #6BA48A;
}

.btn-bulk-delete {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-bulk-delete:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Table */
.users-table-container {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

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

.users-table thead {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.users-table th {
  padding: 1rem;
  text-align: left;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.users-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.users-table tbody tr:hover {
  background: #f9fafb;
}

.users-table tbody tr.selected {
  background: rgba(107, 164, 138, 0.1);
}

.users-table td {
  padding: 1rem;
  color: #00495E;
  font-size: 0.938rem;
}

.users-table td.clickable-cell {
  cursor: pointer;
  transition: color 0.2s ease;
}

.users-table td.clickable-cell:hover {
  color: #6BA48A;
  text-decoration: underline;
}

.users-table input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #6BA48A;
}

.role-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
}

.role-badge.admin {
  background: rgba(107, 164, 138, 0.2);
  color: #00495E;
}

.role-badge.user {
  background: rgba(107, 164, 138, 0.1);
  color: #6b7280;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.813rem;
  font-weight: 600;
}

.status-badge.active {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.status-badge.suspended {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.status-badge.verified {
  color: #16a34a;
}

.status-badge.unverified {
  color: #dc2626;
}

.btn-action {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-view {
  background: #00495E;
  color: white;
}

.btn-view:hover {
  background: #003646;
  transform: translateY(-1px);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: #00495E;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: #003646;
  transform: translateY(-1px);
}

.pagination-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  opacity: 0.6;
}

.pagination-info {
  color: #6b7280;
  font-size: 0.938rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.modal-header h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.btn-close {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-close:hover {
  background: #f3f4f6;
  color: #00495E;
}

.modal-body {
  padding: 1.5rem;
}

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

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-item.full-width {
  grid-column: 1 / -1;
}

.info-item label {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-item p {
  color: #00495E;
  font-size: 1rem;
  margin: 0;
}

/* Activity Section */
.activity-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.activity-section h3 {
  color: #00495E;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 300px;
  overflow-y: auto;
}

.activity-item {
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-gap: 1rem;
  gap: 1rem;
  align-items: center;
}

.activity-type {
  color: #00495E;
  font-weight: 600;
  font-size: 0.875rem;
}

.activity-details {
  color: #6b7280;
  font-size: 0.875rem;
}

.activity-date {
  color: #9ca3af;
  font-size: 0.813rem;
}

.no-activity {
  color: #6b7280;
  font-style: italic;
  text-align: center;
  padding: 2rem;
}

/* Edit Form */
.user-edit-form {
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-item label {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  color: #00495E;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #6BA48A;
  box-shadow: 0 0 0 3px rgba(107, 164, 138, 0.1);
}

.edit-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.btn-edit {
  background: #6BA48A;
  color: white;
}

.btn-edit:hover {
  background: #5a8f75;
}

.btn-save {
  background: #10b981;
  color: white;
}

.btn-save:hover {
  background: #059669;
}

.btn-save:disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

.btn-cancel {
  background: #6b7280;
  color: white;
}

.btn-cancel:hover {
  background: #4b5563;
}

.btn-cancel:disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

/* Modal Actions */
.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.btn-suspend {
  background: #f59e0b;
  color: white;
}

.btn-suspend:hover {
  background: #d97706;
}

.btn-unsuspend {
  background: #10b981;
  color: white;
}

.btn-unsuspend:hover {
  background: #059669;
}

.btn-delete {
  background: #ef4444;
  color: white;
}

.btn-delete:hover {
  background: #dc2626;
}

/* Loading and Error States */
.loading-state,
.error-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.btn-retry {
  padding: 0.75rem 1.5rem;
  background: #00495E;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-retry:hover {
  background: #003646;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .users-table-container {
    overflow-x: auto;
  }

  .users-table {
    min-width: 900px;
  }
}

@media (max-width: 768px) {
  .admin-users-header h1 {
    font-size: 1.5rem;
  }

  .users-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    min-width: 100%;
  }

  .user-info-grid {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    flex-direction: column;
  }

  .pagination {
    flex-direction: column;
    gap: 1rem;
  }
}

.admin-prospects-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.admin-prospects-header {
  margin-bottom: 2rem;
}

.admin-prospects-header h1 {
  color: #00495E;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Controls */
.prospects-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.bulk-actions {
  display: flex;
  gap: 0.75rem;
  margin-left: auto;
}

.btn-bulk-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-activate {
  background: #10b981;
  color: white;
}

.btn-activate:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-deactivate {
  background: #f59e0b;
  color: white;
}

.btn-deactivate:hover {
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Table */
.prospects-table-container {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

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

.prospects-table thead {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.prospects-table th {
  padding: 1rem;
  text-align: left;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prospects-table th.sortable {
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  transition: background-color 0.2s ease;
}

.prospects-table th.sortable:hover {
  background: #f3f4f6;
  color: #00495E;
}

.prospects-table th.sortable:active {
  background: #e5e7eb;
}

.sort-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.25rem;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.sort-icon.active {
  color: #00495E;
}

.prospects-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.prospects-table tbody tr:hover {
  background: #f9fafb;
}

.prospects-table tbody tr.selected {
  background: rgba(107, 164, 138, 0.1);
}

.prospects-table td {
  padding: 1rem;
  color: #00495E;
  font-size: 0.938rem;
}

.prospects-table input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #6BA48A;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.813rem;
  font-weight: 600;
}

.status-badge.enhanced {
  background: rgba(107, 164, 138, 0.2);
  color: #00495E;
}

.status-badge.preview {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.status-badge.failed {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.active-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.813rem;
  font-weight: 600;
}

.active-badge.active {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.active-badge.inactive {
  background: rgba(156, 163, 175, 0.2);
  color: #6b7280;
}

/* Prospect Info Grid */
.prospect-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .prospects-table-container {
    overflow-x: auto;
  }

  .prospects-table {
    min-width: 900px;
  }

  .bulk-actions {
    margin-left: 0;
    width: 100%;
  }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.pagination:last-of-type {
  margin-bottom: 0;
  margin-top: 0;
  border-top: none;
  border-radius: 0 0 12px 12px;
}

.pagination-size-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.pagination-size-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-size-select:hover {
  border-color: #00495E;
}

.pagination-size-select:focus {
  outline: none;
  border-color: #00495E;
  box-shadow: 0 0 0 3px rgba(0, 73, 94, 0.1);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: white;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #00495E;
  color: #00495E;
}

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

.pagination-info {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

@media (max-width: 768px) {
  .admin-prospects-header h1 {
    font-size: 1.5rem;
  }

  .prospects-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .prospect-info-grid {
    grid-template-columns: 1fr;
  }

  .bulk-actions {
    flex-direction: column;
  }

  .pagination {
    flex-direction: column;
    gap: 1rem;
  }

  .pagination-controls {
    width: 100%;
    justify-content: space-between;
  }
}

.admin-harvest-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.admin-harvest-header {
  margin-bottom: 2rem;
}

.admin-harvest-header h1 {
  color: #00495E;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* Prompt Input Section */
.prompt-input-section {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.prompt-input-wrapper {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.prompt-input {
  flex: 1 1;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  color: #00495E;
  transition: all 0.2s ease;
}

.prompt-input:focus {
  outline: none;
  border-color: #6BA48A;
  box-shadow: 0 0 0 3px rgba(107, 164, 138, 0.1);
}

.prompt-input:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}

.btn-add-prompt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: #6BA48A;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-add-prompt:hover:not(:disabled) {
  background: #5a8f75;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 164, 138, 0.3);
}

.btn-add-prompt:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: none;
}

.prompt-counter {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

/* Control Buttons */
.control-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-start {
  background: #10b981;
  color: white;
}

.btn-start:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-pause {
  background: #f59e0b;
  color: white;
}

.btn-pause:hover {
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-resume {
  background: #10b981;
  color: white;
}

.btn-resume:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-stop {
  background: #ef4444;
  color: white;
}

.btn-stop:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-clear {
  background: #6b7280;
  color: white;
}

.btn-clear:hover:not(:disabled) {
  background: #4b5563;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.btn-control:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: none;
}

/* Prompts Queue */
.prompts-queue {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.prompts-queue h3 {
  color: #00495E;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.prompts-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prompt-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.prompt-item.active {
  border-color: #6BA48A;
  background: rgba(107, 164, 138, 0.05);
}

.prompt-item.completed {
  background: rgba(16, 185, 129, 0.05);
}

.prompt-item.failed {
  background: rgba(239, 68, 68, 0.05);
}

.prompt-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #e5e7eb;
  color: #6b7280;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.prompt-item.active .prompt-number {
  background: #6BA48A;
  color: white;
}

.prompt-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.prompt-text {
  color: #00495E;
  font-size: 1rem;
  margin: 0;
}

.results-count {
  color: #6b7280;
  font-size: 0.875rem;
}

.prompt-status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.status-icon {
  flex-shrink: 0;
}

.status-icon.pending {
  color: #6b7280;
}

.status-icon.completed {
  color: #10b981;
}

.status-icon.failed {
  color: #ef4444;
}

.btn-remove-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-remove-prompt:hover {
  background: #f3f4f6;
  color: #ef4444;
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #e5e7eb;
  border-top-color: #6BA48A;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner.large {
  width: 24px;
  height: 24px;
  border-width: 3px;
}

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

/* Current Stage */
.current-stage {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.current-stage h3 {
  color: #00495E;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.stage-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.stage-indicator svg {
  color: #6BA48A;
  flex-shrink: 0;
}

.stage-indicator p {
  color: #00495E;
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
}

.stage-info {
  color: #6b7280;
  font-size: 0.938rem;
  margin: 0;
  text-align: center;
}

/* Activity Log */
.activity-log {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.activity-log h3 {
  color: #00495E;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.log-entries {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.log-entry {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-radius: 6px;
  border-left: 3px solid transparent;
}

.log-entry.info {
  border-left-color: #6BA48A;
}

.log-entry.success {
  border-left-color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}

.log-entry.error {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.log-timestamp {
  color: #6b7280;
  font-size: 0.813rem;
  font-family: monospace;
  white-space: nowrap;
}

.log-message {
  color: #00495E;
  font-size: 0.938rem;
  flex: 1 1;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: white;
  border: 2px dashed #e5e7eb;
  border-radius: 12px;
}

.empty-state svg {
  color: #d1d5db;
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: #6b7280;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.empty-state p {
  color: #9ca3af;
  font-size: 1rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .admin-harvest-header h1 {
    font-size: 1.5rem;
  }

  .prompt-input-wrapper {
    flex-direction: column;
  }

  .control-buttons {
    flex-direction: column;
  }

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

  .prompt-item {
    flex-wrap: wrap;
  }
}

.admin-api-test {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  color: #00495E;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #666;
  font-size: 1rem;
}

.test-controls {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group input {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.test-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-test-all {
  background: #00495E;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-test-all:hover {
  background: #003646;
}

.btn-test-all:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.btn-secondary {
  background: #6BA48A;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #5a8c74;
}

.btn-secondary:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.results-container {
  margin-top: 2rem;
}

.results-summary {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.results-summary h2 {
  font-size: 1.5rem;
  color: #00495E;
  margin-bottom: 1rem;
}

.total-count {
  font-size: 1.2rem;
  color: #333;
}

.total-count strong {
  color: #00495E;
  font-size: 2rem;
}

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

.result-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #ccc;
}

.result-card.success {
  border-left-color: #10b981;
}

.result-card.error {
  border-left-color: #ef4444;
}

.result-card.warning {
  border-left-color: #f59e0b;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.result-header h3 {
  font-size: 1.1rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-success {
  color: #10b981;
}

.status-error {
  color: #ef4444;
}

.status-warning {
  color: #f59e0b;
}

.result-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.result-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
}

.stat-value {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.result-sample {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

.result-sample strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.result-sample ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-sample li {
  padding: 0.25rem 0;
  color: #666;
  font-size: 0.9rem;
}

.result-meta {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  color: #666;
}

.result-error {
  color: #ef4444;
}

.result-error p {
  margin-bottom: 0.5rem;
}

.error-stack {
  background: #fee;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  overflow-x: auto;
  color: #c00;
}

.results-json {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.results-json h3 {
  font-size: 1.2rem;
  color: #00495E;
  margin-bottom: 1rem;
}

.results-json pre {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.5;
}

.admin-contacts-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-left h1 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  color: #003646;
}

.unread-badge {
  background-color: #00495E;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.filters-bar {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #F8F9FA;
  border-radius: 8px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 500;
  color: #003646;
  font-size: 0.875rem;
}

.filter-group select {
  padding: 6px 12px;
  border: 1px solid #DDD;
  border-radius: 6px;
  background: white;
  font-size: 0.875rem;
  color: #003646;
  cursor: pointer;
}

.filter-group select:focus {
  outline: none;
  border-color: #6BA48A;
}

.table-container {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

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

.contacts-table thead {
  background: #F8F9FA;
}

.contacts-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #003646;
  font-size: 0.875rem;
  text-transform: uppercase;
  border-bottom: 2px solid #E0E0E0;
}

.contacts-table tbody tr {
  border-bottom: 1px solid #E0E0E0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.contacts-table tbody tr:hover {
  background-color: #F8F9FA;
}

.contacts-table tbody tr.unread-row {
  background-color: #F0F7FF;
  font-weight: 600;
}

.contacts-table tbody tr.unread-row:hover {
  background-color: #E3F2FD;
}

.contacts-table td {
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #333;
}

.col-checkbox {
  width: 40px;
  text-align: center;
}

.col-checkbox input[type="checkbox"] {
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.col-status {
  width: 120px;
}

.col-subject {
  width: 30%;
  min-width: 200px;
}

.col-name {
  width: 15%;
}

.col-email {
  width: 18%;
}

.col-user {
  width: 100px;
}

.col-date {
  width: 120px;
  color: #666;
}

.col-actions {
  width: 80px;
  text-align: center;
}

.user-account-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #00495E;
}

.user-account-link svg {
  flex-shrink: 0;
}

.user-account-link a {
  color: #00495E;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8125rem;
}

.user-account-link a:hover {
  text-decoration: underline;
}

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

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-new {
  background-color: #E3F2FD;
  color: #1976D2;
}

.status-read {
  background-color: #F3E5F5;
  color: #7B1FA2;
}

.status-replied {
  background-color: #E8F5E9;
  color: #388E3C;
}

.status-closed {
  background-color: #EEEEEE;
  color: #757575;
}

.unread-icon {
  color: #00495E;
  margin-right: 8px;
  vertical-align: middle;
}

.btn-danger {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #D32F2F;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-danger:hover {
  background-color: #B71C1C;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #666;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  color: #00495E;
}

.no-data {
  text-align: center;
  padding: 3rem 1rem;
  color: #999;
  font-style: italic;
}

.error-message {
  background-color: #FFEBEE;
  color: #C62828;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #D32F2F;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
}

.btn-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #DDD;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #003646;
  transition: all 0.2s;
}

.btn-pagination:hover:not(:disabled) {
  background-color: #F8F9FA;
  border-color: #6BA48A;
}

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

.pagination-info {
  font-size: 0.875rem;
  color: #666;
  font-weight: 500;
}

.contact-detail-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

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

.btn-back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid #DDD;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 500;
  color: #003646;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back:hover {
  background-color: #F8F9FA;
  border-color: #6BA48A;
}

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

.status-select {
  padding: 10px 16px;
  border: 1px solid #DDD;
  border-radius: 6px;
  background: white;
  font-size: 0.875rem;
  font-weight: 500;
  color: #003646;
  cursor: pointer;
}

.status-select:focus {
  outline: none;
  border-color: #6BA48A;
}

.btn-delete {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #D32F2F;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-delete:hover {
  background-color: #B71C1C;
}

.contact-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
}

.contact-header {
  background: #F8F9FA;
  padding: 2rem;
  border-bottom: 1px solid #E0E0E0;
}

.contact-meta h1 {
  margin: 0 0 1rem 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #003646;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #666;
}

.meta-item svg {
  color: #6BA48A;
}

.meta-item a {
  color: #00495E;
  text-decoration: none;
}

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

.user-account-section {
  padding: 1.5rem 2rem;
  background: #FFF9E6;
  border-top: 1px solid #E0E0E0;
  border-bottom: 1px solid #E0E0E0;
}

.user-account-section h3 {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #003646;
}

.user-account-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.account-detail-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.account-detail-row strong {
  min-width: 140px;
  color: #003646;
}

.account-detail-row span {
  color: #333;
}

.subscription-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.subscription-badge.Pro {
  background-color: #E8F5E9;
  color: #388E3C;
}

.subscription-badge.none,
.subscription-badge.Free {
  background-color: #F3E5F5;
  color: #7B1FA2;
}

.btn-view-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.5rem;
  padding: 8px 16px;
  background-color: #00495E;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-view-account:hover {
  background-color: #003646;
}

.contact-body {
  padding: 2rem;
}

.contact-body h3 {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #003646;
}

.message-content {
  background: #F8F9FA;
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid #6BA48A;
}

.message-content p {
  margin: 0.5rem 0;
  line-height: 1.6;
  color: #333;
}

.conversation-history {
  padding: 0 2rem 2rem 2rem;
  border-top: 1px solid #E0E0E0;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.conversation-history h3 {
  margin: 0 0 1.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #003646;
}

.reply-item {
  background: #E8F5E9;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border-left: 4px solid #388E3C;
}

.reply-item:last-child {
  margin-bottom: 0;
}

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

.reply-header strong {
  color: #003646;
  font-size: 0.875rem;
}

.reply-date {
  color: #666;
  font-size: 0.75rem;
}

.reply-content p {
  margin: 0.5rem 0;
  line-height: 1.6;
  color: #333;
}

.reply-section {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.reply-section h3 {
  margin: 0 0 1.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #003646;
}

.reply-textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #DDD;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.6;
  resize: vertical;
  margin-bottom: 1rem;
}

.reply-textarea:focus {
  outline: none;
  border-color: #6BA48A;
  box-shadow: 0 0 0 3px rgba(107, 164, 138, 0.1);
}

.reply-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reply-note {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

.btn-send {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #6BA48A;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-send:hover:not(:disabled) {
  background-color: #5A8F75;
}

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

.loading {
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
}

.error-message {
  background-color: #FFEBEE;
  color: #C62828;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #D32F2F;
}

.newsletter-admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

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

.newsletter-admin-header h1 {
  color: #00495E;
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.btn-export {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #6BA48A;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-export:hover {
  background: #5a9379;
  transform: translateY(-1px);
}

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

.stat-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  font-size: 2.5rem;
}

.stat-content {
  flex: 1 1;
}

.stat-label {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.stat-value {
  color: #00495E;
  font-size: 2rem;
  font-weight: 600;
}

.filters {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.filters label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  color: #374151;
}

.filters select {
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.938rem;
  cursor: pointer;
}

.message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.938rem;
}

.message-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.message-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.subscribers-table-container {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

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

.subscribers-table thead {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.subscribers-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.subscribers-table td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.938rem;
  color: #374151;
}

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

.subscribers-table tbody tr:hover {
  background: #f9fafb;
}

.email-cell {
  font-family: 'Monaco', 'Courier New', monospace;
  color: #00495E;
  font-weight: 500;
}

.status-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.813rem;
  font-weight: 500;
}

.status-badge.active {
  background: #d1fae5;
  color: #065f46;
}

.status-badge.unsubscribed {
  background: #fee2e2;
  color: #991b1b;
}

.source-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 6px;
  font-size: 0.813rem;
  font-weight: 500;
  text-transform: capitalize;
}

.date-cell {
  color: #6b7280;
  font-size: 0.875rem;
}

.engagement-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.engagement-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-delete {
  padding: 0.5rem;
  background: #fee2e2;
  color: #991b1b;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-delete:hover {
  background: #fca5a5;
}

.no-data {
  text-align: center;
  padding: 3rem !important;
  color: #6b7280;
}

.loading {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
  font-size: 1.125rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
}

.btn-pagination {
  padding: 0.5rem 1rem;
  background: #00495E;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-pagination:hover:not(:disabled) {
  background: #003646;
  transform: translateY(-1px);
}

.btn-pagination:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: none;
}

.pagination-info {
  color: #374151;
  font-size: 0.938rem;
}

@media (max-width: 768px) {
  .newsletter-admin-container {
    padding: 1rem;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .subscribers-table {
    min-width: 800px;
  }
}

/* Static Pages - Shared Styles */
.static-page {
  min-height: calc(100vh - 200px);
  padding: 4rem 2rem;
  background-color: #f9fafb;
}

.static-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 73, 94, 0.1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.static-container h1 {
  color: #00495E;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.last-updated {
  text-align: center;
  color: #6b7280;
  font-size: 0.938rem;
  margin-bottom: 2rem;
}

.static-section {
  margin-bottom: 2.5rem;
}

.static-section h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.static-section p {
  color: #374151;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.static-section ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.static-section li {
  color: #374151;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* FAQ Specific Styles */
.faq-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.faq-list {
  margin-bottom: 3rem;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: white;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: #00495E;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: #f9fafb;
}

.faq-question.expanded {
  background-color: #f9fafb;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  background: white;
}

.faq-answer p {
  color: #374151;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.faq-cta {
  text-align: center;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 8px;
}

.faq-cta h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-cta p {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Contact Page Specific Styles */
.contact-container {
  max-width: 700px;
}

.contact-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-form {
  margin-bottom: 3rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  color: #374151;
  font-weight: 500;
  font-size: 0.938rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.938rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6BA48A;
  box-shadow: 0 0 0 3px rgba(107, 164, 138, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.btn-submit,
.btn-primary {
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #00495E, #003646);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.btn-submit:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 73, 94, 0.3);
}

.success-message {
  background-color: #d1fae5;
  color: #065f46;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #6ee7b7;
}

.error-message {
  background-color: #fee2e2;
  color: #991b1b;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #fca5a5;
}

.contact-info {
  text-align: center;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 8px;
}

.contact-info h2 {
  color: #00495E;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info p {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

.contact-info a {
  color: #6BA48A;
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  color: #00495E;
}

/* Responsive Design */
@media (max-width: 768px) {
  .static-page {
    padding: 2rem 1rem;
  }

  .static-container {
    padding: 2rem 1.5rem;
  }

  .static-container h1 {
    font-size: 2rem;
  }

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

  .faq-question {
    font-size: 1rem;
    padding: 1rem;
  }

  .faq-answer {
    padding: 0 1rem 1rem 1rem;
  }
}

/*# sourceMappingURL=main.0ffcfba7.css.map*/