* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterRegular.woff2");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterMedium.woff2");
  font-display: swap;
  font-weight: 500;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterSemiBold.woff2");
  font-display: swap;
  font-weight: 600;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterBold.woff2");
  font-display: swap;
  font-weight: 700;
}

body {
  margin: 0;
  padding: 20px;
  font-family: "Inter", sans-serif;
  background: #111;
}

.user-panel {
  display: flex;
  align-items: center;
  border: 1px solid #2a2a2a;
  border-radius: 32px;
  padding: 16px;
  gap: 16px;
  margin: 0 auto;
  max-width: 920px;
  background: #1a1a1a;
}

.user-panel__info {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.user-panel__avatar {
  display: block;
  border-radius: 16px;
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.user-panel__name {
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.user-panel__position {
  font-weight: 400;
  font-size: 14px;
  color: #a1a1aa;
}

.user-panel__status {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  font-weight: 600;
  font-size: 14px;
  color: #a2f916;
  gap: 8px;
}

.user-panel__status::before {
  content: "";
  display: block;
  border-radius: 100%;
  width: 10px;
  height: 10px;
  background: currentColor;
}

.user-panel__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 16px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  background: #27272a;
  transition: background 0.3s;
}

.user-panel__link:hover {
  background: #343438;
}
