@charset "utf-8";

/* ----------- Tổng thể ------------ */
html {
  scroll-behavior: smooth;
  font-size: 14px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* ----------- Nhóm input ----------- */
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* ----------- List check ----------- */
.list-check li {
  list-style: none;
}

/* ----------- Badge trong list-group ----------- */
.list-group-item > .badge {
  float: right;
}

/* ----------- Navbar ------------ */
.navbar-nav .nav-link {
  color: #ffffff !important;
  transition: all 0.3s ease;
  font-weight: 500;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffc107 !important;
  transform: translateY(-2px);
}
.navbar-nav .dropdown-menu {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* ----------- Icon màu bổ sung ----------- */
.text-purple {
  color: #6f42c1 !important;
}
.text-orange {
  color: #fd7e14 !important;
}

/* ----------- Card style ----------- */
.card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
  margin-bottom: 20px;
}
.card:hover {
  transform: scale(1.03);
}

/* ----------- Header ----------- */
header {
  background: linear-gradient(90deg, #007bff, #00bcd4);
  color: white;
  padding: 60px 0;
  text-align: center;
}
header h1, header h2 {
  color: white;
}

/* ----------- Icon circle ----------- */
.icon-circle {
  width: 80px;
  height: 80px;
  background-color: #00bcd4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 36px;
}

/* ----------- Table alignment ----------- */
table th, table td {
  text-align: center;
  vertical-align: middle;
  padding: 8px 12px;
}

/* ----------- Shake animation ----------- */
@keyframes shake {
  0% { transform: translate(1px, 1px); }
  20% { transform: translate(-1px, -2px); }
  40% { transform: translate(-3px, 0px); }
  60% { transform: translate(3px, 2px); }
  80% { transform: translate(1px, -1px); }
  100% { transform: translate(-1px, 2px); }
}
.shake-bg {
  animation: shake 0.5s;
  animation-iteration-count: 10;
}

/* ----------- Footer ----------- */
footer {
  background-color: #007bff;
  color: #fff;
  padding: 20px 0;
  margin-top: 50px;
  text-align: center;
}
.footer-bottom {
  padding: 10px 0;
  font-size: 13px;
}

/* ----------- Responsive tweaks ----------- */
@media (max-width: 768px) {
  html {
    font-size: 13px;
  }
  .navbar-nav .nav-link {
    padding: 8px 12px;
  }
  .icon-circle {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  header {
    padding: 40px 0;
  }
  footer {
    font-size: 12px;
  }
}

.footer-bottom {
  background-color: #007bff;
  color: #fff;
  font-size: 14px;
}

.footer-bottom a {
  color: #ffc107;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 576px) {
  .footer-bottom span {
    display: block;
    line-height: 1.8;
  }
}

