/* Généré par theme_manager — ne pas modifier à la main */
:root {
  --primary: #1f5bd6;
  --primary-hover: #1745a8;
  --primary-light: #628ce2;
  --primary-lighter: #b1c6f1;
  --primary-dark: #194baf;
  --primary-darker: #133885;
  --primary-rgb: 31, 91, 214;
  --on-primary: #ffffff;
  --bs-primary: #1f5bd6;
  --bs-primary-rgb: 31, 91, 214;
  --bs-link-color: #1f5bd6;
  --bs-link-color-rgb: 31, 91, 214;
  --bs-link-hover-color: #1745a8;
  --bs-link-hover-color-rgb: 23, 69, 168;
  --secondary: #daeef5;
  --secondary-hover: #b5d4ff;
  --secondary-light: #e5f3f8;
  --secondary-lighter: #f2f9fc;
  --secondary-dark: #b3c3c9;
  --secondary-darker: #879498;
  --secondary-rgb: 218, 238, 245;
  --on-secondary: #111827;
  --bs-secondary: #daeef5;
  --bs-secondary-rgb: 218, 238, 245;
  --success: #14a3a0;
  --success-hover: #0f8582;
  --success-light: #5abfbc;
  --success-lighter: #addfde;
  --success-dark: #108683;
  --success-darker: #0c6563;
  --success-rgb: 20, 163, 160;
  --on-success: #ffffff;
  --bs-success: #14a3a0;
  --bs-success-rgb: 20, 163, 160;
  --danger: #fa0100;
  --danger-hover: #c80100;
  --danger-light: #fc4d4c;
  --danger-lighter: #fda6a6;
  --danger-dark: #cd0100;
  --danger-darker: #9b0100;
  --danger-rgb: 250, 1, 0;
  --on-danger: #ffffff;
  --bs-danger: #fa0100;
  --bs-danger-rgb: 250, 1, 0;
  --warning: #f2c14e;
  --warning-hover: #d9a52b;
  --warning-light: #f6d483;
  --warning-lighter: #fae9c1;
  --warning-dark: #c69e40;
  --warning-darker: #967830;
  --warning-rgb: 242, 193, 78;
  --on-warning: #111827;
  --bs-warning: #f2c14e;
  --bs-warning-rgb: 242, 193, 78;
  --info: #4fb3f6;
  --info-hover: #2e9be6;
  --info-light: #84caf9;
  --info-lighter: #c1e4fc;
  --info-dark: #4193ca;
  --info-darker: #316f99;
  --info-rgb: 79, 179, 246;
  --on-info: #ffffff;
  --bs-info: #4fb3f6;
  --bs-info-rgb: 79, 179, 246;
  --grad-brand: linear-gradient(120deg, #1f5bd6, #daeef5);
  --font-family: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --bs-body-font-family: 'Outfit', sans-serif;
  --radius: 20px;
  --bs-border-radius: 20px;
  --radius-sm: 12px;
  --radius-md: 17px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --bs-border-radius-sm: 12px;
  --bs-border-radius-lg: 28px;
  --shadow: 0 10px 30px rgba(1,16,236,0.12);
  --bs-box-shadow: 0 10px 30px rgba(1,16,236,0.12);
}

:root:not([data-theme="dark"]):not([data-bs-theme="dark"]) {
  --bg: #eef6fc;
  --bg-body: #eef6fc;
  --body-bg: #eef6fc;
  --bs-body-bg: #eef6fc;
  --bs-body-bg-rgb: 238, 246, 252;
  --light-tint-1: #ddeaf9;
  --light-tint-2: #edf6fc;
  --box-bg: #e2edfa;
  --footer-bg: #d5e3f7;
  --bs-tertiary-bg: #d5e3f7;
  --bs-tertiary-bg-rgb: 213, 227, 247;
  --text: #12264a;
  --bs-body-color: #12264a;
  --bs-body-color-rgb: 18, 38, 74;
  --bs-heading-color: #12264a;
  --text-secondary: #3e506e;
  --text-muted: #556f8f;
  --bs-secondary-color: #556f8f;
  --white: #ffffff;
  --bg-card: #ffffff;
  --card-bg: #ffffff;
  --glass-2: #ffffff;
  --glass: rgba(255, 255, 255, 0.92);
  --bs-card-bg: #ffffff;
  --light: #fafcff;
  --glass-soft: rgba(250, 252, 255, 0.72);
  --bs-light: #fafcff;
  --bs-light-rgb: 250, 252, 255;
  --dark: #0a1a3f;
  --bs-dark: #0a1a3f;
  --bs-dark-rgb: 10, 26, 63;
  --border: #cfe1f2;
  --glass-brd: #cfe1f2;
  --glass-brd-soft: #e0ecf7;
  --bs-border-color: #cfe1f2;
}

html[data-theme="dark"], html[data-bs-theme="dark"], html.dark {
  --primary: #5784e0;
  --primary-hover: #6b93e4;
  --primary-light: #89a9e9;
  --primary-lighter: #c4d4f4;
  --primary-dark: #476cb8;
  --primary-darker: #36528b;
  --primary-rgb: 87, 132, 224;
  --on-primary: #ffffff;
  --bs-primary: #5784e0;
  --bs-primary-rgb: 87, 132, 224;
  --bs-link-color: #5784e0;
  --bs-link-color-rgb: 87, 132, 224;
  --bs-link-hover-color: #6b93e4;
  --bs-link-hover-color-rgb: 107, 147, 228;
  --secondary: #e3f2f8;
  --secondary-hover: #e6f4f9;
  --secondary-light: #ebf6fa;
  --secondary-lighter: #f5fafd;
  --secondary-dark: #bac6cb;
  --secondary-darker: #8d969a;
  --secondary-rgb: 227, 242, 248;
  --on-secondary: #111827;
  --bs-secondary: #e3f2f8;
  --bs-secondary-rgb: 227, 242, 248;
  --success: #4fbab8;
  --success-hover: #64c2c1;
  --success-light: #84cfcd;
  --success-lighter: #c1e7e6;
  --success-dark: #419997;
  --success-darker: #317372;
  --success-rgb: 79, 186, 184;
  --on-success: #ffffff;
  --bs-success: #4fbab8;
  --bs-success-rgb: 79, 186, 184;
  --danger: #fb4040;
  --danger-hover: #fb5757;
  --danger-light: #fc7979;
  --danger-lighter: #febcbc;
  --danger-dark: #ce3434;
  --danger-darker: #9c2828;
  --danger-rgb: 251, 64, 64;
  --on-danger: #ffffff;
  --bs-danger: #fb4040;
  --bs-danger-rgb: 251, 64, 64;
  --warning: #f5d07a;
  --warning-hover: #f6d68a;
  --warning-light: #f8dea2;
  --warning-lighter: #fcefd0;
  --warning-dark: #c9ab64;
  --warning-darker: #98814c;
  --warning-rgb: 245, 208, 122;
  --on-warning: #111827;
  --bs-warning: #f5d07a;
  --bs-warning-rgb: 245, 208, 122;
  --info: #7bc6f8;
  --info-hover: #8bcdf9;
  --info-light: #a3d7fa;
  --info-lighter: #d1ebfd;
  --info-dark: #65a2cb;
  --info-darker: #4c7b9a;
  --info-rgb: 123, 198, 248;
  --on-info: #111827;
  --bs-info: #7bc6f8;
  --bs-info-rgb: 123, 198, 248;
  --grad-brand: linear-gradient(120deg, #5784e0, #e3f2f8);
  --bg: #0a1a3f;
  --bg-body: #0a1a3f;
  --body-bg: #0a1a3f;
  --bs-body-bg: #0a1a3f;
  --bs-body-bg-rgb: 10, 26, 63;
  --bg-card: #19284b;
  --card-bg: #19284b;
  --bs-card-bg: #19284b;
  --bs-tertiary-bg: #19284b;
  --glass-2: #19284b;
  --glass: rgba(25, 40, 75, 0.85);
  --glass-soft: rgba(34, 49, 82, 0.65);
  --border: #313f5e;
  --glass-brd: #313f5e;
  --glass-brd-soft: #313f5e;
  --bs-border-color: #313f5e;
  --dark-tint-1: #0f2860;
  --dark-tint-2: #2b3c5c;
  --dark-tint-footer: #0c204e;
  --box-bg: #0d2354;
  --footer-bg: #07122c;
  --bs-tertiary-bg: #07122c;
  --bs-tertiary-bg-rgb: 7, 18, 44;
  --bs-body-color: #e7ecfb;
  --bs-body-color-rgb: 231, 236, 251;
  --bs-secondary-color: #9aa6c8;
  --bs-emphasis-color: #ffffff;
  --bs-heading-color: #f4f7ff;
}

/* Tailles du texte (admin) */
html { font-size: 17px; }
:root { --font-size-xs: 8.5px; --font-size-sm: 15px; --font-size-lg: 19px; --font-size-xl: 23.5px; --font-size-2xl: 29.8px; --font-size-3xl: 38.2px; --font-size-base: 17px; --font-size-h1: 42.5px; --font-size-h2: 34px; --font-size-h3: 25.5px; --font-size-h4: 21.2px; }
body { font-size: 17px; }
h1, .h1 { font-size: 42.5px; }
h2, .h2 { font-size: 34px; }
h3, .h3 { font-size: 25.5px; }
h4, .h4 { font-size: 21.2px; }
body.page-courses-lesson-detail .ep-text, body.page-courses-lesson-detail .ep-block li, body.page-courses-lesson-detail .ep-block p { font-size: calc(18px * var(--ls, 1)) !important; }
@media (max-width: 767.98px) {
  html { font-size: 17px; }
  :root { --font-size-xs: 8.5px; --font-size-sm: 15px; --font-size-lg: 19px; --font-size-xl: 23.5px; --font-size-2xl: 29.8px; --font-size-3xl: 38.2px; --font-size-base: 17px; --font-size-h1: 42.5px; --font-size-h2: 34px; --font-size-h3: 25.5px; --font-size-h4: 21.2px; }
  body { font-size: 17px; }
  h1, .h1 { font-size: 42.5px; }
  h2, .h2 { font-size: 34px; }
  h3, .h3 { font-size: 25.5px; }
  h4, .h4 { font-size: 21.2px; }
  body.page-courses-lesson-detail .ep-text, body.page-courses-lesson-detail .ep-block li, body.page-courses-lesson-detail .ep-block p { font-size: calc(18px * var(--ls, 1)) !important; }
}
