/* Pickleball Paddy — Banned Paddle Checker styles */

:root {
  --ochre: #CC7722;
  --sky-blue: #87CEEB;
  --eucalyptus: #9CAF88;
  --cream: #FFF8E7;
  --charcoal: #2F2F2F;
  --light-gray: #E8E5DD;
  --green: #4A8B3D;
  --red: #C73E2C;
  --amber: #D89400;
  --shadow: 0 2px 8px rgba(47, 47, 47, 0.08);
  --shadow-hover: 0 4px 16px rgba(47, 47, 47, 0.15);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  min-height: 100vh;
}

.checker-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* HEADER */
.brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--ochre);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ochre);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--charcoal);
  opacity: 0.7;
}

h1 {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.checker-intro {
  font-size: 1.05rem;
  color: var(--charcoal);
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.last-updated {
  font-size: 0.85rem;
  color: var(--ochre);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* SEARCH */
.search-section {
  margin-bottom: 1.5rem;
}

.search-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  border: 2px solid var(--ochre);
  border-radius: 8px;
  background: white;
  color: var(--charcoal);
  font-family: inherit;
  box-shadow: var(--shadow);
}

.search-input:focus {
  outline: none;
  border-color: var(--ochre);
  box-shadow: var(--shadow-hover), 0 0 0 3px rgba(204, 119, 34, 0.15);
}

.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid var(--ochre);
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: var(--shadow-hover);
  z-index: 10;
}

.suggestion-item {
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  border-bottom: 1px solid var(--light-gray);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
  background: var(--cream);
}

.suggestion-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.suggestion-status.approved {
  background: var(--green);
  color: white;
}

.suggestion-status.banned {
  background: var(--red);
  color: white;
}

.suggestion-status.delisted {
  background: var(--amber);
  color: white;
}

/* RESULT */
.result-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.result-status-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.result-status-banner.approved {
  background: var(--green);
  color: white;
}

.result-status-banner.banned {
  background: var(--red);
  color: white;
}

.result-status-banner.delisted {
  background: var(--amber);
  color: white;
}

.result-status-banner.unknown {
  background: var(--light-gray);
  color: var(--charcoal);
}

.status-icon {
  font-size: 2rem;
  font-weight: 800;
}

.status-text-block h2 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.status-text-block p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.result-details h3 {
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.org-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.org-status {
  background: var(--cream);
  padding: 0.75rem;
  border-radius: 6px;
  text-align: center;
  border: 2px solid var(--light-gray);
}

.org-status.approved {
  border-color: var(--green);
}

.org-status.banned {
  border-color: var(--red);
}

.org-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.org-status-text {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.alternative-block {
  background: var(--cream);
  border-left: 4px solid var(--ochre);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 0 6px 6px 0;
}

.alternative-block h3 {
  margin-top: 0;
}

.btn-amazon {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  background: var(--ochre);
  color: white;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.btn-amazon:hover {
  background: #B36420;
}

.btn-clear {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  background: white;
  color: var(--charcoal);
  border: 2px solid var(--light-gray);
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  margin-top: 1rem;
}

.btn-clear:hover {
  border-color: var(--ochre);
  color: var(--ochre);
}

/* DASHBOARD */
.status-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.status-pill {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--light-gray);
}

.status-pill.approved {
  border-top-color: var(--green);
}

.status-pill.banned {
  border-top-color: var(--red);
}

.status-pill.delisted {
  border-top-color: var(--amber);
}

.pill-count {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1;
}

.pill-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  font-weight: 600;
  opacity: 0.7;
}

.recent-bans {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.recent-bans h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.no-recent {
  font-style: italic;
  opacity: 0.75;
}

/* EMAIL */
.email-capture {
  background: var(--eucalyptus);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.email-capture h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.email-capture p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.email-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.email-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.email-form button {
  padding: 0.85rem 1.5rem;
  background: var(--ochre);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.email-form button:hover {
  background: #B36420;
}

/* INFO */
.info-section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.info-section h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.info-section h3 {
  font-size: 1.05rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.info-section p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.info-section ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
}

.info-section a {
  color: var(--ochre);
}

.disclaimer {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.7;
  margin-top: 1rem;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  color: var(--charcoal);
  opacity: 0.7;
}

.site-footer a {
  color: var(--ochre);
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .checker-container {
    padding: 1rem 0.75rem;
  }

  .result-section,
  .info-section,
  .recent-bans {
    padding: 1.25rem;
  }

  .status-counts {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .pill-count {
    font-size: 1.5rem;
  }

  .pill-label {
    font-size: 0.7rem;
  }

  .email-form {
    flex-direction: column;
  }

  .email-form input,
  .email-form button {
    width: 100%;
  }

  .result-status-banner {
    flex-direction: column;
    text-align: center;
  }
}
