@import url("base.css?a6221087");

/* login page of the platform, look of bimvio.com (main site) */

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

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: var(--bv-slate-50);
	color: var(--bv-slate-700);
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}

a {
	color: var(--bv-yellow-dark);
}

.topbar {
	display: flex;
	justify-content: flex-end;
	gap: 24px;
	padding: 6px 24px;
	background-color: var(--bv-yellow);
	font-size: 13px;
	font-weight: 500;
}

.topbar a {
	color: var(--bv-navy);
	text-decoration: none;
}

header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
	background-color: #fff;
	border-bottom: 1px solid var(--bv-slate-200);
}

header .logo img {
	display: block;
	height: 44px;
	width: auto;
}

header .back {
	color: var(--bv-slate-700);
	text-decoration: none;
	font-weight: 500;
}

header .back:hover {
	color: var(--bv-navy);
}

main {
	flex: 1;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 48px 16px;
}

.card {
	width: 100%;
	max-width: 420px;
	padding: 32px;
	background-color: #fff;
	border: 1px solid var(--bv-slate-200);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

h1 {
	margin: 0;
	color: var(--bv-navy);
	font-size: 26px;
	font-weight: 700;
}

h1::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	margin-top: 8px;
	border-radius: 2px;
	background-color: var(--bv-yellow);
}

.sub {
	margin: 12px 0 20px 0;
	color: var(--bv-slate-500);
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.notice {
	margin-bottom: 16px;
	padding: 10px 12px;
	border-radius: 8px;
	background-color: var(--bv-yellow-pale);
	color: var(--bv-navy);
	font-size: 14px;
}

label {
	display: block;
	margin: 12px 0 4px 0;
	color: var(--bv-navy);
	font-size: 14px;
	font-weight: 600;
}

input {
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--bv-slate-300);
	border-radius: 8px;
	background-color: #fff;
	color: var(--bv-navy);
	font: inherit;
}

/* password with eye button to show it */
.pwWrap {
	position: relative;
}

.pwWrap input {
	padding-right: 46px;
}

.pwWrap button.eye {
	position: absolute;
	top: 0;
	right: 0;
	width: 44px;
	height: 42px;
	margin: 0;
	padding: 0;
	border-radius: 0 8px 8px 0;
	background: none;
	color: var(--bv-slate-500);
	cursor: pointer;
}

.pwWrap button.eye:hover,
.pwWrap button.eye[aria-pressed="true"] {
	color: var(--bv-navy);
}

.pwWrap button.eye svg {
	width: 22px;
	height: 22px;
	vertical-align: middle;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pwWrap button.eye .hide,
.pwWrap button.eye[aria-pressed="true"] .show {
	display: none;
}

.pwWrap button.eye[aria-pressed="true"] .hide {
	display: inline;
}

input:focus {
	outline: none;
	border-color: var(--bv-navy);
	box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.6);
}

button {
	width: 100%;
	height: 44px;
	margin-top: 16px;
	border: none;
	border-radius: 999px;
	background-color: var(--bv-navy);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

button:hover {
	background-color: var(--bv-slate-800);
}

button.secondary {
	background-color: var(--bv-yellow);
	color: var(--bv-navy);
}

button.secondary:hover {
	background-color: #EAB308;
}

button:disabled {
	opacity: 0.6;
	cursor: wait;
}

.error {
	min-height: 0;
	margin-top: 8px;
	color: #B91C1C;
	font-size: 14px;
}

.error:empty {
	display: none;
}

.divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 24px 0 8px 0;
	color: var(--bv-slate-500);
	font-size: 13px;
}

.divider::before,
.divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background-color: var(--bv-slate-200);
}

.forgot {
	margin: 10px 0 0 0;
	font-size: 14px;
	text-align: center;
}

.done {
	margin-top: 16px;
}

.foot {
	margin: 24px 0 0 0;
	color: var(--bv-slate-500);
	font-size: 14px;
	text-align: center;
}

footer {
	display: flex;
	justify-content: center;
	gap: 24px;
	padding: 20px 16px;
	background-color: var(--bv-navy);
	font-size: 13px;
}

footer a {
	color: var(--bv-slate-300);
	text-decoration: none;
}

footer a:hover {
	color: #fff;
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-8px); }
	40%, 80% { transform: translateX(8px); }
}

.shake {
	animation: shake 0.35s;
}

@media (max-width: 480px) {
	.topbar { justify-content: center; gap: 16px; padding: 6px 16px; }
	header  { padding: 12px 16px; }
	header .logo img { height: 36px; }
	main    { padding: 24px 16px; }
	.card   { padding: 24px 20px; }
}
