
body {
  font-family: "Geist", sans-serif;
  background: var(--background);
  color: var(--text);
  margin: 0;
}

* {
  box-sizing: content-box;
  word-break: normal;
  white-space: normal;
}

.selectall {
  user-select: all;
}

.icon {
  width: 1rem;
  height: 1em;
  vertical-align: -0.125em;
  display: inline-block;
  color: inherit;
}

a svg {
  color: inherit;
  fill: currentColor;
}

ul, li {
  list-style-type: none;
}
ul, p {
  margin: 0.5rem 0;
}
ul {
  padding-left: 1rem;
}
.li-spaced {
  margin: 2rem 0;
}

a {
  color: var(--text);
}
a:hover {
  opacity: 80%;
}

a:not(.noarrow) {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

a:not(.no-arrow):not(.back-arrow)::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  background-color: currentColor; 
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 19.5l15-15m0 0H8.25m11.25 0v11.25'/%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 19.5l15-15m0 0H8.25m11.25 0v11.25'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

a.back-arrow:not(.no-arrow)::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M10.5 19.5L3 12m0 0l7.5-7.5M3 12h18'/%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M10.5 19.5L3 12m0 0l7.5-7.5M3 12h18'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

code {
  font-size: 130%;
}

.nice-button {
  font-size: 1rem;
  background-color: var(--gray-300);
  color: var(--quinary);
  padding: 0.25rem 1rem;
  margin: 0.5rem 0;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}
.nice-button:hover {
  scale: 1.05;
}
.nice-button:active {
  scale: 1;
  opacity: 0.9;
}

form {
  padding: 0;
  margin: 0;
}

input, textarea {
  background: var(--background);
  color: color-mix(in srgb, var(--indigo) 50%, var(--text));
  border: 2px solid var(--indigo);
  max-width: 20rem;
  margin: 0.5rem 0;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 105%;
}
input:active, textarea:active {
  border: 2px solid var(--blue);
}

input[type="submit"] {
  cursor: pointer;
  background-color: var(--indigo);
  color: var(--background);
  font-weight: 600;
}

.ipnError {
    border: 2px solid var(--red);
}

.error {
  color: var(--red);
}

@media (min-width: 780px) {
  input[type="submit"] {
    transition: box-shadow 500ms;
  }
  input[type="submit"]:hover {
    box-shadow: 0 0 1rem var(--indigo);
  }
}

hr {
  width: 100%;
  border: none;
  border-top: 1px solid var(--gray-200);
}

.role-owner {
  color: var(--indigo);
}
.role-mc {
  color: var(--green);
}
.role-user {
  color: var(--tertiary);
}
.role-bot {
  color: var(--orange);
}
.role-test {
  color: var(--brown);
}


.container-main {
  position: relative;
  left: 2rem;
  margin-top: 1rem;
  width: calc(100% - 4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.container-main > *:not(.container) {
  margin: 0 1rem;
}
.container {
  background-color: var(--gray-100);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 1.5rem -0.2rem rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: light) {
  .container {
    background-color: white;
  }
}
@media (max-width: 780px) {
  .container-main {
    left: 1rem;
    width: calc(100% - 2rem);
  }
}
@media (max-width: 340px) {
  .container-main {
    left: 0.5rem;
    width: calc(100% - 1rem);
    gap: 0.5rem;
  }
  .container {
    border-radius: 0.5rem;
  }
}


