/* ═══════════════════════════════════════════════════════════════════════
   Public Access — Base Layout
   ═══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 14px;
	color: #1e293b;
	background: #f1f5f9;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* ── Top Bar ─────────────────────────────────────────────────────────── */

.pa-topbar {
	background: #026565;
	color: #e2e8f0;
	padding: 0 24px;
	height: 48px;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.pa-topbar-inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.pa-topbar-brand {
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.02em;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.15s;
}
.pa-topbar-brand:hover { opacity: 0.8; }

.pa-topbar-user {
	font-size: 13px;
	color: #94a3b8;
	display: flex;
	align-items: center;
	gap: 16px;
}

.pa-topbar-logout {
	color: #94a3b8;
	text-decoration: none;
	font-size: 13px;
}
.pa-topbar-logout:hover {
	color: #fff;
}

/* ── Main Content ────────────────────────────────────────────────────── */

.pa-content {
	flex: 1;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.pa-footer {
	text-align: center;
	color: #94a3b8;
	font-size: 12px;
	padding: 16px 24px;
	border-top: 1px solid #cbd5e1;
	flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   Login Page
   ═══════════════════════════════════════════════════════════════════════ */

.login-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(100vh - 120px);
}

.login-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
	padding: 40px;
	width: 100%;
	max-width: 420px;
}

.login-card h2 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 600;
	color: #0f172a;
}

.login-card p {
	margin: 0 0 24px;
	font-size: 14px;
	color: #64748b;
	line-height: 1.5;
}

.login-card label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: #334155;
	margin-bottom: 6px;
}

.login-card input[type="email"] {
	width: 100%;
	padding: 10px 12px;
	font-size: 14px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	outline: none;
	transition: border-color 0.15s;
	font-family: inherit;
}
.login-card input[type="email"]:focus {
	border-color: #026565;
	box-shadow: 0 0 0 3px rgba(2,101,101,0.1);
}

.login-card .login-btn {
	margin-top: 16px;
	width: 100%;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: #026565;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s;
	font-family: inherit;
}
.login-card .login-btn:hover {
	background: #014f4f;
}
.login-card .login-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.login-message {
	margin-top: 16px;
	padding: 12px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.4;
}
.login-message.success {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
}
.login-message.error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}
