body {
	background-color: #FFFFFF;
	height: 100%;
	margin: 0;
}

.page {
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1;
}

header {
	text-align: center;
}

.logo {
	display: block;
	width: 383px;
	height: 210px;
	margin: 18px auto 0 auto;
	font-family: monospace;
	object-fit: contain;
}

h4 {
	margin-top: 14px;
}

/* ################################ Countdown ############################### */
@keyframes blinker {
	50% {
		opacity: 0;
	}
}

sup {
	animation: blinker 2s linear infinite;
	font-size: 75%;
	line-height: 0;
	position: relative;
	top: -.5em;
	vertical-align: baseline;
	color: #00C389;
}

label {
	display: inline-block;
	font-weight: 700;
	min-width: 140px;
	text-align: left;
}

.bigger1 {
	font-size: 1.4rem;
	font-weight: bold;
	color: #000000;
}

.bigger2 {
	font-size: 1.4rem;
	font-weight: bold;
	color: #00C389;
	font-family: monospace;
}

.field {
	padding-bottom: 10px;
	text-align: center;
}

.field.round-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: nowrap;
}

.field.round-row #roundpercentage {
	margin-left: auto;
	text-align: right;
	white-space: nowrap;
	font-family: monospace;
}

#epoch-round-widget .value {
	font-family: monospace;
	font-weight: bold;
	margin-left: -6px;
}

#epoch-round-widget {
	padding: 15px;
	background: #F5F5F5;
	border-radius: 4px;
	width: 520px;
	margin: 0px auto 10px auto;
	font-family: Arial;
	#box-shadow: 0px 0px 30px #888;
	#box-shadow: 10px 10px 5px #aaaaaa;
	box-shadow: 5px 5px #ffb300, 10px 10px red, 15px 15px green;
}

.bar,
.progress {
	border-radius: 5px;
}

.bar {
	background-color: #000000;
	min-height: 4px;
	width: 100%;
}

.progress {
	background-color: #00C389;
	min-height: 10px;
	transition: width 0.8s ease;
}

/* ########################################################### */

.price {
	font-size: 15px;
	font-weight: bold;
	padding: 10px;
	background: #F5F5F5;
	border-radius: 4px;
	width: 210px;
	margin: 25px auto 0px auto;
	font-family: Arial;
	#box-shadow: 0px 0px 10px #888;
	box-shadow: 10px 10px 5px #aaaaaa;
	#box-shadow: 5px 5px #ffb300, 10px 10px red, 15px 15px green;
}

.price div {
	display: flex;
	justify-content: center;
	font-family: monospace;
}

.price-value {
	font-weight: bold;
	font-size: 13px;
}

.price-row {
	display: inline-flex;
	align-items: baseline;
	gap: 0.5rem;
	margin-top: 5px;
}

.price-row .sep {
	opacity: 0.6;
}

.fetch-note {
	display: flex;
	justify-content: center;
	font-family: monospace;
	width: 100%;
}

.fetch-note pre {
	font-size: 10px;
}

.content {
	display: flex;
	justify-content: center;
	font-family: monospace;
	width: 100%;
	background: #F5F5F5;
	padding: 30px 0px 0px 0px;
}

.content pre {
	line-height: 1.2;
}

.validator-block {
	display: inline-block;
}

.validator-header {
	display: block;
	width: max-content;
	margin-bottom: 8px;
}

.validator-address {
	font-size: 20px;
	font-weight: bold;
}

.validator-actions-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-bottom: 30px;
	line-height: 1.4;
}

.metrics-period-inline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.metrics-period-select {
	appearance: none;
	font-family: monospace;
	background-color: rgba(128, 128, 128, 0.4);
	width: 90px;
	margin-left: -4px;
	padding-left: 3px;
	cursor: pointer;
	line-height: 1.2;
	border: none;
	border-radius: 4px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f3760' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 5px center;
	vertical-align: middle;
}

.metrics-period-select:active,
.metrics-period-select:focus,
.metrics-period-select:focus-visible {
	background-color: rgba(128, 128, 128, 0.4);
	outline: none;
	box-shadow: none;
	border: none;
	color: inherit;
}

.validator-link-button,
.validator-link-button:hover,
.validator-link-button:active,
.validator-link-button:focus,
.validator-link-button:focus-visible {
	font: inherit;
	background: none;
	border: 0;
	margin: 0px -2px 0px 0px;
	padding: 0;
	cursor: pointer;
	color: inherit;
	outline: none;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.validator-block pre {
	margin: 0;
}

/* ################################ Rewards Widget ############################### */
.rewards-widget {
	border-radius: 4px;
	font-family: monospace;
	width: 535px;
	box-sizing: border-box;
}

.rewards-title {
	font-size: 15px;
	font-weight: bold;
}

.rewards-intro {
	margin: 0 0 3px 0;
	font-size: 12px;
}

.rewards-form {
	display: flex;
	gap: 8px;
	margin: 0;
}

.rewards-form input {
	flex: 1;
	min-width: 0;
	font-family: monospace;
	font-size: 12px;
	padding: 7px;
	border: 1px solid #aaaaaa;
	border-radius: 4px;
	color: #000000;
	box-sizing: border-box;
}

.rewards-form button {
	font-family: monospace;
	font-weight: bold;
	padding: 8px 12px;
	border: 0;
	border-radius: 4px;
	background: #00C389;
	color: #000000;
	cursor: pointer;
	box-shadow: 4px 4px 0 #aaaaaa;
	width: 70px;
	min-width: 70px;
	text-align: center;
	flex: 0 0 70px;
}

.rewards-form button:disabled {
	opacity: 0.65;
	cursor: wait;
}

.rewards-message {
	margin-top: 10px;
	font-size: 12px;
	text-align: center;
}

.rewards-message.success {
	color: green;
	font-weight: bold;
}

.rewards-message.error {
	color: red;
	font-weight: bold;
	margin-bottom: 10px;
}

.rewards-summary {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 10px;
}

.rewards-summary div {
	background: #F5F5F5;
	border-radius: 4px;
	padding: 8px;
	text-align: center;
}

.rewards-summary span {
	display: block;
	font-size: 11px;
	margin-bottom: 4px;
}

.rewards-summary b {
	font-size: 12px;
}

.rewards-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
	background: #F5F5F5;
	border-radius: 4px;
	overflow: hidden;
}

.rewards-table th,
.rewards-table td {
	padding: 6px 8px;
	border-bottom: 1px solid #dddddd;
	text-align: left;
}

.rewards-table th:last-child,
.rewards-table td:last-child {
	text-align: right;
}

.rewards-positive {
	color: green;
	font-weight: bold;
}

.rewards-note {
	margin: 10px 0 10px 0;
	font-size: 11px;
	line-height: 1.3;
	text-align: center;
}

.rewards-summary-single {
	grid-template-columns: 1fr;
}

.rewards-total-staked {
	background: #F5F5F5;
	border-radius: 4px;
	padding: 8px;
	margin-bottom: 10px;
	text-align: center;
	font-size: 13px;
}

.rewards-total-staked span,
.rewards-total-staked b {
	display: inline;
	font-size: 13px;
}

.footer-before {
	width: 100%;
	display: flex;
	justify-content: center;
}

.footer-before pre {
	background: #F5F5F5;
	border-radius: 4px;
	padding: 6px;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	box-shadow: 10px 10px 5px #aaaaaa;
}

footer {
	background: #F5F5F5;
	display: flex;
	justify-content: center;
	z-index: 9999;
}


.footer-before img {
	display: block;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
}

@media (max-width: 750px) {
	.logo {
		width: 321px;
		height: 190px;
	}

	.rewards-widget {
		width: 575px;
	}
}
