/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

.no-boxsizing,
.no-boxsizing *,
.no-boxsizing *:after,
.no-boxsizing *:before {
  box-sizing: content-box;
}

:root {
  --primary: #29aa69;
  --hover: #2fcb7d;
  --body: #ddd;
  --bg: #222;
  --border: #444;
  --border-light: #555;
  --red: #c30000;
}

body, input, button, select, label, textarea {
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  color: var(--body);
  background: var(--bg);
}
body:focus, input:focus, button:focus, select:focus, label:focus, textarea:focus {
  outline: none;
  box-shadow: none;
}

body {
  line-height: 1.3;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:visited {
  color: var(--hover);
}
a:hover {
  color: var(--hover);
}

h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  padding: 14px 16px;
  line-height: 1.2;
  border-radius: 8px;
  border: 0;
  background: var(--primary);
  color: white;
  cursor: pointer;
}
.btn:visited {
  color: white;
}
.btn:hover {
  background: var(--hover);
  color: white;
}
.btn.display-block {
  text-align: center;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input {
  border: 2px solid var(--border);
  background: var(--bg);
  padding: 12px 16px;
  border-radius: 8px;
  width: 100%;
  display: block;
  line-height: 1.2;
}
@media (prefers-color-scheme: dark) {
  .input {
    color-scheme: dark;
  }
}
.input:hover {
  border-color: var(--border-light);
}
.input:disabled {
  background: var(--border);
}
.input:focus {
  border-color: var(--border-light);
  box-shadow: 0px 0px 8px 0px var(--primary);
}
.input.error {
  border-color: var(--red);
}

main {
  padding: 16px;
}

.backup {
  margin: 24px 0;
  display: block;
  font-family: "Courier New", Courier, monospace;
  font-size: 24px;
}
.backup span {
  display: inline-block;
  margin-right: 8px;
}
