/* Dans La Rue — Styles minimalistes */
:root {
  --primary: #2563eb;
  --secondary: #6b7280;
  --warning: #d97706;
  --success: #16a34a;
  --error: #dc2626;
  --bg: #f9fafb;
  --card-bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  padding: 16px;
  max-width: 480px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 24px;
  padding-top: 16px;
}

header h1 {
  font-size: 1.75rem;
  color: var(--primary);
}

.tagline {
  color: var(--muted);
  font-size: 0.9rem;
}

.screen {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.screen h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.screen h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--muted);
}

.muted {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 8px 0;
}

.hint {
  background: #fef3c7;
  border-left: 3px solid var(--warning);
  padding: 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-top: 16px;
}

.error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 8px;
}

.card {
  background: var(--bg);
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

label {
  font-size: 0.875rem;
  font-weight: 500;
}

input,
select {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  background: white;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
}

button {
  padding: 14px 20px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
}

button:hover {
  opacity: 0.9;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-warning {
  background: var(--warning);
  color: white;
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-link {
  background: transparent;
  color: var(--muted);
  text-decoration: underline;
  padding: 8px;
  font-size: 0.875rem;
}

.btn-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin: 12px 0;
  text-align: center;
}

.btn-large small {
  font-weight: normal;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 4px;
  display: block;
}

@media (max-width: 380px) {
  body {
    padding: 8px;
  }
  .screen {
    padding: 16px;
  }
}
