/* ============================================
   PostPro Nexus - Benchmarking Portal Styles
   Customer-facing portal with Nexus branding
   ============================================ */

:root {
  --bg-color: #F0F2F5;
  --card-bg: #FFFFFF;
  --text-main: #1A202C;
  --text-muted: #718096;
  --accent-color: #000000;
  --tech-blue: #3B82F6;
  --tech-cyan: #06B6D4;
  --tech-green: #10B981;
  --tech-red: #EF4444;
  --tech-purple: #8B5CF6;
  --tech-orange: #F59E0B;
  --border-color: #E2E8F0;
  --grid-line: rgba(0, 0, 0, 0.05);
}

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

body { 
  background-color: var(--bg-color);
  background-image: 
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--text-main); 
  font-family: 'Rajdhani', sans-serif; 
  min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-font {
  font-family: 'Share Tech Mono', monospace;
}

/* --- Header --- */
.header { 
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--text-main);
  padding: 12px 24px; 
  position: sticky; 
  top: 0; 
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  height: 70px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-divider {
  height: 24px;
  width: 2px;
  background: var(--text-main);
  margin: 0 8px;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  text-transform: uppercase;
  padding: 8px 16px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--text-main);
  border-color: var(--border-color);
  background: rgba(0, 0, 0, 0.02);
}

/* --- Buttons --- */
.btn { 
  background: var(--text-main); 
  color: white; 
  padding: 10px 24px; 
  font-family: 'Share Tech Mono', monospace; 
  text-transform: uppercase; 
  font-size: 14px;
  border: 1px solid var(--text-main); 
  cursor: pointer; 
  transition: all 0.2s; 
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.05em;
}

.btn:hover { 
  background: transparent; 
  color: var(--text-main); 
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-secondary { 
  background: transparent; 
  color: var(--text-main); 
  border: 1px solid var(--border-color);
  padding: 10px 24px; 
  cursor: pointer; 
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase; 
  font-size: 14px; 
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  letter-spacing: 0.05em;
}

.btn-secondary:hover { 
  background: var(--border-color); 
  border-color: var(--text-main); 
}

.btn-cyan {
  background: var(--tech-cyan);
  border-color: var(--tech-cyan);
}

.btn-cyan:hover {
  background: transparent;
  color: var(--tech-cyan);
}

.btn-green {
  background: var(--tech-green);
  border-color: var(--tech-green);
}

.btn-green:hover {
  background: transparent;
  color: var(--tech-green);
}

/* --- Cards --- */
.card { 
  background: var(--card-bg); 
  border: 1px solid var(--border-color); 
  position: relative;
  padding: 24px; 
  clip-path: polygon(
    0 0, 
    100% 0, 
    100% calc(100% - 15px), 
    calc(100% - 15px) 100%, 
    0 100%, 
    0 15px,
    15px 0
  );
}

.card::before {
  content: ''; 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 30px; 
  height: 30px;
  border-top: 2px solid var(--text-main); 
  border-left: 2px solid var(--text-main); 
  pointer-events: none;
}

.card::after {
  content: ''; 
  position: absolute; 
  bottom: 0; 
  right: 0; 
  width: 30px; 
  height: 30px;
  border-bottom: 2px solid var(--text-main); 
  border-right: 2px solid var(--text-main); 
  pointer-events: none;
}

.card-simple {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 24px;
}

/* --- Form Inputs --- */
.input, .form-input, .form-select, .form-textarea { 
  background: #F8FAFC; 
  border: 1px solid var(--border-color); 
  padding: 12px 14px; 
  color: var(--text-main); 
  width: 100%; 
  font-family: 'Share Tech Mono', monospace;
  transition: border-color 0.2s;
  font-size: 14px;
}

.input:focus, .form-input:focus, .form-select:focus, .form-textarea:focus { 
  outline: none; 
  border-color: var(--text-main); 
  background: white; 
}

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

.form-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.form-label .required {
  color: var(--tech-red);
}

.form-group {
  margin-bottom: 16px;
}

.form-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: 'Share Tech Mono', monospace;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group.full-width {
  grid-column: span 2;
}

@media (max-width: 600px) {
  .form-group.full-width {
    grid-column: span 1;
  }
}

/* --- Badges --- */
.badge { 
  display: inline-block; 
  padding: 4px 12px; 
  font-size: 11px; 
  font-weight: 600; 
  font-family: 'Share Tech Mono', monospace; 
  text-transform: uppercase; 
  border: 1px solid transparent;
  letter-spacing: 0.05em;
}

.badge-green { 
  background: rgba(16, 185, 129, 0.1); 
  color: var(--tech-green); 
  border-color: var(--tech-green); 
}

.badge-cyan { 
  background: rgba(6, 182, 212, 0.1); 
  color: var(--tech-cyan); 
  border-color: var(--tech-cyan); 
}

.badge-blue { 
  background: rgba(59, 130, 246, 0.1); 
  color: var(--tech-blue); 
  border-color: var(--tech-blue); 
}

.badge-purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--tech-purple);
  border-color: var(--tech-purple);
}

.badge-orange {
  background: rgba(245, 158, 11, 0.1);
  color: var(--tech-orange);
  border-color: var(--tech-orange);
}

.badge-red { 
  background: rgba(239, 68, 68, 0.1); 
  color: var(--tech-red); 
  border-color: var(--tech-red); 
}

.badge-gray { 
  background: #E2E8F0; 
  color: var(--text-muted); 
}

/* --- Stat Boxes --- */
.stat-box { 
  padding: 20px; 
  background: #F8FAFC; 
  border: 1px solid var(--border-color); 
  text-align: center;
}

.stat-number { 
  font-family: 'Share Tech Mono', monospace; 
  font-size: 36px; 
  font-weight: 700; 
  margin-bottom: 4px; 
  color: var(--tech-cyan);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 0;
  width: 32px;
  height: 32px;
  background: white;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  font-weight: 700;
}

.timeline-item.completed .timeline-dot {
  background: var(--tech-green);
  border-color: var(--tech-green);
  color: white;
}

.timeline-item.completed .timeline-dot::after {
  content: '✓';
  font-size: 14px;
}

.timeline-item.active .timeline-dot {
  background: var(--tech-cyan);
  border-color: var(--tech-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
}

.timeline-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-content p {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Share Tech Mono', monospace;
}

.timeline-item.pending .timeline-content h4 {
  color: var(--text-muted);
}

/* --- Messages --- */
.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--tech-red);
  color: var(--tech-red);
  padding: 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

.success-message {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--tech-green);
  color: var(--tech-green);
  padding: 32px;
  text-align: center;
  display: none;
}

.success-message h3 {
  font-size: 24px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.warning-message {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--tech-orange);
  color: #92400E;
  padding: 12px 16px;
  font-size: 13px;
  font-family: 'Share Tech Mono', monospace;
}

/* --- Tables --- */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: #F8FAFC;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  font-family: 'Share Tech Mono', monospace;
}

tr:hover {
  background: #FAFAFA;
}

/* --- Hero Section --- */
.hero {
  padding: 80px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero h1 .highlight {
  color: var(--tech-cyan);
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 16px;
  }
}

/* --- Sections --- */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.section-title::before,
.section-title::after {
  content: '';
  width: 60px;
  height: 2px;
  background: var(--text-main);
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.step {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  padding: 32px;
  text-align: center;
  position: relative;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--text-main);
  border-left: 2px solid var(--text-main);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--text-main);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
  font-family: 'Share Tech Mono', monospace;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* --- Benefits --- */
.benefits-section {
  background: rgba(255, 255, 255, 0.5);
}

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

.benefit {
  background: white;
  border: 1px solid var(--border-color);
  padding: 28px;
  position: relative;
}

.benefit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tech-cyan);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.benefit h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.benefit p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* --- Locations --- */
.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.location {
  background: white;
  border: 1px solid var(--border-color);
  padding: 32px;
  text-align: center;
  position: relative;
}

.location::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--text-main);
  border-left: 2px solid var(--text-main);
}

.location::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border-bottom: 2px solid var(--text-main);
  border-right: 2px solid var(--text-main);
}

.location-flag {
  font-size: 48px;
  margin-bottom: 16px;
}

.location h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.location p {
  color: var(--text-muted);
  font-size: 13px;
  font-family: 'Share Tech Mono', monospace;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--text-main);
  padding: 80px 24px;
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: white;
  color: var(--text-main);
  padding: 16px 32px;
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  letter-spacing: 0.05em;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* --- Footer --- */
.footer {
  background: var(--text-main);
  color: white;
  padding: 40px 24px;
  text-align: center;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 0 16px;
  font-size: 13px;
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-family: 'Share Tech Mono', monospace;
}

/* --- Page Container --- */
.main-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-family: 'Share Tech Mono', monospace;
}

/* --- Batches --- */
.batch-container {
  border: 1px solid var(--border-color);
  background: #F8FAFC;
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
}

.batch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.batch-title {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.remove-batch {
  background: transparent;
  border: 1px solid var(--tech-red);
  color: var(--tech-red);
  cursor: pointer;
  font-size: 11px;
  padding: 4px 12px;
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  transition: all 0.2s;
}

.remove-batch:hover {
  background: var(--tech-red);
  color: white;
}

.add-batch-btn {
  width: 100%;
  padding: 16px;
  border: 2px dashed var(--border-color);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.add-batch-btn:hover {
  border-color: var(--tech-cyan);
  color: var(--tech-cyan);
  background: rgba(6, 182, 212, 0.05);
}

/* --- Form Sections --- */
.form-section {
  background: white;
  border: 1px solid var(--border-color);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--text-main);
  border-left: 2px solid var(--text-main);
}

.form-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border-bottom: 2px solid var(--text-main);
  border-right: 2px solid var(--text-main);
}

.form-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-section-title .number {
  width: 32px;
  height: 32px;
  background: var(--text-main);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Share Tech Mono', monospace;
}

/* --- Checkbox --- */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--text-main);
  cursor: pointer;
}

.checkbox-label {
  font-size: 14px;
  color: var(--text-main);
}

.checkbox-label strong {
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.checkbox-label span {
  color: var(--text-muted);
  font-size: 13px;
}

/* --- Submit Button --- */
.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--text-main);
  color: white;
  border: 2px solid var(--text-main);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.submit-btn:hover {
  background: transparent;
  color: var(--text-main);
}

.submit-btn:disabled {
  background: var(--text-muted);
  border-color: var(--text-muted);
  cursor: not-allowed;
}

/* --- Status Badges --- */
.current-status {
  display: inline-block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid;
}

.current-status.form_submitted { background: rgba(59, 130, 246, 0.1); color: var(--tech-blue); border-color: var(--tech-blue); }
.current-status.parts_received { background: rgba(139, 92, 246, 0.1); color: var(--tech-purple); border-color: var(--tech-purple); }
.current-status.processing { background: rgba(245, 158, 11, 0.1); color: var(--tech-orange); border-color: var(--tech-orange); }
.current-status.processed { background: rgba(6, 182, 212, 0.1); color: var(--tech-cyan); border-color: var(--tech-cyan); }
.current-status.shipped { background: rgba(16, 185, 129, 0.1); color: var(--tech-green); border-color: var(--tech-green); }
.current-status.completed { background: rgba(16, 185, 129, 0.15); color: var(--tech-green); border-color: var(--tech-green); }

/* --- Tracking Info --- */
.tracking-info {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  padding: 20px;
  margin-top: 24px;
}

.tracking-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tracking-info a {
  color: var(--tech-cyan);
  text-decoration: none;
  font-weight: 600;
  font-family: 'Share Tech Mono', monospace;
}

.tracking-info a:hover {
  text-decoration: underline;
}

/* --- Report Styles --- */
.report-header {
  background: var(--text-main);
  color: white;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.report-header-left h1 {
  font-size: 28px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.report-header-left .subtitle {
  opacity: 0.8;
  font-size: 14px;
  font-family: 'Share Tech Mono', monospace;
}

.report-header-right {
  text-align: right;
}

.report-header-right .benchmark-num {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Share Tech Mono', monospace;
}

.report-header-right .date {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 4px;
  font-family: 'Share Tech Mono', monospace;
}

.report-body {
  padding: 40px;
  background: white;
}

.quality-section {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.quality-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid;
}

.quality-badge.yes {
  background: rgba(16, 185, 129, 0.1);
  color: var(--tech-green);
  border-color: var(--tech-green);
}

.quality-badge.no {
  background: rgba(239, 68, 68, 0.1);
  color: var(--tech-red);
  border-color: var(--tech-red);
}

.quality-badge .icon {
  font-size: 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

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

.info-card {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  padding: 24px;
}

.info-card .label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.info-card .value {
  font-size: 18px;
  font-weight: 600;
}

.machine-card {
  display: flex;
  gap: 20px;
  align-items: center;
}

.machine-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--border-color);
  padding: 8px;
}

.photos-section {
  margin-bottom: 40px;
}

.photos-section .section-title {
  font-size: 18px;
  margin-bottom: 20px;
  justify-content: flex-start;
  text-transform: uppercase;
}

.photos-section .section-title::before,
.photos-section .section-title::after {
  display: none;
}

.photos-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 600px) {
  .photos-comparison { grid-template-columns: 1fr; }
}

.photo-column h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.photo-column.before h4 { color: var(--tech-red); border-color: var(--tech-red); }
.photo-column.after h4 { color: var(--tech-green); border-color: var(--tech-green); }

.photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.photo-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
}

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

.features-section {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  padding: 32px;
}

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

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

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--text-main);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.feature-text p {
  font-size: 13px;
  color: var(--text-muted);
}

.report-footer {
  border-top: 1px solid var(--border-color);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  background: white;
}

/* --- Loading --- */
@keyframes spin { 
  to { transform: rotate(360deg); } 
}

.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

/* --- Scrollbars --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* --- Print Styles --- */
@media print {
  body { background: white; }
  .header { display: none !important; }
  .btn { display: none !important; }
}
