.dd-auth__form .form__password {
  width: 100%;
  display: flex;
  align-items: center;

  background-color: #fff;
  border: calc(0.5 * (100vw / 960)) solid #333;
  border-radius: calc(6 * (100vw / 960));
  padding-right: calc(8 * (100vw / 960));
}

.dd-auth__form .form__password input {
  height: 100%;
  display: block;
  flex: 1 1 100%;

  border: none;
}

.dd-auth__form .form__password .password__visible {
  width: calc(14 * (100vw / 960));
  height: calc(14 * (100vw / 960));

  flex: 0 0 auto;

  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;

  cursor: pointer;
}

.dd-auth__form .form__password .password__visible.open {
  background-image: url("../../images/icons/password-eye--open.svg");
}

.dd-auth__form .form__password .password__visible.close {
  background-image: url("../../images/icons/password-eye--close.svg");
}

.dd-auth .dd-auth__wrapper {
  min-height: 100vh;
  padding: calc(110 * (100vw / 960)) 0 calc(72 * (100vw / 960));
}

.dd-auth .dd-auth__container {
  background-image: url("../../images/auth-background.jpg");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
}

.dd-auth .dd-auth__title {
  margin-bottom: calc(24 * (100vw / 960));
  max-width: 900px;
  text-align: center;
}

.dd-auth.dd-otp .dd-auth__title {
  max-width: 100%;
}

.dd-auth .dd-auth__form {
  width: calc(293 * (100vw / 960));
}

.dd-auth .dd-auth__form .form__btn-submit {
  width: calc(186 * (100vw / 960));
}

.dd-auth .dd-auth__form .form__submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 960px) {
  .dd-auth__form .form__password {
    border: 1px solid #333;
    height: calc(56px + 93 * ((100vw - 360px) / 600));
    padding-right: calc(16px + 27 * ((100vw - 360px) / 600));
    border-radius: calc(12px + 20 * ((100vw - 360px) / 600));
    padding-right: calc(16px + 27 * ((100vw - 360px) / 600));
  }

  .dd-auth__form .form__password input {
    display: block;
    flex: 1 1 100%;

    border-radius: calc(12px + 20 * ((100vw - 360px) / 600));
    padding-left: calc(16px + 27 * ((100vw - 360px) / 600));

    border: none;
  }

  .dd-auth__form .form__password .password__visible {
    width: calc(28px + 47 * ((100vw - 360px) / 600));
    height: calc(28px + 47 * ((100vw - 360px) / 600));
  }

  .dd-auth .dd-auth__wrapper {
    min-height: 100vh;
    padding-top: calc(104px + 173 * ((100vw - 360px) / 600));
    padding-bottom: calc(104px + 173 * ((100vw - 360px) / 600));
  }

  .dd-auth .dd-auth__wrapper {
    background-position: center right;
  }

  .dd-auth .dd-auth__title {
    margin-bottom: calc(40px + 67 * ((100vw - 360px) / 600));
  }

  .dd-auth .dd-auth__form,
  .dd-auth .dd-auth__form .form__btn-submit {
    width: 100%;
  }
}

/* HELPSINISTRE AUTH SKELETON */
.dd-auth {
	background: #f4f7fb;
	min-height: 100vh;
	padding: 72px 18px;
}

.dd-auth__wrapper {
	background: #fff;
	border: 1px solid #e2e9f2;
	border-radius: 28px;
	box-shadow: 0 18px 48px rgba(11, 42, 74, 0.08);
	margin: 0 auto;
	max-width: 560px;
	padding: 40px;
}

.dd-auth__title {
	color: #0b2a4a;
	margin-bottom: 24px;
	text-align: center;
}

.dd-auth .form__field input,
.dd-auth .form__password input {
	border: 1px solid #cfd9e6;
	border-radius: 14px;
	padding: 13px 14px;
}

.dd-auth .btn--main .btn__label,
.dd-auth .form__btn-submit {
	background: #0b2a4a;
	border-radius: 999px;
	color: #fff;
}

/* HELPSINISTRE AUTH FIGMA ALIGNMENT */
.dd-auth {
	background: #071489;
	min-height: 100vh;
	padding: 104px 18px 120px;
}

.dd-auth__container::before {
	color: #fff;
	content: "▱ HELPSINISTRE\A VOTRE SINISTRE EST NOTRE AFFAIRE";
	display: block;
	font-size: 28px;
	letter-spacing: 0.04em;
	line-height: 1.6;
	margin: 0 auto 520px;
	text-align: center;
	white-space: pre;
}

.dd-auth__wrapper {
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	max-width: 960px;
	padding: 56px 58px;
}

.dd-auth__title {
	color: #071489;
	font-size: 56px;
	font-weight: 400;
	letter-spacing: -0.04em;
	margin-bottom: 54px;
}

.dd-auth .form__fields {
	display: grid;
	gap: 30px;
}

.dd-auth .form__field label,
.dd-auth .form__field > label {
	font-size: 28px;
	margin-bottom: 12px;
}

.dd-auth .form__field input,
.dd-auth .form__password input {
	border: 2px solid #000;
	border-radius: 4px;
	font-size: 30px;
	height: 86px;
	padding: 18px 28px;
}

.dd-auth .form__btn-submit {
	background: #071489;
	border: 0;
	border-radius: 4px;
	font-size: 28px;
	height: 96px;
	width: 100%;
}

.dd-auth .btn--main .btn__label {
	background: transparent;
	font-size: 28px;
}

.dd-auth .form__submit p,
.dd-auth .field__bottom p {
	color: #071489;
	font-size: 26px;
	text-align: center;
}

.dd-auth .form__submit a,
.dd-auth .field__bottom a {
	color: #071489;
}

@media screen and (max-width: 900px) {
	.dd-auth__container::before {
		margin-bottom: 120px;
	}

	.dd-auth__title {
		font-size: 38px;
	}

	.dd-auth__wrapper {
		padding: 34px 22px;
	}
}

/* Portal-only auth shell cleanup. */
body:has(.dd-auth) {
	background: #071489;
}

.dd-auth {
	align-items: flex-start;
	background: #071489;
	display: flex;
	justify-content: center;
	min-height: 100vh;
	padding: 42px 18px 72px;
}

.dd-auth .dd-auth__container {
	background-image: none;
	max-width: 960px;
	width: 100%;
}

.dd-auth__container::before {
	content: none;
}

.dd-auth__wrapper {
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	margin: 0 auto;
	max-width: 560px;
	min-height: auto;
	padding: 36px;
	width: 100%;
}

.dd-auth__brand {
	display: flex;
	justify-content: center;
	margin: 0 auto 64px;
}

.dd-auth__brand-img {
	display: block;
	height: auto;
	max-width: 155px;
	width: 155px;
}

.dd-auth__title {
	color: #071489;
	font-size: 40px;
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1.1;
	margin-bottom: 30px;
	text-align: center;
}

.dd-auth .dd-auth__form {
	margin: 0 auto;
	max-width: 440px;
	width: 100%;
}

.dd-auth .form__fields {
	display: grid;
	gap: 22px;
	width: 100%;
}

.dd-auth .form__field:not(.form__checkbox) label,
.dd-auth .form__field label,
.dd-auth .form__field > label {
	background: transparent;
	border-radius: 0;
	color: #071489;
	display: block;
	font-size: 18px;
	line-height: 1.35;
	margin: 0 0 8px;
	padding: 0;
}

.dd-auth .form__field.form__field--novalid:not(.form__checkbox) label {
	background: transparent;
	color: #ff0202;
}

.dd-auth .form__field input,
.dd-auth .form__password input {
	background: #fff;
	border: 2px solid #000;
	border-radius: 4px;
	box-shadow: none;
	color: #071489;
	font-size: 18px;
	height: 54px;
	padding: 12px 16px;
	width: 100%;
}

.dd-auth__form .form__password {
	border: 2px solid #000;
	border-radius: 4px;
	padding-right: 12px;
}

.dd-auth__form .form__password input {
	border: 0;
}

.dd-auth .form__submit {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 0;
	width: 100%;
}

.dd-auth .form__btn-submit {
	align-items: center;
	background: #071489;
	border: 2px solid #071489;
	border-radius: 6px;
	box-shadow: none;
	color: #fff;
	display: flex;
	font-size: 18px;
	height: 58px;
	justify-content: center;
	padding: 0 28px;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	width: 100%;
}

.dd-auth .form__btn-submit:hover,
.dd-auth .form__btn-submit:focus-visible {
	background: #0b2a4a;
	border-color: #0b2a4a;
	color: #fff;
	outline: 3px solid rgba(7, 20, 137, 0.2);
	outline-offset: 2px;
}

.dd-auth .btn--main .btn__label,
.dd-auth .btn--main:hover .btn__label,
.dd-auth .btn--main:focus .btn__label {
	background: transparent;
	border-radius: 0;
	color: inherit;
	display: inline;
	font-size: inherit;
	height: auto;
	padding: 0;
}

.dd-auth .form__btn-submit .btn__icon {
	display: none;
}

.dd-auth .form__submit p:last-child:empty {
	display: none;
}

.dd-auth .form__submit p,
.dd-auth .field__bottom p {
	color: #071489;
	font-size: 16px;
	line-height: 1.45;
	margin-top: 16px;
	text-align: center;
}

.dd-auth .form__submit a,
.dd-auth .field__bottom a {
	color: #071489;
}

@media screen and (max-width: 900px) {
	.dd-auth {
		padding: 28px 16px 48px;
	}

	.dd-auth__brand {
		margin-bottom: 36px;
	}

	.dd-auth__brand-img {
		max-width: 124px;
		width: 124px;
	}

	.dd-auth__wrapper {
		padding: 28px 20px;
	}

	.dd-auth__title {
		font-size: 30px;
		margin-bottom: 24px;
	}
}

/* Patch 05 auth polish. */
.dd-auth .dd-auth__container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.dd-auth__brand {
	text-decoration: none;
	width: auto;
}

.dd-auth__brand-img {
	max-width: 122px;
	width: 122px;
}

.dd-auth__wrapper .dd-auth__brand {
	display: none;
}

.dd-auth .dd-auth__form--wide {
	max-width: 720px;
}

.dd-signup .dd-auth__wrapper {
	max-width: 820px;
}

.dd-auth .form__row--two {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

@media screen and (max-width: 900px) {
	.dd-auth__brand-img {
		max-width: 104px;
		width: 104px;
	}

	.dd-auth .form__row--two {
		grid-template-columns: 1fr;
		gap: 22px;
	}
}


/* Patch 06 final auth logo and inner column alignment. */
.dd-auth__brand--stacked {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	margin-bottom: 34px;
}

.dd-auth__brand-mark,
.dd-auth__brand-wordmark {
	display: block;
	filter: none;
	height: auto;
	object-fit: contain;
}

.dd-auth__brand-mark {
	width: 62px;
}

.dd-auth__brand-wordmark {
	width: 192px;
}

.dd-auth__brand-img {
	display: none;
}

.dd-auth__wrapper {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.dd-auth .dd-auth__title,
.dd-auth .dd-auth__form,
.dd-auth .dd-auth__form .form,
.dd-auth .form__messages,
.dd-auth .form__fields,
.dd-auth .form__row,
.dd-auth .form__field,
.dd-auth .form__submit {
	box-sizing: border-box;
	max-width: 100%;
}

.dd-auth .dd-auth__form,
.dd-auth .dd-auth__form .form,
.dd-auth .form__messages,
.dd-auth .form__fields,
.dd-auth .form__row,
.dd-auth .form__field,
.dd-auth .form__submit,
.dd-auth .field__bottom {
	width: 100%;
}

.dd-auth .form__messages {
	margin-left: 0;
	margin-right: 0;
}

.dd-auth .form__messages:not(:empty),
.dd-auth .dd_notifications {
	box-sizing: border-box;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

.dd-auth .form__field input,
.dd-auth .form__password,
.dd-auth .form__password input,
.dd-auth .form__btn-submit {
	box-sizing: border-box;
	max-width: 100%;
}

.dd-auth .form__password input {
	min-width: 0;
}

.dd-auth .form__checkbox {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 12px;
}

.dd-auth .form__checkbox input {
	margin-top: 4px;
}

@media screen and (max-width: 900px) {
	.dd-auth__brand--stacked {
		gap: 8px;
		margin-bottom: 28px;
	}

	.dd-auth__brand-mark {
		width: 52px;
	}

	.dd-auth__brand-wordmark {
		width: 162px;
	}
}

/* Manual patch: restore auth inner column width and spacing. */
.dd-auth__wrapper {
	box-sizing: border-box;
	align-items: center;
}

.dd-auth .dd-auth__form {
	box-sizing: border-box;
	width: 100%;
	max-width: 440px;
	margin-right: auto;
	margin-left: auto;
}

.dd-auth .dd-auth__form--wide {
	max-width: 720px;
}

.dd-auth .dd-auth__form .form {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.dd-auth .form__messages,
.dd-auth .dd_notifications,
.dd-auth .dd-notification,
.dd-auth .notification {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0 0 24px;
}

.dd-auth .form__messages > *,
.dd-auth .dd_notifications > *,
.dd-auth .dd-notification,
.dd-auth .notification {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.dd-auth .form__fields {
	box-sizing: border-box;
	width: 100%;
}

.dd-auth .form__row,
.dd-auth .form__field,
.dd-auth .form__password,
.dd-auth .form__submit,
.dd-auth .field__bottom {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.dd-auth .form__field input,
.dd-auth .form__password input {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.dd-auth .form__btn-submit {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.dd-auth .field__bottom {
	margin-top: 10px;
}

.dd-auth .form__submit {
	margin-top: 8px;
}

.dd-auth .form__submit p,
.dd-auth .field__bottom p {
	margin-right: auto;
	margin-left: auto;
}

@media screen and (max-width: 900px) {
	.dd-auth .dd-auth__form,
	.dd-auth .dd-auth__form--wide {
		max-width: 100%;
	}

	.dd-auth .form__row--two {
		grid-template-columns: 1fr;
	}
}

/* Manual auth visual alignment final pass: 2026/06/19. */
.dd-auth {
	--dd-auth-bg: #071489;
	--dd-auth-primary: #071489;
	--dd-auth-text: #000000;
	--dd-auth-card-width: 480px;
	--dd-auth-form-width: 400px;
	--dd-auth-input-height: 48px;
	--dd-auth-button-height: 50px;

	align-items: flex-start;
	background: var(--dd-auth-bg);
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	min-height: 100vh;
	padding: 28px 18px 48px;
}

body:has(.dd-auth) {
	background: var(--dd-auth-bg);
}

.dd-auth .dd-auth__container {
	align-items: center;
	background: none;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	max-width: none;
	width: 100%;
}

.dd-auth__container::before {
	content: none;
}

.dd-auth__brand,
.dd-auth__brand--stacked {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 4px;
	justify-content: center;
	margin: 0 auto clamp(86px, 13vh, 145px);
	text-decoration: none;
	width: auto;
}

.dd-auth__brand-mark,
.dd-auth__brand-wordmark {
	display: block;
	filter: none;
	height: auto;
	object-fit: contain;
}

.dd-auth__brand-mark {
	width: 28px;
}

.dd-auth__brand-wordmark {
	width: 98px;
}

.dd-auth__brand-img,
.dd-auth__wrapper .dd-auth__brand {
	display: none;
}

.dd-auth__wrapper,
.dd-auth .dd-auth__wrapper {
	align-items: center;
	background: #ffffff;
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	margin: 0 auto;
	max-width: var(--dd-auth-card-width);
	min-height: 0;
	padding: 28px 40px 26px;
	width: 100%;
}

.dd-auth .dd-auth__title {
	box-sizing: border-box;
	color: var(--dd-auth-primary);
	font-size: 26px;
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1.08;
	margin: 0 0 28px;
	max-width: 100%;
	text-align: center;
}

.dd-auth .dd-auth__form,
.dd-auth .dd-auth__form .form,
.dd-auth .dd-auth__form > form,
.dd-auth .dd-auth__form form {
	box-sizing: border-box;
	margin-right: auto;
	margin-left: auto;
	max-width: var(--dd-auth-form-width);
	width: 100%;
}

.dd-auth .dd-auth__form .form__fields {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin: 0;
	max-width: 100%;
	width: 100%;
}

.dd-auth .dd-auth__form .form__row,
.dd-auth .dd-auth__form .form__field,
.dd-auth .dd-auth__form .form__input,
.dd-auth .dd-auth__form .form__submit,
.dd-auth .dd-auth__form .field__bottom {
	box-sizing: border-box;
	margin: 0;
	max-width: 100%;
	padding: 0;
	width: 100%;
}

.dd-auth .dd-auth__form .form__field:not(.form__checkbox) label,
.dd-auth .dd-auth__form .form__field label,
.dd-auth .dd-auth__form .form__field > label {
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--dd-auth-text);
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	margin: 0 0 6px;
	padding: 0;
}

.dd-auth .dd-auth__form .form__field input {
	background: #ffffff;
	border: 1px solid #000000;
	border-radius: 3px;
	box-shadow: none;
	box-sizing: border-box;
	color: var(--dd-auth-text);
	display: block;
	font-size: 14px;
	height: var(--dd-auth-input-height);
	line-height: 1.35;
	margin: 0;
	max-width: 100%;
	padding: 10px 14px;
	width: 100%;
}

.dd-auth .dd-auth__form .form__password {
	align-items: center;
	background: #ffffff;
	border: 1px solid #000000;
	border-radius: 3px;
	box-shadow: none;
	box-sizing: border-box;
	display: flex;
	height: var(--dd-auth-input-height);
	margin: 0;
	max-width: 100%;
	overflow: hidden;
	padding: 0;
	width: 100%;
}

.dd-auth .dd-auth__form .form__password input {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	color: var(--dd-auth-text);
	display: block;
	flex: 1 1 auto;
	font-size: 14px;
	height: 100%;
	line-height: 1.35;
	margin: 0;
	min-width: 0;
	outline: none;
	padding: 10px 14px;
	width: auto;
}

.dd-auth .dd-auth__form .form__password .password__visible,
.dd-auth .dd-auth__form .form__password button,
.dd-auth .dd-auth__form .form__password [type="button"] {
	align-items: center;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	color: #000000;
	cursor: pointer;
	display: flex;
	flex: 0 0 44px;
	height: 100%;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 44px;
}

.dd-auth .dd-auth__form .form__password .password__visible::before,
.dd-auth .dd-auth__form .form__password .password__visible::after {
	box-shadow: none;
}

.dd-auth .dd-auth__form .form__submit {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 12px;
}

.dd-auth .dd-auth__form .form__btn-submit {
	align-items: center;
	background: var(--dd-auth-primary);
	border: 1px solid var(--dd-auth-primary);
	border-radius: 4px;
	box-shadow: none;
	box-sizing: border-box;
	color: #ffffff;
	display: flex;
	font-size: 15px;
	font-weight: 400;
	height: var(--dd-auth-button-height);
	justify-content: center;
	line-height: 1.2;
	margin: 0;
	max-width: 100%;
	padding: 0 24px;
	width: 100%;
}

.dd-auth .dd-auth__form .btn--main .btn__label,
.dd-auth .dd-auth__form .btn--main:hover .btn__label,
.dd-auth .dd-auth__form .btn--main:focus .btn__label {
	background: transparent;
	border: 0;
	border-radius: 0;
	color: inherit;
	display: inline;
	font-size: inherit;
	height: auto;
	line-height: inherit;
	margin: 0;
	padding: 0;
}

.dd-auth .dd-auth__form .form__btn-submit .btn__icon {
	display: none;
}

.dd-auth .dd-auth__form .form__submit p,
.dd-auth .dd-auth__form .field__bottom p {
	color: var(--dd-auth-primary);
	font-size: 14px;
	line-height: 1.25;
	margin: 12px auto 0;
	text-align: center;
}

.dd-auth .dd-auth__form .form__submit a,
.dd-auth .dd-auth__form .field__bottom a {
	color: var(--dd-auth-primary);
}

.dd-auth .form__messages:not(:empty),
.dd-auth .dd_notifications {
	box-sizing: border-box;
	margin: 0 0 16px;
	width: 100%;
}

.dd-signup .dd-auth__wrapper {
	max-width: 850px;
	padding: 26px 30px 24px;
}

.dd-signup .dd-auth__form,
.dd-signup .dd-auth__form .form,
.dd-signup .dd-auth__form > form,
.dd-signup .dd-auth__form form {
	max-width: 790px;
}

.dd-signup .form__row--two {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media screen and (max-height: 850px) and (min-width: 901px) {
	.dd-auth {
		padding-top: 24px;
		padding-bottom: 40px;
	}

	.dd-auth__brand,
	.dd-auth__brand--stacked {
		margin-bottom: 76px;
	}
}

@media screen and (max-width: 900px) {
	.dd-auth {
		padding: 28px 16px 48px;
	}

	.dd-auth__brand,
	.dd-auth__brand--stacked {
		margin-bottom: 42px;
	}

	.dd-auth__wrapper,
	.dd-auth .dd-auth__wrapper,
	.dd-signup .dd-auth__wrapper {
		max-width: 100%;
		padding: 28px 20px 24px;
	}

	.dd-auth .dd-auth__form,
	.dd-auth .dd-auth__form .form,
	.dd-auth .dd-auth__form > form,
	.dd-auth .dd-auth__form form,
	.dd-signup .dd-auth__form,
	.dd-signup .dd-auth__form .form,
	.dd-signup .dd-auth__form > form,
	.dd-signup .dd-auth__form form {
		max-width: 100%;
	}

	.dd-signup .form__row--two {
		grid-template-columns: 1fr;
	}
}
/* Task 10B compact auth scale and password visibility sizing. */
.dd-auth {
	--dd-auth-card-width: 460px;
	--dd-auth-form-width: 380px;
	--dd-auth-input-height: 46px;
	--dd-auth-button-height: 48px;
}

.dd-auth__wrapper,
.dd-auth .dd-auth__wrapper {
	padding: 26px 36px 24px;
}

.dd-auth .dd-auth__title {
	font-size: 24px;
	margin-bottom: 24px;
}

.dd-auth .dd-auth__form .form__fields {
	gap: 12px;
}

.dd-auth .dd-auth__form .form__field:not(.form__checkbox) label,
.dd-auth .dd-auth__form .form__field label,
.dd-auth .dd-auth__form .form__field > label {
	font-size: 13px;
	margin-bottom: 5px;
}

.dd-auth .dd-auth__form .form__field input,
.dd-auth .dd-auth__form .form__password input {
	font-size: 14px;
	padding: 9px 13px;
}

.dd-auth .dd-auth__form .form__password .password__visible,
.dd-auth .dd-auth__form .form__password button,
.dd-auth .dd-auth__form .form__password [type="button"] {
	background-position: center;
	background-repeat: no-repeat;
	background-size: 20px 20px;
	flex-basis: 38px;
	min-width: 38px;
	width: 38px;
}

.dd-auth .dd-auth__form .form__btn-submit {
	font-size: 15px;
	padding: 0 22px;
}

.dd-auth .dd-auth__form .form__submit p,
.dd-auth .dd-auth__form .field__bottom p {
	font-size: 13px;
}

@media screen and (max-width: 900px) {
	.dd-auth__wrapper,
	.dd-auth .dd-auth__wrapper,
	.dd-signup .dd-auth__wrapper {
		padding: 24px 18px 22px;
	}
}

/* Final auth mobile cleanup: keep existing desktop layout, fix compact screens. */
.dd-auth .dd-auth__form .form__submit a,
.dd-auth .dd-auth__form .field__bottom a {
	font-size: inherit;
	line-height: inherit;
}

.dd-auth .dd-auth__resend {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 4px;
	justify-content: center;
	margin: 0 auto;
	max-width: 100%;
	text-align: center;
	width: 100%;
}

.dd-auth .dd-auth__resend span,
.dd-auth .dd-auth__resend-button {
	box-sizing: border-box;
	font-size: 13px;
	line-height: 1.35;
	margin: 0 auto;
	max-width: 100%;
	text-align: center;
}

.dd-auth .dd-auth__resend-button {
	appearance: none;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #071489;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	justify-content: center;
	padding: 0;
	text-decoration: underline;
	width: auto;
}

.dd-auth .form__messages.show,
.dd-auth .dd_notifications.show,
.dd-auth .form__messages:not(:empty),
.dd-auth .dd_notifications:not(:empty) {
	align-items: flex-start;
	background: #d8a94d;
	border-radius: 18px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
	justify-content: flex-start;
	margin: 0 0 16px;
	max-width: 100%;
	min-height: 0;
	padding: 12px 16px;
	width: 100%;
}

.dd-auth .form__messages p,
.dd-auth .dd_notifications p,
.dd-auth .form__messages > *,
.dd-auth .dd_notifications > * {
	box-sizing: border-box;
	font-size: 14px;
	line-height: 1.35;
	margin: 0;
	max-width: 100%;
}

.dd-auth .form__checkbox input + label::before {
	background: #ffffff;
	border: 1px solid #000000;
	border-radius: 2px;
	box-sizing: border-box;
	content: "";
	display: block;
	flex: 0 0 16px;
	height: 16px;
	margin: 1px 10px 0 0;
	width: 16px;
}

.dd-auth .form__checkbox input:checked + label::before {
	background: #071489;
	box-shadow: inset 0 0 0 3px #ffffff;
}

.dd-auth .form__checkbox.form__field--novalid input + label::before {
	border-color: #ff0202;
}

@media screen and (max-width: 1100px) {
	.dd-auth.dd-otp .dd-auth__wrapper {
		max-width: 560px;
	}

	.dd-auth.dd-otp .dd-auth__title {
		font-size: clamp(24px, 3.4vw, 30px);
		line-height: 1.12;
		margin-bottom: 24px;
	}

	.dd-auth.dd-otp .dd-auth__resend {
		margin: 0 auto;
		padding: 0;
		transform: none;
	}
}

@media screen and (max-width: 900px) {
	.dd-auth {
		--dd-auth-input-height: 46px;
		--dd-auth-button-height: 48px;
		padding: 24px 14px 44px;
	}

	.dd-auth__brand,
	.dd-auth__brand--stacked {
		gap: 4px;
		margin-bottom: 40px;
	}

	.dd-auth__brand-mark {
		width: 32px;
	}

	.dd-auth__brand-wordmark {
		width: 112px;
	}

	.dd-auth__wrapper,
	.dd-auth .dd-auth__wrapper,
	.dd-signup .dd-auth__wrapper,
	.dd-password-reset .dd-auth__wrapper,
	.dd-otp .dd-auth__wrapper {
		border-radius: 6px;
		max-width: 100%;
		padding: 24px 18px 24px;
	}

	.dd-auth .dd-auth__title,
	.dd-password-reset .dd-auth__title,
	.dd-otp .dd-auth__title {
		font-size: clamp(22px, 6vw, 28px);
		line-height: 1.12;
		margin: 0 0 22px;
	}

	.dd-auth .dd-auth__form,
	.dd-auth .dd-auth__form .form,
	.dd-auth .dd-auth__form > form,
	.dd-auth .dd-auth__form form,
	.dd-signup .dd-auth__form,
	.dd-signup .dd-auth__form .form,
	.dd-signup .dd-auth__form > form,
	.dd-signup .dd-auth__form form {
		max-width: 100%;
		width: 100%;
	}

	.dd-auth .dd-auth__form .form__fields {
		display: grid;
		gap: 14px;
	}

	.dd-signup .dd-auth__form .form__fields {
		gap: 16px;
	}

	.dd-signup .form__row--two,
	.dd-auth .form__row--two {
		display: grid;
		gap: 14px;
		grid-template-columns: 1fr;
	}

	.dd-auth .dd-auth__form .form__field,
	.dd-auth .dd-auth__form .form__row,
	.dd-auth .dd-auth__form .form__submit,
	.dd-auth .dd-auth__form .field__bottom {
		margin: 0;
		padding: 0;
	}

	.dd-auth .dd-auth__form .form__field:not(.form__checkbox) label,
	.dd-auth .dd-auth__form .form__field label,
	.dd-auth .dd-auth__form .form__field > label {
		font-size: 13px;
		line-height: 1.35;
		margin: 0 0 6px;
	}

	.dd-auth .dd-auth__form .form__field input,
	.dd-auth .dd-auth__form .form__password,
	.dd-auth .dd-auth__form .form__password input {
		border-width: 1px;
		border-radius: 3px;
		font-size: 14px;
		height: var(--dd-auth-input-height);
		line-height: 1.35;
		max-width: 100%;
		min-height: 0;
		padding: 10px 14px;
		width: 100%;
	}

	.dd-auth .dd-auth__form .form__password {
		padding: 0;
	}

	.dd-auth .dd-auth__form .form__password input {
		border: 0;
		border-radius: 0;
		flex: 1 1 auto;
		min-width: 0;
		width: auto;
	}

	.dd-auth .dd-auth__form .form__password .password__visible,
	.dd-auth .dd-auth__form .form__password button,
	.dd-auth .dd-auth__form .form__password [type="button"] {
		background-size: 18px 18px;
		flex: 0 0 38px;
		height: 100%;
		min-width: 38px;
		width: 38px;
	}

	.dd-auth .dd-auth__form .field__bottom,
	.dd-auth .dd-auth__form .form__submit p {
		margin-top: 12px;
	}

	.dd-auth .dd-auth__form .form__submit a,
	.dd-auth .dd-auth__form .field__bottom a {
		font-size: inherit;
		line-height: inherit;
	}

	.dd-auth .dd-auth__form .form__submit p,
	.dd-auth .dd-auth__form .field__bottom p {
		font-size: 14px;
		line-height: 1.3;
		margin-right: auto;
		margin-left: auto;
		max-width: 100%;
		text-align: center;
	}

	.dd-auth .dd-auth__form .form__btn-submit {
		border-radius: 4px;
		font-size: 15px;
		height: var(--dd-auth-button-height);
		padding: 0 18px;
	}

	.dd-auth .form__checkbox {
		align-items: flex-start;
		display: block;
		gap: 0;
		margin-top: 0;
	}

	.dd-auth .form__checkbox input {
		display: block !important;
		height: 1px;
		margin: 0;
		opacity: 0;
		position: absolute;
		width: 1px;
	}

	.dd-auth .form__checkbox input + label,
	.dd-auth .dd-auth__form .form__checkbox label {
		align-items: flex-start;
		background: transparent;
		color: #000000;
		display: flex;
		font-size: 13px;
		gap: 0;
		line-height: 1.35;
		margin: 0;
		padding: 0;
		text-align: left;
	}

	.dd-auth .form__checkbox input + label::before {
		flex-basis: 16px;
		height: 16px;
		margin: 1px 10px 0 0;
		width: 16px;
	}

	.dd-auth .form__messages.show,
	.dd-auth .dd_notifications.show,
	.dd-auth .form__messages:not(:empty),
	.dd-auth .dd_notifications:not(:empty) {
		border-radius: 16px;
		gap: 4px;
		margin-bottom: 14px;
		padding: 12px 14px;
	}

	.dd-auth .form__messages p,
	.dd-auth .dd_notifications p,
	.dd-auth .form__messages > *,
	.dd-auth .dd_notifications > * {
		font-size: 14px;
		line-height: 1.35;
	}

	.dd-auth .dd-auth__resend {
		gap: 3px;
		margin: 2px auto 0;
		text-align: center;
	}

	.dd-auth .dd-auth__resend span,
	.dd-auth .dd-auth__resend-button {
		font-size: 13px;
		line-height: 1.35;
		text-align: center;
	}
}

@media screen and (max-width: 420px) {
	.dd-auth {
		padding-right: 10px;
		padding-left: 10px;
	}

	.dd-auth__wrapper,
	.dd-auth .dd-auth__wrapper,
	.dd-signup .dd-auth__wrapper,
	.dd-password-reset .dd-auth__wrapper,
	.dd-otp .dd-auth__wrapper {
		padding-right: 14px;
		padding-left: 14px;
	}

	.dd-auth .dd-auth__title,
	.dd-password-reset .dd-auth__title,
	.dd-otp .dd-auth__title {
		font-size: 22px;
	}

	.dd-auth .dd-auth__form .form__submit p,
	.dd-auth .dd-auth__form .field__bottom p {
		font-size: 13px;
	}
}


/* Final desktop signup checkbox fix: hide the native input when using the custom checkbox marker. */
.dd-auth .form__checkbox input[type="checkbox"] {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	display: block;
	height: 1px;
	margin: 0;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.dd-auth .form__checkbox input[type="checkbox"] + label,
.dd-auth .dd-auth__form .form__checkbox label {
	align-items: flex-start;
	background: transparent;
	color: #000000;
	display: flex;
	font-size: 13px;
	gap: 0;
	line-height: 1.35;
	margin: 0;
	padding: 0;
	text-align: left;
}
