/* Future Office Page Styles */

:root {
  --ink: #1a1a1a;
  --teal: #0d9488;
  --gold: #d97706;
  --card: #ffffff;
  --muted: #6b7280;
  --bg: #f7f8fa;
  --border: #e5e7eb;
}

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

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.logo-accent {
  color: var(--teal);
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

/* Main Content */
.office-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 4rem;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-family: 'Fraunces', serif;
  margin-bottom: 1rem;
  color: var(--ink);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Pipeline Section */
.pipeline-section {
  margin-bottom: 4rem;
}

.pipeline-section h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--ink);
}

.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.pipeline.secondary {
  opacity: 0.7;
}

.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 8px;
  min-width: 100px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}

.pipeline-node:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

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

.node-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.pipeline-arrow {
  font-size: 1.5rem;
  color: var(--muted);
}

/* Log Stream Section */
.log-stream-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

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

.log-header h2 {
  font-size: 1.5rem;
  color: var(--ink);
}

.log-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-filter,
.btn-refresh {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.btn-filter:hover,
.btn-filter.active,
.btn-refresh:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

/* Log Stream */
.log-stream {
  max-height: 600px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafbfc;
}

.log-entry {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background 0.2s;
}

.log-entry:hover {
  background: #f0f9ff;
}

.log-entry:last-child {
  border-bottom: none;
}

.log-status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  flex-shrink: 0;
}

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

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

.log-status.partial {
  background: #fef3c7;
  color: #92400e;
}

.log-content {
  flex: 1;
}

.log-agent {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.log-summary {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.25rem 0;
}

.log-time {
  font-size: 0.8rem;
  color: #9ca3af;
}

.log-empty {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .pipeline {
    gap: 0.5rem;
  }

  .pipeline-node {
    min-width: 80px;
    padding: 0.75rem;
  }

  .node-icon {
    font-size: 1.2rem;
  }

  .node-label {
    font-size: 0.75rem;
  }

  .log-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .log-stream {
    max-height: 400px;
  }
}
