/* General container */
.wrap {
  max-width: 48rem;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Form fields */
.field {
  margin-bottom: 1rem;
  font-family: "proxima-nova";
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-family: "futura-pt";
}

.help {
  color: #555;
  font-size: 0.9rem;
}

.errors {
  color: #b00020;
  margin-top: 0.25rem;
}

select,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"] {
  font-size: 1rem;
  padding: 0.5rem;
  width: 100%;
  max-width: 32rem;
  font-family: "proxima-nova";
}

button[type="submit"] {
  padding: 0.5rem 1rem;
  font-family: "futura-pt";
}

.navbar-brand {
  font-family: "futura-pt";
}

h1 {
  font-family: "futura-pt";
  font-weight: bold;
}

p {
  margin-bottom: 1.5rem;
  font-family: "proxima-nova";
}

/* Default body: normal document flow for app pages */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f0f2f5;
  color: #333;
}

/* Landing pages only: center the card using body flex */
body.landing {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Card used on landing page */
.auth-card {
  text-align: center;
  background: #fff;
  padding: 2rem 3rem;
  border: 2px solid #ccc;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 1rem;
}

/* Actions + buttons */
.actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid #999;
  border-radius: 0.375rem;
  text-decoration: none;
  color: #000;
  background: #f8f9fa;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  font-family: "proxima-nova";
}

.btn:hover {
  background: #e2e6ea;
}

.btn.primary {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
}

.btn.primary:hover {
  background: #0056b3;
  border-color: #0056b3;
}

/* Constrain charts inside the detail pane */
#detailContent .chart-box {
  position: relative;
  width: 100%;
  max-width: 720px;   /* tweak as you like */
  height: 280px;      /* <- this fixes the stretch */
  margin: 12px 0;
}

/* Let Chart.js fill the box */
#detailContent .chart-box canvas {
  width: 100% !important;
  height: 100% !important;
}

