body {
  margin: 0;
  height: calc(100dvh - 2rem);
  background-color: #ddd;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  max-width: 52rem;
  margin: auto;
}

.link-box {
  height: 8rem;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.05);
  transition: 0.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  color: black;
}

.link-box:hover {
  background-color: #eee;
}

.topbar {
  max-width: 51rem;

  margin: auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;

  .logout {
    text-decoration: none;
    align-content: center;

    a {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      text-decoration: none;
      color: rgba(0, 0, 0, 0.4);
      font-size: 15px;
      transition: ease-in 0.2s;
    }

    a:hover {
      color: rgba(255, 0, 0, 0.6);
    }

    i {
      font-size: 20px;
    }

    .logout-label {
      font-size: 15px;
    }
  }

  .title {

    h1 {
      margin-top: 0;
      margin-bottom: 0.25rem;
    }

    p {
      margin-top: 0;
      margin-bottom: 0;
    }
  }
}

.link-box div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 100%;

  i {
    font-size: 44px;
    color: rgba(0, 0, 0, 0.4);
    transition: ease-in 0.2s;
  }

  i:hover {
    color: rgb(59,130,246);
  }

  p {
    text-align: center;
    margin: 0;
    font-size: 18px;
    padding: 0;
    color: rgba(0, 0, 0, 0.4);
    transition: ease-in 0.2s;
  }

}

.link-box:hover p {
  color: #000;
}

.link-box:hover i {
  color: rgb(59,130,246);
}

.user-list {
  background-color: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 25%;
  max-width: 350px;
}

.user-box {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 1rem;

  .name {
    font-weight: 600;
  }

  .roles {
    span {
      background-color: rgba(0, 0, 0, 0.1);
      padding: 0.25rem 0.75rem;
      border-radius: 25px;
    }
  }
}

.user-management {
  display: flex;
  gap: 1rem;
  height: 100%;
}

.user-details {
  background-color: white;
  border-radius: 10px;
  width: 100%;
  padding: 1rem;
}

.user-details:empty {
  background-color: transparent;
  border: 3px dashed rgba(0, 0, 0, 0.1);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-control {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  padding: 0.5rem 0.25rem;
  box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.05);
}