/* Scholarship Finder — Stylesheet
   Unique Visual Identity: Collegiate Ivy Academic Directory.
   Custom Variables Prefix: --sch- */

:root {
  --sch-navy: #1e3a8a;
  --sch-navy-dark: #0f172a;
  --sch-gold: #b45309;
  --sch-gold-bg: rgba(217, 119, 6, 0.1);
  --sch-gold-border: #fde68a;
  --sch-bg: #f8fafc;
  --sch-bg-card: #ffffff;
  --sch-bg-elevated: #f1f5f9;
  --sch-border: #e2e8f0;
  --sch-border-subtle: #edf2f7;
  --sch-text: #0f172a;
  --sch-text-muted: #64748b;
  --sch-radius: 10px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sch-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

.sch-breadcrumbs {
  font-size: 0.85rem;
  color: var(--sch-text-muted);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.sch-breadcrumbs a {
  color: var(--sch-navy);
  text-decoration: none;
}

.sch-breadcrumbs a:hover {
  text-decoration: underline;
}

.sch-title {
  font-family: "Charter", Georgia, Cambria, serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--sch-navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.sch-subtitle {
  font-size: 1.05rem;
  color: var(--sch-text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Main */
.sch-main {
  flex: 1;
  padding: 2rem 0;
}

/* Card */
.sch-card {
  background: var(--sch-bg-card);
  border: 1px solid var(--sch-border);
  border-radius: var(--sch-radius);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  margin-bottom: 1.75rem;
}

/* Filter Grid */
.sch-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.sch-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sch-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sch-text);
}

.sch-input,
.sch-select {
  background: var(--sch-bg);
  border: 1px solid var(--sch-border);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  color: var(--sch-text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sch-input:focus,
.sch-select:focus {
  border-color: var(--sch-navy);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.sch-action-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sch-btn-primary {
  background: var(--sch-navy);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s ease, transform 0.1s ease;
}

.sch-btn-primary:hover {
  background: #1e40af;
  transform: translateY(-1px);
}

.sch-btn-secondary {
  background: var(--sch-bg-elevated);
  color: var(--sch-text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--sch-border);
  border-radius: 6px;
  transition: background 0.15s ease;
}

.sch-btn-secondary:hover {
  background: #e2e8f0;
}

/* Status Bar */
.sch-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0 0.25rem;
  font-size: 0.9rem;
}

.sch-results-count {
  color: var(--sch-text-muted);
}

.sch-results-count strong {
  color: var(--sch-navy);
}

.sch-currency-badge {
  font-weight: 600;
  color: var(--sch-gold);
  background: var(--sch-gold-bg);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Directory Grid */
.sch-directory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.sch-item-card {
  background: var(--sch-bg-card);
  border: 1px solid var(--sch-border);
  border-radius: var(--sch-radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.sch-item-card:hover {
  border-color: var(--sch-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.08);
}

.sch-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sch-item-title {
  font-family: "Charter", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sch-navy);
  margin-bottom: 0.25rem;
}

.sch-item-provider {
  font-size: 0.85rem;
  color: var(--sch-text-muted);
}

.sch-item-award {
  background: var(--sch-gold-bg);
  border: 1px solid var(--sch-gold-border);
  color: var(--sch-gold);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
}

.sch-item-desc {
  font-size: 0.95rem;
  color: var(--sch-text);
  line-height: 1.55;
  margin: 0;
}

.sch-item-meta-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--sch-border-subtle);
  border-bottom: 1px solid var(--sch-border-subtle);
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

.sch-meta-item strong {
  color: var(--sch-navy);
}

.sch-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sch-tags-wrap {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.sch-tag {
  background: var(--sch-bg-elevated);
  color: var(--sch-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.sch-link-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sch-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sch-link-btn:hover {
  text-decoration: underline;
}

/* Ad slots */
.sch-ad-container {
  margin: 2.25rem 0;
  min-height: 280px;
  background: var(--sch-bg-card);
  border: 1px dashed var(--sch-border);
  border-radius: var(--sch-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sch-ad-box {
  width: 100%;
  text-align: center;
}

/* Content & FAQs */
.sch-content-section {
  margin-top: 2.5rem;
}

.sch-content-section h2 {
  font-family: "Charter", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sch-navy);
  margin-bottom: 1rem;
}

.sch-content-section p {
  color: var(--sch-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.sch-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 2.5rem;
}

.sch-feature-card {
  background: var(--sch-bg-card);
  border: 1px solid var(--sch-border);
  border-radius: var(--sch-radius);
  padding: 1.25rem;
}

.sch-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sch-navy);
  margin-bottom: 0.4rem;
}

.sch-feature-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.sch-faq-block {
  margin-top: 2rem;
}

.sch-faq-item {
  background: var(--sch-bg-card);
  border: 1px solid var(--sch-border);
  border-radius: var(--sch-radius);
  margin-bottom: 0.75rem;
  padding: 0.9rem 1.15rem;
}

.sch-faq-item summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--sch-navy);
}

.sch-faq-item p {
  margin-top: 0.65rem;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.sch-footer a {
  color: var(--sch-navy);
  text-decoration: none;
  font-weight: 600;
}

.sch-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.sch-consent-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
  flex: 1;
  min-width: 260px;
}

.sch-consent-actions {
  display: flex;
  gap: 0.5rem;
}

.sch-btn-consent-yes {
  background: #0284c7;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.sch-btn-consent-no {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.sch-disclaimer-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--sch-text-muted);
  margin: -8px 0 20px;
}
/* tf:dark-palette — generated by migrate_chrome.py */
/* Neutrals inherit the shared chrome tokens so all tools share one
   ground; brand hues are kept and lightened, never inverted. */
[data-theme="dark"] {
  --sch-navy: #6d87d4;
  --sch-navy-dark: var(--tf-ink);
  --sch-gold: #d9a57d;
  --sch-gold-border: #dac881;
  --sch-bg: var(--tf-surface);
  --sch-bg-card: var(--tf-surface);
  --sch-bg-elevated: var(--tf-surface);
  --sch-border: var(--tf-surface);
  --sch-border-subtle: var(--tf-surface);
  --sch-text: var(--tf-ink);
  --sch-text-muted: var(--tf-ink-faint);
}
