/* ==========================================================================
   Geofoncier Auth — Premium Cartographic Design System
   A luxury interface inspired by topographic heritage & land surveying
   ========================================================================== */

/* ---------- @keyframes ---------- */

/* Floating blob animations for anonymous pages background */
@keyframes floatBlob1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(12px, -8px) scale(1.02);
  }
  66% {
    transform: translate(-6px, 10px) scale(0.98);
  }
}

@keyframes floatBlob2 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-10px, 14px) scale(1.03) rotate(2deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes subtlePulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes borderGlow {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(120, 165, 141, 0.08);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(120, 165, 141, 0.15);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- Design Tokens ---------- */

:root {
  /* Core palette */
  --gf-albatre: #ecebe4;
  --gf-red: #e2001a;
  --gf-red-hover: #c8001a;
  --gf-green: #31493d;
  --gf-green-deep: #1e3028;
  --gf-green-light: rgba(49, 73, 61, 0.06);
  --gf-green-hover: rgba(49, 73, 61, 0.1);
  --gf-grey: #3e393d;
  --gf-white: #ffffff;
  --gf-perle: #a4a4a4;
  --gf-fougere: #78a58d;
  --gf-fougere-light: rgba(120, 165, 141, 0.12);
  --gf-black: #1a1a1a;

  /* Derived tones */
  --gf-cream: #f5f4f0;
  --gf-warm-grey: #6b6368;
  --gf-border: rgba(49, 73, 61, 0.12);
  --gf-border-hover: rgba(49, 73, 61, 0.3);
  --gf-input-bg: rgba(245, 244, 240, 0.6);

  /* Shadows — layered for depth */
  --gf-shadow-card:
    0 1px 2px rgba(30, 48, 40, 0.04), 0 4px 12px rgba(30, 48, 40, 0.06),
    0 16px 40px rgba(30, 48, 40, 0.08);
  --gf-shadow-card-hover:
    0 2px 4px rgba(30, 48, 40, 0.06), 0 8px 24px rgba(30, 48, 40, 0.1),
    0 24px 56px rgba(30, 48, 40, 0.12);
  --gf-shadow-input: 0 1px 3px rgba(30, 48, 40, 0.04);
  --gf-shadow-input-focus:
    0 0 0 3px rgba(120, 165, 141, 0.18), 0 2px 8px rgba(49, 73, 61, 0.08);
  --gf-shadow-btn:
    0 2px 4px rgba(30, 48, 40, 0.12), 0 4px 12px rgba(30, 48, 40, 0.08);
  --gf-shadow-btn-hover:
    0 4px 8px rgba(30, 48, 40, 0.16), 0 8px 24px rgba(30, 48, 40, 0.12);

  /* Typography */
  --gf-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --gf-font-display:
    "Outfit", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --gf-font-mono: "JetBrains Mono", "Fira Code", monospace;

  /* Spacing & Radii */
  --gf-radius-xs: 6px;
  --gf-radius-sm: 10px;
  --gf-radius-md: 14px;
  --gf-radius-lg: 20px;
  --gf-radius-xl: 28px;

  /* Motion */
  --gf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gf-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gf-duration: 0.3s;
  --gf-duration-slow: 0.5s;
}

/* ==========================================================================
   Page Layout — Anonymous pages (login/register) with albatre background
   ========================================================================== */

/* Anonymous pages background */
.page {
  font-family: var(--gf-font-body);
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  height: 100vh;
  overflow-y: auto;
  animation: fadeIn 0.6s var(--gf-ease) both;
  background-color: #ecebe4;
  position: relative;
}

/* Decorative blob — bottom-right (smaller) — only on anonymous pages */
.page::before {
  content: "";
  position: fixed;
  bottom: -5%;
  right: -2%;
  width: 28vw;
  height: 28vw;
  max-width: 400px;
  max-height: 400px;
  background: url("../img/bg/deco-blob-main.png") no-repeat center / contain;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  animation: floatBlob1 20s ease-in-out infinite;
}

/* Decorative blob — top-left (larger green blob) — only on anonymous pages */
.page::after {
  content: "";
  position: fixed;
  top: -8%;
  left: -5%;
  width: 42vw;
  height: 42vw;
  max-width: 600px;
  max-height: 600px;
  background: url("../img/bg/deco-blob-large.png") no-repeat center / contain;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
  animation: floatBlob2 25s ease-in-out infinite;
}

/* Logo — fixed bottom-left */
.page__logo {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 1.5rem 2rem;
  z-index: 10;
}

.page__logo-img {
  height: 38px;
  width: auto;
  display: block;
}

@media all and (max-width: 767px) {
  .page.responsive {
    height: auto;
    padding: 1.25rem;
    min-height: auto;
  }
}

@media all and (max-width: 991px) {
  .page {
    text-align: center;
  }
}

/* ==========================================================================
   Jumbotron — The Card
   ========================================================================== */

.jumbotron {
  display: inline-block;
  position: relative;
  background-color: var(--gf-white);
  max-width: 480px;
  border-radius: var(--gf-radius-xl);
  box-shadow: var(--gf-shadow-card);
  overflow: hidden;
  animation: fadeInUp 0.7s var(--gf-ease) both;
  animation-delay: 0.15s;
  transition: box-shadow var(--gf-duration-slow) var(--gf-ease);
}

.jumbotron:hover {
  box-shadow: var(--gf-shadow-card-hover);
}

@media all and (max-width: 991px) {
  .jumbotron {
    text-align: left;
  }
}

.jumbotron--wide {
  max-width: 1080px;
}

.jumbotron h1,
.jumbotron h2 {
  margin: 0;
}

.jumbotron .align-right {
  text-align: right;
  margin-left: auto;
  white-space: nowrap;
}

.jumbotron * {
  box-sizing: border-box;
}

.jumbotron ul,
.jumbotron ol {
  display: block;
  padding: 0;
  list-style: none inside none;
}

.jumbotron li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
  padding-right: 60px;
}

.jumbotron .hidden {
  display: none;
}

/* ---------- Row & Column Layout ---------- */

@media all and (min-width: 768px) {
  .jumbotron__row {
    display: flex;
  }
}

/* Ensure memoriser / forgot password row is always inline */
.jumbotron__section--padded > form > .jumbotron__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

@media all and (min-width: 992px) {
  .jumbotron__section {
    flex: 50%;
  }
}

.jumbotron__section--padded {
  padding: 3rem 2.75rem;
}

@media all and (max-width: 767px) {
  .jumbotron__section--padded {
    padding: 2rem 1.5rem;
  }
}

/* Dark sidebar — deep forest green with texture */
.jumbotron__section--dark,
.jumbotron__column--dark {
  background: linear-gradient(
    170deg,
    var(--gf-green-deep) 0%,
    var(--gf-green) 45%,
    #2a5a45 100%
  );
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
}

/* Topographic grid pattern overlay on dark sections */
.jumbotron__section--dark::after,
.jumbotron__column--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.5) 39px,
      rgba(255, 255, 255, 0.5) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.5) 39px,
      rgba(255, 255, 255, 0.5) 40px
    );
  pointer-events: none;
}

.jumbotron__section--dark {
  padding-top: 70px;
}

.jumbotron__section--dark .jumbotron__title {
  font-size: 1.5rem;
  line-height: 1.3;
}

.jumbotron__section--dark .jumbotron__text {
  font-size: 0.9rem;
  padding-right: 80px;
  margin-bottom: 30px;
}

@media all and (min-width: 992px) {
  .jumbotron__column--40 {
    flex: 40%;
  }
}

@media all and (min-width: 992px) {
  .jumbotron__column--60 {
    flex: 60%;
  }
}

.jumbotron__column--padded {
  padding: 2.75rem 2.5rem;
}

@media all and (max-width: 767px) {
  .jumbotron__column--padded {
    padding: 2rem 1.5rem;
  }
}

.jumbotron__column--dark {
  padding-top: 3rem;
}

.jumbotron__column--dark .jumbotron__title {
  font-size: 1.5rem;
  line-height: 1.3;
}

.jumbotron__column--dark .jumbotron__text {
  font-size: 0.9rem;
  padding-right: 60px;
  margin-bottom: 30px;
}

.jumbotron__centerer {
  flex: 1;
  align-items: center;
  justify-content: center;
}

.jumbotron__content {
  display: inline-block;
  position: relative;
  z-index: 1;
}

/* ---------- Titles & Text ---------- */

.jumbotron__side_title {
  font-family: var(--gf-font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  animation: slideInLeft 0.7s var(--gf-ease) both;
  animation-delay: 0.3s;
}

.jumbotron__slogan {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  padding-right: 20px;
  line-height: 1.7;
  opacity: 0.75;
  font-weight: 400;
  animation: slideInLeft 0.7s var(--gf-ease) both;
  animation-delay: 0.45s;
}

.jumbotron__highlight {
  color: var(--gf-fougere);
  font-style: italic;
}

.jumbotron__title {
  font-family: var(--gf-font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.jumbotron__title--center {
  text-align: center;
}

.jumbotron__login_title {
  font-family: var(--gf-font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.05;
  text-align: center;
  margin-bottom: 0.35rem;
  color: var(--gf-green);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.6s var(--gf-ease) both;
  animation-delay: 0.3s;
}

.jumbotron__login_subtitle {
  font-family: var(--gf-font-body);
  text-align: center;
  font-weight: 400;
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
  line-height: 1.4;
  color: var(--gf-warm-grey);
  letter-spacing: 0.02em;
  animation: fadeInUp 0.6s var(--gf-ease) both;
  animation-delay: 0.4s;
}

.jumbotron__bold {
  font-weight: 600;
}

.jumbotron__subtitle {
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: var(--gf-warm-grey);
}

.jumbotron__text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.jumbotron__help {
  margin-bottom: 1.75rem;
  text-align: center;
  color: var(--gf-warm-grey);
  font-size: 0.9rem;
  animation: fadeInUp 0.6s var(--gf-ease) both;
  animation-delay: 0.5s;
}

/* ---------- Links ---------- */

.jumbotron__link {
  color: var(--gf-green);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--gf-duration) var(--gf-ease);
  border-bottom: 1.5px solid transparent;
}

.jumbotron__link:hover {
  color: var(--gf-fougere);
  border-bottom-color: var(--gf-fougere);
  text-decoration: none;
}

/* ---------- Labels ---------- */

.jumbotron__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gf-grey);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.jumbotron__label--radio {
  color: var(--gf-grey);
  opacity: 0.85;
  text-transform: none;
  font-weight: 400;
}

/* ---------- Inputs ---------- */

.jumbotron__input {
  font-family: var(--gf-font-body);
  width: 100%;
}

.jumbotron__input--text {
  border: 1.5px solid var(--gf-border);
  border-radius: var(--gf-radius-sm);
  font-size: 0.9rem;
  margin: 8px 0;
  padding: 13px 16px;
  background-color: var(--gf-input-bg);
  box-shadow: var(--gf-shadow-input);
  transition:
    border-color var(--gf-duration) var(--gf-ease),
    box-shadow var(--gf-duration) var(--gf-ease),
    background-color var(--gf-duration) var(--gf-ease);
}

.jumbotron__input--text:hover {
  border-color: var(--gf-border-hover);
  background-color: var(--gf-white);
}

.jumbotron__input--text:focus {
  border-color: var(--gf-fougere);
  box-shadow: var(--gf-shadow-input-focus);
  background-color: var(--gf-white);
  outline: none;
}

/* Checkbox */
.jumbotron__input--checkbox {
  position: absolute;
  opacity: 0;
  right: 10000px;
}

.jumbotron__input--checkbox + label {
  position: relative;
  cursor: pointer;
  padding: 0;
  margin-left: 3px;
}

.jumbotron__input--checkbox + label:before {
  content: "";
  margin-right: 10px;
  display: inline-block;
  vertical-align: text-top;
  width: 20px;
  height: 20px;
  background: var(--gf-cream);
  border-radius: var(--gf-radius-xs);
  box-shadow: inset 0 0 0 1.5px var(--gf-border);
  transition: all var(--gf-duration) var(--gf-ease);
}

.jumbotron__input--checkbox:hover + label:before {
  box-shadow: inset 0 0 0 1.5px var(--gf-border-hover);
}

.jumbotron__input--checkbox:focus + label:before {
  box-shadow:
    inset 0 0 0 1.5px var(--gf-fougere),
    0 0 0 3px rgba(120, 165, 141, 0.15);
}

.jumbotron__input--checkbox:checked + label:before {
  background: var(--gf-green);
  box-shadow: inset 0 0 0 1.5px var(--gf-green);
}

.jumbotron__input--checkbox:disabled + label {
  color: #b8b8b8;
  cursor: auto;
}

.jumbotron__input--checkbox:disabled + label:before {
  box-shadow: none;
  background: #ddd;
}

.jumbotron__input--checkbox:checked + label:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  background: white;
  width: 2px;
  height: 2px;
  box-shadow:
    2px 0 0 white,
    4px 0 0 white,
    4px -2px 0 white,
    4px -4px 0 white,
    4px -6px 0 white,
    4px -8px 0 white;
  transform: rotate(45deg);
}

/* Picto inputs */
.jumbotron__input--with-picto {
  background-position: 16px center;
  background-size: 16px;
  background-repeat: no-repeat;
  padding-left: 44px;
}

.jumbotron__input::placeholder {
  color: var(--gf-perle);
  font-weight: 400;
}

/* ---------- Select ---------- */

.jumbotron__select {
  background-color: var(--gf-input-bg);
  border: 1.5px solid var(--gf-border);
  border-radius: var(--gf-radius-sm);
  font-size: 0.9rem;
  font-family: var(--gf-font-body);
  margin-top: 8px;
  padding: 13px 16px;
  width: 100%;
  appearance: none;
  box-shadow: var(--gf-shadow-input);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2378a58d' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  transition:
    border-color var(--gf-duration) var(--gf-ease),
    box-shadow var(--gf-duration) var(--gf-ease),
    background-color var(--gf-duration) var(--gf-ease);
}

.jumbotron__select:hover {
  border-color: var(--gf-border-hover);
  background-color: var(--gf-white);
}

.jumbotron__select:focus {
  border-color: var(--gf-fougere);
  box-shadow: var(--gf-shadow-input-focus);
  background-color: var(--gf-white);
  outline: none;
}

/* ---------- Buttons & Submit ---------- */

.jumbotron__submit {
  background: linear-gradient(
    160deg,
    var(--gf-green) 0%,
    var(--gf-green-deep) 100%
  );
  border: none;
  color: var(--gf-white);
  display: block;
  padding: 15px 24px;
  text-align: center;
  text-decoration: none;
  width: 100%;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--gf-font-body);
  border-radius: var(--gf-radius-sm);
  box-shadow: var(--gf-shadow-btn);
  transition: all var(--gf-duration) var(--gf-ease);
  cursor: pointer;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on submit */
.jumbotron__submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  transition: left 0.5s var(--gf-ease);
}

.jumbotron__submit:hover::after {
  left: 100%;
}

.jumbotron__submit:hover {
  box-shadow: var(--gf-shadow-btn-hover);
  transform: translateY(-2px);
  color: var(--gf-white);
  cursor: pointer;
}

.jumbotron__submit:active {
  transform: translateY(0);
  box-shadow: var(--gf-shadow-btn);
}

/* ATLAS SSO — elegant outlined variant */
.jumbotron__submit--atlas {
  background: var(--gf-white);
  color: var(--gf-green);
  border: 1.5px solid var(--gf-border);
  box-shadow: var(--gf-shadow-input);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.jumbotron__submit--atlas::after {
  display: none;
}

.jumbotron__submit--atlas:hover {
  background: var(--gf-fougere-light);
  border-color: var(--gf-fougere);
  color: var(--gf-green);
  box-shadow: 0 2px 8px rgba(120, 165, 141, 0.15);
  transform: translateY(-1px);
}

.jumbotron__btn {
  margin-bottom: 15px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.jumbotron__btn--dark {
  background: linear-gradient(
    160deg,
    var(--gf-green) 0%,
    var(--gf-green-deep) 100%
  );
  border: none;
  color: var(--gf-white);
  display: block;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  transition: all var(--gf-duration) var(--gf-ease);
  width: 100%;
  border-radius: var(--gf-radius-sm);
  box-shadow: var(--gf-shadow-btn);
}

.jumbotron__btn--dark:hover {
  box-shadow: var(--gf-shadow-btn-hover);
  transform: translateY(-1px);
  color: var(--gf-white);
  cursor: pointer;
}

.jumbotron__btn--light {
  background-color: var(--gf-cream);
  border: 1.5px solid var(--gf-border);
  color: var(--gf-grey);
  display: block;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  transition: all var(--gf-duration) var(--gf-ease);
  width: 100%;
  border-radius: var(--gf-radius-sm);
}

.jumbotron__btn--light:hover {
  background-color: var(--gf-fougere-light);
  border-color: var(--gf-fougere);
  color: var(--gf-green);
  cursor: pointer;
}

/* ---------- Divider ---------- */

.jumbotron__divider {
  text-align: center;
  margin: 1.75rem 0;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--gf-perle);
  font-weight: 500;
}

.jumbotron__divider:after,
.jumbotron__divider:before {
  vertical-align: middle;
  content: "";
  margin: 0 12px;
  display: inline-block;
  width: 80px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gf-border),
    transparent
  );
  height: 1px;
}

/* ---------- Fields ---------- */

.jumbotron__field {
  margin-bottom: 0.75rem;
}

.jumbotron__field--margin-right {
  margin-right: 15px;
}

.jumbotron__field--margin-left {
  margin-left: 15px;
}

.jumbotron__item--green {
  color: var(--gf-fougere);
}

/* ---------- Dynamic ---------- */

.jumbotron__dynamic {
  max-width: 100%;
}

.jumbotron__dynamic--message {
  min-width: 530px;
  min-height: 384px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Error, Info, Message ---------- */

.jumbotron__error,
.jumbotron__error li {
  font-size: 0.9rem;
  color: var(--gf-red);
  font-weight: 500;
}

.jumbotron__info {
  color: var(--gf-warm-grey);
  font-size: 0.9rem;
  line-height: 1.5;
}

.jumbotron__mark {
  background-position: left center;
  background-size: 14px;
  background-repeat: no-repeat;
  padding-left: 24px;
}

.jumbotron li.jumbotron__mark {
  padding-right: 0;
}

.jumbotron__message {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- Validation ---------- */

.jumbotron__validation {
  margin-bottom: 1.25rem;
}

.jumbotron__validation ul {
  margin: 0;
  padding: 0;
}

.jumbotron__validation li {
  list-style: disc inside;
  line-height: 1.5;
  font-size: 0.9rem;
  margin: 0;
}

.jumbotron__validation__info {
  margin-bottom: 15px;
}

/* ---------- Toggle ---------- */

.jumbotron__toggle {
  color: inherit;
  display: inline-block;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.jumbotron__toggle_2 {
  color: inherit;
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: none;
}

.jumbotron__toggler {
  color: var(--gf-warm-grey);
  font-size: 0.9rem;
  transition: color var(--gf-duration) var(--gf-ease);
}

.jumbotron__toggler:hover {
  color: var(--gf-green);
}

.jumbotron__toggler i {
  color: var(--gf-perle);
  font-size: 0.9rem;
  display: inline-block;
  margin-right: 6px;
  transition: color var(--gf-duration) var(--gf-ease);
}

.jumbotron__toggler:hover i {
  color: var(--gf-fougere);
}

.jumbotron__toggler--hidden {
  display: none;
}

/* ---------- Number Badge ---------- */

.jumbotron__number {
  background: linear-gradient(135deg, var(--gf-fougere) 0%, #5d9070 100%);
  color: var(--gf-white);
  border-radius: 50px;
  display: inline-block;
  font-weight: 700;
  height: 52px;
  left: 0;
  line-height: 52px;
  margin: 0 auto;
  position: absolute;
  right: 0;
  text-transform: uppercase;
  top: -28px;
  font-size: 1.5rem;
  width: 52px;
  box-shadow: 0 4px 12px rgba(120, 165, 141, 0.3);
  animation: scaleIn 0.5s var(--gf-ease-bounce) both;
  animation-delay: 0.7s;
}

/* ---------- Border Box ---------- */

.jumbotron__border {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--gf-radius-md);
  margin-top: 5rem;
  padding: 2rem 1.5rem 1.25rem;
  position: relative;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
  animation: fadeInUp 0.6s var(--gf-ease) both;
  animation-delay: 0.8s;
}

/* ==========================================================================
   Box
   ========================================================================== */

.box {
  display: inline-block;
  text-align: center;
  max-width: 100%;
  height: 100%;
}

#commentairesTextarea {
  display: none;
  width: 100%;
}

.cadre {
  border: 1.5px solid rgba(49, 73, 61, 0.2);
  padding: 15px;
  border-radius: var(--gf-radius-sm);
  background: linear-gradient(
    160deg,
    var(--gf-green) 0%,
    var(--gf-green-deep) 100%
  );
  margin: 10px 0;
}

.cadre a {
  color: var(--gf-fougere);
  text-decoration: none;
  transition: color var(--gf-duration) var(--gf-ease);
}

.cadre a:hover {
  color: var(--gf-white);
}

#blockAbonnementCher,
#blockDifficulte,
#blockAutreService {
  display: none;
}

#deleteSuggestionsTextarea {
  height: 6em;
  width: 100%;
}

@media all and (max-width: 991px) {
  .box {
    padding-top: 1px;
  }
}

#delete-account {
  padding: 20px 10px;
  background: linear-gradient(
    160deg,
    var(--gf-green) 0%,
    var(--gf-green-deep) 100%
  );
  border-radius: var(--gf-radius-lg);
}

.scroll-container {
  overflow: scroll;
}

@media all and (min-width: 991px) {
  #delete-account {
    display: flex;
  }
  #deleteSuggestionsTextarea {
    width: 100%;
    height: 4em;
  }
  #commentairesTextarea {
    height: 50px;
  }
}

.box__container,
.box__container2 {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.box__column {
  display: inline-block;
  flex: 50%;
}

.box__column--padded-right {
  padding-right: 10px;
}

.box__column--padded-left {
  padding-left: 10px;
}

.box__input {
  border: 1.5px solid var(--gf-border);
  border-radius: var(--gf-radius-sm);
  width: 100%;
  padding: 0 12px;
  font-size: 18px;
  height: 100%;
  background: var(--gf-input-bg);
  transition:
    border-color var(--gf-duration) var(--gf-ease),
    box-shadow var(--gf-duration) var(--gf-ease),
    background-color var(--gf-duration) var(--gf-ease);
}

.box__input:focus {
  border-color: var(--gf-fougere);
  box-shadow: var(--gf-shadow-input-focus);
  background-color: var(--gf-white);
  outline: none;
}

.box__submit {
  background: linear-gradient(
    160deg,
    var(--gf-green) 0%,
    var(--gf-green-deep) 100%
  );
  border: none;
  color: var(--gf-white);
  display: block;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  transition: all var(--gf-duration) var(--gf-ease);
  width: 100%;
  white-space: break-spaces;
  border-radius: var(--gf-radius-sm);
  box-shadow: var(--gf-shadow-btn);
}

.box__submit:hover {
  box-shadow: var(--gf-shadow-btn-hover);
  transform: translateY(-1px);
  color: var(--gf-white);
  cursor: pointer;
}

.deletion-buttons-container {
  margin-top: 20px;
  height: 70px;
}

.box__link {
  display: inline-block !important;
  margin: 10px;
  background: linear-gradient(
    160deg,
    var(--gf-green) 0%,
    var(--gf-green-deep) 100%
  );
  border: none;
  color: var(--gf-white);
  padding: 15px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  transition: all var(--gf-duration) var(--gf-ease);
  width: auto;
  border-radius: var(--gf-radius-sm);
  box-shadow: var(--gf-shadow-btn);
}

.box__link:last-child {
  margin-right: 0;
}

.box__link:hover {
  box-shadow: var(--gf-shadow-btn-hover);
  transform: translateY(-1px);
  color: var(--gf-white);
  cursor: pointer;
}

.label_form_suppression {
  color: var(--gf-white) !important;
  font-size: 16px !important;
  background-color: var(--gf-green);
}

.box__message {
  color: var(--gf-white);
  font-size: 16px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 20px;
  background: linear-gradient(
    160deg,
    var(--gf-green) 0%,
    var(--gf-green-deep) 100%
  );
  text-align: left;
}

.box__message2 {
  color: var(--gf-white);
  font-size: 16px;
  padding-left: 30px;
  padding-right: 30px;
  background: linear-gradient(
    160deg,
    var(--gf-green) 0%,
    var(--gf-green-deep) 100%
  );
  text-align: left;
}

.box__message ul {
  padding: 0;
  margin: 0;
}

.box__message li {
  list-style: none;
}

.box__error {
  color: var(--gf-white);
}

.box__error ul {
  margin: 0;
}

.small-text {
  font-size: 90%;
}

/* ==========================================================================
   Card
   ========================================================================== */

.card {
  display: block;
  background-color: var(--gf-white);
  padding: 2.5rem;
  max-width: 100%;
  width: 420px;
  border-radius: var(--gf-radius-xl);
  box-shadow: var(--gf-shadow-card);
  animation: fadeInUp 0.7s var(--gf-ease) both;
  animation-delay: 0.15s;
  position: relative;
}

.card__input {
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 20px;
  border: 1.5px solid var(--gf-border);
  border-radius: var(--gf-radius-sm);
  font-size: 18px;
  background: var(--gf-input-bg);
  box-shadow: var(--gf-shadow-input);
  transition:
    border-color var(--gf-duration) var(--gf-ease),
    box-shadow var(--gf-duration) var(--gf-ease),
    background-color var(--gf-duration) var(--gf-ease);
}

.card__input:hover {
  border-color: var(--gf-border-hover);
  background-color: var(--gf-white);
}

.card__input:focus {
  border-color: var(--gf-fougere);
  box-shadow: var(--gf-shadow-input-focus);
  background-color: var(--gf-white);
  outline: none;
}

.card__info {
  color: var(--gf-grey);
}

.card__submit {
  background: linear-gradient(
    160deg,
    var(--gf-green) 0%,
    var(--gf-green-deep) 100%
  );
  border: none;
  color: var(--gf-white);
  display: block;
  padding: 15px 24px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  transition: all var(--gf-duration) var(--gf-ease);
  width: 100%;
  margin-top: 30px;
  font-weight: 600;
  font-family: var(--gf-font-body);
  border-radius: var(--gf-radius-sm);
  cursor: pointer;
  box-shadow: var(--gf-shadow-btn);
}

.card__submit:hover {
  box-shadow: var(--gf-shadow-btn-hover);
  transform: translateY(-2px);
  color: var(--gf-white);
  cursor: pointer;
}

/* ==========================================================================
   Select Invalid
   ========================================================================== */

select:invalid {
  color: gray;
}

/* ==========================================================================
   Centered Modal
   ========================================================================== */

.centered-modal {
  display: none;
  position: fixed;
  z-index: 1000;
}

.centered-modal .ui.dimmer {
  background-color: rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Disabled Code
   ========================================================================== */

.disabled-code-received {
  pointer-events: none;
  color: gray;
  cursor: not-allowed;
}

/* ==========================================================================
   Columns Container (Options Layout)
   ========================================================================== */

.columns-container {
  display: flex;
  justify-content: space-between;
}

.column_options1,
.column_options2 {
  padding: 10px;
  flex: 1;
}

.column_options1 > .field,
.column_options2 > .field {
  margin-bottom: 0.5em;
}

@media (min-width: 769px) {
  .columns-container {
    gap: 20px;
  }
  .column_options1,
  .column_options2 {
    width: 30vw;
  }
}

@media (max-width: 768px) {
  .columns-container {
    flex-direction: column;
  }
  .column_options1 {
    padding-bottom: 0;
  }
  .column_options2 {
    padding-top: 0;
  }
}

/* ==========================================================================
   Textarea
   ========================================================================== */

textarea {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-family: var(--gf-font-body);
  border: 1.5px solid var(--gf-border);
  border-radius: var(--gf-radius-sm);
  padding: 12px 16px;
  transition:
    border-color var(--gf-duration) var(--gf-ease),
    box-shadow var(--gf-duration) var(--gf-ease);
}

textarea:focus {
  border-color: var(--gf-fougere);
  box-shadow: var(--gf-shadow-input-focus);
  outline: none;
}

/* ==========================================================================
   Subscription Modal
   ========================================================================== */

#subscription-modal {
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1em;
  width: 60%;
  height: auto;
  max-height: 80%;
  z-index: 1000;
}

/* ==========================================================================
   Required Asterisk
   ========================================================================== */

.required-asterisk {
  color: var(--gf-red);
  font-weight: 600;
}

/* ==========================================================================
   Semantic UI Overrides — Error Messages
   ========================================================================== */

.ui.negative.message {
  background: rgba(226, 0, 26, 0.06);
  border: 1.5px solid rgba(226, 0, 26, 0.2);
  border-radius: var(--gf-radius-sm);
  box-shadow: none;
  color: var(--gf-red);
  animation: fadeInUp 0.4s var(--gf-ease) both;
  margin-bottom: 1.25rem;
}

.ui.negative.message .header {
  color: var(--gf-red);
  font-weight: 600;
  font-size: 0.9rem;
}

.ui.negative.message p {
  color: var(--gf-grey);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ==========================================================================
   Form stagger animation — sequential input reveal
   ========================================================================== */

.jumbotron__section--padded .jumbotron__label,
.jumbotron__section--padded .jumbotron__submit,
.jumbotron__section--padded .jumbotron__submit--atlas,
.jumbotron__section--padded .jumbotron__row,
.jumbotron__section--padded .ui.negative.message {
  animation: fadeInUp 0.5s var(--gf-ease) both;
}

.jumbotron__section--padded .jumbotron__label:nth-child(1) {
  animation-delay: 0.55s;
}
.jumbotron__section--padded .jumbotron__label:nth-child(2) {
  animation-delay: 0.6s;
}
.jumbotron__section--padded .jumbotron__label:nth-child(3) {
  animation-delay: 0.65s;
}
.jumbotron__section--padded .jumbotron__row {
  animation-delay: 0.7s;
}
.jumbotron__section--padded .jumbotron__submit {
  animation-delay: 0.75s;
}
