@import url("../fonts/Inter.css");
@import url("../fonts/Lora.css");
*, *:after, *:before {
  box-sizing: border-box;
}

:root {
  --c-text-primary: #333333;
  --c-text-secondary: #999999;
  --c-action-primary: #fff;
  --c-action-primary-accent: #8C52FF;
  --c-action-secondary: #63C4B1;
  --c-action-tertiary: #8C52FF;
  --c-bg-primary: #FCFCFC;
  --c-bg-secondary: #F7F6FC;
  --c-bg-search: #F0F4F5;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  background-color: #f7f7f7;
  color: var(--c-text-primary);
  padding: 2rem;
}

input, select, button, textarea {
  font: inherit;
  color: inherit;
  outline: 0;
}

input::-webkit-calendar-picker-indicator{
  margin-right: 30px;
}

img {
  display: block;
  max-width: 100%;
}

.keepforever-app {
  padding: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100vh - 4rem);
}

.header {
  display: flex;
  align-items: center;
}

.header-logo {
  font-family: "Lora", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.header-content {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
}

.header-search {
  display: flex;
  position: relative;
}

#list {
  position: absolute;
  top: 135px;
  border: 1px solid #dedede;
  background-color: rgb(240, 244, 245, 0.8);
  border-radius: 5px;
  display: block;
}
.listItem {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  font-weight: 600;
  color: var(--c-action-tertiary);
  box-shadow: 0 1px 0 #dedede;
  padding: 5px 165px;
}
.listItem:hover {
  background-color: #dedede;
}

.search-field {
  border-radius: 99em;
  background-color: var(--c-bg-search);
  border: none;
  padding-left: 2.75rem;
  height: 3rem;
  transition: width 380ms ease;
  width: 250px;
}
.search-field:focus {
  width: 400px;
}

.search-btn {
  border: none;
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-btn i {
  font-size: 1.25rem;
  color: #ABB5BD;
}

.btn-success {
  background-color: var(--c-action-primary-accent);
}

.btn-danger {
  background-color: #dc3545!important;
}

.header-avatar {
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.header-avatar-img {
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.header-avatar-name {
  margin-left: 0.75rem;
}

.main {
  margin-top: 6rem;
  display: grid;
  grid-template-columns: 1fr 4fr;
  -moz-column-gap: 5rem;
       column-gap: 5rem;
}

.tabs {
  display: flex;
  flex-direction: column;
}

.tab {
  display: flex;
}
.tab + .tab {
  margin-top: 0.5rem;
}

.tab-btn {
  border: none;
  background-color: transparent;
  padding: 0.75rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  width: 100%;
  font-weight: 500;
}
.tab-btn i {
  margin-right: 0.75rem;
  font-size: 1.25em;
  color: var(--c-text-secondary);
}
.tab-btn--active, .tab-btn:hover {
  color: var(--c-action-primary);
  background-color: var(--c-action-primary-accent);
  cursor: pointer;
}
.tab-btn--active i, .tab-btn:hover i {
  color: var(--c-action-primary);
}
.tab-btn--active {
  font-weight: 600;
}

.main-content {
  background-color: #EEE;
}

.content-header {
  display: flex;
}

.content-header-inner {
  flex: 1;
}

.content-header-title {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: "Lora", sans-serif;
  line-height: 1.125;
}
.content-header-title small {
  display: block;
  font-weight: 400;
  font-family: "Space Mono", monospace;
  font-size: 0.875em;
  color: var(--c-action-secondary);
  margin-top: 0.5em;
}

.content-header-info {
  margin-top: 1.5rem;
  font-weight: 600;
}

.link {
  color: var(--c-action-tertiary);
  text-decoration: none;
  box-shadow: 0 1px 0 currentcolor;
  font-weight: 600;
}
.link i {
  display: inline-block;
  margin-left: 0.25rem;
}
.link:hover, .link:focus {
  box-shadow: 0 3px 0 currentcolor;
}

.content-header-illustration {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  margin-top: -2rem;
}
.content-header-illustration img {
  max-width: 400px;
  max-height: 300px;
}

.overview {
  border: 1px solid #dedede;
  border-radius: 8px;
  min-height: 100px;
  padding: 2rem;
}
.overview + .overview {
  margin-top: 3rem;
}

.overview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overview-header-title {
  font-size: 1.25rem;
  font-weight: 700;
}
.overview-header-title span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75em;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #f7f7f7;
  background-color: #8c52ff;
  margin-left: 0.5rem;
}

.summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  margin-top: 1.5rem;
  color: var(--c-text-secondary);
}

.summary-amount {
  font-family: "Space Mono", monospace;
}

.list {
  margin-top: 1rem;
}
.list + .summary {
  margin-top: 2.5rem;
}

.list-item {
  border-top: 1px solid #dedede;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.list-form-item {
  border-top: 1px solid #dedede;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-content: center;
  flex-direction: row;
}

.list-select-item {
  border-top: 1px solid #dedede;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-content: center;
  flex-direction: row;
}

.list .list-item:last-child {
  border-bottom: 1px solid #dedede;
}

.list .list-form-item:last-child {
  border-bottom: 1px solid #dedede;
  border-top: none;
}

.list .list-select-item:last-child {
  border-bottom: 1px solid #dedede;
  border-top: none;
}

.list-item-keepforever-app {
  display: flex;
  align-items: center;
}

.list-item-keepforever-app-logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}
.list-item-keepforever-app-logo img {
  position: absolute;
  width: 56px;
  height: 56px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.list-item-keepforever-app-logo--square {
  border-radius: 12px;
  box-shadow: 0 0 4px 0 #dedede;
}

.list-item-keepforever-app-info {
  margin-left: 1.25rem;
}

.list-item-keepforever-app-name {
  font-weight: 600;
}

.list-item-keepforever-app-hashtag {
  display: inline-block;
  text-decoration: none;
  color: var(--c-text-secondary);
  margin-top: 0.125rem;
}
.list-item-keepforever-app-hashtag + .list-item-keepforever-app-hashtag {
  margin-left: 0.25rem;
}

.list-item-testament {
  display: flex;
  align-items: center;
}

.list-item-testament-values {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.list-item-testament-value {
  font-weight: 600;
  font-family: "Space Mono", monospace;
  display: inline-flex;
  align-items: center;
}
.list-item-testament-value i {
  margin-right: 0.5rem;
}
.list-item-testament-value--positive {
  color: var(--c-action-secondary);
}

.list-item-testament-policy {
  color: var(--c-text-secondary);
  font-size: 0.875rem;
}

.list-item-testament-action {
  display: none;
  border: none;
  background-color: #dc3545;
  border-radius: 8px;
  margin-left: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  color: #f7f7f7;
}

.delete-button {
  color: #dc3545;
}

.overview-footer {
  display: flex;
  justify-content: center;
  padding-top: 1.25rem;
}
.disable-select {
  user-select: none; /* supported by Chrome and Opera */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
}