* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #f8fafc;
}

h1 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #1e3a8a;
  font-weight: 700;
}

h2 {
  font-size: 21px;
}

h3 {
  font-size: 19px;
}

p{
  margin-bottom: 10px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.main-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Navbar */
.navbar {
  background: #fff;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 55px;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo a {
  display: flex; /* Thêm dòng này */
  align-items: center; /* Và dòng này */
  height: 100%; /* Bằng chiều cao navbar */
}

.logo img {
  height: 35px;
  transition: transform 0.3s ease;
}

/* Index */
.index-container {
  background: #fff;
  margin: 15px 0;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.gold-section {
  margin-bottom: 10px;
}
.gold-prices {
  display: flex;
  padding-top: 10px;
  line-height: 1.5;
}
.gold-item {
    padding-bottom: 15px;
}
.price-cell {
  width: 50%;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  margin: 10px 0;
}

th,
td {
  padding: 15px 10px;
  text-align: left;
  border-top: 1px solid #e0e0e0;
}

tr:first-child th {
  border-top: none;
  background-color: #f0f4f8;
  font-weight: bold;
  color: #333;
}

tr:nth-child(even) td {
  background-color: #f9fbfc;
}

tr:hover td {
  background-color: #eef5ff;
}

/* Content */
.main-content {
  display: flex;
  gap: 16px;
  padding: 10px 0;
}

.content {
  flex: 2;
}
.content_wrapper {
  background: #ffffff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content_wrapper p {
  margin-bottom: 12px;
  font-size: 16px;
  color: #4b5563;
}

/* Sidebar */
.sidebar {
  flex: 1;
}
.sidebar_wrapper {
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.sidebar_wrapper h2 {
  margin-bottom: 10px;
  color: #1e3a8a;
  font-weight: 600;
}

.sidebar_wrapper ul {
  list-style: none;
}

.sidebar_wrapper ul li {
  margin-bottom: 5px;
}

.sidebar_wrapper ul li a {
  color: #3b82f6;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.sidebar_wrapper ul li a:hover {
  color: #1e3a8a;
  text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  padding-top: 10px;
}

.breadcrumb li {
  margin-right: 8px;
  color: #6b7280;
}

.breadcrumb li::after {
  content: "/";
  margin-left: 8px;
  color: #9ca3af;
}

.breadcrumb li:last-child::after {
  content: "";
  margin: 0;
}

.breadcrumb li a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb li a:hover {
  color: #1e3a8a;
  text-decoration: underline;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #ffffff;
  padding: 25px 0;
  margin-top: 30px;
}

footer p {
  font-size: 16px;
  font-weight: 400;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .main-container {
    padding: 0;
  }
  .container {
    padding: 0 10px;
  }
  .content {
    border-radius: 0;
  }
  .content_wrapper {
    border-radius: 0;
    padding: 10px;
  }
  .main-content {
    flex-direction: column;
  }
  .sidebar {
    border-radius: 0;
    margin-top: 16px;
  }

  .sidebar_wrapper {
    border-radius: 0;
    padding: 10px;
  }
  .breadcrumb {
    padding-left: 10px;
    padding-right: 10px;
  }
}
