@charset "UTF-8";
.compare-card {
  padding: 40px 0;
}
.compare-card .row > [class*=col-] {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 20px;
}
@media (max-width: 575px) {
  .compare-card .row > [class*=col-] {
    padding-left: 10px;
    padding-right: 10px;
  }
}
.compare-card .empty-card {
  background-color: #ffffff;
  border: 2px solid #007bff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-height: 380px;
}
@media (max-width: 991px) {
  .compare-card .empty-card {
    min-height: auto;
  }
}
.compare-card .empty-card .card-body {
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
  padding-bottom: 15px !important;
}
.compare-card .card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  min-height: 380px;
}
@media (max-width: 991px) {
  .compare-card .card {
    min-height: auto;
  }
}
.compare-card .card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}
.compare-card .card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.compare-card .card .d-flex {
  align-items: center;
  margin-bottom: 10px;
}
.compare-card .card .d-flex h3 {
  color: #dc3545;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 0;
}
.compare-card .card .d-flex h6 {
  color: #6c757d;
  font-size: 14px;
  text-decoration: line-through;
}
.compare-card .card p.ellipsis-line-2 {
  font-size: 14px;
  color: #6c757d;
  min-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.compare-card .card a {
  display: inline-block;
  margin-top: 10px;
  color: #007bff;
  font-weight: 600;
}
.compare-card .card a i {
  margin-left: 5px;
}

.compare-table {
  padding-bottom: 50px;
}
.compare-table .compare-2-table {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
}
.compare-table .compare-2-table table {
  width: 100%;
  min-width: 700px; /* Đảm bảo bảng không quá hẹp trên di động */
  border-collapse: collapse;
  margin-bottom: 0;
}
.compare-table .table thead th, .compare-table .table tbody th {
  background-color: #f1f1f1;
  color: #333;
  font-weight: 700;
  font-size: 15px;
  vertical-align: middle;
  width: 25%;
  padding: 15px 10px;
}
.compare-table .table thead th i, .compare-table .table tbody th i {
  margin-right: 8px;
  color: #6c757d;
}
.compare-table .table tbody td {
  font-size: 14px;
  color: #555;
  vertical-align: middle;
  padding: 15px 10px;
  border-top: 1px solid #e9ecef;
}
.compare-table .table td img[src*="compare-r.png"] {
  width: 24px;
  height: 24px;
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2328a745"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
}
.compare-table .table td img[src*="compare-x.png"] {
  width: 24px;
  height: 24px;
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23dc3545"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
}
.compare-table .table .level {
  display: inline-flex;
  gap: 2px;
  margin-right: 10px;
}
.compare-table .table .level span {
  display: block;
  width: 6px;
  height: 12px;
  background-color: #ccc;
  border-radius: 2px;
}
.compare-table .table .level .active {
  background-color: #28a745;
}
.compare-table .table .level .active-1 {
  height: 16px;
}
.compare-table .table .level .active-2 {
  height: 14px;
}
.compare-table .table .level .active-3 {
  height: 12px;
}
.compare-table .table .compare-star {
  display: inline-flex;
}
.compare-table .table .compare-star i {
  color: #ccc;
  font-size: 14px;
  margin-right: 2px;
}
.compare-table .table .compare-star .avg-rating {
  color: #ffc107;
}
.compare-table .table td i:not(.fa-star) {
  color: #007bff;
  margin-right: 5px;
}
.compare-table .table .course-description.requirements ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.compare-table .table .course-description.requirements ul li {
  position: relative;
  padding-left: 15px;
  line-height: 1.5;
  font-size: 13px !important;
}
.compare-table .table .course-description.requirements ul li::before {
  content: "•";
  color: #28a745;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  position: absolute;
  left: 0;
}

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