.user-rights-page {
  min-height: 60vh;
}

.user-rights-title-row {
  margin-bottom: 24px;
}

.user-rights-title-row h1 {
  margin: 0 0 7px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
}

.user-rights-title-row p {
  margin: 0;
}

.user-rights-account-strip .user-button {
  margin-left: auto;
}

.user-rights-layout {
  display: grid;
  gap: 20px;
  max-width: 940px;
  margin: 0 auto;
}

.user-rights-summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 19px;
  color: #4d5558;
  background: #f7f8f8;
  border: 1px solid #e3e6e8;
  border-left: 3px solid #28a745;
}

.user-rights-summary-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #218838;
  background: #eef8f0;
}

.user-rights-summary-icon svg,
.user-rights-card-icon svg,
.user-rights-module-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.user-rights-summary-icon svg {
  width: 21px;
  height: 21px;
}

.user-rights-summary strong,
.user-rights-summary span {
  display: block;
}

.user-rights-summary strong {
  margin-bottom: 3px;
  color: #303538;
  font: 700 14px/1.4 Roboto, sans-serif;
}

.user-rights-summary span {
  color: #707579;
  font: 400 13px/1.5 Roboto, sans-serif;
}

.user-rights-card {
  background: #fff;
  border: 1px solid #e3e6e8;
}

.user-rights-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px 22px 17px;
  border-bottom: 1px solid #eceeef;
}

.user-rights-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #218838;
  background: #eef8f0;
}

.user-rights-card-icon svg {
  width: 20px;
  height: 20px;
}

.user-rights-card-heading h2 {
  margin: 0 0 4px;
  color: #272b2e;
  font: 700 19px/1.3 Roboto, sans-serif;
}

.user-rights-card-heading p {
  margin: 0;
  color: #777;
  font: 400 13px/1.55 Roboto, sans-serif;
}

.user-rights-list {
  padding: 0 22px;
}

.user-rights-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  min-height: 78px;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f1;
}

.user-rights-row:last-child {
  border-bottom: 0;
}

.user-rights-module-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #596064;
  background: #f3f5f5;
  border-radius: 2px;
}

.user-rights-module-icon svg {
  width: 21px;
  height: 21px;
}

.user-rights-module-copy {
  min-width: 0;
}

.user-rights-module-copy h3 {
  margin: 0 0 4px;
  color: #272b2e;
  font: 700 16px/1.3 Roboto, sans-serif;
}

.user-rights-code {
  display: inline-block;
  color: #8a8f92;
  font: 500 11px/1.3 Roboto, sans-serif;
  letter-spacing: .06em;
}

.user-rights-level {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 182px;
  justify-content: flex-end;
}

.user-rights-level span {
  color: #777d80;
  font: 400 12px/1.35 Roboto, sans-serif;
}

.user-rights-level strong {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: #2d3438;
  border-radius: 50%;
  font: 700 16px/1 Roboto, sans-serif;
}

.user-rights-reload-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 22px;
  background: #f7f8f8;
  border: 1px solid #e3e6e8;
}

.user-rights-reload-panel strong {
  display: block;
  margin-bottom: 3px;
  color: #303538;
  font: 700 14px/1.4 Roboto, sans-serif;
}

.user-rights-reload-panel p {
  margin: 0;
  color: #777d80;
  font: 400 13px/1.5 Roboto, sans-serif;
}

.user-rights-reload-panel .user-button {
  flex: 0 0 auto;
}

.user-rights-reload-panel .user-button.is-loading {
  opacity: .72;
  pointer-events: none;
}

.user-rights-reload-panel .user-button.is-loading svg {
  animation: user-rights-spin .8s linear infinite;
}

.user-rights-feedback {
  display: none;
  padding: 13px 15px;
  color: #1f6b31;
  background: #eef8f0;
  border: 1px solid #cfe8d4;
  font: 400 13px/1.5 Roboto, sans-serif;
}

.user-rights-feedback.is-visible {
  display: block;
}

@keyframes user-rights-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
  .user-rights-title-row {
    margin-bottom: 18px;
  }

  .user-rights-account-strip .user-button {
    width: 100%;
    margin-left: 66px;
  }

  .user-rights-list {
    padding: 0 17px;
  }

  .user-rights-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 16px 0;
  }

  .user-rights-level {
    grid-column: 2;
    justify-content: flex-start;
    min-width: 0;
    margin-top: 2px;
  }

  .user-rights-level strong {
    order: -1;
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .user-rights-reload-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 17px;
  }

  .user-rights-reload-panel .user-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .user-rights-account-strip .user-button {
    margin-left: 0;
  }

  .user-rights-summary,
  .user-rights-card-heading {
    padding-left: 17px;
    padding-right: 17px;
  }
}
