/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

:host {
  --header-avatar-size: 80px;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  display: flex;
  justify-content: center;

  background-color: var(--newtab-background-color, var(--background-color-canvas));
}

edit-profile-card,
delete-profile-card,
new-profile-card {
  display: block;
  max-width: 80%;
  margin-top: calc(2 * var(--space-xxlarge));
}

#edit-profile-card,
#delete-profile-card {
  display: flex;
  gap: var(--space-xxlarge);
  margin: var(--space-xxlarge);
  padding: var(--space-xxlarge);
}

#profile-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-medium);
}

#header-avatar {
  -moz-context-properties: fill, stroke;

  width: var(--header-avatar-size);
  height: var(--header-avatar-size);
  border-radius: var(--border-radius-circle);
}

.sub-header {
  font-size: var(--font-size-large);
  color: var(--text-color-deemphasized);
}
