/*
 * Layered on top of the site's own css/bootstrap_3_1_1/*.min.css + css/main.min.css (loaded
 * first on every account page) so these pages look like the rest of the site: same plain
 * white page background as pages/quantum-safe.html, pages/privacy.html, etc. (main.css never
 * sets a body background-color, so it's just the browser default). Deliberately doesn't touch
 * `padding-top`/`padding-bottom` on body: main.css's `body{padding-top:50px;padding-bottom:20px}`
 * already reserves space for the fixed navbar, and re-declaring the `padding` shorthand here
 * would silently clobber it.
 */
body.account-page {
	color: #222;
	font-family: "Helvetica Neue", Arial, sans-serif;
	padding-left: 16px;
	padding-right: 16px;
}

.account-content {
	margin-top: 30px;
}

.account-card {
	max-width: 460px;
	margin: 0 auto;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
	padding: 32px;
}

.account-card.wide {
	max-width: 640px;
}

.account-card h1 {
	font-size: 22px;
	margin: 0 0 20px;
	color: #17242e;
}

.account-field {
	margin-bottom: 16px;
}

.account-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	margin-bottom: 6px;
}

.account-field input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 15px;
}

.account-btn {
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
	background: #1f6fb2;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 11px 16px;
	font-size: 15px;
	cursor: pointer;
	margin-top: 4px;
}

.account-btn:hover {
	background: #185a90;
}

.account-btn.secondary {
	background: #eee;
	color: #222;
}

.account-btn.secondary:hover {
	background: #ddd;
}

.account-btn.danger {
	background: #b3261e;
}

.account-btn.danger:hover {
	background: #8f1e18;
}

.account-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.account-message {
	margin: 14px 0;
	padding: 10px 12px;
	border-radius: 4px;
	font-size: 14px;
	display: none;
}

.account-message.show {
	display: block;
}

.account-message.error {
	background: #fdecea;
	color: #8f1e18;
	border: 1px solid #f5c6cb;
}

.account-message.success {
	background: #e9f7ef;
	color: #1e6b3a;
	border: 1px solid #c3e6cb;
}

.account-message.info {
	background: #eef4fb;
	color: #17456f;
	border: 1px solid #cfe2f3;
}

.account-links {
	margin-top: 18px;
	font-size: 13px;
	text-align: center;
}

.account-links a {
	color: #1f6fb2;
	text-decoration: none;
}

.account-links a:hover {
	text-decoration: underline;
}

.account-section {
	border-top: 1px solid #e5e5e5;
	margin-top: 24px;
	padding-top: 20px;
}

.account-section h2 {
	font-size: 16px;
	margin: 0 0 10px;
	color: #17242e;
}

.account-qr {
	text-align: center;
	margin-bottom: 12px;
}

.account-qr svg {
	max-width: 220px;
	width: 100%;
	height: auto;
}

.account-secret {
	font-family: "Courier New", monospace;
	background: #f3f3f3;
	padding: 10px 12px;
	border-radius: 4px;
	word-break: break-all;
	font-size: 14px;
	margin-bottom: 12px;
}

.account-hint {
	font-size: 13px;
	color: #666;
	margin: 6px 0 14px;
}

.account-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	border-radius: 3px;
	padding: 2px 8px;
	margin-left: 6px;
}

.account-badge.ok {
	background: #e9f7ef;
	color: #1e6b3a;
}

.account-badge.warn {
	background: #fdf3e0;
	color: #8a5a00;
}
