:root {
    --error-color: #e34545;
}

[data-theme="dark"] {
    --error-color: #e34545;
}

/* Text is selectable, but static content must not show an insertion caret. */
body {
    cursor: default;
    -webkit-user-select: text;
    user-select: text;
    caret-color: transparent;
}

body :not(input):not(textarea):not(select):not([contenteditable="true"]) {
    -webkit-user-modify: read-only;
    caret-color: transparent;
}

input,
textarea,
[contenteditable="true"] {
    -webkit-user-modify: read-write;
    caret-color: auto;
    cursor: text;
}

select {
    cursor: pointer;
}

a[href],
button,
label,
summary,
[role="button"] {
    cursor: pointer;
}

.flat-button:active {
    transform: scale(0.90);
}

.button:active {
    transform: scale(0.98);
    box-shadow: 5px 2px 5px 1px rgba(0, 0, 0, 0.24);
}

.button.disabled {
    background-color: #cccccc;
}

a:link {
  color: #30619c;
}

a:visited {
  color: #30619c;
}

a:hover {
  color: red;
}

a:active {
  color: blue;
}

/* Animation */
@keyframes skeleton-loading {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: 200px 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 400px 100%;
  animation: skeleton-loading 1.5s infinite;
}

.dark-skeleton {
  background: linear-gradient(90deg, #3b3b3b 25%, #212121 50%, #3b3b3b 75%);
  background-size: 400px 100%;
  animation: skeleton-loading 1.5s infinite;
}

li {
    margin-left: 40px;
    list-style-type: disc;
}