/* Sticky footer using flexbox - works with DSFR */
html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

main {
  flex: 1 0 auto;
  min-height: 0; /* Allow main to shrink if needed */
}

footer.fr-footer {
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Utility classes for centering content */
.center-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 2rem;
}

.center-content img {
  max-width: 100%;
  height: auto;
}

/* Full height utility classes */
.min-h-full {
  min-height: 100%;
}

.full-height-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.full-height-grid {
  min-height: 60vh; /* Minimum 60% of viewport height for better visual balance */
  align-items: stretch; /* Allow columns to stretch */
}

.full-height-grid .fr-col-12:first-child {
  display: flex;
  align-items: center; /* Center only the left column content */
}

.full-height-grid .fr-background-alt--blue-france {
  display: flex; /* Make right column flex to fill height */
}

/* Field display layout classes */
.field-layout-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 1.5rem;
}

.field-layout-container:last-child {
  margin-bottom: 0;
}

.field-layout-content {
  flex: 1;
  margin-right: 1rem;
}

.field-layout-badge {
  flex-shrink: 0;
}

.stepper__separator {
  border: none;
  border-bottom: 1px solid var(--border-default-grey);
  height: 0;
}

.fr-label--required::after {
  content: "*";
  margin-left: 0.25rem;
  color: var(--light-decisions-artwork-artwork-minor-red-marianne, #E1000F);
  font-family: monospace;
  cursor: help;
}

.badge--no-background {
  background-color: transparent;
  padding: 0;
}

