html {
	color-scheme: dark;
}

body {
	background-color: #1A1B1E;
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Tahoma,Verdana,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
	color: #C1C2C5;
	font-size: 16px;
	padding: 0;
	margin: 0;
}

div.wrapper {
	width: 100%;
	margin: 0;
	padding: 0;
}

div.container {
	width: 600px;
	margin: 20px auto;
	position: relative;
}

h1 {
	font-size: 20px;
	line-height: 1.6;
	text-align: center;
}

div.image-wrapper {
	text-align: center;
	position: relative;
}

div.image-holder {
	width: 512px;
	height: 512px;
	margin: 0 auto;
	background-color: #141517;
}

div.image-holder img {
	width: 100%;
	height: 100%;
	border: 0;
	display: none;
}

div.input-field {
	line-height: 1.55;
	padding-bottom: 3px;
}

label {
	font-size: 14px;
	font-weight: 500;
}

#safe-image-label {
	display: inline-block;
	padding: 10px 0;
	font-weight: normal;
	font-size: 14px;
}

textarea {
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Tahoma,Verdana,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
	height: auto;
	-webkit-tap-highlight-color: transparent;
	line-height: 1.55;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	resize: none;
	box-sizing: border-box;
	font-size: 14px;
	width: 100%;
	color: #C1C2C5;
	display: block;
	text-align: left;
	min-height: 36px;
	padding: 10px 12px;
	border-radius: 4px;
	border: 1px solid #373A40;
	background-color: #25262b;
}

textarea:focus, textarea:focus-within {
	outline: none;
	border-color: #1971c2;
}

button {
	background-color: #1971c2;
	width: 110px;
	height: 42px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Tahoma,Verdana,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
	font-size: 16px;
	font-weight: 600;
	color: white;
	cursor: pointer;
	position: relative;
	top: 0;
	user-select: none;
}

button:active {
	top: 2px;
}

button:disabled {
	border-color: transparent;
	background-color: #373A40;
	color: #25262b;
	cursor: not-allowed;
	background-image: none;
	pointer-events: none;
}

.download-button {
	line-height: 1;
	font-size: 12px;
	width: 86px;
	height: 28px;
}

.download-wrapper {
	text-align: right;
	margin-top: 16px;
	width: 512px;
	margin: 3px auto;
}

#loading-spinner {
	position: absolute;
    top: 50%;
    left: 50%;
    margin: -19px 0 0 -19px;
	display: none;
}

ul.info-panel {
	list-style: none;
	padding: 0;
	border-width: 0 0 1px 0;
	border-style: solid;
	border-color: #373A40;	
}

ul.info-panel > li {
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #373A40;
}

a {
	color: #A19AFE;
}

a:visited {
	color: #D0ADF0;
}

a:active {
	color: #FB9D9F;
}

.info-title {
	display: block;
	padding: 16px;
	position: relative;
	background-color: transparent;
	width: auto;
	border: none;
}

.info-title:hover {
	background-color: #25262b;
}

.info-title, a.info-title:visited, a.info-title:active{
	color: #C1C2C5;
	text-decoration: none;
}

.info-title .arrow {
	font-size: 1px;
	color: transparent;
    border-style: solid;
    border-width: 0 0 1px 1px;
    border-color: #C1C2C5;
    transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
    width: 6px;
    height: 6px;
    display: block;
    top: 50%;
    margin-top: -4px;
    position: absolute;
    right: 22px;
	transition: transform 200ms ease 0s;
	-moz-transition: transform 200ms ease 0s;
}

.info-panel-item.open-panel .arrow {
	transform: rotate(135deg);
}

.info-content-wrapper {
	height: 0;
	opacity: 0;
	transition: opacity 200ms ease 0s, height 200ms ease 0s, max-height 200ms ease 0s;
	overflow: hidden;
}

.info-content {
	padding: 5px 16px 16px 16px;
	line-height: 1.55;
}

ul.info-content, .info-content ul {
	list-style: none;
	font-size: 14px;
}

.info-content li::before {
	content: '- ';
}

.open-panel {
	opacity: 1;
}

input[type=file] {
	display: block;
	cursor: pointer;
}