:root {
  --bg: #f7faff;
  --card: #fff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #0d6efd;
  --success: #28a745;
  --danger: #dc3545;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px; /*  Taille de texte de base légèrement augmentée */
  line-height: 1.6;
}

.container {
  max-width: 980px;
  margin: 32px auto;
  padding: 0 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  padding: 24px;
}

h1, h2 {
  margin: 0 0 16px;
  font-weight: 600;
  color: #0d47a1;
}

h1 {
  font-size: 22px; /*  Titre principal un peu plus grand */
}

h2 {
  font-size: 18px;
  margin-top: 20px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 14px;
}

.btn.success { background: var(--success); }
.btn.danger { background: var(--danger); }
.btn.light { background: #e9f2ff; color: #0d47a1; }
.btn + .btn { margin-left: 8px; }

.nav {
  background: #eef5ff;
  border-bottom: 1px solid var(--border);
}

.nav .inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.brand {
  font-weight: 700;
  color: #0d47a1;
  font-size: 17px;
}

.nav .menu a {
  margin-left: 10px;
  font-size: 15px;
  padding: 6px 12px;
}

.nav .menu a:hover {
  background: #dce8ff;
  border-radius: 6px;
}

form label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14.5px; /*  Meilleure lisibilité */
}

th {
  background: #eef5ff;
  font-weight: 600;
  color: #0d47a1;
  text-align: left;
  padding: 10px;
  font-size: 15px;
}

td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

tr:nth-child(even) {
  background: #fafcff;
}

tr:hover {
  background: #f2f7ff;
}

.actions a {
  margin-right: 8px;
}

.footer {
  padding: 24px 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

/*  page send_calendar_notifications.php */

.center-page{
  min-height: calc(100vh - 240px); /* ajuste si besoin */
  display:flex;
  align-items:center;       /* centre verticalement */
  justify-content:center;   /* centre horizontalement */
}

.center-page .container{
  width: 100%;
  max-width: 700px; /* adapte */
}

.center-page .card{
  max-width: 650px;
  margin: 0 auto;
}

