.metal-build-container {
  max-width: 900px;
  margin: 4rem auto 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.metal-build-header {
  text-align: center;
  margin-bottom: 2rem;
}

.metal-build-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.metal-build-table th, .metal-build-table td {
  border: 1px solid #e0e0e0;
  padding: 0.5rem 0.7rem;
  text-align: left;
}

.metal-build-table th {
  background: #f7f7f7;
  font-weight: 600;
}

.mb-thumb {
  width: 60px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  display: block;
  margin: 0 auto;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.mb-thumb:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

a {
  color: #1976d2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #0d47a1;
  text-decoration: underline;
}

/* Modal styles for image zoom */
#mb-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
}
#mb-modal.active {
  display: flex;
}
#mb-modal-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  background: #fff;
  padding: 0.5rem;
}

@media (max-width: 600px) {
  .metal-build-container {
    padding: 0.5rem;
    margin-top: 2.5rem;
  }
  .metal-build-table th, .metal-build-table td {
    padding: 0.3rem 0.3rem;
    font-size: 0.92rem;
  }
  .mb-thumb {
    width: 40px;
  }
} 