@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");
body {
  font-family: "Montserrat", sans-serif;
}

.pt-100 {
  padding-top: 100px;
}

.pb-80 {
  padding-bottom: 80px;
}

.pb-120 {
  padding-bottom: 120px;
}

.s_Sidebar_title_one {
  font-size: 1.5rem;
  font-weight: 700;
  color: #010051;
  position: relative;
}
.s_Sidebar_title_one.s_bar::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #939393;
  margin-top: 5px;
  border-radius: 2px;
}

.s_title_one {
  font-size: 1.5rem;
  font-weight: 700;
  color: #010051;
  margin-bottom: 30px;
}

.ebook-item-one {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
}
.ebook-item-one:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.ebook-item-one .img {
  height: 180px;
  overflow: hidden;
}
.ebook-item-one .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.ebook-item-one .content {
  padding: 15px;
}
.ebook-item-one .content .title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #010051;
  height: 44px;
  overflow: hidden;
  line-height: 1.2;
  margin-bottom: 10px;
}
.ebook-item-one .content .link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #939393;
  text-decoration: none;
}
.ebook-item-one .content .link:hover {
  text-decoration: underline;
}
.ebook-item-one .status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}
.ebook-item-one .status.free {
  background-color: #31822b;
}
.ebook-item-one .status.paid {
  background-color: #e74c3c;
}
.ebook-item-one .status p {
  margin: 0;
}

.ebook-img {
  padding: 10px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.ebook-img img {
  display: block;
  width: 100%;
  height: auto;
}

.ebook-content .info {
  font-size: 1rem;
  color: #010051;
  margin-bottom: 10px;
  line-height: 1.5;
}
.ebook-content .info i {
  font-weight: 400;
  color: #56588a;
  margin-right: 5px;
}
.ebook-content .info span {
  font-weight: 600;
  color: #010051;
}
.ebook-content .info a {
  color: #939393;
}
.ebook-content .info a:hover {
  text-decoration: underline !important;
}
.ebook-content .btn-primary {
  background: #939393;
  border-color: #939393;
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 8px;
  margin-right: 15px;
}
.ebook-content .btn-primary:hover {
  background: rgb(126.6, 126.6, 126.6);
  border-color: rgb(126.6, 126.6, 126.6);
}

.modal-dialog.modal-lg {
  max-width: 900px;
}

.modal-content {
  border-radius: 12px;
}
.modal-content .modal-header {
  border-bottom: none;
  padding: 15px 20px 0 20px;
}
.modal-content .modal-header .btn-close {
  box-shadow: none;
}

.ebook-modal {
  padding: 20px;
  /* Màn nhỏ hơn 768px */
  /* Màn cực nhỏ */
}
.ebook-modal .pdf-wrapper {
  width: 100%;
  max-width: 800px; /* giống width cũ */
  margin: auto;
}
.ebook-modal .pdf-wrapper object {
  width: 100%;
  height: 500px;
}
@media (max-width: 768px) {
  .ebook-modal .pdf-wrapper object {
    height: 350px; /* hoặc auto */
  }
}
@media (max-width: 480px) {
  .ebook-modal .pdf-wrapper object {
    height: 250px;
  }
}

.sNav-tabs {
  border-bottom: 2px solid #eee;
  margin-bottom: 30px;
}
.sNav-tabs .nav-item {
  margin-right: 15px;
}
.sNav-tabs .nav-item .nav-link {
  padding: 10px 20px;
  border: none;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
  color: #56588a;
  transition: color 0.2s, background-color 0.2s;
}
.sNav-tabs .nav-item .nav-link.active {
  color: #939393;
  background-color: #f7f7f7;
  border-bottom: 3px solid #939393;
}
.sNav-tabs .nav-item .nav-link:hover:not(.active) {
  color: #010051;
}

.sTab-content {
  padding: 20px;
  background: #fff;
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.sTab-content table {
  border-collapse: collapse;
}
.sTab-content table tr {
  border-bottom: 1px solid #eee;
}
.sTab-content table tr:last-child {
  border-bottom: none;
}
.sTab-content table tr th, .sTab-content table tr td {
  padding: 15px 10px;
  text-align: left;
  font-size: 1rem;
}
.sTab-content table tr th {
  font-weight: 600;
  color: #010051;
  background-color: #f9f9f9;
}
.sTab-content table tr td {
  font-weight: 400;
  color: #56588a;
}
.sTab-content .text-section {
  min-height: 100px;
  resize: vertical;
  border-radius: 8px;
  font-size: 0.95rem;
}

.rg-24 {
  margin-left: -12px;
  margin-right: -12px;
}
.rg-24 > .col-lg-3, .rg-24 > .col-md-4, .rg-24 > .col-sm-6 {
  padding-left: 12px;
  padding-right: 12px;
}

.s_ebook_instructor {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 30px;
  background: #fcfcfc;
  border-radius: 12px;
}
.s_ebook_instructor .img {
  flex-shrink: 0;
}
.s_ebook_instructor .img img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #939393;
}
.s_ebook_instructor .content .name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #010051;
  margin-bottom: 5px;
}
.s_ebook_instructor .content .subtitle {
  font-size: 0.95rem;
  color: #56588a;
  margin-bottom: 15px;
}
.s_ebook_instructor .content .info {
  font-size: 1rem;
  color: #56588a;
  margin-bottom: 20px;
}
.s_ebook_instructor .content .instructor_social {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
}
.s_ebook_instructor .content .instructor_social li a {
  display: inline-flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eee;
  color: #56588a;
  transition: background 0.2s, color 0.2s;
}
.s_ebook_instructor .content .instructor_social li a:hover {
  background: #939393;
  color: #fff;
}

.s_review .title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #010051;
  margin-bottom: 5px;
}
.s_review .rating-no {
  font-size: 3rem;
  font-weight: 700;
  color: #825f2b;
  line-height: 1;
  margin-bottom: 5px;
}
.s_review .rating-icon {
  display: flex;
  gap: 2px;
}
.s_review .rating-icon img {
  width: 18px;
  height: 18px;
}

@media (max-width: 992px) {
  .ebook-img {
    margin-bottom: 30px;
  }
  .s_ebook_instructor {
    padding: 20px;
  }
  .s_review {
    text-align: left !important;
    margin-top: 30px;
  }
  .s_review .rating-icon.justify-content-lg-end {
    justify-content: flex-start !important;
  }
}
@media (max-width: 576px) {
  .s_ebook_instructor {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .s_ebook_instructor .img {
    margin-bottom: 15px;
  }
  .s_ebook_instructor .content .name, .s_ebook_instructor .content .subtitle, .s_ebook_instructor .content .info {
    text-align: center;
  }
  .s_ebook_instructor .content .instructor_social {
    justify-content: center;
  }
  .ebook-item-one .img {
    height: 200px;
  }
}

/*# sourceMappingURL=ebook.css.map */
