/* Main Styles for Our AI Legacy App - Updated Brand Colors */

:root {
  /* Base Color Palette */
  --white: #fefefe;
  --satin-sheen-gold: #C39D43;
  --black: #000000;
  --night: #141414;
  --bistre: #27200e;
  
  /* Light Theme Colors */
  --text-primary: var(--black);
  --text-secondary: #666666;
  --text-muted: #999999;
  --background-primary: var(--white);
  --background-secondary: #f8f9fa;
  --border-color: #e5e5e5;
  --accent-color: var(--satin-sheen-gold);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
  
  /* Brand Colors (for backwards compatibility) */
  --brand-gold: var(--satin-sheen-gold);
  --brand-black: var(--black);
  --brand-white: var(--white);
  
  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Spacing */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
}

/* Dark Theme */
[data-theme="dark"] {
  /* Dark Theme Colors */
  --text-primary: var(--white);
  --text-secondary: #b3b3b3;
  --text-muted: #808080;
  --background-primary: var(--night);
  --background-secondary: var(--bistre);
  --border-color: #404040;
  --accent-color: var(--satin-sheen-gold);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.6);
}

/* System Theme Preference */
@media (prefers-color-scheme: dark) {
  [data-theme="system"] {
    /* Dark Theme Colors for System Preference */
    --text-primary: var(--white);
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --background-primary: var(--night);
    --background-secondary: var(--bistre);
    --border-color: #404040;
    --accent-color: var(--satin-sheen-gold);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.6);
  }
}

@media (prefers-color-scheme: light) {
  [data-theme="system"] {
    /* Light Theme Colors for System Preference */
    --text-primary: var(--black);
    --text-secondary: #666666;
    --text-muted: #999999;
    --background-primary: var(--white);
    --background-secondary: #f8f9fa;
    --border-color: #e5e5e5;
    --accent-color: var(--satin-sheen-gold);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: var(--background-primary, #fefefe);
  color: var(--text-primary, #000000);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border: 3px solid var(--text-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s ease;
  color: var(--text-primary);
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

.btn-primary {
  background: var(--accent-color);
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-primary:hover {
  background: #a8832b;
  border-color: #a8832b;
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: var(--background-secondary);
  border-color: var(--brand-gold);
}

/* Hero Section */
.hero {
  position: relative;
  color: var(--white);
  padding: calc(var(--space-20) + 2rem) 0;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero .container {
  max-width: none;
  width: 95%;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/creating.png') center center;
  background-size: cover;
  background-attachment: fixed;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.hero-content {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  padding: var(--space-16) var(--space-8);
}


.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.2;
  color: var(--white);
}

/* Typing Effect Styles */
.typing-line-1 {
  display: inline;
}

.typing-line-2 {
  display: inline;
  color: #10b981;
  position: relative;
}

.typing-line-2::after {
  content: '|';
  color: #10b981;
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

.typewriter-text {
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  animation: typewriter 2s steps(40, end);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--white);
  margin-bottom: var(--space-8);
  line-height: 1.6;
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-type {
  font-size: 2.7rem;
  margin: -20px;
}

.hero-cta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-12);
}

.hero-cta .btn-primary {
  background: var(--satin-sheen-gold);
  color: var(--black);
  border-color: var(--satin-sheen-gold);
  font-weight: 600;
}

.hero-cta .btn-primary:hover {
  background: #d4af56;
  border-color: #d4af56;
  transform: translateY(-2px);
}

.hero-cta .btn-outline {
  background: transparent;
  color: var(--white);
  border: 3px solid var(--white);
  font-weight: 600;
}

.hero-cta .btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.hero .btn-secondary {
  background: transparent;
  color: var(--brand-black);
  border: 2px solid var(--border-color);
}

.hero .btn-secondary:hover {
  background: var(--background-secondary);
  border-color: var(--brand-gold);
}

/* Trusted By Section */
.trusted-by {
  background: var(--background-secondary);
  padding: var(--space-20) 0;
  text-align: center;
}

.trusted-content {
  max-width: 1000px;
  margin: 0 auto;
}

.trusted-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color: var(--text-secondary);
  font-weight: 600;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 60px;
}

.partner-logo {
  background: var(--background-primary);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.partner-logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.partner-logo img {
  width: 100%;
  height: 40px;
  object-fit: contain;
  opacity: 0.7;
}

/* Endorsement */
.endorsement {
  background: var(--background-primary);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-color);
  max-width: 700px;
  margin: 0 auto;
}

.endorsement-quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.endorsement-author {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 600;
}

/* Features Section */
.features {
  padding: 120px 0;
  background: var(--background-secondary);
}

.features-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.features-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.features-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--background-primary);
  padding: 40px 32px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--black) 0%, var(--accent-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 120px 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 1080px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Social Links */
.cta-social {
  margin-top: 40px;
}

.social-label {
  font-size: 0.9rem;
  margin-bottom: 20px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(195, 157, 67, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.2s;
  border: 1px solid rgba(195, 157, 67, 0.2);
}

.social-link:hover {
  background: rgba(195, 157, 67, 0.2);
  transform: translateY(-2px);
  border-color: var(--accent-color);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Error Page Styles */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.error-container {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.error-icon {
  margin-bottom: 2rem;
}

.error-svg {
  width: 80px;
  height: 80px;
  color: #f59e0b;
  margin: 0 auto;
}

.error-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.error-message {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 300px;
  margin: 0 auto;
}

.error-actions .btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.error-actions .btn-primary {
  background-color: #059669;
  color: white;
  border: 2px solid #059669;
}

.error-actions .btn-primary:hover {
  background-color: #047857;
  border-color: #047857;
}

.error-actions .btn-secondary {
  background-color: transparent;
  color: #374151;
  border: 2px solid #d1d5db;
}

.error-actions .btn-secondary:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

/* Hero Responsive Enhancements */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: var(--space-16) 0;
  }
  
  .hero::before {
    background-attachment: scroll;
    background-position: 65% center;
  }
  
  .hero-content {
    padding: var(--space-12) var(--space-6);
    border-radius: 16px;
    margin: 0 var(--space-4);
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--space-6);
  }


  .hero-cta {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    width: 100%;
    margin: 0 var(--space-4);
    padding: var(--space-12) var(--space-6);
  }
}

@media (max-width: 480px) {
  .hero-content {
    width: 100%;
    margin: 0 var(--space-2);
    padding: var(--space-8) var(--space-4);
  }
}

/* Hero Parallax Effect */
@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    will-change: transform;
  }
}

/* Hero additional visual enhancements */
.hero {
  background-attachment: fixed;
}

.hero::before {
  filter: contrast(1.1) brightness(0.95) saturate(1.1);
}


/* Original Responsive Design continues */
@media (max-width: 768px) {
  
  .features-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-large {
    width: 100%;
    max-width: 300px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .paths-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Section Alternating Styling */
section {
  padding: 80px 0;
  position: relative;
}

/* Alternating background colors */
section:nth-child(odd) {
  background-color: var(--background-primary);
}

section:nth-child(even) {
  background-color: var(--background-secondary);
}

/* Three Paths Section */
.three-paths {
  background: linear-gradient(135deg, #C39D43 0%, #FFFFFF 100%);
  color: black;
}

.three-paths .section-title {
  color: black;
}

.three-paths .section-subtitle {
  color: black;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.path-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.path-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.path-icon {
  margin-bottom: 20px;
}

.path-icon img {
  width: 60px;
  height: auto;
  filter: brightness(0);
}

.path-icon svg {
  width: 50%;
  height: auto;
  color: #000000;
}

.path-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: black;
}

.path-link {
  text-decoration: none;
  color: inherit;
}

.path-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: black;
}

.path-card .btn {
  background: transparent;
  color: black;
  border: 3px solid black;
  transition: all 0.3s ease;
}

.path-card .btn:hover {
  background: black;
  color: white;
  border-color: black;
  transform: translateY(-2px);
}

/* Our Team Section */
.our-team {
  background-color: white;
}

/* Footer Section - Dark background */
.site-footer {
  background: linear-gradient(135deg, var(--black) 0%, var(--night) 100%) !important;
  color: var(--white);
  padding: 120px 0;
  text-align: center;
}

.footer-content {
  max-width: 1080px;
  margin: 0 auto;
}

.footer-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
  color: rgba(254, 254, 254, 0.9);
}

.footer-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Footer Request Demo Button - Always contrasting to footer background */
.footer-demo-btn {
  background: transparent !important;
  color: #FEFEFE !important;
  border: 3px solid #FEFEFE !important;
}

.footer-demo-btn:hover {
  background: #FEFEFE !important;
  color: var(--black) !important;
  border-color: #FEFEFE !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.footer-social {
  margin-top: 40px;
}

.footer-social .social-label {
  color: rgba(254, 254, 254, 0.9);
}

/* Footer Legal Links */
.footer-legal {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(254, 254, 254, 0.2);
}

.legal-link {
  color: rgba(254, 254, 254, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: rgba(254, 254, 254, 1);
  text-decoration: none;
}

.legal-separator {
  color: rgba(254, 254, 254, 0.4);
  margin: 0 12px;
  font-weight: 300;
}

/* CTA Section - Dark background */
.cta {
  background: linear-gradient(135deg, var(--black) 0%, var(--night) 100%) !important;
  color: var(--white);
}

.cta .cta-title {
  color: var(--white);
}

.cta .cta-subtitle {
  color: rgba(254, 254, 254, 0.9);
}

.cta .social-label {
  color: rgba(254, 254, 254, 0.9);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-top: 60px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.team-member {
  text-align: center;
  background: var(--background-secondary);
  border-radius: 16px;
  padding: 40px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--border-color);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.member-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.member-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

/* Smooth scrolling for anchors */
html {
  scroll-behavior: smooth;
}

/* Toolbar Button Exclusions - Keep Original Styling */
.global-toolbar .btn,
.toolbar-nav .btn,
.btn-get-started,
.btn-login,
.profile-trigger {
  border: 2px solid transparent;
  color: inherit;
}

.global-toolbar .btn-primary,
.toolbar-nav .btn-primary,
.btn-get-started {
  background: var(--accent-color);
  color: var(--brand-black);
  border-color: var(--accent-color);
}

.global-toolbar .btn-secondary,
.toolbar-nav .btn-secondary,
.btn-login {
  background: transparent;
  color: var(--brand-black);
  border-color: var(--border-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .site-footer {
    padding: 80px 0;
  }
  
  .footer-title {
    font-size: 2rem;
  }
  
  .footer-subtitle {
    font-size: 1.1rem;
  }
  
  .footer-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (min-width: 640px) {
  .error-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .error-actions .btn {
    width: auto;
    min-width: 140px;
  }
}

/* System dialog and alert button overrides only */
button[data-testid="confirm"],
button[data-testid="ok"],
.confirm-button,
.ok-button,
.dialog-button,
.alert-button,
dialog button {
  background: #000000 !important;
  color: #FEFEFE !important;
  border: 1px solid #333333 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}

/* Content Type Selection Styles */
.content-type-selection-container {
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  margin-bottom: var(--space-6);
}

.content-selection-header h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.content-selection-header p {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.content-types-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  color: var(--text-secondary);
}

.content-types-loading .loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top: 2px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: var(--space-3);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.content-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.content-type-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.content-type-item:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow);
}

.content-type-checkbox {
  display: block;
  padding: var(--space-4);
  cursor: pointer;
  width: 100%;
}

.content-type-checkbox input[type="checkbox"] {
  margin-right: var(--space-3);
  transform: scale(1.2);
}

.content-type-info {
  flex: 1;
}

.content-type-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-2);
}

.content-type-icon {
  font-size: var(--font-size-lg);
  margin-right: var(--space-3);
}

.content-type-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-size-base);
}

.content-type-description {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.content-type-meta {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  font-style: italic;
}

.content-selection-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-color);
}

.selection-actions {
  display: flex;
  gap: var(--space-2);
}

.selection-info {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.content-type-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  color: #991b1b;
}

[data-theme="dark"] .content-type-error {
  background: #312e2e;
  border-color: #6b4646;
  color: #fca5a5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content-types-grid {
    grid-template-columns: 1fr;
  }
  
  .content-selection-controls {
    flex-direction: column;
    gap: var(--space-3);
    align-items: stretch;
  }
  
  .selection-actions {
    justify-content: center;
  }
}
