
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	outline: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-tap-highlight-color: transparent;
	tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	user-select: none;
}

html, body {
	-webkit-tap-highlight-color: transparent;
}

body {
	background-color: white;
	xbackground-color: #3c8dbc;
	color: #303030;
	line-height: 1.6;
}

.container {
	background-color: white;
	xbackground-color: #3c8dbc;
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
}

@media (min-width: 800px) {

	body {
		background-color: #f5f7fa;
		padding: 20px;
		line-height: 1.6;
	}
	
	.container {
		border-radius: 10px;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
		padding: 30px;
	}
	
}

header {
	margin-bottom: 20px;
	xborder-bottom: 1px solid #eaeaea;
}

h1 {
	color: #2c3e50;
	margin-bottom: 10px;
}

h2 {
	color: #707070;
	margin-bottom: 10px;
	font-size: 1.4rem;
}

ul {
	margin-top: 10px;
	margin-left: 20px;
}

p {
	margin-top: 15px;
	margin-bottom: 15px;
}

.section {
	xmargin-bottom: 30px;
	xpadding: 20px;
	xbackground-color: #f9f9f9;
	border-radius: 8px;
}

button {
	padding: 0;
}

button.fa-btn {
	xborder: 1px solid black;
	background-color: transparent;
	border: none;
	font-size: 1.5rem;
	color: #b0b0b0;
}

button.fa-btn i {
	xvertical-align: 5px;
}

button.add-btn {
	font-size: 1.2rem;
	margin-right: 10px;
}

button.delete-btn {
	float: right;
	margin-left: 10px;
}

.tokens-list {
	list-style-type: none;
	margin-left: 0;
	margin-top: 15px;
}

.token-item {
	xdisplay: flex;
	xjustify-content: space-between;
	xalign-items: center;
	padding: 8px 15px 15px 15px;
	background-color: #f8f8f8;
	xbackground-color: #00a3cc;
	xcolor: white;
	border: 1px solid #eaeaea;
	border-radius: 5px;
	margin-bottom: 20px;
	transition: transform 0.2s, box-shadow 0.2s;
}

.token-item:hover {
	xxtransform: translateY(-2px);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.token-item > div
{
	min-height: 2rem;
	cursor: pointer;
}

.token-info div {
}

.token-login {
	font-weight: 600;
	font-size: 1.3rem;
	color: #2c3e50;
}

.token-value {
	color: #7f8c8d;
	font-size: 1.3rem;
	word-break: break-all;
	margin-top: 5px;
}

.token-balance {
	xcolor: maroon;
}

.token-status {
	xcolor: green;
	font-size: 0.9rem;
}

.acc-blocked {
	color: red;
}

.token-events li {
	font-size: 0.9rem;
	line-height: 1.3;
	margin-top: 10px;
}

.message-date {
	display: inline-block;
	padding-right: 10px;
	color: #888;
}

.message-text {
	display: inline;
}

.token-actions {
	background: yellow;
}

.loader {
	width: 40px;
	aspect-ratio: 2;
	--_g: no-repeat radial-gradient(circle closest-side,#EEE 100%,#0000);
	background: 
		var(--_g) 0%   50%,
		var(--_g) 50%  50%,
		var(--_g) 100% 50%;
	background-size: calc(80%/3) 50%;
	animation: l3 1s infinite linear;
}
@keyframes l3 {
	20%{background-position:0%   0%, 50%  50%,100%  50%}
	40%{background-position:0% 100%, 50%   0%,100%  50%}
	60%{background-position:0%  50%, 50% 100%,100%   0%}
	80%{background-position:0%  50%, 50%  50%,100% 100%}
}

.section#no-tokens {
	margin-top: 30px;
}

.hidden {
	display: none;
}

.not-pwa {
	display: none;
}

@media not (display-mode: standalone) {
	.not-pwa {
		margin-top: 20px;
		display: block;
		font-size: 0.8rem;
		line-height: 1.2;
		color: #c0c0c0;
	}
}
