/* ====================================
   🌐 TASKVIET BASE STYLE (Frontend)
   Version: 1.0
   ==================================== */

body {
  font-family: 'Inter', 'Roboto', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
}

/* 🌟 Navbar */
.navbar {
  transition: all 0.3s ease;
}
.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0061f2 !important;
}
.navbar .nav-link {
  font-weight: 500;
  color: #555 !important;
}
.navbar .nav-link:hover {
  color: #0061f2 !important;
}

/* 🦸 Hero Section */
.hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero h1 {
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.hero p {
  font-size: 1.1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 📦 Card */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
}

/* 🧩 Buttons */
.btn-primary {
  background: linear-gradient(90deg, #0061f2, #00b4d8);
  border: none;
  font-weight: 600;
}
.btn-primary:hover {
  opacity: 0.9;
}

/* ⚙️ Footer */
footer {
  background: #1e272e;
  color: #dfe6e9;
  text-align: center;
  padding: 2rem 0;
}
footer a {
  color: #dfe6e9;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 3rem 1rem;
  }
  .card {
    margin-bottom: 1rem;
  }
}

/* Fix Chart Overflow */
.card canvas {
  width: 100% !important;
  height: 60px !important; /* cố định chiều cao nhỏ gọn */
  display: block;
}

