.tab-nav {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  margin: 20px 0;
  padding: 0 10px;
  position: relative;
  gap: 30px;
  overflow-x: auto; /* cho phép scroll ngang */
  white-space: nowrap; /* giữ tab không xuống dòng */
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
  display: none; /* ẩn scrollbar trên Chrome/Safari */
}
.tab-btn {
  position: relative;
  cursor: pointer;
  padding: 10px 0;
  font-size: 16px;
  color: #333;
  transition: color 0.3s ease;
  flex-shrink: 0; /* không co lại khi tràn */
}

.tab-btn.active {
  color: #317773;
  font-weight: bold;
}

.tab-underline {
  position: absolute;
  bottom: 0;
  height: 3px;
  background: #317773;
  border-radius: 2px;
  transition: all 0.3s ease;
  left: 0;
  width: 0;
  pointer-events: none; /* tránh đè tab */
}

/* đảm bảo underline nằm trên cùng nhưng không che tab */
.tab-nav {
  position: relative;
}
.tab-underline {
  z-index: 1;
}
.tab-btn {
  z-index: 2;
}

/* css cho nút xem thêm */
.load-more {
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  background: #317773;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.load-more:hover {
  background: #317773;
}

.load-more,
#registerBtn {
  border-radius: 15px;
}

.container {
  padding: 40px 15px;
}

/* Custom bố cục ảnh */
h2 {
  color: #317773;
}

nav.navbar.bootsnav.menu-open-bg {
  background-color: #fff; /* đổi nền */
  transition: background-color 0.3s ease; /* mượt */
}

nav.navbar.bootsnav.menu-open-bg .navbar-toggle {
  border-color: #317773; /* màu bạn muốn */
  color: #317773;
}

nav.navbar.bootsnav.menu-open-bg .navbar-brand {
  color: #317773;
}

.navbar-toggle.active-back {
  background-color: white;
}

body {
  p {
    font-family: "Inter Tight", sans-serif;
  }
}

.highlight {
  display: inline;
  color: #317773; /* màu nổi bật */
  font-weight: bold;
}

.highlight-icon {
  color: #9e070b;
  margin-right: 6px;
}

/* Cánh hoa rơi */
#sakura {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}
