/* Change some of the default Milligram colours */
a {
  color: #001ca5;
}

button {
  background-color: #001ca5;
  border: 0.1rem solid #001ca5;
}

input[type='text']:focus {
  border-color: #001ca5;
}

/* Application styling */

#container {
  padding: 10px;
}

#header {
  display: flex;
}

#header #info {
  flex: 8;
}

#header #login {
  flex: 1;
}

.add-key {
  display: flex;
}

.delete-key {
  background-color: black;
}

.user-list {
  list-style: none;
}

.user-list li.user {
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  padding: 10px;
}

.user-list li.user p.identifier span.email {
  font-size: 17px;
  font-weight: bold;
}

ol.key-list {
  list-style-position: outside;
}

.key-list li.key {
  word-wrap: break-word;
}

/* Loading overlay and animation */

.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #001ca5;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-overlay {
  left: 0;
  bottom: 0;
  position: fixed;
  display: flex;
  align-items: center;
  height: 100vh;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.8);
}
