/* Styles for AIBeatYou */
/* Currently using Tailwind CSS via CDN */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

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

::-webkit-scrollbar-track {
  background: #0f172a; 
}

::-webkit-scrollbar-thumb {
  background: #334155; 
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569; 
}

/* PDF Template Styles - Pure CSS to avoid Tailwind oklch issues */

.pdf-page {
  width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  color: #0f172a;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding: 40px;
  box-sizing: border-box;
}

.page-break-after {
  page-break-after: always;
}

.pdf-cover {
  height: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: 4px solid #10b981;
  margin-bottom: 40px;
}

.pdf-title {
  font-size: 60px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.pdf-subtitle {
  font-size: 30px;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.pdf-text-lg { font-size: 20px; color: #64748b; }
.pdf-text-muted { color: #94a3b8; margin-top: 80px; }

.pdf-section-title {
  font-size: 24px;
  font-weight: 700;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
  margin-bottom: 24px;
  color: #047857;
}

.pdf-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.pdf-card {
  padding: 16px;
  background-color: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.pdf-card-label { font-size: 14px; color: #64748b; text-transform: uppercase; }
.pdf-card-value { font-size: 30px; font-weight: 700; color: #0f172a; }
.pdf-card-value.highlight { color: #059669; }
.pdf-card-sub { font-size: 12px; color: #94a3b8; }

.pdf-text-body { color: #475569; line-height: 1.6; }

.pdf-table {
  width: 100%;
  text-align: left;
  font-size: 14px;
  border-collapse: collapse;
}

.pdf-table th {
  padding: 12px;
  border: 1px solid #cbd5e1;
  background-color: #f1f5f9;
  color: #334155;
}

.pdf-table td {
  padding: 12px;
  border: 1px solid #e2e8f0; /* Fallback hex */
  border-color: #e2e8f0;
}

.pdf-row { border-bottom: 1px solid #f1f5f9; }
.pdf-cell-name { font-weight: 600; color: #1e293b; }
.pdf-cell-highlight { font-weight: 700; color: #059669; }

.pdf-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}
.pdf-badge-red { background-color: #fee2e2; color: #b91c1c; }
.pdf-badge-orange { background-color: #ffedd5; color: #c2410c; }
.pdf-badge-yellow { background-color: #fef9c3; color: #a16207; }
.pdf-badge-green { background-color: #dcfce7; color: #15803d; }

.pdf-list-item {
  padding: 16px;
  background-color: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  break-inside: avoid;
  margin-bottom: 16px;
}

.pdf-item-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.pdf-item-title { font-size: 18px; font-weight: 700; color: #1e293b; margin: 0; }
.pdf-item-tag { font-size: 12px; background-color: #e2e8f0; padding: 4px 8px; border-radius: 4px; color: #475569; }
.pdf-item-note { font-size: 14px; color: #475569; margin-bottom: 12px; font-style: italic; }
.pdf-item-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; font-size: 14px; }
.pdf-stat-label { color: #64748b; }
.pdf-stat-value { font-weight: 700; color: #0f172a; }
.pdf-stat-value.highlight { color: #059669; }

.pdf-footer {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}
