html {
	font-size: 14pt;
	background: rgb(255,255,234);
	background: linear-gradient(90deg, rgba(234,255,255,1) 0%, rgba(255,255,234,1) 100%);
	font-family: sans-serif;
}
body {
	margin: 0 auto;
	padding: 0 1ex;
	max-width: 34.5em;
	line-height: 1.36rem;
	overflow-wrap: anywhere;
}
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
h1 {
	font-weight: normal;
	font-size: 1.80rem;
	margin: 3ex 0 2.5ex 0;
}
h2 {
	font-weight: normal;
	font-size: 1.44rem;
	margin: 4.3ex 0 2.5ex 0;
}
h3 {
	font-weight: normal;
	font-size: 1.2rem;
	margin: 4.05ex 0 1.7ex 0;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
img, pre, p {
	margin-top: 0;
	margin-bottom: 1em;
}
img {
	display: block;
	margin: 1ex auto;
	box-sizing: border-box;
	padding: 1ex;
	max-width:100%;
}
dl {
	margin-top: 0;
	margin-bottom: 1em;
}
dd {
	margin-bottom: 1ex;
}
pre {
	overflow: auto;
}
button, textarea, input {
	font-family: inherit;
	font-size: 100%;
}
textarea {
	display: block;
	padding: 1ex;
	margin: 0.5ex 0;
	border: 1px solid;
	width: 100%;
	background: #ffffea;
	resize: none;
}
input {
	padding: 1ex;
	margin: 0.5ex 0;
	border: 1px solid;
	background: #ffffea;
	resize: none;
}
button {
	padding: 1ex;
	border: 1px solid;
	background: #ffffea;
	cursor: pointer;
}
button:hover {
	text-decoration: underline;
}
footer {
	margin: 2rem 0;
	color: #444444;
	text-align: center;
}
.network_badge {
	padding: 0.3rem 0.55rem;
	border: 1px solid #222;
	font-family: monospace;
	font-size: 0.75rem;
	font-weight: bold;
	background: #ececec;
}
.network_badge[data-network="signet"] {
	background: #fff0c2;
	border-color: #8a5a00;
	color: #613f00;
}
.network_badge[data-network="testnet"] {
	background: #dff2ff;
	border-color: #24658c;
	color: #16415b;
}
.network_badge[data-network="regtest"] {
	background: #eadfff;
	border-color: #62458a;
	color: #3d285d;
}
.provider_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 2.5rem;
	gap: 0.5rem;
}
.icon_button {
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	font-size: 1.3rem;
	line-height: 1;
}
.form_row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.visually_hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.demph {
	font-size: 80%;
}
#atoggle{
	border: none;
	background: none;
	float: right;
}
#advanced {
	display: none;
}
#loading_message {
	display: none;
}
.spinner {
	display: inline-block;
	margin-left: 0.5ex;
	margin-right: 0.5ex;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	border: 2px solid rgba(0, 0, 0, 0);
	border-top-color: rgba(0, 0, 0, .8);
	animation: spin 1s linear infinite;
}
@keyframes spin {
	to { transform: rotate(360deg); }
}
.error {
	margin: 1em;
	padding: 1em;
	border-radius: 1ex;
	border: 2px solid;
	background-color: #ffeaea;
}
.invoice {
	font-family: monospace;
	color: #aaa;
}
.amount {
	color: #000;
}
.hash {
	font-weight: bold;
	color: #000;
}
.description {
	border: 1px solid black;
	color: #000;
}
.signature {
	font-style: italic;
	color: #000;
}
table.providers {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.8rem;
	margin: 0.5em 0;
}
#provider_panel {
	overflow-x: auto;
}
table.providers th,
table.providers td {
	text-align: left;
	padding: 0.2em 0.4em;
	border-bottom: 1px solid #ddd;
}
table.providers .mono {
	font-family: monospace;
}
.cred {
	padding: 0 0.4ex;
	border-radius: 0.4ex;
	font-size: 0.85em;
	white-space: nowrap;
}
.cred.verified {
	background-color: #d6f5d6;
	border: 1px solid #2e7d32;
	color: #2e7d32;
}
.cred.unverified {
	background-color: #ffeaea;
	border: 1px solid #c62828;
	color: #c62828;
}
.cred.anon {
	background-color: #eee;
	border: 1px solid #999;
	color: #555;
}
button:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}
@media (max-width: 40rem) {
	body {
		font-size: 0.92rem;
	}
	.form_row {
		align-items: flex-start;
		flex-wrap: wrap;
	}
	table.providers {
		font-size: 0.7rem;
	}
	table.providers th,
	table.providers td {
		padding: 0.2rem;
	}
}
