/* CSE Flow Line Integration - Charte graphique */

/* Polices locales Poppins + Nunito */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-primary: #013233;
  --color-accent: #C8E560;
  --color-bg: #E7F9FB;
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  color: #013233;
}

/* En-tete */
.page-header {
  background: #013233 !important;
  padding: 0.5rem 1rem;
}

.page-header__logo__image {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 2px;
}

.page-header__titles__election-name {
  color: #fff !important;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
}

.page-header__titles__election-description {
  color: #C8E560 !important;
}

/* Menu de navigation */
.nav-menu {
  background: #01494a !important;
  border-bottom: 3px solid #C8E560;
}

.nav-menu__link {
  color: #fff !important;
  font-family: 'Nunito', sans-serif;
}

.nav-menu__link:hover {
  color: #C8E560 !important;
}

/* Boutons principaux */
.nice-button--blue,
.nice-button[type="submit"],
input[type="submit"].nice-button,
.btn-primary {
  background: #013233 !important;
  border-color: #013233 !important;
  color: #fff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.nice-button--blue:hover,
input[type="submit"].nice-button:hover,
.btn-primary:hover {
  background: #C8E560 !important;
  border-color: #C8E560 !important;
  color: #013233 !important;
}

/* Formulaires */
.nice-text-input,
.nice-password-input,
input[type="text"],
input[type="password"] {
  border: 1.5px solid #013233;
  border-radius: 4px;
}

.nice-text-input:focus,
.nice-password-input:focus {
  outline: 2px solid #C8E560;
  border-color: #013233;
}

/* Liens */
a {
  color: #013233;
}
a:hover {
  color: #01494a;
}

/* Pied de page */
.page-footer {
  border-top: 3px solid #C8E560;
  padding-top: 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: #444;
}
