/* Merchant Center Audit Report — baterie24-style theme */

:root {
  --gp-primary: #1912cb;
  --gp-primary-dark: #110d8a;
  --gp-text: #313131;
  --gp-text-secondary: #6c757d;
  --gp-border: #e5e7eb;
  --gp-bg: #f5f5f7;
  --gp-white: #ffffff;
  --gp-success: #10b981;
  --gp-warning: #f59e0b;
  --gp-error: #ef4444;
  --gp-info: #3b82f6;
}

.gp-hero {
  background: linear-gradient(135deg, #1912cb 0%, #110d8a 100%);
  padding: 48px 24px 72px;
  color: #fff;
  border-radius: 16px 16px 0 0;
  margin: 24px 0 0;
}
.gp-hero-inner { max-width: 1280px; margin: 0 auto; }
.gp-hero-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  opacity: 0.7;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.gp-hero h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
}
.gp-hero-subtitle { font-size: 16px; opacity: 0.85; margin: 0 0 16px; }
.gp-hero-meta { font-size: 13px; opacity: 0.6; }

.gp-summary-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: -36px auto 32px;
  max-width: 1280px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}
.gp-summary-card {
  background: var(--gp-white);
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid var(--gp-border);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  border-left: 4px solid var(--gp-border);
}
.gp-summary-card.gp-status-green { border-left-color: var(--gp-success); }
.gp-summary-card.gp-status-yellow { border-left-color: var(--gp-warning); }
.gp-summary-card.gp-status-red { border-left-color: var(--gp-error); }
.gp-summary-card.gp-status-gray { border-left-color: var(--gp-text-secondary); }
.gp-summary-label {
  font-size: 13px;
  color: var(--gp-text-secondary);
  font-weight: 500;
  margin-bottom: 4px;
}
.gp-summary-value {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.2;
}
.gp-summary-sub { font-size: 12px; color: var(--gp-text-secondary); }

.gp-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.gp-section {
  background: var(--gp-white);
  border-radius: 12px;
  border: 1px solid var(--gp-border);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.gp-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--gp-primary);
}
.gp-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 12px;
}
.gp-para {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 12px;
  color: var(--gp-text);
}
.gp-empty {
  color: var(--gp-text-secondary);
  font-style: italic;
  padding: 16px 0;
}

/* Loss callouts */
.gp-loss-callout {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.6;
}
.gp-loss-callout strong { display: block; font-size: 15px; margin-bottom: 4px; }
.gp-loss-callout.gp-loss-critical { background: #fee2e2; border-color: #ef4444; }
.gp-loss-callout.gp-loss-good { background: #d1fae5; border-color: #10b981; }

/* Tables */
.gp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 8px;
}
.gp-table th {
  background: var(--gp-bg);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--gp-border);
  font-size: 13px;
  text-transform: none;
}
.gp-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gp-border);
  vertical-align: top;
}
.gp-table tr:hover { background: #f9fafb; }
.gp-table code {
  background: var(--gp-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--gp-primary);
}

/* Tags */
.gp-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.gp-tag-green { background: #d1fae5; color: #065f46; }
.gp-tag-yellow { background: #fef3c7; color: #92400e; }
.gp-tag-red { background: #fee2e2; color: #991b1b; }
.gp-tag-gray { background: #f3f4f6; color: #4b5563; }

/* Score gauge */
.gp-score-gauge {
  text-align: center;
  padding: 20px;
}
.gp-score-label {
  font-size: 14px;
  color: var(--gp-text-secondary);
  margin-bottom: 8px;
}
.gp-score-number {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}
.gp-score-grade {
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
}
.gp-score-green { color: var(--gp-success); }
.gp-score-yellow { color: var(--gp-warning); }
.gp-score-red { color: var(--gp-error); }

/* Layout helpers */
.gp-chart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 768px) {
  .gp-chart-row { grid-template-columns: 1fr; }
  .gp-hero h1 { font-size: 24px; }
  .gp-section { padding: 20px; }
  .gp-summary-strip { margin-top: -24px; }
}

/* KPI row (performance) */
.gp-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.gp-kpi {
  background: var(--gp-bg);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
}
.gp-kpi-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--gp-primary);
}
.gp-kpi-label {
  font-size: 13px;
  color: var(--gp-text-secondary);
  margin-top: 4px;
}

/* Fill bars (feed attribute percentages) */
.gp-fill-bar {
  display: inline-block;
  width: 120px;
  height: 8px;
  background: var(--gp-border);
  border-radius: 4px;
  overflow: hidden;
  margin-right: 8px;
  vertical-align: middle;
}
.gp-fill-bar-inner {
  height: 100%;
  border-radius: 4px;
}
.gp-fill-green { background: var(--gp-success); }
.gp-fill-yellow { background: var(--gp-warning); }
.gp-fill-red { background: var(--gp-error); }

.gp-footer {
  text-align: center;
  padding: 32px;
  color: var(--gp-text-secondary);
  font-size: 13px;
}
.gp-footer a { color: var(--gp-primary); text-decoration: none; }
