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

#wrap {
  background-color: var(--main-color);
  padding: 0;
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#header img {
  margin-bottom: unset;
}

main {
  min-height: 100%;
  flex-grow: 1;
}

.container {
  max-width: 756px;
}

.icon-menu {
  width: 28px;
}

.card {
  border: none;
}

.card-body {
  padding: 0;
}

.img-thumbnail {
  border: none;
}

div.form {
  max-width: 480px;
}

div.actions {
  margin: 0;
}

div.actions {
  margin: 0;
}

div.actions a {
  margin-top: 0;
}

/* Style du bouton principal */
.btn-success {
  padding: 12px 36px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  border: none;
  border-radius: 24px;
  cursor: not-allowed;
  transition: background-color 0.3s ease;
  background-color: var(--primary-color);
  cursor: pointer;
  box-shadow: none !important;
  border-style: none;

  &.enabled {
    background-color: var(--primary-color);
    cursor: pointer;
  }
}

.btn-success:hover {
  background-color: var(--header-text-color) !important;
}

.btn-success:active {
  background-color: var(--primary-color) !important;
}

.btn-success:focus {
  background-color: var(--primary-color) !important;
}

.btn-success.disabled, .btn-success:disabled{
 background-color: var(--disabled-color) !important;
 cursor: default;
}

/* Style du bouton secondaire */
.btn-second-level {
  padding: 12px 36px;
  font-size: 16px;
  font-weight: bold;
  color: #951B81;
  border: 1px solid #B8C7CC;
  border-radius: 24px;
  
  transition: background-color 0.3s ease;
  background-color: #FFF;
  cursor: pointer;
  box-shadow: none !important;
  cursor: pointer;
}


.btn-second-level:hover {
  background-color: var(--header-text-color) !important;
  color: white;
  border: 1px solid var(--header-text-color) !important;  
}

.btn-second-level:active {
  background-color: #FFF !important;
  color: #951B81 !important;
  border: 1px solid #B8C7CC !important;
}

.btn-second-level:focus {
  background-color: var(--header-text-color) !important;
  color: white !important;
  border: 1px solid var(--header-text-color) !important;
}

.btn-second-level.disabled, .btn-second-level:disabled{
  background-color: var(--disabled-color) !important;
  color: white !important;
  border: 1px solid  var(--disabled-color) !important; 
   cursor: default;
}



.btn:active {
  box-shadow: none !important;
}

.btn:focus {
  box-shadow: none !important;
}


.btnFC {
	width: 209px;
	height: 56px;
	background-image: url('/static/franceConnect-idle.png');
	background-size: cover;
	transition: background-image 0.3s ease-in-out;
}

.btnFC:hover {
	background-image: url('/static/franceConnect-activ.png');
}




/*-------------------------*/
/* Import du style du template html livré */
:root {
  --primary-color: #761468;
  --main-color: #f2f8fa;
  --footer-bg: #333850;
  --error-color: #af2134;
  --border-color: #e5e7eb;
  --input-label-color: #757575;
  --input-border-color: #ccc;
  --disabled-color: #ccc;
  --hr-border-color: #e2e8f0;
  --header-text-color: #951b81;
  --mobile-header-bg-color: #e9ecff;
  --mobile-header-text-color: #1c1b1f;
}

*, :before, :after {
  border-color: var(--border-color);
}

body {
  font-family: Open Sans, sans-serif;
  background: var(--main-color);
}

.link-primary {
  color: var(--primary-color);
  display: inline-block;
}

.text-header {
  color: var(--header-text-color);
}

hr {
  border-color: var(--hr-border-color);
}

#footer {
  background-color: var(--footer-bg);
  height: auto;
  color: var(--color-white);
  padding-top: 0;
}

.link-footer {
  text-decoration : no-underline;
  color: var(--color-white);
}

.link-footer:hover {
  text-decoration : underline;
  color: var(--color-white);
}

/* Style header */
.header-mobile-container {
  height: 4rem;
}

.header-mobile div {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index:10;

  @media (min-width: 769px) {
    display: none;
  }

  a {
    display: flex;
    height: 4rem;
    align-items: center;
    border-bottom-width: 1px;
    padding-left: 2rem;
    padding-right: 2rem;
    background-color: var(--mobile-header-bg-color);
    color: var(--mobile-header-text-color);

    span {
      font-size: 1.125rem;
      line-height: 1.75rem;
      font-weight: 600;
    }
    img {
      background-color: transparent !important;
    }
  }
}

/* Style pour imiter le mat-form-field */
.input-group {
  position: relative;
  margin: 20px 0;

  input {
    width: 100%;
    font-size: 16px;
    border: 1px solid var(--input-border-color);
    border-radius: 4px;
    outline: none;
    background: white;
    height: 56px;

    &:focus,
    &.not-empty {
      border: 2px solid var(--primary-color);
      + label {
        top: -8px;
        font-size: 12px;
      }
    }
  }

  label {
    position: absolute;
    top: 16px;
    left: 12px;
    color: var(--input-label-color);
    font-size: 16px;
    background: white;
    padding: 0 4px;
    transition: 0.2s ease all;
    pointer-events: none;
  }

  .error-icon,
  .eye-icon {
    color: var(--input-label-color);
    position: absolute;
    right: 12px;
    top: 1.25rem;
    font-size: 20px;
  }

  .error-icon {
    display: none;
    color: var(--error-color);
  }

  &:not(.error) {
    input:focus + label,
    input.not-empty + label {
      color: var(--primary-color);
    }
  }

  &.error {
    input {
      border-color: var(--error-color);
    }

    label {
      color: var(--error-color);
    }

    .error-icon,
    .eye-icon {
      display: block;
    }
  }

  .form-error {
    color: var(--error-color);
    font-size: 13px;
    margin-top: 4px;
    display: none;

    &.visible {
      display: block;
    }
  }
}

.form-control:focus {
  box-shadow : none;
}

.special-link {
    text-decoration: underline !important;
    color: var(--primary-color) !important;
  }

.special-link:hover {
    text-decoration: none !important;
  }


/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --font-weight-light: 300;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}
@layer utilities {
  .absolute {
    position: absolute;
  }
  .z-40 {
    z-index: 40;
  }
  .row-span-full {
    grid-row: 1 / -1;
  }
  .m-8 {
    margin: calc(var(--spacing) * 8);
  }
  .mx-4 {
    margin-inline: calc(var(--spacing) * 4);
  }
  .mx-8 {
    margin-inline: calc(var(--spacing) * 8);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .my-1 {
    margin-block: calc(var(--spacing) * 1);
  }
  .my-3 {
    margin-block: calc(var(--spacing) * 3);
  }
  .my-4 {
    margin-block: calc(var(--spacing) * 4);
  }
  .my-8 {
    margin-block: calc(var(--spacing) * 8);
  }
  .my-\[19\.1px\] {
    margin-block: 19.1px;
  }
  .my-auto {
    margin-block: auto;
  }
  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }
  .mr-6 {
    margin-right: calc(var(--spacing) * 6);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .ml-2 {
    margin-left: calc(var(--spacing) * 2);
  }
  .ml-8 {
    margin-left: calc(var(--spacing) * 8);
  }
  .ml-auto {
    margin-left: auto;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .h-22 {
    height: calc(var(--spacing) * 22);
  }
  .h-full {
    height: 100%;
  }
  .h-px {
    height: 1px;
  }
  .w-3\/4 {
    width: calc(3/4 * 100%);
  }
  .w-100 {
    width: calc(var(--spacing) * 100);
  }
  .w-\[10\.75rem\] {
    width: 10.75rem;
  }
  .w-\[116px\] {
    width: 116px;
  }
  .w-\[175px\] {
    width: 175px;
  }
  .w-full {
    width: 100%;
  }
  .grid-flow-col {
    grid-auto-flow: column;
  }
  .grid-rows-6 {
    grid-template-rows: repeat(6, minmax(0, 1fr));
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-row {
    flex-direction: row;
  }
  .items-center {
    align-items: center;
  }
  .justify-around {
    justify-content: space-around;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .justify-items-center {
    justify-items: center;
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  .self-center {
    align-self: center;
  }
  .bg-black {
    background-color: var(--color-black);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .object-contain {
    object-fit: contain;
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .pr-2 {
    padding-right: calc(var(--spacing) * 2);
  }
  .text-center {
    text-align: center;
  }
  .text-end {
    text-align: end;
  }
  .text-left {
    text-align: left;
  }
  .font-sans {
    font-family: var(--font-sans);
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-light {
    --tw-font-weight: var(--font-weight-light);
    font-weight: var(--font-weight-light);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .text-white {
    color: var(--color-white);
  }
  .no-underline {
    text-decoration-line: none;
    color: inherit !important;
  }
  .underline {
    text-decoration-line: underline;
  }
  .decoration-1 {
    text-decoration-thickness: 1px;
    color : white;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .hover\:no-underline {
    &:hover {
      @media (hover: hover) {
        text-decoration-line: none;
      }
    }
  }
  .hover\:underline {
    &:hover {
      @media (hover: hover) {
        text-decoration-line: underline;
      }
    }
  }
  .sm\:mb-0 {
    @media (width >= 40rem) {
      margin-bottom: calc(var(--spacing) * 0);
    }
  }
  .sm\:flex-row {
    @media (width >= 40rem) {
      flex-direction: row;
    }
  }
  .md\:row-span-6 {
    @media (width >= 48rem) {
      grid-row: span 6 / span 6;
    }
  }
  .md\:block {
    @media (width >= 48rem) {
      display: block;
    }
  }
  .md\:grid {
    @media (width >= 48rem) {
      display: grid;
    }
  }
  .md\:hidden {
    @media (width >= 48rem) {
      display: none;
    }
  }
  .md\:w-4\/6 {
    @media (width >= 48rem) {
      width: calc(4/6 * 100%);
    }
  }
  .md\:flex-row {
    @media (width >= 48rem) {
      flex-direction: row;
    }
  }
  .md\:px-12 {
    @media (width >= 48rem) {
      padding-inline: calc(var(--spacing) * 12);
    }
  }
  .lg\:m-auto {
    @media (width >= 64rem) {
      margin: auto;
    }
  }
  .lg\:max-w-\[1400px\] {
    @media (width >= 64rem) {
      max-width: 1400px;
    }
  }
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
    }
  }
}
