/* Meta Services : identité visuelle du kit appliquée aux pages système d'Odoo du site de revue
   (connexion, rendez-vous, support, blog natif, erreurs). Chargée uniquement sur les pages qui
   gardent l'en-tête Odoo, c'est-à-dire pas sur les pages Meta du kit.
   Valeurs reprises du kit (meta_services_site 1.3.2, assistance-conseil.css) :
   encre #10243f, bleu #163f81, bleu foncé #102f65, vert #198948, gris texte #516786,
   filet #dbe1e7, fond #f7f8fa, police « Source » (Source Sans 3), titres « Manrope » 800.
   Polices : fichiers du kit (lot de médias meta_services_media_b016_17). */

@font-face {
  font-family: Source;
  src: url("/meta_services_media_b016_17/static/media/7a19a7027e125257-7a19a7027e125257d310-source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/meta_services_media_b016_17/static/media/74c161dbcbce7c35-74c161dbcbce7c359080-manrope-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

/* Couleurs du thème : remplace le violet par le bleu Meta (utilitaires Bootstrap 5.3). */
#wrapwrap.ms-native-theme {
  --bs-primary: #163f81;
  --bs-primary-rgb: 22, 63, 129;
  --bs-success: #198948;
  --bs-success-rgb: 25, 137, 72;
  --bs-link-color: #163f81;
  --bs-link-color-rgb: 22, 63, 129;
  --bs-link-hover-color: #102f65;
  --bs-link-hover-color-rgb: 16, 47, 101;
  --bs-border-color: #dbe1e7;
  --bs-border-radius: 8px;
  --bs-card-border-radius: 8px;
  --bs-focus-ring-color: rgba(22, 63, 129, .2);
}

/* Contenu des pages système */
#wrapwrap.ms-native-theme > main {
  padding: 24px 0 64px;
  background: #f7f8fa;
  color: #10243f;
  font-family: Source, Arial, sans-serif;
}

#wrapwrap.ms-native-theme > main :is(h1, h2, h3, .h1, .h2, .h3) {
  color: #10243f;
  font-family: Manrope, Source, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.01em;
}

#wrapwrap.ms-native-theme > main :is(h4, h5, h6, .h4, .h5, .h6, label, .col-form-label) {
  color: #10243f;
  font-weight: 650;
}

#wrapwrap.ms-native-theme > main :is(.text-muted, small) {
  color: #516786 !important;
}

#wrapwrap.ms-native-theme > main a:not(.btn) {
  color: #163f81;
}

#wrapwrap.ms-native-theme > main a:not(.btn):hover {
  color: #102f65;
}

/* Boutons : mêmes formes et couleurs que les boutons du kit (.hv-button) */
#wrapwrap.ms-native-theme > main .btn {
  border-radius: 8px;
  font-weight: 650;
}

#wrapwrap.ms-native-theme > main .btn-primary {
  border-color: #174387;
  background: linear-gradient(130deg, #164b9d, #163f81);
  color: #fff;
  box-shadow: 0 8px 22px rgba(22, 67, 135, .09);
}

#wrapwrap.ms-native-theme > main .btn-primary:is(:hover, :focus, :active, .active) {
  border-color: #102f65;
  background: #102f65;
  color: #fff;
  box-shadow: 0 10px 28px rgba(22, 63, 129, .19);
}

#wrapwrap.ms-native-theme > main :is(.btn-secondary, .btn-light, .btn-outline-primary, .btn-outline-secondary) {
  border-color: #dbe1e7;
  background: #fff;
  color: #163f81;
}

#wrapwrap.ms-native-theme > main :is(.btn-secondary, .btn-light, .btn-outline-primary, .btn-outline-secondary):is(:hover, :focus, :active, .active) {
  border-color: #163f81;
  background: #eef3fb;
  color: #102f65;
}

/* Champs */
#wrapwrap.ms-native-theme > main :is(.form-control, .form-select) {
  min-height: 44px;
  border-color: #dbe1e7;
  border-radius: 8px;
  color: #10243f;
}

#wrapwrap.ms-native-theme > main :is(.form-control, .form-select):focus {
  border-color: #163f81;
  box-shadow: 0 0 0 3px rgba(22, 63, 129, .15);
}

#wrapwrap.ms-native-theme > main .form-check-input:checked {
  border-color: #163f81;
  background-color: #163f81;
}

/* Cadres : connexion, cartes et calendrier en blanc sur le fond clair */
#wrapwrap.ms-native-theme > main :is(.card, .oe_login_form, .oe_signup_form, .oe_reset_password_form) {
  border: 1px solid #dbe1e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 36, 63, .06);
}

#wrapwrap.ms-native-theme > main :is(.oe_login_form, .oe_signup_form, .oe_reset_password_form) {
  padding: 28px;
}

/* Éléments sélectionnés (date et créneau de rendez-vous, onglets actifs, pagination) */
#wrapwrap.ms-native-theme > main :is(.border-primary, .active.border) {
  border-color: #163f81 !important;
}

#wrapwrap.ms-native-theme > main .page-item.active .page-link,
#wrapwrap.ms-native-theme > main .nav-pills .nav-link.active {
  border-color: #163f81;
  background: #163f81;
  color: #fff;
}
