/* Claude Page Custom Styles */
:root {
  --primary-color: #1a1a2e;
  --secondary-color: #16213e;
  --accent-color: #e94560;
  --accent-light: #f39c12;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #8a8a8a;
  --success-color: #2ecc71;
  --border-color: #3a3a5c;
  --card-bg: rgba(22, 33, 62, 0.7);
  --card-hover: rgba(22, 33, 62, 0.9);
  --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --gradient-accent: linear-gradient(135deg, #e94560 0%, #f39c12 100%);
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.25);
}

body {
  background: var(--gradient-primary);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  margin: 0;
}

/* Ensure all titles and subtitles are bright and readable */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
}

.subtitle, p.subtitle {
  color: var(--text-primary);
}

/* Modern top navigation */
.top-bar {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
}

.top-bar .title-area .name h1 a {
  color: var(--text-primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.top-bar .title-area .name h1 a:hover {
  color: var(--accent-color);
}

/* Main content container */
.claude-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero section */
.claude-hero {
  text-align: center;
  padding: 3rem 0;
  background: var(--card-bg);
  border-radius: 20px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-medium);
}

.claude-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.claude-hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

/* Quick actions section */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.action-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
}

.action-card:hover {
  background: var(--card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--accent-color);
}

.action-card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.action-card .description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Button styles */
.btn-modern {
  display: inline-block;
  padding: 12px 24px;
  background: var(--gradient-accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-light);
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: white;
  text-decoration: none;
}

.btn-modern.secondary {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-modern.secondary:hover {
  background: var(--accent-color);
  color: white;
}

.btn-modern.success {
  background: var(--success-color);
}

.btn-modern.success:hover {
  background: #27ae60;
}

/* Navigation links */
.nav-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.nav-link {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nav-link:hover {
  background: var(--card-hover);
  border-color: var(--accent-light);
  transform: translateX(5px);
}

.nav-link a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  display: block;
}

.nav-link a:hover {
  color: var(--accent-light);
}

/* Status section */
.status-section {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  margin: 2rem 0;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
}

.status-section h2 {
  color: var(--accent-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success-color);
  animation: pulse 2s infinite;
}

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

/* Queue data styling */
#queueData {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color) !important;
  border-radius: 10px;
  padding: 1rem;
  min-height: 100px;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  color: var(--text-secondary);
}

/* Child pages and attachments sections */
.section-header {
  color: var(--accent-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

/* Responsive design */
@media (max-width: 768px) {
  .claude-container {
    padding: 1rem;
  }
  
  .claude-hero h1 {
    font-size: 2rem;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    grid-template-columns: 1fr;
  }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

/* Foundation overrides */
.button.round.success {
  background: var(--success-color);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.button.round.success:hover {
  background: #27ae60;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.button.tiny.round {
  background: var(--accent-color);
  border: none;
  color: white;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.button.tiny.round:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* Breadcrumb styling */
.breadcrumbs {
  background: rgba(22, 33, 62, 0.5);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  backdrop-filter: blur(5px);
}

.breadcrumbs a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--accent-light);
}
