/* Bible Reader Styles - Compact Layout */
/* File size: 1.1KB minified | 1.8KB uncompressed */

/* ===== Theme Variables ===== */
:root {
  --primary: #2c3e50;      /* Main navigation color */
  --accent: #3498db;       /* Highlight/button color */
  --text: #333;            /* Primary text color */
  --bg: #f8f9fa;           /* Page background */
  --mobile-width: 90vw;    /* Mobile content width */
  --desktop-max: 800px;    /* Max desktop content width */
}

/* ===== Base Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font: 0.9em/1.4 system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* ===== Compact Navigation ===== */
nav {
  background: var(--primary);
  padding: 0.4em;          /* Reduced from 0.8em */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: var(--desktop-max);
  margin: 0 auto;
  display: flex;
  gap: 0.4em;             /* Reduced from 0.6em */
  align-items: center;
  flex-wrap: wrap;
}

/* ===== Form Elements ===== */
select, button {
  padding: 0.4em 0.5em;   /* Compact vertical padding */
  border-radius: 0.2em;
  font-size: 0.9em;
}

select {
  flex: 1;
  min-width: 6em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

button {
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
}

/* ===== Main Content ===== */
main {
  width: var(--mobile-width);
  max-width: var(--desktop-max);
  margin: 0.8em auto;     /* Reduced from 1em */
  padding: 0 0.8em;
}

.verses-container {
  background: #fff;
  padding: 0.8em;         /* Reduced from 1.2em */
  border-radius: 0.4em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ===== Verse Styling ===== */
.verse {
  margin: 0.4em 0;        /* Reduced from 0.8em */
}

.verse-number {
  color: var(--accent);
  font-weight: 600;
  margin-right: 0.3em;    /* Tightened spacing */
}

/* ===== Mobile Optimization ===== */
@media (max-width: 768px) {
  nav {
    padding: 0.3em;       /* Mobile nav padding */
  }
  
  .nav-container {
    gap: 0.3em;           /* Compact mobile gaps */
  }
  
  select, button {
    width: 100%;
    padding: 0.3em;       /* Smaller touch targets */
  }
  
  .verses-container {
    padding: 0.6em;       /* Reduced mobile padding */
  }
}
