/* Example app layout — library CSS is auto-injected by yew-date-range */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f5f7fa;
  min-height: 100vh;
  color: #1d2429;
  line-height: 1.5;
}

.page-header {
  text-align: center;
  padding: 48px 20px 32px;
  max-width: 720px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1d2429;
}

.subtitle {
  font-size: 14px;
  color: #849095;
  margin-bottom: 4px;
}

.examples {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.example-section {
  margin-bottom: 48px;
}

.example-section h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e4e7eb;
}

.example-desc {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

.example-desc code {
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: #334155;
}

.example-container {
  display: flex;
  justify-content: center;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.selection-info {
  margin-top: 12px;
  padding: 12px 16px;
  background: #f0f4f8;
  border-radius: 8px;
  font-size: 13px;
  color: #4a5568;
  text-align: center;
}

.selection-info strong {
  color: #3d91ff;
}

.page-footer {
  text-align: center;
  padding: 24px 20px 40px;
  font-size: 13px;
  color: #94a3b8;
}

.page-footer a {
  color: #3d91ff;
  text-decoration: none;
}

.locale-toggle {
  margin-top: 12px;
  padding: 8px 20px;
  border: 1px solid #e4e7eb;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  color: #1d2429;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.locale-toggle:hover {
  background: #f0f4f8;
  border-color: #c4cdd5;
}

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