/* Vitalytics — frontend-stijl.
   De app-shell (sidebar/topbar/kaarten/charts) komt uit het gedeelde
   design-system; hier alleen de publieke (uitgelogde) landings- en
   inlogschermen die géén sidebar tonen. */

@import url("../shell.css");

/* -------------------------------------------------- Publiek (uitgelogd) shell */

body.vit-public
{
	background:
		radial-gradient(1100px 520px at 15% -10%, #123056 0%, rgba(18,48,86,0) 60%),
		linear-gradient(180deg, #0c2340 0%, #0f2a4d 100%);
	min-height: 100vh;
	color: #eaf0f6;
}

.vit-public-main
{
	max-width: 1080px;
	margin: 0 auto;
	padding: 30px 24px 80px;
}

/* Landings-hero */
.vit-hero { max-width: 640px; }
.vit-hero h1 { font-size: 40px; line-height: 1.1; margin: 12px 0 16px; color: #fff; letter-spacing: -.02em; }
.vit-hero .vit-lead { font-size: 19px; color: #b7c5d6; }
.vit-hero p { color: #93a7bd; }

.vit-button
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	padding: 12px 24px 12px 20px;
	background: var(--vit-gradient);
	color: #fff;
	border: 0;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(31,111,196,.4);
	transition: box-shadow .15s, transform .1s, background .15s;
}
.vit-button::before { font-family: "Material Icons"; font-size: 19px; content: "login"; }
.vit-button:hover { background: var(--vit-gradient-hover); box-shadow: 0 10px 26px rgba(22,166,166,.45); }
.vit-button:active { transform: translateY(1px); }

/* Platte tabelstructuur van het WebForm-component naar normale flow. */
.vit-hero-form table, .vit-hero-form tbody, .vit-hero-form tr,
.vit-hero-form td, .vit-hero-form th, .vit-hero-form fieldset
{ display: block; width: auto; margin: 0; padding: 0; border: 0; }
.vit-hero-form p { margin: 0 0 12px; }

/* -------------------------------------------------------------- Inlogscherm */

.vit-login
{
	max-width: 400px;
	margin: 4vh auto 48px;
	background: var(--vit-card);
	border: 1px solid var(--vit-border);
	border-radius: var(--vit-radius);
	padding: 32px 30px;
	color: var(--vit-ink);
	box-shadow: 0 20px 60px rgba(4,14,30,.4);
}
.vit-login .vit-logo { display: flex; justify-content: center; margin-bottom: 14px; }
.vit-login .vit-logo-img { width: 172px; }
.vit-login h1 { margin: 0 0 4px; font-size: 22px; text-align: center; }
.vit-login .vit-lead { font-size: 15px; margin: 0 0 20px; color: var(--vit-muted); text-align: center; }

/* WebLoginForm (table-form) platslaan tot net gestapeld formulier. */
.vit-loginform table, .vit-loginform tbody, .vit-loginform tr,
.vit-loginform td, .vit-loginform th
{ display: block; width: auto; padding: 0; border: 0; }
.vit-loginform fieldset { border: 0; margin: 0; padding: 0; }
.vit-loginform th
{
	text-align: left; font-weight: 500; font-size: 13px;
	color: var(--vit-muted); margin: 14px 0 6px;
}
.vit-loginform input[type="text"],
.vit-loginform input[type="password"]
{
	width: 100%; padding: 11px 13px;
	border: 1px solid var(--vit-border); border-radius: 10px; font-size: 15px;
}
.vit-loginform input[type="text"]:focus,
.vit-loginform input[type="password"]:focus
{ outline: none; border-color: var(--vit-blue); box-shadow: 0 0 0 3px rgba(31,111,196,.15); }
.vit-loginform input[type="submit"]
{
	width: 100%; margin-top: 22px; padding: 12px 18px;
	background: var(--vit-gradient); color: #fff; border: 0; border-radius: 10px;
	font-size: 15px; font-weight: 600; cursor: pointer;
	box-shadow: 0 8px 20px rgba(31,111,196,.3);
	transition: box-shadow .15s, transform .1s, background .15s;
}
.vit-loginform input[type="submit"]:hover { background: var(--vit-gradient-hover); box-shadow: 0 10px 24px rgba(22,166,166,.35); }
.vit-loginform input[type="submit"]:active { transform: translateY(1px); }
.vit-loginform a
{ display: inline-block; margin-top: 16px; color: var(--vit-blue); font-size: 14px; text-decoration: none; }
.vit-loginform a:hover { text-decoration: underline; }
.vit-loginform #tr_error td, .vit-loginform .error
{ color: var(--vit-down); font-size: 14px; margin-bottom: 8px; }
