@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&display=swap");

*,
body,
html {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}
header {
  position: fixed;
  width: 100%;
  background-color: #eeeeee;
  padding: 20px 80px;
  color: #47a992;
  border-bottom: 2px solid #47a992;
  z-index: 1;
}
.logo {
  display: flex;
  gap: 10px;
}
section {
  display: flex;
  padding: 0px 80px;
  background-color: #eeeeee;
  gap: 40px;
  min-height: 100vh;
}
.container-text {
  padding-top: 200px;
  width: 33.33%;
  display: flex;
  flex-direction: column;
}

.container-text .btn-add {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  padding: 10px;
  cursor: pointer;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  background-color: #47a992;
  border: none;
  box-shadow: 4px 4px 0 0 #47a992b6;
}
.container-text .btn-add:active {
  background-color: #47a992b6;
  top: 4px;
  left: 4px;
  box-shadow: none;
  transition: all 0.3 ease;
}
.container-text p {
  margin-top: 10px;
  margin-bottom: 24px;
}
.container-text h1 {
  color: #47a992;
  font-size: 44px;
}
.container-search {
  display: flex;
  gap: 10px;
  align-items: start;
  flex-direction: column-reverse;
}
.search{
  display: flex;
  gap: 10px;
  justify-content: start;
  align-items: center;
}
.search input {
  border-radius: 6px;
  border: 2px solid #47a992;
  padding: 8px 12px;
  box-shadow: 4px 4px 0 0 #47a992b6;
}
.search input:focus {
  outline: 1px solid #4db1c3;
}
.btn-search {
  position: relative;
  color: #fff;
  background-color: #47a992;
  padding: 8px;
  border-radius: 100%;
  box-shadow: 4px 4px 0 0 #47a992b6;
}
.btn-search:active{
  background-color: #47a992b6;
  top: 4px;
  left: 4px;
  box-shadow: none;
  transition: all 0.3 ease;
}
.btn-refresh {
  position: relative;
  color: #fff;
  background-color: #5cd2e6;
  padding: 8px;
  border-radius: 100%;
  box-shadow: 4px 4px 0 0 #4db1c3;
}
.btn-refresh:active{
  background-color: #4db1c3;
  top: 4px;
  left: 4px;
  box-shadow: none;
  transition: all 0.3 ease;
}
.container-table {
  display: flex;
  padding-top: 200px;
  flex-direction: column;
  align-items: center;
  width: 33.33%;
}
.container-table .table {
  border: 4px solid #47a992;
  width: 100%;
  height: 400px;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: scroll;
  scroll-behavior: smooth;
}
::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.container-table .table .title {
  position: sticky;
  top: 0;
  display: inline-flex;
  background-color: #47a992;
  padding: 6px 12px;
  border-radius: 6px 0px 10px 0px;
  color: #fff;
  font-weight: 600;
  z-index: 1;
}
.title-book {
  font-size: larger;
  font-weight: 600;
  margin-bottom: 4px;
}
.list-book {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 2px solid #47a992;
}
.list-book:hover {
  background-color: #f4f4f4;
  transition: all 0.3s ease;
}
.option {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.option-two {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
button {
  display: inline-flex;
  align-items: center;
  border: none;
  cursor: pointer;
}
.selesei {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 4px;
  background-color: #47a992;
  padding: 6px 12px;
  color: #fff;
  border-radius: 4px;
  box-shadow: 4px 4px 0 0 #47a992b6;
}
.selesei:active {
  background-color: #47a992b6;
  top: 4px;
  left: 4px;
  box-shadow: none;
  transition: all 0.3 ease;
}
.kembalikan {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 4px;
  background-color: #5cd2e6;
  padding: 6px 12px;
  color: #fff;
  border-radius: 4px;
  box-shadow: 4px 4px 0 0 #4db1c3;
}
.kembalikan:active {
  background-color: #4db1c3;
  top: 4px;
  left: 4px;
  box-shadow: none;
  transition: all 0.3 ease;
}
.hapus {
  position: relative;
  display: flex;
  gap: 4px;
  background-color: #d80032;
  padding: 6px 12px;
  color: #fff;
  border-radius: 4px;
  box-shadow: 4px 4px 0 0 #ab0129;
}
.hapus:active {
  background-color: #ab0129;
  top: 4px;
  left: 4px;
  box-shadow: none;
  transition: all 0.3 ease;
}
.add-book {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 2;
}
.add-book .table-add {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 80px;
  padding: 20px 24px;
  border: 2px solid #47a992;
  background-color: #eeeeee;
  border-radius: 10px;
  width: 300px;
}
.add-book h3 {
  color: #47a992;
  margin-bottom: 10px;
}
.input {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.input input {
  border-radius: 6px;
  border: 2px solid #47a992;
  padding: 6px 8px;
}
.tambah {
  position: relative;
  background-color: #47a992;
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 10px;
  font-weight: 600;
  color: #fff;
  border-radius: 6px;
  margin-top: 20px;
  box-shadow: 4px 4px 0 0 #47a992b6;
}
.tambah:active {
  background-color: #47a992b6;
  top: 4px;
  left: 4px;
  box-shadow: none;
  transition: all 0.3 ease;
}
.batal {
  background-color: #d80032;
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 10px;
  font-weight: 600;
  color: #fff;
  border-radius: 6px;
  margin-top: 8px;
  box-shadow: 4px 4px 0 0 #ab0129;
}
.batal:active {
  background-color: #ab0129;
  top: 4px;
  left: 4px;
  box-shadow: none;
  transition: all 0.3 ease;
}
.check {
  display: flex;
  gap: 10px;
  justify-items: center;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.edit {
  position: relative;
  display: flex;
  gap: 4px;
  background-color: #f4e869;
  padding: 6px 12px;
  color: #fff;
  border-radius: 4px;
  box-shadow: 4px 4px 0 0 #cbc258;
}
.edit:active {
  background-color: #cbc258;
  top: 4px;
  left: 4px;
  box-shadow: none;
  transition: all 0.3 ease;
}
.custom-dialog{
  position: absolute;
  top: 20px;
  right: 0;
  z-index: 2;
  padding: 20px 24px;
  background-color: #47a992;
  border-radius: 10px 0px 0px 10px;
  color: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

footer{
  background-color: #eeeeee;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 2px solid #47a992;
  padding: 4px 0px;
  font-size: 12px;
}
