/* SÉCURITÉ DU COMPTE (securite-compte.js) */

body.sec-bloque { overflow: hidden; }

.sec-fond {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(160deg, #193b7a, #0f2752);
  overflow-y: auto;
}

.sec-carte {
  width: min(480px, 100%);
  padding: 28px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  color: #1f2937;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.sec-carte h1 { margin: 0 0 10px; color: #193b7a; font-size: 22px; }
.sec-carte ol { margin: 14px 0 18px; padding-left: 20px; text-align: left; }
.sec-carte li { margin-bottom: 6px; }
.sec-icone { margin: 0; font-size: 48px; }

.sec-bouton {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.sec-bouton.sec-principal { border-color: #244d9b; background: #244d9b; color: #fff; }
.sec-bouton:disabled { opacity: .6; cursor: wait; }

.sec-message { min-height: 1.4em; margin: 12px 0 0; color: #15803d; font-weight: 600; }
.sec-message.sec-ko { color: #b42318; }
.sec-petit { margin: 14px 0 0; color: #64748b; font-size: 13px; }

.sec-lien {
  padding: 0;
  border: 0;
  background: none;
  color: #2563eb;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.sec-bandeau {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 1600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 8px 14px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: #fef3c7;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .15);
  color: #92400e;
  font-size: 13.5px;
  text-align: center;
}

.sec-bandeau button {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #1f3a68;
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.sec-bandeau .sec-x { min-height: 26px; padding: 0 8px; background: transparent; color: inherit; font-size: 18px; }
