html, body
{
	margin: 0;
	padding: 0;
	overflow: hidden;
}

body
{
	height: 100%;
}

#btn-clear
{
	position: absolute;
	top: 75px;
	right: 10px;
	z-index: 98;
}

#btn-format
{
	position: absolute;
	top: 25px;
	right: 10px;
	z-index: 98;
}

#json-input
{
	width: 100%;
	min-height: 100vh;
	max-height: 100vh;
	resize: none;
}

.btn
{
	min-width: 115px;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: transparent;
	border-radius: 0.6em;
	cursor: pointer;
	display: block;
	align-self: center;
	font-size: .7rem;
	font-weight: 600;
	line-height: 1;
	margin: 20px;
	padding: .9em 2.5em;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	font-family: Verdana, sans-serif;
	transition: box-shadow 300ms ease-in-out, color 300ms ease-in-out;
}

.btn:hover, .btn:focus
{
	color: #fff;
	outline: 0;
}

.btn-green
{
	border: 2px solid #2ecc71;
	color: #2ecc71;
}

.btn-green:hover
{
	box-shadow: 0 0 20px 20px #2ecc71 inset;
}

.btn-red
{
	border: 2px solid red;
	color: red;
}

.btn-red:hover
{
	box-shadow: 0 0 20px 20px red inset;
}

/* Custom tooltip styles */
.tooltip {
	position: relative;
}

.tooltip .tooltip-text {
	visibility: hidden;
	width: 170px;
	background-color: rgb(64, 64, 64);
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 10px;
	position: absolute;
	z-index: 99;
	top: -5px;
	right: 105%;
	opacity: 0;
	transition: opacity 0.3s;
	text-transform: none;
	font-size: 0.7rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	pointer-events: none;
}

.tooltip .tooltip-text::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 100%;
	margin-top: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent transparent rgb(64, 64, 64);
}

.tooltip:hover .tooltip-text {
	visibility: visible;
	opacity: 1;
}
