/* FULL WHITE THEME – EVERYTHING LIGHT MODE */
:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --card: #ffffff;
  --muted: #555;
  --accent: #22c55e;
  --accent-hover: #16a34a;
  --text: #000000;
  --border: #dcdcdc;
  --ring: rgba(34,197,94,0.25);
  --light-gray: #f8f8f8;
  --medium-gray: #f3f3f3;
}

/* Global styles */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.45 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden; /* Keep horizontal scroll disabled */
}


/* Chips */
.chip {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.chip:hover {
  background: var(--light-gray);
}

.chip.ghost { 
  background: transparent; 
}

.chip.ghost:hover {
  background: var(--light-gray);
}

/* Layout */
.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 16px;
  background: var(--bg) !important;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .layout {
    grid-template-columns: 360px 1fr;
  }
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg) !important;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.info-card {
  background: var(--light-gray);
}

.quick-contact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.quick-contact strong {
  display: block;
  margin-bottom: 6px;
}

/* Inputs */
.label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 4px;
  font-weight: 500;
}

input[type="search"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  outline: none;
  font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.primary {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.primary:hover {
  background: var(--accent-hover);
}

.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.ghost:hover {
  background: var(--light-gray);
}

/* Map container */
.map {
  height: 450px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff !important;
  overflow: hidden;
}

/* Results */
.list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  padding: 16px;
  border-top: 1px solid var(--border);
  cursor: pointer;
  background: #ffffff !important;
  transition: background 0.2s;
}

.list li:first-child {
  border-top: none;
}

.list li:hover {
  background: var(--light-gray) !important;
}

.list li strong {
  font-size: 1.05rem;
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.badge {
  padding: 4px 10px;
  font-size: 11px;
  background: var(--medium-gray);
  border-radius: 999px;
  border: 1px solid var(--border);
  color: #555;
  font-weight: 500;
}

.subtle {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.small {
  font-size: 13px;
}

/* HOME PAGE STYLES */
.home-container {
  min-height: calc(100vh - 60px);
}

.home-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 80px 20px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.home-hero h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 40px;
  line-height: 1.6;
}

.home-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.big-btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s;
}

.big-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Features Section */
.features-section {
  padding: 60px 20px;
  background: #ffffff;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #000;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  background: var(--light-gray);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.feature-card h4 {
  font-size: 1.25rem;
  margin: 0 0 10px 0;
  color: #000;
}

.feature-card p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* About Section */
.about-section {
  padding: 60px 20px;
  background: var(--light-gray);
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
}

.about-content {
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin: 20px 0 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: #555;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
  text-align: center;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.cta-container h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #000;
}

.cta-container p {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 30px;
}

/* Footer */
.app-footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 30px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  margin: 0 0 15px 0;
  color: #555;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .home-hero h2 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid2 {
    grid-template-columns: 1fr;
  }

  .top-actions {
    font-size: 12px;
  }

  .chip {
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* Submit page header styling */
.submit-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  .submit-page-header {
    flex-direction: row;
    gap: 10px;
  }

  .submit-page-header .logo {
    font-size: 22px;
  }
}