/* Pont layout — shell header/footer (Vue + pages PHP white) */

html,
body {
  min-height: 100vh;
  margin: 0;
}

body[ulib-theme-data] {
  background-color: var(--color-background, #f0f0f0);
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.main.ulib-operation-template {
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh;
  width: 100%;
}

.header-footer.display-flex {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  background-color: var(--color-white, #fff);
}

/* Header + fil d’Ariane : un seul bloc fixe, breadcrumb collé sous le header */
.tunnel-chrome.sticky-tunnel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--color-white, #fff);
}

.tunnel-chrome .header-footer.display-flex {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 1;
}

.header-footer header.header-std,
.header-footer footer {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  box-sizing: border-box;
}

.header-footer header.header-std {
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 calc(var(--unit, 8px) * 2);
}

.header-footer header.header-std .header-text {
  text-align: right;
  font-family: var(--default-font, system-ui, sans-serif);
  font-size: 13px;
  line-height: 1.77;
  color: var(--color-sub-content, #666);
}

.header-footer header.header-std .right-content {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.header-footer header.header-std .left-content img {
  height: 22px;
  width: auto;
  display: block;
}

@media screen and (min-width: 961px) {
  .header-footer header.header-std .header-text {
    padding-right: calc(var(--unit, 8px) * 3);
  }
}

@media screen and (max-width: 960px) {
  .header-footer header.header-std .left-content img {
    height: 18px;
  }
  .header-footer header.header-std .header-text {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }
  .header-footer header.header-std .right-content .langage {
    position: absolute;
    right: calc(var(--unit, 8px) * 3);
    top: 18px;
    width: 28px;
    height: 20px;
  }
}

/*
 * Fil d’Ariane — port exact de style_24308222.css (_nghost-ng-c2608152886)
 * Les sélecteurs Angular ne matchent pas le DOM Vue → pont sur app-fil-ariane
 */
app-fil-ariane {
  background-color: var(--color-background);
  z-index: 100;
  display: none;
}

app-fil-ariane.display-block {
  display: block;
}

/* Dans .tunnel-chrome : collé sous le header (pas de fixed top:56px) */
.tunnel-chrome app-fil-ariane.sticky-tunnel {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Fallback si fil-ariane hors tunnel-chrome */
app-fil-ariane.sticky-tunnel.display-block {
  top: 56px;
  width: 100%;
}

app-fil-ariane .ariane-desktop {
  display: flex;
  height: 60px;
}

app-fil-ariane .ariane-desktop .ariane-progress {
  flex: 1;
  height: 2px;
}

app-fil-ariane .ariane-desktop .ariane-progress.active {
  background-color: var(--color-secondary);
}

app-fil-ariane .ariane-desktop .ariane-progress.inactive {
  background-color: var(--color-content-disabled);
}

app-fil-ariane .ariane-desktop .ariane-steps {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
}

app-fil-ariane .ariane-desktop .ariane-steps .step-wrapper {
  height: 60px;
  align-items: flex-end;
  width: 120px;
  justify-content: center;
  position: relative;
  flex-direction: column;
  display: flex;
}

app-fil-ariane .ariane-desktop .ariane-steps .step-wrapper .breadcrumb-button-wrapper {
  flex: 1;
  width: 100%;
  display: flex;
}

app-fil-ariane .ariane-desktop .ariane-steps .step-wrapper .breadcrumb-button-wrapper .border-progress {
  height: 2px;
  flex: 1;
  background-color: var(--color-content-disabled);
}

app-fil-ariane .ariane-desktop .ariane-steps .step-wrapper .breadcrumb-button-wrapper .border-progress.active {
  background-color: var(--color-secondary);
}

app-fil-ariane .ariane-desktop .ariane-steps .step-wrapper .breadcrumb-button-wrapper .logo {
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: top;
  background-image: url(/assets/img/img_53883055.svg);
  background-size: auto;
  width: 26px;
  height: 24px;
  position: relative;
}

app-fil-ariane .ariane-desktop .ariane-steps .step-wrapper .breadcrumb-button-wrapper .logo.active {
  background-image: url(/assets/img/img_66888001.svg);
}

app-fil-ariane .ariane-desktop .ariane-steps .step-wrapper .breadcrumb-button-wrapper .logo.active img {
  position: absolute;
  top: 7px;
  left: 7px;
}

app-fil-ariane .ariane-desktop .ariane-steps .step-wrapper p.step-description {
  font-family: var(--default-font);
  font-size: 11px;
  font-weight: 700;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.36;
  letter-spacing: normal;
  text-align: center;
  color: var(--content, var(--color-content));
}

app-fil-ariane .ariane-desktop .ariane-steps .step-wrapper p.step-description.active {
  color: var(--color-content);
}

app-fil-ariane .hover-effect:hover .logo {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: 0 10px 25px #34495e40;
  z-index: 1;
  transform: scale(1.1);
  transition: all 0.5s ease;
}

/* #main-content : l’Ulys original met justify-content:flex-end → formulaires en bas */
#main-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: auto;
  background-color: var(--color-background, #f0f0f0);
  justify-content: flex-start !important;
  padding-top: 115px;
}

#main-content.no-fil-ariane {
  padding-top: 56px;
}

#main-content #wrapper {
  flex: 0 0 auto;
  max-width: min(var(--max-width, 460px), 100%);
  margin: 0 auto;
  width: 100%;
  padding-left: calc(var(--unit, 8px) * 2);
  padding-right: calc(var(--unit, 8px) * 2);
  padding-bottom: calc(var(--unit, 8px) * 3);
  box-sizing: border-box;
}

/* Téléphone : drapeau à gauche du +33 */
.ulib-phone .ulib-rich-dropdown-select {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  margin: 0;
}

.ulib-phone .ulib-rich-dropdown-select-container.hide-style {
  border: none;
  height: 55px;
  background-color: transparent;
}

.ulib-phone .ulib-rich-dropdown-select-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  height: 100%;
  padding: 0 calc(var(--unit, 8px) * 1);
  cursor: default;
}

.ulib-phone .ulib-rich-dropdown-select-list-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex: 1;
  gap: 0;
}

.ulib-phone .ulib-rich-dropdown-select-list-item.ulys-flag-fr {
  padding-left: 36px;
  background-image: url(/assets/img/img_34097946.svg);
  background-repeat: no-repeat;
  background-position: 8px center;
  background-size: 28px 20px;
}

.ulib-phone .ulib-rich-dropdown-select-list-item-text {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
  font-family: var(--default-font, system-ui, sans-serif);
  font-size: 15px;
  line-height: 25px;
}

.ulib-phone .input-container .input-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding-left: 0;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ulib-phone .input-container .validation-type-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.ulib-phone .input-container .validation-type-wrapper .input-wrapper {
  flex: 1;
  min-width: 0;
}

.ulib-phone .input-container .input-wrapper input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 15px;
}

/* Champs formulaire : pas de débordement mobile */
.ulib-input,
.ulib-phone {
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}

.ulib-input .input-container,
.ulib-phone .input-container {
  max-width: 100%;
}

.ulib-input .input-wrapper,
.ulib-phone .input-wrapper {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ulib-input .input-wrapper input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

app-form-indie,
app-infos-persos {
  max-width: 100%;
  overflow-x: hidden;
}

#main-content > .header-footer.display-flex {
  margin-top: auto;
  flex-shrink: 0;
}

@media screen and (max-width: 960px) {
  app-fil-ariane.sticky-tunnel {
    top: 52px;
  }

  .tunnel-chrome app-fil-ariane.sticky-tunnel {
    top: auto !important;
  }

  app-fil-ariane .ariane-desktop {
    display: none;
  }

  #main-content {
    padding-top: 88px;
  }

  #main-content.no-fil-ariane {
    padding-top: 52px;
  }

  #main-content #wrapper {
    padding-left: calc(var(--unit, 8px) * 1);
    padding-right: calc(var(--unit, 8px) * 1);
  }

  .ulib-phone .ulib-rich-dropdown-select-container.hide-style {
    height: 48px;
    min-width: 88px;
  }

  .ulib-input .input-container .input-wrapper,
  .ulib-phone .input-container .input-wrapper {
    padding-left: calc(var(--unit, 8px) * 1);
    padding-right: calc(var(--unit, 8px) * 1);
  }
}

/* Page alert — pont Vue (style_56464064 _nghost-ng-c2726954332 / c341677090) */
app-block-header .align-center {
  width: 100%;
  box-sizing: border-box;
}

app-block-header .blockheader,
app-block-header .blockheader.flex-col-mobile {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

app-block-header .logo-badge {
  flex: none;
  max-height: 69px;
  max-width: 108px;
  margin-left: auto;
  margin-right: auto;
}

app-ulys-dual-card {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

app-ulys-dual-card .top-tag-content {
  top: -12px;
  z-index: 1;
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(var(--unit, 8px) * 3);
}

app-ulys-dual-card .bottom-content {
  border-radius: 16px;
  border: solid 1px var(--color-stroke, #ddd);
  background-color: var(--color-white, #fff);
  position: relative;
  margin-top: calc(var(--unit, 8px) * 4);
  z-index: 1;
  padding: calc(var(--unit, 8px) * 2) calc(var(--unit, 8px) * 3);
  box-sizing: border-box;
}

app-ulys-dual-card .bottom-content.no-top-radius {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
}

app-ulys-dual-card .bottom-content:empty {
  display: none;
}

@media screen and (max-width: 960px) {
  app-ulys-dual-card .bottom-content {
    box-shadow: 0 10px 26px #34495e40;
  }
}

app-ulys-image-item .container {
  min-height: 24px;
  display: flex;
  align-items: center;
}

app-ulys-image-item .container img {
  padding-right: calc(var(--unit, 8px) * 2);
  flex-shrink: 0;
}

.white-page-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 28px 24px;
  max-width: 600px;
  margin: 20px auto;
  text-align: center;
}

.white-page-card h1 {
  font-size: 1.35rem;
  color: #ff3052;
  margin-bottom: 12px;
}

.white-page-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.white-page-card a {
  color: #3498db;
  text-decoration: none;
}
