/* ==================================================
	 Connexion Page
	 Palette: #700118 (primary), #F4EFEC (white), #0d0d0f/#1a1a1f (background)
	 ================================================== */


:root {
	--reg-primary: #700118;
	--reg-white: #F4EFEC;
	--reg-bg: #0d0d0f;
	--reg-panel: #1a1a1a;
	--reg-border: #F4EFEC;
	--reg-muted: #c7c8cc;
	--reg-shadow: 0 0 18px 4px rgba(244, 239, 236, 0.45);
}

body {
	background: #1a1a1a;
	color: var(--reg-white);
	font-family: 'Futura', 'Futura PT', 'Futura Std', Arial, sans-serif;
	font-weight: 100;
}

.register-hero {
	position: relative;
	max-width: 960px;
	margin: 60px auto 240px;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 26px;
	background: transparent;
}

.register-hero__logo {
	display: flex;
	align-items: center;
}

.register-hero__logo img {
	width: 80px;
	height: auto;
	background: transparent;
}

.register-hero__title {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	position: relative;
	background: transparent;
}


.register-hero__title p {
	display: block;
	margin: 0 0 8px 0;
	color: var(--reg-white);
	letter-spacing: 0.5px;
	font-weight: 900;
	font-size: 2.5rem;
	text-align: center;
	background: transparent;
}

.register-hero__title h1 {
	margin: 0;
	font-size: 48px;
	letter-spacing: 0.5px;
	color: var(--reg-white);
	font-family: 'Futura', 'Futura PT', 'Futura Std', Arial, sans-serif;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: center;
	text-align: center;
	background: transparent;
}

.register-hero__title h1 {
	margin: 0;
	font-size: 48px;
	letter-spacing: 0.5px;
	color: var(--reg-white);
	font-weight: 900;
	display: flex;
	align-items: center;
	gap: 20px;
}

.register-card {
	width: 455px;
	max-width: 100%;
	background: #1a1a1a;
	border: 3px solid var(--reg-white);
	border-radius: 16px;
	padding: 40px 35px 45px;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	animation: slideInCard 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes slideInCard {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.register-card h2, .login-title-custom {
	margin: 0 0 28px;
	font-size: 24px;
	color: var(--reg-white);
	font-family: 'Futura Demi', 'Futura PT Demi', 'Futura Std Demi', 'Futura', Arial, sans-serif;
	font-weight: 600;
	text-align: center;
	letter-spacing: 0.3px;
}

.register-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 0;
	align-items: center;
	width: 100%;
}

.field {
	position: relative;
}

.field input[type="email"],
.field input[type="text"],
.field input[type="password"] {
	width: 280px;
	height: 48px;
	max-width: 100%;
	padding: 0 18px;
	background: var(--reg-white);
	border: 2px solid #ddd;
	border-radius: 24px;
	color: #1a1a1a;
	font-size: 0.98rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-sizing: border-box;
	margin: 0;
	display: block;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.field input::placeholder {
	color: #bbb;
}

.field input:focus {
	outline: none;
	border-color: var(--reg-primary);
	box-shadow: 0 0 0 4px rgba(112, 1, 24, 0.15), 0 4px 12px rgba(112, 1, 24, 0.2);
	transform: translateY(-2px);
}



/* Nettoyage : suppression des styles orphelins/dupliqués */

.btn-register-primary {
	margin: 12px auto 0 auto;
	width: 140px;
	height: 40px;
	border: none;
	border-radius: 24px;
	background: var(--reg-white);
	color: var(--reg-primary);
	font-family: 'Futura Demi', 'Futura PT Demi', 'Futura Std Demi', 'Futura', Arial, sans-serif;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
	padding: 0 18px;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
	user-select: none;
	position: static;
	overflow: visible;
	box-shadow: none;
}
.btn-register-primary:hover {
	background: var(--reg-primary);
	color: var(--reg-white);
	box-shadow: none;
	/* filter: blur(0.5px); */
}
.btn-register-primary:active {
	transform: none;
}

	margin: 12px auto 0 auto;
	width: 120px;
	height: 38px;
	border: none;
	border-radius: 24px;
	background: var(--reg-white);
	color: var(--reg-primary);
	font-family: 'Futura Demi', 'Futura PT Demi', 'Futura Std Demi', 'Futura', Arial, sans-serif;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
	padding: 0 18px;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
	user-select: none;
	position: static;
	/* Auth link custom styles */
	.login-link-custom {
		margin-top: 44px;
		text-align: center;
		font-size: 16px;
	}
	.no-account-text {
		font-family: 'Futura', 'Futura PT', 'Futura Std', Arial, sans-serif;
		font-weight: 400;
		font-size: 16px;
		color: var(--reg-white) !important;
	}
	.signup-link-custom {
		color: var(--reg-primary) !important;
		text-decoration: none;
		font-family: 'Futura', 'Futura PT', 'Futura Std', Arial, sans-serif;
		font-weight: 700;
		font-size: 16px;
		margin-left: 6px;
	}
	.signup-link-custom {
		color: var(--reg-primary);
		text-decoration: none;
		font-family: 'Futura', 'Futura PT', 'Futura Std', Arial, sans-serif;
		font-weight: 700;
		font-size: 16px;
		margin-left: 6px;
	}
}
.btn-register-primary {
	margin: 12px auto 0 auto;
	width: 140px;
	height: 40px;
	border: none;
	border-radius: 24px;
	background: var(--reg-white);
	color: var(--reg-primary);
	font-family: 'Futura Demi', 'Futura PT Demi', 'Futura Std Demi', 'Futura', Arial, sans-serif;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
	padding: 0 18px;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
	user-select: none;
	position: static;
	overflow: visible;
	box-shadow: none;
}
.btn-register-primary:hover {
	background: var(--reg-primary);
	color: var(--reg-white);
	box-shadow: 0 6px 18px rgba(112, 1, 24, 0.18);
}
.btn-register-primary:active {
	transform: none;
}

.success-message a,
.error-message a {
	color: var(--reg-white);
	font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
	.register-hero {
		margin: 40px auto 60px;
		padding: 0 16px;
	}

	.register-hero__logo img {
		width: 100px;
	}

	.register-hero__title h1 {
		font-size: 36px;
	}

	.register-card {
		padding: 26px 22px;
	}
}

@media (max-width: 480px) {
	.register-hero {
		gap: 18px;
	}

	.register-hero__title h1 {
		font-size: 1.9rem;
	}

	.register-card h2 {
		font-size: 1.4rem;
	}
}
