/**
 * ServerSea Admin - login page.
 * Loaded only by login.php. Relies on the tokens defined in
 * ss-admin-tokens.css (loaded just before this file) - no values are
 * hardcoded here beyond the split-panel background gradient, which is
 * this page's one deliberately distinct visual (nowhere else in the app
 * uses a gradient, per the redesign brief's "avoid gradients everywhere"
 * rule - the login screen is the one intentional exception).
 */
html, body.ss-login-body {
	height: 100%;
}
body.ss-login-body {
	margin: 0;
	background: var(--ss-bg);
	font-family: var(--ss-font);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--ss-space-md);
}

.ss-login-shell {
	width: 100%;
	max-width: 380px;
}

.ss-login-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--ss-space-sm);
	margin-bottom: var(--ss-space-lg);
}
.ss-login-brand img {
	max-height: 36px;
	width: auto;
}

.ss-login-card {
	background: var(--ss-surface);
	border: 1px solid var(--ss-border);
	border-radius: var(--ss-radius-lg);
	box-shadow: var(--ss-shadow-lg);
	padding: var(--ss-space-xl) var(--ss-space-lg);
}

.ss-login-card h1 {
	font-size: 20px;
	font-weight: 600;
	color: var(--ss-text);
	margin: 0 0 var(--ss-space-xs);
}
.ss-login-card .ss-login-sub {
	font-size: 13px;
	color: var(--ss-text-secondary);
	margin: 0 0 var(--ss-space-lg);
}

.ss-login-card .form-group {
	margin-bottom: var(--ss-space-md);
}
.ss-login-card label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--ss-text-secondary);
	margin-bottom: var(--ss-space-xs);
}

.ss-login-field {
	position: relative;
}
.ss-login-field .form-control {
	padding-left: 36px;
}
.ss-login-field .ss-login-field-icon {
	position: absolute;
	left: 12px;
	top: 0;
	height: var(--ss-control-height);
	display: flex;
	align-items: center;
	color: var(--ss-text-muted);
	pointer-events: none;
}
.ss-login-field .ss-login-toggle-pass {
	position: absolute;
	right: 10px;
	top: 0;
	height: var(--ss-control-height);
	display: flex;
	align-items: center;
	background: none;
	border: 0;
	padding: 0 4px;
	color: var(--ss-text-muted);
	cursor: pointer;
}
.ss-login-field .ss-login-toggle-pass:hover {
	color: var(--ss-text-secondary);
}

.ss-login-forgot {
	display: block;
	text-align: right;
	font-size: 12px;
	color: var(--ss-primary);
	margin: -6px 0 var(--ss-space-md);
}
.ss-login-forgot:hover {
	color: var(--ss-primary-hover);
	text-decoration: underline;
}

.ss-login-submit {
	width: 100%;
	height: var(--ss-control-height);
	font-weight: 600;
}

.ss-login-msg {
	font-size: 13px;
	padding: var(--ss-space-sm) var(--ss-space-md);
	border-radius: var(--ss-radius-sm);
	margin-bottom: var(--ss-space-md);
}
.ss-login-msg-error {
	background: var(--ss-danger-soft);
	color: #a11d1d;
}
.ss-login-msg-info {
	background: var(--ss-surface-muted);
	color: var(--ss-text-secondary);
}

.ss-login-copyright {
	text-align: center;
	font-size: 12px;
	color: var(--ss-text-muted);
	margin-top: var(--ss-space-lg);
}
