﻿.saas-auth {
  display: flex;
  align-items: center;
  gap: 8px;
}
.saas-user {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #374151;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.plan-free { background: #f3f4f6; color: #4b5563; }
.plan-pro { background: #dcfce7; color: #15803d; }
.saas-modal .modal { max-width: 560px; }
.saas-modal textarea, .saas-modal input, .saas-modal select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  resize: vertical;
  font-size: 13px;
}
.score-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 10px;
  color: #fff;
}
.score-good { background: #16a34a; }
.score-mid { background: #f59e0b; }
.score-bad { background: #ef4444; }
.ats-summary {
  text-align: center;
  margin-bottom: 16px;
  font-size: 14px;
  color: #374151;
}
.issue-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 7px;
  font-size: 13px;
}
.issue-item .sev {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.sev-high { background: #fee2e2; color: #b91c1c; }
.sev-medium { background: #fef3c7; color: #b45309; }
.sev-low { background: #dbeafe; color: #1d4ed8; }
.optimize-result {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  min-height: 90px;
  white-space: pre-wrap;
  font-size: 13px;
  color: #374151;
  max-height: 300px;
  overflow: auto;
  margin: 10px 0;
}
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #cbd5e1;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: saas-spin 0.7s linear infinite;
  vertical-align: -3px;
  margin-right: 6px;
}
@keyframes saas-spin { to { transform: rotate(360deg); } }
.auth-error { color: #dc2626; font-size: 12px; margin: 8px 0; }
.hidden { display: none !important; }
.google-signin-wrap { margin-bottom: 10px; }
#googleBtn { width: 100%; margin-bottom: 8px; }
#googleFallback { width: 100%; }


.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 10px;
}
.plan-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: #f8fafc;
  text-align: left;
}
.plan-card-featured {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: #ffffff;
}
.plan-card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 8px;
}
.plan-card-name {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 8px;
}
.plan-card-price {
  font-size: 30px;
  font-weight: 800;
  color: #111827;
}
.plan-card-price small {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  margin-left: 4px;
}
.plan-card-desc {
  margin-top: 8px;
  min-height: 36px;
  color: #6b7280;
  font-size: 12px;
}
#paypalMonthlyBtn,
#paypalLifetimeBtn {
  margin-top: 4px;
}
#paypalMonthlyMockBtn,
#paypalLifetimeMockBtn {
  width: 100%;
  margin-top: 8px;
}
