:root {
  --bg: #f6fafc;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #3b82f6;
  --border: #e6eef0;
  --shadow: 0 6px 20px rgba(12, 74, 85, 0.06);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

body {
  background: var(--bg);
  margin: 0;
  padding: 32px;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

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

header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.logo {
  width: 80px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--shadow);
  margin-right: 10px;
}

h1 {
  font-size: 20px;
  margin: 0;
}

p.lead {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.card {
  background: var(--card);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.homepage .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(12, 74, 85, 0.12);
  transition: all 0.3s ease;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  background: #fbfcfd;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #eef6f8;
}

.label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}

.value {
  font-weight: 600;
  font-size: 15px;
  color: #042235;
}

.full {
  grid-column: 1 / -1;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.table th,
.table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #f1f6f7;
  font-size: 14px;
}

.right {
  text-align: right;
}

footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  background: var(--accent);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(14, 165, 164, 0.12);
}

/* Liens de navigation */
.nav-link {
  text-decoration: none;
  font-weight: 500;
  color: #0f172a;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 800px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .two-cols {
    grid-template-columns: 1fr;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* Tooltip des formulaires */
.tooltip {
  --bs-tooltip-max-width: 560px;  /* > 200px par défaut */
}

.tooltip .tooltip-inner {
  white-space: normal;   /* autorise les retours à la ligne <br> */
  text-align: left;
}

/* Italic placeholders */
::placeholder {
    font-style: italic;
}

.required-placeholder::placeholder { color: red; }


/* navbar tweaks */
.navbar-brand { display:flex; align-items:center; gap:10px; }
/*.navbar .logo { width:80px; height:40px; font-size:16px; border-radius:8px; }*/

/* make nav links look more polished */
.navbar-nav .nav-link { font-weight: 600; color: #0f172a; }
.navbar-nav .nav-link:hover { color: var(--accent); }

/* CTA button styles */
.navbar .btn-primary {
  background: linear-gradient(90deg, #06b6d4, #0ea5a4);
  border: none;
  box-shadow: 0 6px 18px rgba(14,165,164,0.12);
}

/* modal form labels slightly smaller */
.modal .form-label { font-size: 0.95rem; }


/* Under development card */
.under-dev-card {
  background: var(--card);
  border: 1px dashed var(--accent);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin: 60px auto;
  max-width: 700px;
}

.under-dev-card .icon {
  font-size: 64px;
}

.under-dev-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.under-dev-card p {
  color: var(--muted);
}
