/* CSS Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Element Resets */
ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Variables */
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --circle-bg-color: #0a8bdb57;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 20px;
  --spacing-lg: 28px;
  --spacing-xl: 32px;
}

/* Body Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Container */
.custom-container {
  padding: 1rem;
  margin: 0 auto;
  max-width: 100%;
}

/* Responsive Container Widths */
@media (min-width: 576px) {
  .custom-container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .custom-container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .custom-container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .custom-container {
    max-width: 1140px;
  }
}

/* Utility Classes */
.hidden-mobile {
  display: none;
}

.visible-mobile {
  display: block;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: block;
  }
  .visible-mobile {
    display: none;
  }
}

/* Login Styles */

#login {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.login__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: var(--spacing-lg) 0;
  padding: 0 var(--spacing-md);
}
.login__container {
  display: flex;
  flex-direction: column;
}

.login__header__title {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: #ffffff;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.login__header__logo {
  width: var(--spacing-xl);
  height: var(--spacing-xl);
}

.login__header__login-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  margin-top: var(--spacing-sm);
  position: relative;
  z-index: 10;
}

.login__header__login-p {
  color: #ffffff;
  text-align: center;
  margin-top: var(--spacing-xs);
  position: relative;
  z-index: 10;
}

.login__header__login-img {
  margin-top: var(--spacing-xs);
  width: 84%;
  position: relative;
  z-index: 10;
}

.login__header__login-img__container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login__header__login-img__circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 100%;
  background-color: var(--circle-bg-color);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.login__form {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  position: relative;
  z-index: 10;
  padding: 48px;
  background-color: #ffffff;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  min-height: 100%;
  overflow: hidden;
}
.login__form__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.login__form__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.login__form__item__label {
  color: #00b3d8;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.login__form__item__input {
  box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
  background-color: #00b3d80d;
  padding: 14px 24px;
  border: 1px solid #47dffd;
  border-radius: 24px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.login__form__item__input:focus {
  outline: none;
  border-color: #00b3d8;
  background-color: #00b3d815;
  box-shadow: rgba(0, 179, 216, 0.1) 0px 8px 24px;
}

.login__form__item__input::placeholder {
  color: #666;
  opacity: 0.6;
}

.login__form__item__input:hover {
  background-color: #00b3d812;
}

.login__form__forgot-password {
  color: #00b3d8;
  font-size: 14px;
  text-align: right;
  cursor: pointer;
  transition: all 0.2s ease;
}
.login__form__forgot-password:hover {
  opacity: 0.7;
}
.login__form__btn-login {
  color: #ffffff;
  background-color: #00b3d8;
  border-radius: 24px;
  box-shadow: rgba(0, 179, 216, 0.1) 0px 8px 24px;
  padding: 14px;
  border: none;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.login__form__btn-login:focus {
  outline: none;
}

.login__form__btn-login:hover {
  background-color: #0095b4;
  box-shadow: rgba(0, 179, 216, 0.2) 0px 8px 24px;
  transform: translateY(-2px);
}

.login__form__btn-login:active {
  transform: translateY(0);
  background-color: #008ba8;
}

.login__form__btn-login-google {
  color: #00b3d8;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: rgba(0, 179, 216, 0.1) 0px 8px 24px;
  padding: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.login__form__btn-login-google__container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.login__form__btn-login-google__img {
  width: 24px;
  height: 24px;
}
.login__form__signup-text {
  text-align: center;
  margin-top: 24px;
  color: #666;
}

.login__form__signup-link {
  color: #00b3d8;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.login__form__signup-link:hover {
  color: #0095b4;
}

/* Bubbles */
.top__right__lg-circle {
  background-color: #c9f4ff0d;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  position: absolute;
  top: -24px;
  right: -24px;
}
.top__right__sm-circle {
  background-color: #c9f4ff0d;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  position: absolute;
  top: 55px;
  right: 70px;
}
.top__left__lg-circle {
  background-color: #c9f4ff0d;
  width: 90px;
  height: 90px;
  border-radius: 100%;
  position: absolute;
  top: -24px;
  left: -24px;
}
.top__left__sm-circle {
  background-color: #c9f4ff0d;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  position: absolute;
  top: 70px;
  left: 40px;
}

.top-form__right__lg-circle {
  background-color: #36b2fe0d;
  width: 110px;
  height: 110px;
  border-radius: 100%;
  position: absolute;
  top: -40px;
  right: -4px;
}
.top-form__right__sm-circle {
  background-color: #36b2fe0d;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  position: absolute;
  top: 47px;
  right: 94px;
}
.top-form__left__lg-circle {
  background-color: #36b2fe0d;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  position: absolute;
  top: 18px;
  left: 8px;
}
.top-form__left__sm-circle {
  background-color: #36b2fe0d;
  width: 18px;
  height: 18px;
  border-radius: 100%;
  position: absolute;
  top: 28px;
  left: 58px;
}

@media (min-width: 1024px) {
  .login__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    min-height: 100vh;
    place-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }

  .login__left {
    width: 100%;
    max-width: 600px;
  }

  .login__right {
    width: 100%;
    max-width: 600px;
  }

  .login__form {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    position: relative;
    z-index: 10;
    padding: 48px;
    background-color: #ffffff;
    border-radius: 36px;
    min-height: 80%;
    width: 100%;
  }
  .login__header__login-img__circle {
    position: absolute;
    left: 25px;
    bottom: -90px;
    width: 650px;
    height: 650px;
    border-radius: 100%;
    background-color: var(--circle-bg-color);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  }

  .login__header__login-title {
    font-size: 48px;
    font-weight: 700;
    text-align: left;
  }

  .login__header__login-p {
    color: #ffffff;
    text-align: left;
    font-size: 18px;
  }
  .login__header__title__container {
    text-align: left;
    display: flex;
    justify-content: start;
    width: 100%;
  }
}

/* Hide scrollbar track */
::-webkit-scrollbar {
  width: 5px; /* Thin scrollbar */
  height: 5px; /* For horizontal scrollbars */
}

/* Scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
  background: #e2e2e2; /* Change to desired color */
  border-radius: 10px;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Optional: Hide scrollbar track */
::-webkit-scrollbar-track {
  background: transparent;
}

.loading-screen {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.932);
  /* background-color: #fff; */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Make sure it appears on top of other elements */
}

/* Showcase */
.showcase {
}
.showcase__container {
  overflow: hidden;
  padding: 64px 32px;
}

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

.logo img {
  width: 50px;
  height: 50px;
}

.logo__container {
  display: flex;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.logo__company-name {
  font-size: 12px;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
  transform: translateY(8px);
  font-weight: 600;
}

.logo__system-name {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  transition: all 0.6s ease;
  position: relative;
  z-index: 100;
}

.logo__container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  transform: translateX(0);
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #0fbedc;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .button_login {
  background: none;
  border: 2px solid #ffffff;
  outline: none;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-links .button_login:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  transform: translateY(-2px);
}

.avatar-container {
  position: relative;
  cursor: pointer;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.avatar-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #dc2626;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.notification-count {
  margin-left: auto;
  background-color: #dc2626;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #4a90e2;
  animation: pulse 1.5s infinite;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  min-width: 280px;
  max-width: 350px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 10px;
  z-index: 1000000;
  color: #333;
  padding: 8px 0;
}

.dropdown-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333 !important;
  text-decoration: none;
  transition: background-color 0.2s;
  white-space: normal;
  line-height: 1.4;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
}

.dropdown-item:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.dropdown-item:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.dropdown-item i {
  font-size: 18px;
  color: #666;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.divider {
  height: 1px;
  background-color: #eee;
  margin: 8px 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 968px) {
  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0fbedc, #0a8bdb) no-repeat;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
    padding: 2rem;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 18px;
    padding: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
  }
  .nav-links.active a {
    transform: translateY(0);
    opacity: 1;
  }

  .avatar-container {
    margin: 1rem 0 0 0;
    display: none;
  }
}

/* Swiper */

.swiper {
  width: 100%;
  padding: 50px 0;
}

.showcase__slide {
  width: 200px;
  height: 300px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  filter: blur(3px) brightness(0.8);
}

.showcase__slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 190, 220, 0.2);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.showcase__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-slide-active {
  transform: scale(1.1);
  z-index: 2;
  filter: blur(0) brightness(1);
}

.swiper-slide-active::before {
  opacity: 0;
}

.swiper-slide-prev,
.swiper-slide-next {
  filter: blur(0.1px) brightness(0.85);
}

.swiper-slide-prev::before,
.swiper-slide-next::before {
  opacity: 1;
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}

.swiper-button-next,
.swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: rgba(15, 190, 220, 0.8);
  border-radius: 50%;
  color: white;
  border: none;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(15, 190, 220, 1);
}

.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Showcase book details */
.showcase__book-details__container {
  padding: 48px 32px;
  color: #ffffff;
  border-radius: 12px;
}

.showcase__book-details__title-sm__container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.showcase__book-details__star {
  color: #f3e92b;
  font-size: 20px;
  filter: drop-shadow(0 0 4px rgba(243, 233, 43, 0.4));
}

.showcase__book-details__title-sm {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.showcase__book-details__title {
  margin-top: 8px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.showcase__book-details__p {
  max-width: 650px;
  margin-top: 12px;
  line-height: 1.6;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.showcase__book-details__button {
  background: none;
  border: 1px solid #ffffff;
  outline: none;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  margin-top: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}
.showcase__book-details__button:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .logo img {
    width: 36px;
    height: 36px;
  }

  .logo__container {
    gap: 12px;
  }
  .logo__company-name {
    font-size: 8px;
    transform: translateY(2px);
  }
  .logo__company-name::after {
    width: 32%;
    height: 3px;
    transform: translateY(-2px);
  }
  .logo__system-name {
    font-size: 16px;
  }

  .showcase__container {
    padding: 32px 16px;
  }

  .swiper {
    width: 100%;
    padding: 0 0;
  }

  .swiper-slide {
    width: 150px;
    height: 220px;
  }
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 12px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 28px;
    height: 28px;
  }

  /* Showcase book details */
  .showcase__book-details__container {
    padding: 24px 16px;
    color: #ffffff;
    text-align: center;
  }

  .showcase__book-details__title-sm__container {
    justify-content: center;
    margin-bottom: 12px;
  }

  .showcase__book-details__star {
    font-size: 16px;
  }

  .showcase__book-details__title-sm {
    font-size: 14px;
  }

  .showcase__book-details__title {
    margin-top: 8px;
    font-size: 24px;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .showcase__book-details__p {
    max-width: 100%;
    margin: 12px auto;
    font-size: 14px;
    line-height: 1.6;
    padding: 0 8px;
  }

  .showcase__book-details__button {
    font-size: 14px;
    margin-top: 16px;
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
  }
}
.wave-section {
  position: relative;
  background: linear-gradient(135deg, #0fbedc, #0a8bdb) no-repeat;
  padding-bottom: 120px;
}

.wave-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: #ffffff;
  clip-path: path(
    "M0,60 C300,120 600,0 900,60 C1200,120 1500,0 1800,60 C2100,120 2400,0 2700,60 C3000,120 3300,0 3600,60 L3600,120 L0,120 Z"
  );
}

/* Books */
#books {
  padding: 48px 0;
}
.books__container {
  padding: 0 64px;
}
.books__search__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search-wrapper {
  width: 100%;
  max-width: 550px;
}
.search-bar__filter {
  display: none;
}

.search-bar {
  display: flex;
  align-items: center;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s ease;
  background-color: #ffffff;
  border: 1px solid;
  border-color: #0fbedc;
  box-shadow: 0 2px 8px rgba(15, 190, 220, 0.1);
}

.search-icon {
  color: #757575;
  font-size: 16px;
  margin-right: 12px;
}

.search-input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font-size: 15px;
  color: #333333;
}

.search-input::placeholder {
  color: #9e9e9e;
  font-size: 15px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0;
}

.pagination__numbers {
  display: flex;
  gap: 8px;
}

.pagination__number {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(15, 190, 220, 0.3);
  background: none;
  border-radius: 8px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination__number:hover {
  border-color: #0fbedc;
  color: #0fbedc;
  background: rgba(15, 190, 220, 0.05);
}

.pagination__number.active {
  background: #0fbedc;
  border-color: #0fbedc;
  color: white;
}

.pagination__btn {
  padding: 8px 16px;
  border: 1px solid rgba(15, 190, 220, 0.3);
  background: none;
  border-radius: 8px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination__btn:hover:not(:disabled) {
  border-color: #0fbedc;
  color: #0fbedc;
  background: rgba(15, 190, 220, 0.05);
}

.pagination__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-link {
  border: 1px solid #0fbedc;
  color: #0fbedc;
}

.page-link:hover {
  border-color: #0fbedc;
  color: #fff;
  background: #0fbedc;
}

.page-item.active .page-link {
  background: #0fbedc;
  border-color: #0fbedc;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .pagination {
    gap: 8px;
  }

  .pagination__number {
    width: 36px;
    height: 36px;
  }

  .pagination__btn {
    padding: 6px 12px;
  }
}
/* List of books */
#list-of-books {
  padding: 35px 0;
  row-gap: 42px;
}
.books__item__container {
  cursor: pointer;
  border-radius: 12px;
  padding: 15px;
  box-shadow: rgba(15, 190, 220, 0.2) 0px 5px 15px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.books__item__container:hover {
  transform: translateY(-5px);
  box-shadow: rgba(15, 190, 220, 0.3) 0px 8px 20px;
}

.ellipsis-line {
  width: 290px; /* Adjust as needed */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em; /* Adjust based on font size */
  max-height: 4.5em;
  text-align: justify;
}

.single-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 290px;
}

.new-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 210px;
}

.new-ellipsis-line {
  width: 210px; /* Adjust as needed */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em; /* Adjust based on font size */
  max-height: 4.5em;
  text-align: justify;
}

.books__items__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.books__items__item--img {
  object-fit: cover;
  width: 110px;
  height: 150px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  transition: transform 0.3s ease;
}

.books__items__item:hover .books__items__item--img {
  transform: scale(1.02);
}

.books__items__item--details-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px 0;
}

.books__items__item--title {
  font-size: 20px;
  font-weight: 700;
  color: #0fbedc;
  margin: 0;
  line-height: 1.2;
}

.books__items__item--author {
  font-size: 12px;
  color: #5cd1e6;
  margin: 0;
  font-weight: 500;
}

.books__items__item--stars {
  display: flex;
  gap: 4px;
  margin: 8px 0;
}

.books__items__item--stars > .star {
  font-size: 14px;
  color: #ffd700;
}

.books__items__item--desc {
  font-size: 12px;
  line-height: 1.6;
  color: #444;
  margin: 0;
  max-width: 500px;
}

.books__items__item--btn {
  background: none;
  border: 2px solid #0fbedc;
  outline: none;
  color: #0fbedc;
  padding: 4px 16px;
  border-radius: 6px;
  margin-top: 12px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.books__items__item--btn:hover {
  background-color: #0fbedc;
  color: #ffffff;
  box-shadow: rgba(15, 190, 220, 0.2) 0px 8px 24px;
  transform: translateY(-2px);
}

.books__items__item_hold--btn {
  background: none;
  border: 2px solid #f82828;
  outline: none;
  color: #f82828;
  padding: 4px 16px;
  border-radius: 6px;
  margin-top: 12px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.books__items__item_hold--btn:hover {
  background-color: #f82828;
  color: #ffffff;
  box-shadow: rgba(15, 190, 220, 0.2) 0px 8px 24px;
  transform: translateY(-2px);
}

.books__items__item--img-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.books__items__item--img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(
    to top,
    rgba(15, 190, 220, 0.9),
    rgba(37, 132, 255, 0)
  );
  color: white;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  cursor: pointer;
}

.books__items__item--img-container:hover .books__items__item--img-overlay {
  opacity: 1;
  transform: translateY(0);
}

.books__items__item--img-container:hover .books__items__item--img {
  transform: scale(1.1);
}
.books__items__item--ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: #0066ff;
  color: white;
  padding: 4px 40px;
  font-size: 10px;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}
.books__items__item--ribbon-new {
  position: absolute;
  top: 16px;
  right: -35px;
  background: #dc2626;
  color: white;
  padding: 4px 40px;
  font-size: 10px;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}
.books__items__item--ribbon-popular {
  position: absolute;
  top: 20px;
  right: -35px;
  background: #0fbedc;
  color: white;
  padding: 4px 40px;
  font-size: 10px;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

/* Sort */

.sort__container {
  padding: 30px;
  box-shadow: rgba(15, 190, 220, 0.2) 0px 8px 24px;
  border-radius: 18px;
  margin: 8px;
  background: #ffffff;
}

.sort__title {
  font-size: 20px;
  font-weight: 600;
  color: #0fbedc;
  /* text-align: center; */
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 12px;
}

.sort__title i {
  font-size: 20px;
}

.sort__form__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sort__form__item__container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sort__label {
  font-size: 16px;
  font-weight: 600;
  color: #0fbedc;
  margin-bottom: 4px;
}

.form-control {
  padding: 10px 16px;
  border: 1px solid rgba(15, 190, 220, 0.3);
  border-radius: 8px;
  font-size: 14px;
  color: #555;
  outline: none;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #0fbedc;
  box-shadow: 0 0 0 2px rgba(15, 190, 220, 0.1);
}

.sort__button {
  padding: 8px 16px;
  border: 1px solid rgba(15, 190, 220, 0.3);
  border-radius: 8px;
  background: none;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 8px;
  margin-bottom: 8px;
}

.sort__button:hover {
  background: rgba(15, 190, 220, 0.05);
  border-color: #0fbedc;
  color: #0fbedc;
}

.sort__button.active {
  background: #0fbedc;
  color: white;
  border-color: #0fbedc;
}

.sort__form__item__container input[type="text"] {
  padding: 10px 16px;
  border: 1px solid rgba(15, 190, 220, 0.3);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
}

.sort__form__item__container input[type="text"]:focus {
  border-color: #0fbedc;
  box-shadow: 0 0 0 2px rgba(15, 190, 220, 0.1);
}

.sort__form__item__container > div:last-child {
  margin-top: 16px;
}

.sort__form__item__container > div:last-child > div {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

/* new books */

.new-books__container {
  padding: 16px 42px;
  box-shadow: rgba(15, 190, 220, 0.2) 0px 8px 24px;
  border-radius: 18px;
  margin: 8px;
  background: #ffffff;
  margin-top: 24px;
}

.new-books__tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  justify-content: center;
}

.new-books__tab {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  padding: 12px 24px;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.new-books__tab::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #0fbedc;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.new-books__tab.active {
  color: #0fbedc;
}

.new-books__tab.active::after {
  transform: scaleX(1);
}

.new-books__content {
  display: none;
}

.new-books__content.active {
  display: block;
}

.books__items__item--img-2 {
  /* object-fit: cover;
  width: 300px;
  height: 150px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  transition: transform 0.3s ease; */
  object-fit: cover;
  width: 230px;
  height: 150px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  transition: transform 0.3s ease;
}
.new-books__row {
  row-gap: 16px;
}

@media (max-width: 768px) {
  .sort__container {
    padding: 24px;
    margin: 12px;
  }

  .sort__title {
    font-size: 20px;
  }

  .sort__button {
    padding: 6px 12px;
    font-size: 13px;
  }
  .books__search__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .search-wrapper {
    display: flex;
    align-items: center;
  }
  .search-bar__filter {
    display: flex;
    align-items: center;
    flex: 1;
    font-size: 20px;
    color: #0fbedc;
    margin-left: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    padding: 8px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 8px;
  }

  .search-bar__filter:hover {
    box-shadow: rgba(100, 100, 111, 0.3) 0px 8px 32px 0px;
    transform: translateY(-2px);
    color: #0fbedc;
  }

  .search-bar__filter:active {
    transform: translateY(1px);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 5px 25px 0px;
  }
  .search-bar {
    width: 100%;
  }

  #books {
    padding: 0px 0;
  }
  .books__container {
    padding: 0 24px;
  }

  #list-of-books {
    padding: 24px 0;
    row-gap: 32px;
  }

  .sort__container {
    padding: 24px;
    box-shadow: rgba(15, 190, 220, 0.2) 0px 8px 24px;
    margin: 0px;
    display: none;
  }
  .new-books__container {
    padding: 16px 24px;
    box-shadow: rgba(15, 190, 220, 0.16) 0px 8px 24px;
    border-radius: 18px;
    background: #ffffff;
    margin: 0;
    margin-top: 0;
    margin-bottom: 48px;
  }
  .books__items__item {
    gap: 20px;
  }
}

/* Notifications */

.notifications__card-title {
  font-weight: 400;
}

#notifications__table th:nth-child(1),
#notifications__table td:nth-child(1) {
  width: 20%;
}

#notifications__table th:nth-child(2),
#notifications__table td:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
}

#notifications__table th:nth-child(3),
#notifications__table td:nth-child(3),
#notifications__table th:nth-child(4),
#notifications__table td:nth-child(4) {
  text-align: center;
}

#notifications__table {
  font-size: 12px;
}

#notifications__table th,
#notifications__table td {
  white-space: nowrap;
}

.notifications__card_back {
  box-shadow: rgba(15, 190, 220, 0.2) 0px 8px 24px;
  border-radius: 35px;
  background: linear-gradient(135deg, #0fbedc, #0a8bdb) no-repeat;
}

.notifications__card {
  border-radius: 25px;
}

#unreadLabel {
  font-size: 15px;
}

/* Settings */

.card--shadow {
  box-shadow: rgba(15, 190, 220, 0.2) 0px 8px 24px;
}

.settings__nav_back {
  background: linear-gradient(135deg, #0fbedc, #0a8bdb) no-repeat;
  border-radius: 35px;
  border: none;
}

.settings__card {
  border-radius: 25px;
  padding: 12px;
  margin: 0px 8px 8px 8px;
}

.settings__card-title {
  color: #134ba5;
  font-weight: 400;
}

.settings__li {
  background: white;
  border-radius: 25px;
  display: block;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: 0.3s;
  color: #134ba5;
}

.settings__li:hover {
  background-color: #eeeded;
  color: #185ac4;
  border-radius: 25px;
  text-decoration: none;
}

.settings__li--active {
  background-color: #0eaddc;
  color: white;
}

.settings__li--active:hover {
  color: white;
  text-decoration: none;
  background-color: #0f98c2;
}

/* .history__items__item--img {
  object-fit: cover;
  width: 70px;
  height: 90px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  transition: transform 0.3s ease;
} */

/* Manage Transactions */

.transaction__item__container {
  cursor: pointer;
  border-radius: 12px;
  padding: 15px;
  box-shadow: rgba(15, 190, 220, 0.2) 0px 5px 15px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

.transaction__item__container:hover {
  transform: translateY(-5px);
  box-shadow: rgba(15, 190, 220, 0.3) 0px 8px 20px;
}

.transactions__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex: 1 1 auto; /* Adjust size of child items */
  min-width: 0;
}

.transaction--img-container {
  flex-shrink: 0; /* Prevent image from shrinking */
  position: relative;
  border-radius: 12px;
  width: 75px;
  height: 95px;
  overflow: hidden;
}

.transactions__item--img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  transition: transform 0.3s ease;
}

.borrow_modal--img {
  object-fit: cover;
  width: 100px;
  height: 115px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  transition: transform 0.3s ease;
}

.transactions__item:hover .transactions__item--img {
  transform: scale(1.02);
}

.transactions__item--details-container {
  flex: 1 1 auto; /* Allow details to grow/shrink */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-width: 0; /* Enable wrapping */
  max-width: 100%;
  word-wrap: break-word; /* Break long text */
  overflow-wrap: break-word;
}

.transactions__item--details-container > * {
  flex: 1 1 auto; /* Children can grow and shrink within the container */
  max-width: 100%; /* Prevents overflow */
  overflow-wrap: break-word; /* Wraps long text onto the next line */
  word-wrap: break-word; /* Compatibility for older browsers */
}

.transactions__item--title {
  font-size: 14px;
  font-weight: 700;
  color: #0099b5;
  margin: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: nowrap;
}

.book-type {
  font-size: 12px;
  margin: 0;
}

.transactions__item--author {
  font-size: 12px;
  color: #46bbcf;
  margin: 0;
  font-weight: 500;
}
.transactions__item--desc {
  font-size: 12px;
  line-height: 1.6;
  color: #444;
  margin: 0;
  max-width: 400px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em;
  text-align: justify;
}
.transactions__item--img-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.transactions__card-title {
  font-weight: 400;
}

.transactions__card_back {
  box-shadow: rgba(15, 190, 220, 0.2) 0px 8px 24px;
  border-radius: 35px;
  background: linear-gradient(135deg, #0fbedc, #0a8bdb) no-repeat;
}

.transactions__card {
  border-radius: 25px;
}

.dropdown-toggle-container .dropdown-menu {
  position: absolute;
  top: 250%;
  left: -50%;
  display: none;
}

.transaction__item__container .dropdown-menu.show {
  display: block;
}

.transaction__item__container .dropdown-chevron {
  transition: transform 0.3s ease;
}

.transaction__item__container .dropdown-chevron.rotated {
  transform: rotate(90deg);
}

.transactions__item--badge-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
  height: 0.5rem;
}

.transactions__item--btn {
  background: none;
  border: 2px solid #0fbedc;
  outline: none;
  color: #0fbedc;
  padding: 4px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.transactions__item--btn-disabled {
  background: none;
  border: 2px solid #929292;
  outline: none;
  color: #929292;
  padding: 4px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.transactions__item--btn:hover {
  background-color: #0fbedc;
  color: #ffffff;
  box-shadow: rgba(15, 190, 220, 0.2) 0px 8px 24px;
  transform: translateY(-2px);
}

.transactions__item--a {
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.transactions__item--a:hover {
  color: #0fbedc;
  text-decoration: underline;
}

#list-of-ebooks {
  padding: 35px 0;
  row-gap: 16px;
}

.badge-blue {
  background-color: #029fe8;
}

.badge-red {
  background-color: #e01600;
}

.badge-yellow {
  background-color: #ffaa00;
}

/* Footer */
#footer {
  background: linear-gradient(135deg, #0fbedc, #0a8bdb) no-repeat;
  padding: 12px 104px;
}

.footer__container {
  padding: 48px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 48px;
}

.footer__heading {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  margin-bottom: 24px;
}

.footer__link--item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: white;
  text-decoration: underline;
  opacity: 0.9;
}

.footer-text {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

.footer__bottom {
  padding: 48px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo-origami {
  width: 45px;
  height: 45px;
  border-radius: 100%;
  outline: 2px solid #fff;
  padding: 0;
}

.footer__brand {
  text-transform: uppercase;
  font-size: 20px;
  color: white;
  font-weight: 700;
}

.footer__contact--icon {
  display: flex;
  gap: 12px;
}

.footer-icon {
  border-radius: 50%;
  border: 1px solid #5be6fc;
  background: linear-gradient(90deg, #0a89da, #0fc0db);
  color: white;
  padding: 10px;
  width: 42px;
  height: 42px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.footer-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.user-info-background {
  background: linear-gradient(135deg, #0fbedc, #0a8bdb) no-repeat;
  margin-top: -8px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.user-info {
  text-align: center;
  padding: 5px;
}
.user-info h1 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 0px;
}
.user-info span {
  font-size: 12px;
  color: #fff;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #footer {
    padding: 12px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* BOOK DETAILS */
.book-details {
  position: relative;
  background: linear-gradient(135deg, #0fbedc, #0a8bdb) no-repeat;
  padding-bottom: 64px;
}

.book-details__row {
  padding: 0 108px;
}

.book-details__cover {
  margin-bottom: 20px;
}

.book-details__cover-img {
  width: 350px;
  height: 520px;
  border-radius: 48px;
  transition: all 0.3s ease;
  object-fit: cover;
}

.book-details__cover-img:hover {
  transform: translateY(-10px);
}

.book-details__title {
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.book-details__author {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.book-details__rating {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.book-details__stars {
  display: flex;
}

.book-details__star {
  color: #ffd700;
  margin-right: 2px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.05));
}

.book-details__reviews {
  color: white;
  margin-left: 5px;
}

.book-details__meta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.book-details__meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.book-details__meta-item {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 8px 15px;
  border-radius: 50px;
}

.book-details__meta-icon {
  color: rgba(255, 255, 255, 0.9);
  margin-right: 8px;
}

.book-details__meta-text {
  color: white;
  font-weight: 500;
}

.book-details__cta-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.book-details__cta-button {
  display: inline-block;
  background: #ffffff;
  color: #0fbedc;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-size: 12px;
}

.book-details__cta-button:hover {
  background: #ffffff;
  color: #0fbedc;
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.book-details__synopsis {
  background-color: #ffffff;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  margin-top: 16px;
  transition: transform 0.3s ease;
}

.book-details__synopsis:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.book-details__synopsis-title {
  font-size: 22px;
  color: #0fbedc;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.book-details__synopsis-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0fbedc, #0a8bdb);
  border-radius: 3px;
}

.book-details__synopsis-text {
  color: #444;
  line-height: 1.7;
  font-size: 16px;
}

.book-recommendations {
  padding: 84px 0;
  background: linear-gradient(to bottom, #ffffff, #f0f8ff);
  position: relative;
}

.book-recommendations__header {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  padding: 0 124px;
}

.book-recommendations__title {
  font-size: 20px;
  color: #0fbedc;
  margin-bottom: 12px;
  font-weight: 700;
}

.book-recommendations__container {
  position: relative;
  max-width: 1700px;
  margin: 0 auto;
}

.book-recommendations .swiper {
  width: 100%;
  height: 100%;
  padding: 20px 10px 60px;
}

.book-recommendations__slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.book-recommendations__slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 75%, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.book-recommendations__slide:hover::after {
  opacity: 1;
}

.book-recommendations__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.book-recommendations__slide:hover .book-recommendations__image {
  transform: scale(1.05);
}

.book-recommendations__info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  color: white;
  text-align: left;
  z-index: 2;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.book-recommendations__slide:hover .book-recommendations__info {
  transform: translateY(0);
}

.book-recommendations__book-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-recommendations__book-author {
  font-size: 14px;
  opacity: 0.9;
}

.book-recommendations__navigation-next,
.book-recommendations__navigation-prev {
  width: 50px;
  height: 50px;
  background-color: #0fbedc;
  border-radius: 50%;
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 190, 220, 0.3);
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.book-recommendations__navigation-prev {
  left: 10px;
}

.book-recommendations__navigation-next {
  right: 10px;
}

.book-recommendations__navigation-next::after,
.book-recommendations__navigation-prev::after {
  font-size: 20px !important;
  font-weight: bold;
}

.book-recommendations__pagination {
  bottom: 10px;
}

.book-recommendations__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #0fbedc;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.book-recommendations__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  width: 30px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .book-recommendations__navigation-next,
  .book-recommendations__navigation-prev {
    width: 40px;
    height: 40px;
  }

  .book-recommendations__navigation-next::after,
  .book-recommendations__navigation-prev::after {
    font-size: 16px !important;
  }

  .book-recommendations__pagination {
    bottom: 5px;
  }
}

.book-recommendations .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #0fbedc;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.book-recommendations .swiper-pagination-bullet-active {
  opacity: 1;
  width: 30px;
  border-radius: 5px;
}
.book-recommendations__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ff5f6d;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.book-recommendations__slide:hover .book-recommendations__badge {
  transform: translateY(0);
  opacity: 1;
}

.book-recommendations__view-all {
  display: block;
  margin: 20px auto 0;
  background: linear-gradient(90deg, #0fbedc, #0a8bdb);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(15, 190, 220, 0.3);
}

.book-recommendations__view-all:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(15, 190, 220, 0.4);
}

@media (max-width: 1500px) {
  .book-recommendations__header {
    padding: 0 72px;
  }
  .book-recommendations__container {
    padding: 0 64px;
  }
}

@media (max-width: 1200px) {
  .book-recommendations__container {
    padding: 0 60px;
  }
}

@media (max-width: 992px) {
  .book-recommendations__slide {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .book-recommendations__container {
    padding: 0 40px;
  }

  .book-recommendations__title {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .book-recommendations__container {
    padding: 0 20px;
  }

  .book-recommendations__slide {
    height: 250px;
  }
}

@media (max-width: 1500px) {
  .book-details__row {
    padding: 0 24px;
  }
}

@media (max-width: 1200px) {
  .book-details__row {
    padding: 0 0px;
  }
}

@media (max-width: 768px) {
  .book-details__title {
    font-size: 28px;
    text-align: center;
  }

  .book-details__author {
    text-align: center;
    font-size: 16px;
  }

  .book-details__rating {
    justify-content: center;
  }

  .book-details__cover {
    padding: 0 48px;
  }

  .book-details__cover-img {
    width: 100%;
    height: 400px;
    transition: all 0.3s ease;
    object-fit: cover;
  }

  .book-details__meta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
  }

  .book-details__cta-container {
    display: flex;
    width: 100%;
    gap: 12px;
    margin-top: 28px;
    justify-content: center;
  }

  .book-details__cta-button {
    display: block;
    padding: 8px 48px;
    border-radius: 24px;
    font-size: 12px;
    text-align: center;
  }

  .book-details__synopsis-title {
    font-size: 16px;
  }

  .book-details__synopsis-title::after {
    height: 2px;
  }

  .book-details__synopsis-text {
    color: #444;
    line-height: 1.7;
    font-size: 12px;
  }

  .book-details__meta-list {
    gap: 8px;
  }

  .book-details__meta-item {
    padding: 6px 12px;
    font-size: 12px;
  }

  .book-details {
    padding-bottom: 12px;
  }
}

/* Profile Info */
.profile__info {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.profile__info-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  width: 100%;
  justify-content: space-between;
  position: relative;
}

.profile__info-avatar-container {
  position: relative;
  flex-shrink: 0;
}

.profile__info-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.profile__info-details {
  text-align: center;
}

.profile__info-name {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 12px;
}

.profile__info-member-since {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile__info-member-since div {
  display: flex;
  align-items: center;
}

.profile__info-member-since div::before {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.6);
}

/* Stats Cards */
.profile__info-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 80%;
  margin: 20px auto 40px;
  justify-content: center;
}

.profile__info-stat {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.profile__info-stat:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.profile__info-stat-icon {
  font-size: 20px;
  color: #0fbedc;
  background-color: rgba(15, 190, 220, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  transition: all 0.3s ease;
  position: relative;
}

.profile__info-stat:hover .profile__info-stat-icon {
  transform: scale(1.1);
  border-radius: 50%;
}

.profile__info-stat--overdue .profile__info-stat-icon {
  color: #ff5f6d;
  background-color: rgba(255, 95, 109, 0.1);
}

.profile__info-stat--overdue:hover .profile__info-stat-icon {
  background-color: rgba(255, 95, 109, 0.2);
}

.profile__info-stat--borrowed .profile__info-stat-icon {
  color: #6c5ce7;
  background-color: rgba(108, 92, 231, 0.1);
}

.profile__info-stat--borrowed:hover .profile__info-stat-icon {
  background-color: rgba(108, 92, 231, 0.2);
}

.profile__info-stat--reserved .profile__info-stat-icon {
  color: #ffc371;
  background-color: rgba(255, 195, 113, 0.1);
}

.profile__info-stat--reserved:hover .profile__info-stat-icon {
  background-color: rgba(255, 195, 113, 0.2);
}

.profile__info-stat-value {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.profile__info-stat-label {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 1100px) {
  .profile__info-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .profile__info {
    padding: 25px 20px;
  }
}

@media (max-width: 768px) {
  .showcase__container {
    padding: 30px 15px;
  }

  .profile__info {
    padding: 20px 15px;
  }

  .profile__info-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 30px;
  }

  .profile__info-details {
    text-align: center;
  }

  .profile__info-name {
    font-size: 28px;
  }

  .profile__info-stats {
    gap: 15px;
    width: 100%;
  }

  .profile__info-section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .profile__info-activity-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .borrowed-books__row {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .profile__info-stats {
    grid-template-columns: 1fr;
  }

  .profile__info-activity-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
  }

  .profile__info-activity-icon {
    margin-right: 0;
  }

  .profile__info-avatar {
    width: 124px;
    height: 124px;
  }

  .profile__info-name {
    font-size: 24px;
  }

  .profile__info-stat {
    padding: 20px 15px;
  }

  .profile__info-stat-value {
    font-size: 30px;
  }
}
/* borrowed books */
#borrowed-books__section {
  padding: 60px 0;
  background: linear-gradient(to bottom, #ffffff, #f0f8ff);
  position: relative;
}

.borrowed-books__section__section-header {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  padding: 0 0px;
}

.borrowed-books__section__section-title {
  font-size: 24px;
  color: #0fbedc;
  margin-bottom: 12px;
  font-weight: 700;
}

.books__items__item--img--4 {
  object-fit: cover;
  width: 140px;
  height: 200px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  transition: transform 0.3s ease;
}
.books__lend {
  color: #2c7fb8;
  font-weight: 500;
}
.books__due {
  color: #d84315;
  font-weight: 500;
}

.ui-widget.ui-widget-content {
  border: 1px solid #0fbedc;
}

.ui-widget-content {
  border: 1px solid #dddddd;
  background: #ffffff;
  color: #333333;
}
