.db {}

.db__header {
  position: sticky;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 100px;
  padding: 0 20px;
  background: #fff;
  /*box-shadow: 0 2px 5px 2px rgba(60, 64, 67, .15);*/
  z-index: 100;
}
.db__header-logo {
  width: 36px;
}
.db__header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777;
  font-weight: normal;
}

.db__search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 60%;
  padding: 10px;
  border-radius: 10px;
  background: #e6f4ea;
}
.db__search-icon {
  color: #777;
}
.db__search-input {
  flex-grow: 1;
  min-height: 20px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
}
.db__search-input::placeholder {
  color: #777;
  font-size: 16px;
  font-weight: 300;
}

/*Table*/
.db__table {
  padding: 1rem;
}
.db__list {
  margin: 0;
  padding: 0;
}
.db__list-header {
  display: flex;
  justify-content: space-between;
  color: #202124;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 10px;
  padding: 0 40px 0 12px;
}

.db__record {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-right: 12px;
}
.db__record:hover {
  background: #e6f4ea;
  border-radius: 25px;
}
.db__record-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 12px 12px 16px;
  text-decoration: none;
  color: #202124;
  font-size: 14px;
}
.db__record-title {
  display: flex;
  align-items: center;
  gap: 30px;
}
.db__record-icon {
  width: 20px;
}
.db__record-date {
  flex-shrink: 0;
  color: #777;
}
.db__record-delete {
  font-size: 18px;
  color: #777;
  cursor: pointer;
}
.db__record-delete:hover {
  color: #000;
}
.db__no-records {
  padding: 30vh 0;
  text-align: center;
  color: #777;
  font-weight: 300;
  font-size: 18px;
  text-transform: uppercase;
}


.db__new {
  position: fixed;
  right: 30px;
  bottom: 60px;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 36px;
  text-decoration: none;
  color: #777;
  background-color: #fff;
  z-index: 100;
  box-shadow: 1px 5px 10px 0 #777;
}
.db__new:hover {
  box-shadow: 1px 5px 10px 0 var(--accent-green);
}
.db__new:active {
  color: var(--accent-green);
}


/*Responsive*/
@media (max-width: 720px) {
  .db__header {
    gap: 0;
  }
  .db__search {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .db__record-title {
    gap: 5px;
  }
}
