.auth-page .card {
	background: #10151f;
	border-radius: 18px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.55);
	padding: 40px 32px 32px 32px;
	min-width: 420px;
	max-width: 95vw;
	margin: 0 auto;
}
.login-title, .register-title {
	color: #fff;
	font-size: 2.6rem;
	margin-bottom: 0.5rem;
	font-weight: 800;
	letter-spacing: -1px;
}
.login-subtitle, .register-subtitle {
	color: #7f8aa4;
	margin-bottom: 2rem;
	font-size: 1.1rem;
}
.field {
	margin-bottom: 1.5rem;
}
.label {
	display: block;
	margin-bottom: 0.5rem;
	color: #b0bad6;
	font-size: 1.05rem;
	font-weight: 600;
}
.input-wrap {
	display: flex;
	align-items: center;
	background: #181f2a;
	border-radius: 10px;
	padding: 0 16px;
	border: 1.5px solid #232b3b;
	transition: border 0.2s;
}
.input-wrap:focus-within {
	border: 1.5px solid #2d8cf0;
}
.input {
	flex: 1;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 1.08rem;
	padding: 14px 0;
	outline: none;
	font-family: inherit;
}
.toggle-visibility {
	background: none;
	border: none;
	color: #7f8aa4;
	cursor: pointer;
	font-size: 1.2rem;
	margin-left: 8px;
	padding: 0 4px;
}
.login-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}
.remember {
	color: #b0bad6;
	font-size: 0.98rem;
}
.forgot {
	color: #2d8cf0;
	text-decoration: none;
	font-size: 0.98rem;
	font-weight: 600;
}
.forgot:hover {
	text-decoration: underline;
}
.submit {
	width: 100%;
	background: linear-gradient(90deg, #1ec8e7 0%, #2d8cf0 100%);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 16px 0;
	font-size: 1.18rem;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.2s;
	margin-bottom: 1rem;
	box-shadow: 0 2px 8px rgba(30,200,231,0.08);
}
.submit:hover {
	background: linear-gradient(90deg, #2d8cf0 0%, #1ec8e7 100%);
}
.switch {
	text-align: center;
	color: #b0bad6;
	font-size: 1.05rem;
	margin-top: 1.2rem;
}
.switch a {
	color: #1ec8e7;
	text-decoration: none;
	font-weight: bold;
}
.switch a:hover {
	text-decoration: underline;
}
.terms {
	display: flex;
	align-items: center;
	font-size: 0.98rem;
	color: #b0bad6;
	margin-bottom: 1.2rem;
}
.terms a {
	color: #1ec8e7;
	text-decoration: none;
	font-weight: 600;
}
.terms a:hover {
	text-decoration: underline;
}
.back {
	display: inline-block;
	color: #2d8cf0;
	text-decoration: none;
	margin-bottom: 1.5rem;
	font-size: 1rem;
	font-weight: 600;
}
.back:hover {
	text-decoration: underline;
}
.msg.ok {
	background: #1ec8e7;
	color: #fff;
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 1rem;
	text-align: center;
}
.msg.error {
	background: #ff4d4f;
	color: #fff;
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 1rem;
	text-align: center;
}
/* Mot de passe oublié */
.back {
	display: inline-block;
	color: #2d8cf0;
	text-decoration: none;
	margin-bottom: 1.5rem;
	font-size: 1rem;
}
.back:hover {
	text-decoration: underline;
}
.msg.ok {
	background: #1ec8e7;
	color: #fff;
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 1rem;
	text-align: center;
}
.msg.error {
	background: #ff4d4f;
	color: #fff;
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 1rem;
	text-align: center;
}
.card {
	background: #181f2a;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.45);
	padding: 40px 32px 32px 32px;
	min-width: 350px;
	max-width: 90vw;
	margin: 0 auto;
}
body.auth-page {
	font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
	background: #0b1220;
	margin: 0;
	padding: 0;
	color: #cad2e6;
}
.auth-wrap {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.auth-page .card,
.auth-page .login-card,
.auth-page .register-card {
	background: #181f2a;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.55);
	padding: 18px 20px 16px 20px;
	min-width: 320px;
	max-width: 90vw;
	margin: 0 auto;
	border: 1.5px solid #232b3b;
}
.login-title {
	color: #fff;
	font-size: 2.1rem;
	margin-bottom: 0.3rem;
	font-weight: 800;
	letter-spacing: -1px;
}
.login-subtitle {
	color: #7d8db0;
	margin-bottom: 1.1rem;
	font-size: 1.01rem;
	font-weight: 500;
}
.field {
	margin-bottom: 0.8rem;
}
.label {
	display: block;
	margin-bottom: 0.5rem;
	color: #7d8db0;
	font-size: 1.01rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}
.input-wrap {
	display: flex;
	align-items: center;
	background: #232b3b;
	border-radius: 10px;
	padding: 0 16px;
	border: 1.5px solid #232b3b;
	transition: border 0.2s;
}
.input-wrap:focus-within {
	border: 1.5px solid #2d8cf0;
}
.input {
	flex: 1;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 1.01rem;
	padding: 10px 0;
	outline: none;
	font-family: inherit;
}
	background: none;
	border: none;
	color: #7f8aa4;
	cursor: pointer;
	font-size: 1.2rem;
	margin-left: 8px;
}
.login-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}
.remember {
	color: #b0bad6;
	font-size: 0.95rem;
}
.submit {
	width: 100%;
	background: linear-gradient(90deg, #1ec8e7 0%, #2d8cf0 100%);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 12px 0;
	font-size: 1.08rem;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.2s;
	margin-bottom: 0.7rem;
	box-shadow: 0 2px 8px rgba(30,200,231,0.08);
}
.submit:hover {
	background: linear-gradient(90deg, #2d8cf0 0%, #1ec8e7 100%);
}
	cursor: pointer;
	transition: background 0.2s;
	margin-bottom: 1rem;
}
.submit:hover {
	background: linear-gradient(90deg, #2d8cf0 0%, #1ec8e7 100%);
}
.switch {
	text-align: center;
	color: #b0bad6;
	font-size: 1rem;
}
.switch a {
	color: #1ec8e7;
	text-decoration: none;
	font-weight: bold;
}
.switch a:hover {
	text-decoration: underline;
}
