* {
  margin: 0;
  padding: 0;
}
body {
  height: 100vh;
  width: 100%;
  background: #3e2f2f;
}

.dsh_container {
  height: 85%;
}
.back {
  padding-left: 20px;
}
.goback {
  color: #2f1a1a;
  opacity: 90%;
}

.goback {
  position: absolute;
  display: inline-block;
  margin: 15px;
  padding: 15px 30px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #f8f8f8;
  background: transparent;
  cursor: pointer;
  transition: ease-out 0.5s;
  border: 2px solid #ffab03;
  border-radius: 10px;
  box-shadow: inset 0 0 0 0 #6d4a25;
}

.goback:hover {
  color: white;
  box-shadow: inset 0 -100px 0 0 #6d4a25;
}

.goback:active {
  transform: scale(0.9);
}
.pfp {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pfp > img {
  border-radius: 80px;
  height: 130px;
}
.Pinfo {
  color: white;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#dsh_email {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  color: gray;
}
.Cart {
  border: 8px solid rgb(160, 77, 18);
  margin: 15px;
  height: 455px;
  border-radius: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-left: 40px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #6d4a25;
}

::-webkit-scrollbar-thumb {
  background: #ffab03;
}

::-webkit-scrollbar-thumb:hover {
  background: #f5aa5a;
}

.bookContainer {
  margin: 20px 0;
  width: 90%;
  max-width: 1200px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background: rgb(101, 44, 0);
  background: linear-gradient(
    0deg,
    rgba(101, 44, 0, 1) 22%,
    rgba(195, 127, 90, 1) 93%
  );
  display: flex;
  padding: 20px;
  overflow: hidden;
}

#img {
  width: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#img img {
  width: 80%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3);
}

.dsh_book_info {
  display: flex;
  justify-content: space-between;
  width: 90%;
  padding-left: 20px;
  align-items: center;
}

#dsh_bookName {
  flex: 1;
  margin-right: 20px;
  padding: 5px;
}

#dsh_bookName > p {
  font-size: 1.1em;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  font-style: italic;
  color: white;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

#dsh_btn {
  display: flex;
  align-items: center;
  gap: 15px;
}

.styled-btn {
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  background: #ffffff;
  color: #0c0c0c;
  font-size: 0.9em;
  font-weight: bold;
  box-shadow: 3px 3px 0 rgb(81, 28, 28);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.styled-btn:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgb(81, 28, 28);
}

.styled-btn:active {
  transform: translateY(1px);
  box-shadow: 2px 2px 0 rgb(81, 28, 28);
}

.delAcc {
  display: flex;
  justify-content: center;
}

@media (max-width: 1000px) {
  .goback {
    height: 50px;
    padding: 5px;
    margin: 0;
  }
  .pfp {
    margin-top: 60px;
    margin-left: 90px;
    height: 80px;
  }
  .Pinfo {
    margin-left: 80px;
  }

  .bookContainer {
    margin: 0 20px;
    margin-bottom: 20px;

    flex-direction: column;
    text-align: center;
  }

  .dsh_book_info {
    flex-direction: column;
    padding-left: 0;
  }

  #img {
    width: 50%;
    margin-bottom: 20px;
  }

  #dsh_btn {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .goback {
    height: 50px;
    padding: 5px;
    margin: 0;
  }
  .pfp {
    margin-top: 60px;
    margin-left: 90px;
    height: 80px;
  }
  .Pinfo {
    margin-left: 80px;
  }

  .bookContainer {
    margin: 0 -20px;
    margin-bottom: 20px;
    flex-direction: column;
    text-align: center;
  }

  .dsh_book_info {
    flex-direction: column;
    padding-left: 0;
  }

  #img {
    width: 50%;
    margin-bottom: 20px;
  }

  #dsh_btn {
    justify-content: center;
  }
}
