:root {

	/* Couleurs */

	--mf-primary: #007AFF;
	--mf-primary-hover: #0069d9;

	--mf-background: #F5F5F7;
	--mf-card: #FFFFFF;

	--mf-text: #1D1D1F;
	--mf-secondary: #6E6E73;

	--mf-border: #D2D2D7;

	/* Coins */

	--mf-radius-card: 28px;
	--mf-radius-input: 18px;
	--mf-radius-button: 20px;

	/* Ombres */

	--mf-shadow:
		0 20px 60px rgba(0,0,0,.08);

	/* Animation */

	--mf-speed: .20s;

}

/* Safari / Chrome autofill */

.mf-input-group input:-webkit-autofill,
.mf-input-group input:-webkit-autofill:hover,
.mf-input-group input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--mf-text) !important;
  caret-color: var(--mf-text);
  transition: background-color 9999s ease-in-out 0s;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #F5F5F8;
  color: var(--mf-text);
}

.mf-auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}

.mf-auth-card{
	width:100%;
	max-width:590px;
	padding:56px;
	background:white;
	border-radius:var(--mf-radius-card);
	
	/* box-shadow:0 18px 45px rgba(0,0,0,.08); */
	box-shadow:0 25px 70px rgba(0,0,0,.12);
}

.mf-eyebrow {
  color: var(--mf-muted);
  font-size: .85rem;
  margin-bottom: 8px;
}

.mf-auth-header h1{
	font-size:2.5rem;
	font-weight:700;
	letter-spacing:-0.04em;
	margin-bottom:.6rem;
}

.mf-auth-header p {
  color: var(--mf-muted);
  margin-bottom: 28px;
}

.form-control{
	height:68px;
	border-radius:18px;
	border:2px solid #D2D2D7;
	font-size:1.4rem;
	transition:.20s;
}

.form-control:focus{
	border-color:#007AFF;
	box-shadow:0 0 0 4px rgba(0,122,255,.15);
}

.form-label {
  margin-bottom: 6px;
}

.alert {
  border-radius: 16px;
  font-size: .95rem;
}

.btn-login,
.btn-register {
	height: 54px;
	border: 0;
	border-radius: 18px;
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -.02em;
	transition: .25s ease;
	box-shadow:
		0 8px 20px rgba(0,122,255,.18);
}

.btn-primary{
	height:54px;
	font-size:1.45rem;
	font-weight:600;
	border-radius:18px;
	background:#007AFF;
	border:none;
	transition:.20s;
}

.btn-primary:hover{
	background:#0069d9;
	transform:translateY(-1px);
}

.mf-auth-footer {
  margin-top: 26px;
}

.mf-auth-footer a{
	color:#007AFF;
	font-weight:500;
	text-decoration:none;
}

.mf-auth-footer a:hover{
	text-decoration:underline;
}

.mf-input-group {
  height: 48px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--mf-border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.mf-input-group .input-group-text {
  height: 100%;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0 !important;
  color: var(--mf-secondary);
  padding: 0;
}

.mf-input-group .form-control {
  height: 100%;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 1.05rem;
  padding: 0 16px 0 4px;
}

.mf-input-group .form-control:focus {
  background: transparent;
  border: 0 !important;
  box-shadow: none !important;
}

.mf-input-group:focus-within {
  border-color: var(--mf-primary);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, .14);
}

.mf-form-help{
	font-size:.90rem;
	color:#6E6E73;
	margin-top:10px;
}

.form-check{
	display:flex;
	align-items:flex-start;
	gap:16px;
	margin-top:30px;
}

.form-check-input{
	width:22px;
	height:22px;
	margin-top:4px;
	flex-shrink:0;
}

.form-check-label{
	font-size:1.05rem;
	line-height:1.6;
	color:#3C3C43;
}

.mf-auth-button {
  -webkit-appearance: none;
  appearance: none;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 54px;
  margin: 28px 0 0;
  padding: 0 24px;

  border: 0;
  border-radius: 16px;

  background-color: var(--mf-primary);
  color: #fff;

  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;

  transition:
	background-color .2s ease,
	transform .2s ease,
	box-shadow .2s ease;
}

.mf-auth-button:hover {
  background-color: var(--mf-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 122, 255, .18);
}

.mf-auth-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 122, 255, .18);
}

.mf-auth-button:active {
  transform: translateY(0);
  box-shadow: none;
}

.mf-auth-button:disabled {
  background-color: #a7cfff;
  color: #fff;
  cursor: not-allowed;
  opacity: 1;
  transform: none;
  box-shadow: none;
}

/* =========================================================
   CONFIRMATION DE L’INSCRIPTION
   ========================================================= */

.mf-confirmation-card {
	max-width: 650px;
	text-align: left;
}

.mf-confirmation-icon {
	display: grid;
	place-items: center;

	width: 72px;
	height: 72px;
	margin-bottom: 28px;

	color: #007aff;
	background: #edf5ff;
	border-radius: 22px;
}

.mf-confirmation-icon svg {
	width: 34px;
	height: 34px;
	stroke-width: 1.8;
}

.mf-confirmation-header {
	margin-bottom: 24px;
}

.mf-confirmation-header h1 {
	margin-bottom: 16px;
	font-size: 2.35rem;
	line-height: 1.08;
}

.mf-confirmation-header p {
	margin-bottom: 0;
	color: #6e6e73;
	line-height: 1.55;
}

.mf-confirmation-greeting {
	margin-bottom: 8px !important;
	color: #1d1d1f !important;
	font-weight: 600;
}

.mf-confirmation-email {
	display: flex;
	align-items: center;
	gap: 12px;

	margin: 24px 0;
	padding: 18px 20px;

	color: #1d1d1f;
	background: #f5f5f7;
	border: 1px solid #dedee3;
	border-radius: 16px;

	font-size: 17px;
	overflow-wrap: anywhere;
}

.mf-confirmation-email svg {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: #6e6e73;
}

.mf-confirmation-text {
	margin: 0 0 26px;

	color: #3a3a3c;
	font-size: 15px;
	line-height: 1.6;
}

.mf-confirmation-help {
	display: flex;
	align-items: flex-start;
	gap: 14px;

	padding: 18px;

	background: #f7f8fb;
	border: 1px solid #e2e5eb;
	border-radius: 16px;
}

.mf-confirmation-help-icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;

	width: 34px;
	height: 34px;

	color: #007aff;
	background: #eaf3ff;
	border-radius: 10px;
}

.mf-confirmation-help-icon svg {
	width: 18px;
	height: 18px;
}

.mf-confirmation-help strong {
	color: #1d1d1f;
	font-size: 14px;
}

.mf-confirmation-help p {
	margin: 5px 0 0;

	color: #6e6e73;
	font-size: 13px;
	line-height: 1.55;
}

.mf-confirmation-actions {
	display: grid;
	gap: 12px;
	margin-top: 30px;
}

.mf-confirmation-actions form {
	margin: 0;
}

.mf-confirmation-primary-button,
.mf-confirmation-secondary-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;

	width: 100%;
	min-height: 54px;
	padding: 0 22px;

	background: #147efb;
	border-radius: 16px;

	font-size: 15px;
	font-weight: 600;
	text-decoration: none;

	cursor: pointer;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.mf-confirmation-primary-button {
	color: #ffffff;
	background: #007aff;
	border: 1px solid #007aff;
}

.mf-confirmation-primary-button:hover {
	color: #ffffff;
	background: #006ee6;
	border-color: #006ee6;
}

.mf-confirmation-primary-button:active {
	transform: scale(0.99);
}

.mf-confirmation-primary-button svg {
	width: 18px;
	height: 18px;
}

.mf-confirmation-secondary-button {
	color: #1d1d1f;
	background: #ffffff;
	border: 1px solid #d2d2d7;
}

.mf-confirmation-secondary-button:hover {
	color: #1d1d1f;
	background: #f5f5f7;
}

.mf-confirmation-note {
	margin: 22px 0 0;

	color: #8e8e93;
	font-size: 12px;
	text-align: center;
}

/*
 * =========================================================
 * INSCRIPTION - BOUTON CRÉER MON COMPTE
 * =========================================================
 */

#registerButton {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	min-height: 54px;

	margin-top: 18px;

	padding: 12px 24px;

	border: 0;
	border-radius: 16px;

	background: #0a84ff;

	color: #ffffff;

	font-size: 15px;
	font-weight: 600;

	cursor: pointer;

	transition:
		background .18s ease,
		opacity .18s ease,
		transform .18s ease;
}


#registerButton:hover:not(:disabled) {
	background: #0071e3;
}


#registerButton:active:not(:disabled) {
	transform: scale(.99);
}


#registerButton:disabled {
	background: #d1d1d6;

	color: #8e8e93;

	opacity: 1;

	cursor: not-allowed;

	box-shadow: none;
}


/*
 * =========================================================
 * CONDITIONS GÉNÉRALES
 * =========================================================
 */

.register-terms {
	display: flex;
	align-items: flex-start;

	gap: 10px;

	margin-top: 24px;
}


.register-terms input[type="checkbox"] {
	flex: 0 0 auto;

	width: 20px;
	height: 20px;

	margin-top: 2px;

	accent-color: #0a84ff;

	cursor: pointer;
}


.register-terms label {
	margin: 0;

	color: #1d1d1f;

	font-size: 14px;
	line-height: 1.5;
}


.register-terms a {
	color: #0a84ff;

	text-decoration: none;
}


.register-terms a:hover {
	text-decoration: underline;
}


@media (max-width: 575px) {

	.mf-confirmation-icon {
		width: 62px;
		height: 62px;

		border-radius: 18px;
	}

	.mf-confirmation-icon svg {
		width: 29px;
		height: 29px;
	}

	.mf-confirmation-email {
		font-size: 15px;
	}

}