/*************************************************************/
/* BOX MODEL                                                 */
/* https://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
/*************************************************************/

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

input,
button,
select,
option,
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 24px;
}

h2 {
  font-size: 24px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

fieldset {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

label:first-child {
  margin-top: 0;
}

label {
  margin-top: 12px;
}

input {
  display: block;
  padding: 8px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
textarea {
  display: block;
  padding: 6px 8px;
  line-height: 22px;
  border-radius: 4px;
  border: none;
  background-color: rgb(236, 236, 242);
  outline: none;
}

input:focus,
textarea:focus {
  outline: 1px solid rgb(163, 98, 223);
  outline-offset: 2px;
}

.btn {
  display: block;
  -webkit-appearance: none;
  appearance: none;
  background: rgb(90, 24, 224);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-align: center;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  border: none;
  outline: none;
  padding: 10px 16px;
  border-radius: 4px;
  margin: 0;
  cursor: pointer;
}

.btn:focus {
  outline: 1px solid rgb(163, 98, 223);
  outline-offset: 2px;
}

.btn:active {
  background: rgb(27, 75, 179);
}

label {
  font-weight: bold;
  display: block;
}

main {
  max-width: 700px;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 8px;
}

.list-link:hover {
  background-color: rgb(241, 239, 254);
}

.admin-breadcrumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  color: #8f8db9;
}

.admin-breadcrumbs > a {
  text-decoration: none;
  color: rgb(27, 75, 179);
}

.admin-list__item:first-child {
  border-top: 1px solid #8d87ff;
}

.admin-list__item {
  border-bottom: 1px solid #8d87ff;
}

/* @keyframes move-out {
  from {
    opacity: 1;
    transform: translateY(0%);
  }

  to {
    opacity: 0.01;
    transform: translateY(-10px);
  }
}

@view-transition {
  navigation: auto;
}

@keyframes move-in {
  from {
    opacity: 0.01;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

::view-transition-old(root) {
  animation: 0.2s ease both move-out;
}

::view-transition-new(root) {
  animation: 0.2s ease both move-in;
} */