* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f4f2ee;
  color: #202020;
}

/* ===== EN-TÊTE ===== */

.topbar {
  background:
    linear-gradient(135deg, #111111 0%, #191919 55%, #241b13 100%);
  color: white;
  padding: 20px 18px;
  border-bottom: 2px solid #9b6935;
  box-shadow: 0 5px 20px rgba(0,0,0,.25);
}

.brand {
  max-width: 700px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  flex-shrink: 0;

  background: white;
  border-radius: 50%;

  padding: 4px;

  border: 3px solid #a9743c;

  box-shadow:
    0 5px 15px rgba(0,0,0,.35),
    0 0 0 3px rgba(255,255,255,.06);
}

.brand-info {
  min-width: 0;
}

.brand h1 {
  margin: 0;
  font-size: 23px;
  line-height: 1.1;
}

.brand p {
  margin: 5px 0 0;
  color: #c5c5c5;
  font-size: 14px;
}

.developer-credit {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;

  margin-top: 10px;

  padding: 6px 10px;

  border-radius: 30px;

  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);

  color: #c8a26e;

  font-size: 11px;
}

.developer-credit strong {
  color: #f0d1a4;
}

.developer-credit span {
  color: #777;
}

/* ===== CONTENU ===== */

.container {
  max-width: 700px;
  margin: auto;
  padding: 16px;
}

.demo-banner {
  background: #fff3cd;
  border: 1px solid #ffe69c;
  color: #664d03;
  padding: 11px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
}

.demo-banner span {
  display: block;
  font-weight: 400;
  margin-top: 3px;
}

.card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;

  box-shadow:
    0 5px 18px rgba(0,0,0,.07);
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.label {
  color: #777;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

h2 {
  margin: 6px 0 20px;
  font-size: 24px;
}

.status {
  background: #dff6e6;
  color: #16743a;
  height: fit-content;
  padding: 6px 10px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 12px;
}

.details {
  display: grid;
  gap: 15px;
}

.detail {
  display: flex;
  gap: 13px;
  align-items: center;
}

.icon {
  font-size: 25px;
}

.detail strong {
  display: block;
}

.detail small {
  display: block;
  color: #777;
  margin-top: 2px;
}

.separator {
  height: 1px;
  background: #eee;
  margin: 22px 0;
}

/* ===== FORMULAIRE ===== */

label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

select {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background: white;
  font-size: 16px;
  margin-bottom: 14px;
}

button {
  width: 100%;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  background: linear-gradient(135deg, #151515, #292929);
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

.secondary-button {
  background: #ececec;
  color: #222;
}

.hidden {
  display: none;
}

.security-note {
  text-align: center;
  color: #888;
  font-size: 11px;
  line-height: 1.5;
  margin: 14px 10px 0;
}

/* ===== PARTICIPANTS ===== */

.participants {
  margin-top: 15px;
}

.participant {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.participant:last-child {
  border-bottom: none;
}

.avatar {
  width: 34px;
  height: 34px;

  background: #ece8df;

  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  font-weight: 800;
}

/* ===== SIGNATURE ===== */

.page-footer {
  max-width: 700px;
  margin: 6px auto 30px;

  text-align: center;

  padding: 22px;

  color: #777;
}

.footer-title {
  color: #222;
  font-size: 17px;
  font-weight: 800;

  margin-bottom: 6px;
}

.footer-credit {
  font-size: 12px;

  margin-bottom: 6px;
}

.footer-credit strong {
  color: #9b6935;
}

.footer-version {
  font-size: 10px;
  color: #aaa;
  letter-spacing: .4px;
}

/* ===== TOAST ===== */

.toast {
  position: fixed;

  bottom: 25px;
  left: 50%;

  transform:
    translateX(-50%)
    translateY(100px);

  background: #202020;
  color: white;

  padding: 13px 18px;

  border-radius: 30px;

  opacity: 0;

  transition: .3s;

  font-size: 13px;
  text-align: center;

  width: max-content;
  max-width: 90%;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== MOBILE ===== */

@media (max-width: 500px) {

  .topbar {
    padding: 18px 15px;
  }

  .brand {
    gap: 13px;
  }

  .brand-logo {
    width: 78px;
    height: 78px;
  }

  .brand h1 {
    font-size: 21px;
  }

  .brand p {
    font-size: 13px;
  }

  .developer-credit {
    font-size: 9px;
    padding: 5px 8px;
  }

  .container {
    padding: 12px;
  }

  .card {
    padding: 17px;
  }

  h2 {
    font-size: 21px;
  }

}


/* =====================================
   V0.3
   ===================================== */

.identity-card label {
  margin-top: 12px;
}

.identity-help {
  display: block;
  color: #888;
  font-size: 11px;
  margin-top: -5px;
}

.section-title {
  margin: 24px 4px 12px;
}

.section-title h2 {
  margin: 4px 0 0;
}

.session-card {
  margin-bottom: 20px;
}

.status-closed {
  background: #eeeeee;
  color: #777777;
}

.choice-title {
  font-weight: 800;
  margin-bottom: 12px;
}

.location-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.location-button {
  min-height: 82px;
  padding: 14px;
}

.location-button small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 400;
  opacity: .75;
}

.location-button.indoor {
  background: #202020;
  color: white;
}

.location-button.outdoor {
  background: #496b47;
  color: white;
}

.location-button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.registered-box {
  padding: 14px;
  margin-bottom: 10px;

  background: #e2f5e8;
  color: #176c37;

  border-radius: 12px;

  text-align: center;
}

.registered-box strong {
  display: block;
  margin-top: 4px;
}

.closed-message,
.choose-member-message {
  padding: 14px;

  background: #f1f1f1;

  border-radius: 12px;

  color: #666;

  text-align: center;
}

.participants-details {
  margin-top: 20px;
  border-top: 1px solid #eeeeee;
  padding-top: 16px;
}

.participants-details summary {
  cursor: pointer;
  font-weight: 700;
}

.participants-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;

  margin-top: 15px;
}

.participants-columns h3 {
  font-size: 13px;
  margin: 0 0 8px;
}

.empty-list {
  color: #999;
  font-size: 12px;
  padding: 8px 0;
}


@media (max-width: 500px) {

  .location-buttons {
    grid-template-columns: 1fr;
  }

  .participants-columns {
    grid-template-columns: 1fr;
  }

}


/* =====================================
   V0.4 - COMPTES UTILISATEURS
   ===================================== */

.auth-wrapper {
  max-width: 480px;
  margin: 35px auto;
}

.auth-card {
  padding: 28px;
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.auth-logo img {
  width: 105px;
  height: 105px;
  object-fit: contain;
}

.auth-card h2 {
  margin:
    7px 0 8px;
}

.auth-intro {
  color: #777;
  margin:
    0 0 24px;
}


.auth-card label {
  margin-top: 15px;
}


.auth-card input {
  width: 100%;

  padding: 15px;

  margin-top: 7px;

  border:
    1px solid #ccc;

  border-radius: 12px;

  background: white;

  font-size: 16px;
}


.auth-card button {
  margin-top: 22px;
}


.login-error {
  margin-top: 16px;

  padding: 12px;

  border-radius: 10px;

  background: #fde8e8;

  color: #a22;

  text-align: center;

  font-size: 13px;
}


.account-card {
  margin-top: 0;
}


.account-header {
  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 15px;
}


.account-header h2 {
  margin:
    6px 0 8px;
}


.role-badge {
  display: inline-block;

  padding:
    5px 10px;

  border-radius: 30px;

  background: #efe8dc;

  color: #875a2a;

  font-size: 11px;

  font-weight: 800;
}


.logout-button {
  width: auto;

  background: transparent;

  color: #666;

  border:
    1px solid #ddd;

  padding:
    10px 14px;

  font-size: 12px;

  box-shadow: none;
}


.logout-button:hover {
  background: #f1f1f1;
}


@media (max-width: 500px) {

  .auth-wrapper {
    margin:
      18px auto;
  }

  .auth-card {
    padding: 22px;
  }

  .account-header {
    align-items:
      flex-start;
  }

  .logout-button {
    padding:
      9px 10px;
  }

}


/* =====================================
   V0.4.1 - ADMINISTRATION DES COMPTES
   ===================================== */

.admin-card {
  margin-bottom: 22px;
}

.admin-intro {
  color: #777;
  margin-top: -10px;
  margin-bottom: 22px;
}

.admin-form-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 14px;
}

.admin-form-grid label {
  margin-top: 0;
}

.admin-form-grid input,
.admin-form-grid select {

  width: 100%;

  padding: 13px;

  margin-top: 7px;

  border:
    1px solid #ccc;

  border-radius: 12px;

  background: white;

  font-size: 15px;
}

.admin-user-list {
  margin-top: 12px;
}

.admin-user {

  display: flex;

  justify-content:
    space-between;

  align-items: center;

  gap: 15px;

  padding: 13px 0;

  border-bottom:
    1px solid #eee;
}

.admin-user:last-child {
  border-bottom: none;
}

.admin-user-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-user-main small {
  color: #888;
}

.admin-user-disabled {
  opacity: .45;
}

.admin-toggle-button {

  width: auto;

  padding: 8px 11px;

  background: #eee;

  color: #444;

  font-size: 11px;

  box-shadow: none;
}

.admin-you {

  display: inline-block;

  padding: 5px 9px;

  border-radius: 20px;

  background: #e2f5e8;

  color: #176c37;

  font-size: 11px;

  font-weight: 700;
}


@media (max-width: 550px) {

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

}


/* =====================================
   V0.4.2 - ONGLETS
   ===================================== */

.main-tabs {

  display: flex;

  gap: 8px;

  margin:
    18px 0 22px;

  padding: 6px;

  background: #ebe8e2;

  border-radius: 14px;

}


.main-tab-button {

  flex: 1;

  width: auto;

  margin: 0;

  padding:
    13px 16px;

  border: 0;

  border-radius: 10px;

  background: transparent;

  color: #666;

  box-shadow: none;

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

}


.main-tab-button.active {

  background: #1c1c1c;

  color: white;

  box-shadow:
    0 3px 10px
    rgba(0,0,0,.15);

}


@media (max-width: 500px) {

  .main-tabs {
    position: sticky;
    top: 6px;

    z-index: 20;

    margin:
      12px 0 18px;
  }


  .main-tab-button {

    padding:
      12px 8px;

    font-size: 13px;

  }

}


/* =====================================
   V0.4.3
   ===================================== */

.account-actions,
.admin-actions {

  display: flex;

  gap: 8px;

  align-items: center;

}


@media (max-width: 550px) {

  .account-actions {

    flex-direction: column;

    align-items: stretch;

  }

}


/* =====================================
   V0.4.3 - FENÊTRE MOT DE PASSE
   ===================================== */

.password-modal {

  position: fixed;

  inset: 0;

  z-index: 1000;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 20px;

  background:
    rgba(0, 0, 0, .58);

}


.password-modal.hidden {
  display: none;
}


.password-modal-card {

  width: 100%;

  max-width: 460px;

  padding: 26px;

  background: white;

  border-radius: 20px;

  box-shadow:
    0 20px 60px
    rgba(0, 0, 0, .30);

}


.password-modal-header {

  display: flex;

  justify-content:
    space-between;

  align-items:
    flex-start;

  gap: 15px;

  margin-bottom: 20px;

}


.password-modal-header h2 {

  margin:
    6px 0 0;

}


.password-modal-close {

  width: auto;

  margin: 0;

  padding: 8px 11px;

  background: #eee;

  color: #333;

  box-shadow: none;

}


.password-modal-card label {

  display: block;

  margin-top: 15px;

  font-weight: 700;

}


.password-modal-card input {

  width: 100%;

  padding: 14px;

  margin-top: 7px;

  border:
    1px solid #ccc;

  border-radius: 12px;

  font-size: 16px;

}


.password-help {

  display: block;

  margin-top: 5px;

  color: #888;

}


.password-modal-card
.primary-button {

  margin-top: 22px;

}

.email-missing {
  color: #b36b00 !important;
  font-weight: 700;
}

.password-modal-card select {
  width: 100%;
  padding: 14px;
  margin-top: 7px;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: white;
  font-size: 16px;
}


/* =====================================
   V0.4.3.3 - MON COMPTE
   ===================================== */

.my-account-card {
  margin-bottom: 22px;
}


.profile-grid {

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 12px;

  margin-top: 18px;

}


.profile-item {

  padding: 15px;

  background: #f6f4f0;

  border-radius: 13px;

}


.profile-label {

  display: block;

  margin-bottom: 5px;

  color: #888;

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: .5px;

}


#myEmail {

  width: 100%;

  padding: 14px;

  margin-top: 7px;

  border:
    1px solid #ccc;

  border-radius: 12px;

  background: white;

  font-size: 16px;

}


#myEmailForm
.primary-button {

  margin-top: 14px;

}


.profile-password-button {

  margin-top: 12px;

}


@media (max-width: 550px) {

  .profile-grid {
    grid-template-columns: 1fr;
  }

}


/* =====================================
   V0.4.4 - INSCRIPTIONS TARDIVES
   ===================================== */

.status-late {

  background: #fff0c9;

  color: #8a5900;

}


.late-warning {

  margin-bottom: 12px;

  padding: 15px;

  border:
    1px solid #f0cf76;

  border-radius: 13px;

  background: #fff7dc;

  color: #624700;

}


.late-warning strong {

  display: block;

  margin-bottom: 8px;

}


.late-warning p {

  margin:
    5px 0;

  font-size: 13px;

  line-height: 1.45;

}


.registered-late {

  background: #fff5d9;

  color: #715000;

}


.registered-late small {

  display: block;

  margin-top: 6px;

  line-height: 1.4;

}


.late-badge {

  margin-left: auto;

  padding:
    4px 7px;

  border-radius: 20px;

  background: #fff0c9;

  color: #8a5900;

  font-size: 10px;

  font-weight: 700;

}


.participant-name {

  flex: 1;

}


/* =====================================
   V0.4.5 - RECUPERATION DE COMPTE
   ===================================== */

.login-help {

  display: flex;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 17px;

}


.auth-link-button {

  width: auto;

  margin: 0;

  padding: 4px;

  border: 0;

  background: transparent;

  color: #8a5d24;

  box-shadow: none;

  font-size: 13px;

  font-weight: 700;

  cursor: pointer;

}


.auth-link-button:hover {

  text-decoration: underline;

  background: transparent;

}


.login-help-separator {

  color: #aaa;

}


.recovery-explanation {

  color: #666;

  line-height: 1.5;

  margin-bottom: 20px;

}


.recovery-success {

  padding: 15px;

  border-radius: 12px;

  background: #e5f5e9;

  color: #246838;

  line-height: 1.5;

  text-align: center;

  font-weight: 600;

}


/* =====================================
   V0.4.5.1 - FOND ASSOCIATION
   ===================================== */

body {

  background:

    linear-gradient(
      rgba(247, 245, 241, .88),
      rgba(247, 245, 241, .88)
    ),

    url("images/fond-site.jpg")
      center 35%
      / cover
      fixed
      no-repeat;

}


/* =====================================
   NOUVEAU MEMBRE
   ===================================== */

.new-member-help {

  margin-top: 18px;

  padding: 14px;

  border:
    1px solid rgba(
      174,
      117,
      45,
      .25
    );

  border-radius: 12px;

  background:
    rgba(
      245,
      238,
      225,
      .75
    );

  text-align: center;

  font-size: 12px;

  line-height: 1.5;

}


.new-member-help strong {

  display: block;

  margin-bottom: 4px;

  font-size: 13px;

}


.new-member-help span {

  display: block;

  color: #666;

}


.new-member-help a {

  display: inline-block;

  margin-top: 5px;

  color: #8a5d24;

  font-weight: 700;

  text-decoration: none;

}


.new-member-help a:hover {

  text-decoration: underline;

}


/* =====================================
   NAVIGATION COMPLETE
   ===================================== */

.main-tabs {

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 7px;

  padding: 7px;

}


.main-tab-button {

  min-width: 0;

  min-height: 46px;

  padding:
    9px 7px;

  font-size: 12px;

  line-height: 1.2;

}


.main-tab-button.dev-tab {

  font-style: italic;

  opacity: .62;

}


.main-tab-button.dev-tab.active {

  opacity: 1;

}


/* =====================================
   MODULE DEV
   ===================================== */

.dev-module-card {

  text-align: center;

}


.dev-module-description {

  max-width: 520px;

  margin:
    15px auto 22px;

  color: #666;

  line-height: 1.55;

}


.dev-module-note {

  padding: 14px;

  border-radius: 12px;

  background: #fff4d5;

  color: #7b5700;

  font-size: 13px;

  font-style: italic;

}


/* =====================================
   MOBILE
   ===================================== */

@media (max-width: 600px) {

  body {

    background:

      linear-gradient(
        rgba(247, 245, 241, .90),
        rgba(247, 245, 241, .90)
      ),

      url("images/fond-site.jpg")
        center 30%
        / cover
        scroll
        no-repeat;

  }


  .main-tabs {

    display: flex;

    overflow-x: auto;

    gap: 6px;

    padding: 6px;

    scrollbar-width: thin;

  }


  .main-tab-button {

    flex:
      0 0 145px;

  }

}


/* ==========================================================
   V0.4.5.2 - FOND 3 ZONES
   Gauche : photo association
   Centre : logo
   Droite : photo association
   ========================================================== */


/*
   Le BODY devient la zone centrale.

   L'ancien fond défini plus haut dans le CSS
   est volontairement remplacé ici.
*/

html {
  background: #f4f1eb;
}


body {

  position: relative;

  isolation: isolate;

  min-height: 100vh;


  /*
     CENTRE
     Logo de L'Âme Provençale
  */

  background-color:
    #f4f1eb !important;

  background-image:

    linear-gradient(
      rgba(247, 245, 241, .86),
      rgba(247, 245, 241, .86)
    ),

    url("images/logo.png") !important;


  background-repeat:
    no-repeat,
    no-repeat !important;


  background-position:
    center,
    center 45% !important;


  background-size:
    cover,
    min(26vw, 420px) auto !important;


  background-attachment:
    fixed,
    fixed !important;

}



/* ----------------------------------------------------------
   PHOTOS LATÉRALES
   ---------------------------------------------------------- */

body::before,
body::after {

  content: "";

  position: fixed;

  top: 0;

  bottom: 0;

  width: 33.333vw;

  z-index: -1;

  pointer-events: none;

  background-repeat:
    no-repeat;

  background-size:
    cover;

}


/*
   GAUCHE
*/

body::before {

  left: 0;

  background-image:

    linear-gradient(
      rgba(247, 245, 241, .68),
      rgba(247, 245, 241, .68)
    ),

    url("images/fond-site.jpg");


  background-position:
    center center;

}


/*
   DROITE
*/

body::after {

  right: 0;

  background-image:

    linear-gradient(
      rgba(247, 245, 241, .68),
      rgba(247, 245, 241, .68)
    ),

    url("images/fond-site-2.jpg");


  background-position:
    center center;

}



/* ----------------------------------------------------------
   MOBILE / PETIT ÉCRAN

   Les photos latérales disparaissent.
   On conserve le logo central en filigrane.
   ---------------------------------------------------------- */

@media (max-width: 900px) {

  body::before,
  body::after {

    display: none;

  }


  body {

    background-image:

      linear-gradient(
        rgba(247, 245, 241, .91),
        rgba(247, 245, 241, .91)
      ),

      url("images/logo.png") !important;


    background-position:
      center,
      center 28% !important;


    background-size:
      cover,
      min(58vw, 330px) auto !important;


    background-attachment:
      scroll,
      scroll !important;

  }

}



/* ==========================================================
   REFONTE CREATION COMPTE ADHERENT
   ========================================================== */

.account-create-intro {

  display: flex;
  flex-direction: column;

  gap: 5px;

  margin-bottom: 22px;

  padding: 14px 16px;

  border-radius: 12px;

  background: #f5f1e9;

}


.account-create-intro strong {

  font-size: 15px;

}


.account-create-intro span {

  color: #6f6f6f;

  font-size: 13px;

  line-height: 1.45;

}


.admin-create-grid {

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px 14px;

}


.admin-create-grid > div {

  min-width: 0;

}


.admin-create-grid label {

  display: block;

  margin-bottom: 7px;

  font-weight: 700;

}


.admin-create-grid input,
.admin-create-grid select {

  width: 100%;

  box-sizing: border-box;

}


.field-help {

  display: block;

  margin-top: 5px;

  color: #888;

  font-size: 11px;

}


.account-creation-process {

  display: flex;

  flex-direction: column;

  gap: 4px;

  margin: 22px 0 14px;

  padding: 14px 16px;

  border: 1px solid #e5d5b5;

  border-radius: 12px;

  background: #fff8e9;

  color: #684d1f;

  font-size: 12px;

  line-height: 1.45;

}


.account-creation-process strong {

  margin-bottom: 3px;

  font-size: 13px;

}


#createUserSubmitButton:disabled {

  cursor: not-allowed;

  opacity: .55;

}


.admin-feature-pending {

  margin: 8px 0 0;

  text-align: center;

  color: #8a6a31;

  font-size: 11px;

  font-style: italic;

}


@media (max-width: 650px) {

  .admin-create-grid {

    grid-template-columns: 1fr;

  }

}



/* ==========================================================
   AJUSTEMENT TAILLE FORMULAIRE ADMIN
   ========================================================== */

#adminPanel .card {

  max-width: 980px;

  margin-left: auto;
  margin-right: auto;

}


.admin-create-grid {

  gap: 22px 20px;

}


.admin-create-grid label {

  font-size: 15px;

}


.admin-create-grid input,
.admin-create-grid select {

  min-height: 52px;

  padding: 12px 14px;

  font-size: 16px;

}


.account-create-intro {

  padding: 18px 20px;

}


.account-create-intro strong {

  font-size: 17px;

}


.account-create-intro span {

  font-size: 14px;

}


.account-creation-process {

  padding: 18px 20px;

  font-size: 14px;

}


#createUserSubmitButton {

  min-height: 54px;

  font-size: 16px;

}


@media (max-width: 650px) {

  #adminPanel .card {

    max-width: 100%;

  }

}



/* ==========================================================
   V0.4.6.5 - MON COMPTE
   ========================================================== */

.profile-avatar-zone {

  display: flex;

  align-items: center;

  gap: 18px;

  padding: 18px;

  margin: 18px 0;

  border-radius: 14px;

  background: #f5f1e9;

}


.profile-avatar-placeholder {

  display: flex;

  align-items: center;

  justify-content: center;

  flex: 0 0 74px;

  width: 74px;

  height: 74px;

  border-radius: 50%;

  background: #e8e3da;

  font-size: 30px;

}


.profile-avatar-zone p,
.profile-security-zone p {

  margin: 4px 0 0;

  color: #777;

  font-size: 13px;

}


.dev-inline {

  display: inline-block;

  margin-top: 6px;

  padding: 3px 7px;

  border-radius: 20px;

  background: #fff0c8;

  color: #8a6100;

  font-size: 10px;

  font-style: italic;

  font-weight: 700;

}


.profile-section-help {

  margin: 5px 0 18px;

  color: #777;

  font-size: 13px;

  line-height: 1.45;

}


.profile-edit-grid {

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;

  margin-bottom: 20px;

}


.profile-edit-grid > div {

  min-width: 0;

}


.profile-edit-grid label {

  display: block;

  margin-bottom: 7px;

  font-weight: 700;

}


.profile-edit-grid input {

  box-sizing: border-box;

  width: 100%;

  min-height: 50px;

  padding: 11px 13px;

  font-size: 15px;

}


.profile-edit-email {

  grid-column:
    1 / -1;

}


.profile-security-zone {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin-top: 14px;

  padding: 18px;

  border-radius: 14px;

  background: #f5f1e9;

}


.profile-password-button {

  width: auto;

  min-width: 220px;

}


@media (max-width: 650px) {

  .profile-edit-grid {

    grid-template-columns:
      1fr;

  }


  .profile-edit-email {

    grid-column:
      auto;

  }


  .profile-security-zone {

    flex-direction:
      column;

    align-items:
      stretch;

  }


  .profile-password-button {

    width: 100%;

    min-width: 0;

  }

}



/* ==========================================================
   V0.4.7 - ACCUEIL
   ========================================================== */

.home-welcome {

  margin-bottom: 22px;

}


.home-welcome h2 {

  margin:
    5px 0 3px;

  font-size: 28px;

}


.home-welcome p {

  margin: 0;

  color: #777;

}


.home-dashboard {

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 16px;

}


.home-card {

  display: flex;

  gap: 16px;

  min-height: 165px;

  padding: 20px;

  border-radius: 18px;

  background: #fff;

  box-shadow:
    0 8px 22px
    rgba(0,0,0,.06);

}


.home-card-icon {

  display: flex;

  align-items: center;

  justify-content: center;

  flex: 0 0 54px;

  width: 54px;

  height: 54px;

  border-radius: 15px;

  background: #f3eee5;

  font-size: 25px;

}


.home-card-content {

  display: flex;

  flex: 1;

  flex-direction: column;

}


.home-card h3 {

  margin:
    5px 0 7px;

  font-size: 18px;

}


.home-card p {

  flex: 1;

  margin:
    0 0 15px;

  color: #707070;

  font-size: 13px;

  line-height: 1.5;

}


.home-card-dev {

  opacity: .82;

}


.home-title-row {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

}


.home-action {

  align-self: flex-start;

  padding:
    9px 13px;

  border: 0;

  border-radius: 9px;

  background: #222;

  color: #fff;

  cursor: pointer;

  font-weight: 700;

}


.home-shortcuts {

  margin-top: 22px;

  padding: 20px;

  border-radius: 18px;

  background:
    rgba(
      255,
      255,
      255,
      .92
    );

}


.home-shortcut-grid {

  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 10px;

  margin-top: 12px;

}


.home-shortcut-grid button {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 7px;

  min-height: 85px;

  padding: 12px;

  border:
    1px solid #e5e0d8;

  border-radius: 13px;

  background: #f7f4ef;

  cursor: pointer;

  font-size: 18px;

}


.home-shortcut-grid span {

  font-size: 12px;

  font-weight: 700;

}


@media (max-width: 700px) {

  .home-dashboard {

    grid-template-columns:
      1fr;

  }


  .home-shortcut-grid {

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

  }


  .home-card {

    min-height: auto;

  }

}



/* ==========================================================
   V0.4.7 - AVATAR DANS L'ENCART MON COMPTE
   ========================================================== */

.account-header-identity {

  display: flex;

  align-items: center;

  gap: 14px;

  min-width: 0;

}


.account-header-text {

  min-width: 0;

}


.header-profile-avatar {

  display: flex;

  align-items: center;

  justify-content: center;

  flex: 0 0 58px;

  width: 58px;

  height: 58px;

  border-radius: 50%;

  background: #eee8de;

  border: 2px solid #dfd4c3;

  box-shadow:
    0 3px 9px
    rgba(0, 0, 0, .08);

  color: #4b306e;

  font-size: 17px;

  font-weight: 800;

  user-select: none;

  overflow: hidden;

}


.header-profile-avatar span {

  line-height: 1;

}


@media (max-width: 650px) {

  .header-profile-avatar {

    flex-basis: 48px;

    width: 48px;

    height: 48px;

    font-size: 14px;

  }


  .account-header-identity {

    gap: 10px;

  }

}



/* ==========================================================
   V0.4.7.1 - PROCHAIN ENTRAINEMENT ACCUEIL
   ========================================================== */

.home-training-details {

  display: flex;

  flex: 1;

  flex-direction: column;

  gap: 10px;

  margin:
    4px 0 15px;

}


.home-training-line {

  display: flex;

  align-items: center;

  gap: 10px;

}


.home-training-line > span {

  display: flex;

  align-items: center;

  justify-content: center;

  flex: 0 0 30px;

  width: 30px;

  height: 30px;

  border-radius: 9px;

  background: #f5f1e9;

}


.home-training-line div {

  display: flex;

  flex-direction: column;

}


.home-training-line strong {

  font-size: 13px;

}


.home-training-line small {

  margin-top: 2px;

  color: #777;

  font-size: 11px;

}


.home-empty-info {

  margin: 0;

  color: #777;

  font-size: 13px;

}



/* ==========================================================
   V0.4.7.2 - METEO ACCUEIL
   ========================================================== */

.home-weather-details {

  display: flex;

  flex: 1;

  flex-direction: column;

  gap: 10px;

  margin:
    4px 0 10px;

}


.home-weather-condition {

  font-size: 14px;

}


.home-weather-grid {

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 6px;

}


.home-weather-grid > div {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  min-width: 0;

  padding:
    8px 4px;

  border-radius: 9px;

  background: #f7f4ef;

  text-align: center;

}


.home-weather-grid span {

  font-size: 16px;

}


.home-weather-grid strong {

  margin-top: 3px;

  font-size: 11px;

}


.home-weather-grid small {

  margin-top: 2px;

  color: #777;

  font-size: 9px;

}


.home-weather-advice {

  margin: 0 !important;

  padding:
    7px 9px;

  border-radius: 8px;

  background: #f5f1e9;

  font-size: 11px !important;

}


.home-weather-source {

  margin-top: auto;

  color: #999;

  font-size: 9px;

}


.home-weather-unavailable {

  color: #777;

  font-size: 12px;

}


@media (max-width: 400px) {

  .home-weather-grid {

    grid-template-columns:
      1fr;

  }

}




/* ==========================================================
   METEO - SOURCE ET ACTUALISATION
   ========================================================== */

.home-weather-update {

  display: block;

  margin-top: 2px;

  color: #aaa;

  font-size: 9px;

}


.home-weather-source {

  display: block;

}



.home-weather-update {

  display: block;

  margin-top: 2px;

  color: #aaa;

  font-size: 9px;

}

