/*
 * CamCom WMS — scaffold styles.
 * Deliberately bare. Theme Factory's styleguide drives the real theme.
 */

:root {
	--wms-bg:       #f4f6f8;
	--wms-surface:  #fff;
	--wms-ink:      #0d3b66;
	--wms-muted:    #4a5b6c;
	--wms-line:     #cdd5dd;
	--wms-accent:   #0d3b66;
	--wms-accent-2: #2bb37c;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: var(--wms-bg);
	color: var(--wms-ink);
}

.camwms-header {
	background: var(--wms-ink);
	color: #fff;
}
.camwms-header__inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}
.camwms-header__brand {
	color: #fff;
	text-decoration: none;
}
.camwms-header__surface {
	font-size: 12px;
	opacity: 0.7;
	margin-left: 8px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.camwms-header__user {
	font-size: 14px;
}
.camwms-header__logout {
	color: #fff;
	margin-left: 12px;
	opacity: 0.8;
	text-decoration: underline;
}

.camwms-main {
	max-width: 1080px;
	margin: 0 auto;
	padding: 24px 20px;
}

.camwms-panel {
	background: var(--wms-surface);
	border: 1px solid var(--wms-line);
	border-radius: 6px;
	padding: 24px;
	margin-bottom: 16px;
}
.camwms-panel--login {
	max-width: 480px;
	margin: 80px auto;
	text-align: center;
}

.camwms-meta {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 8px 16px;
	padding: 16px 0;
	border-top: 1px solid var(--wms-line);
	border-bottom: 1px solid var(--wms-line);
	margin: 16px 0;
	font-size: 14px;
}
.camwms-meta dt { color: var(--wms-muted); margin: 0; }
.camwms-meta dd { margin: 0; }
.camwms-meta code { background: var(--wms-bg); padding: 2px 6px; border-radius: 3px; font-size: 13px; }

.camwms-note {
	color: var(--wms-muted);
	font-size: 14px;
	font-style: italic;
}

.camwms-button {
	display: inline-block;
	background: var(--wms-accent);
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
}
.camwms-button--secondary {
	background: transparent;
	color: var(--wms-accent);
	border: 1px solid var(--wms-accent);
}

.camwms-footer {
	max-width: 1080px;
	margin: 24px auto;
	padding: 0 20px;
	color: var(--wms-muted);
	font-size: 12px;
}

/* PDA-specific tweaks — bigger touch targets, single column, no header chrome */
.camwms-surface-pda .camwms-main { padding: 16px; }
.camwms-surface-pda .camwms-panel { padding: 16px; }
.camwms-surface-pda .camwms-button { padding: 16px 24px; font-size: 18px; width: 100%; }
.camwms-surface-pda .camwms-header__user { font-size: 12px; }
