.container {
    display: flex;
    min-height: 100vh;
}
.tool-main {
    flex: 1;
    padding: 32px 24px;
    background: #fff;
}
.barcode-generator-section {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    max-width: 480px;
}
#barcodeForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#barcodeForm label {
    font-weight: 500;
}
#barcodeForm input, #barcodeForm select, #barcodeForm button {
    padding: 8px 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#barcodeForm button {
    background: #1a237e;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
#barcodeForm button:hover {
    background: #3949ab;
}
#barcodeResult {
    margin-top: 24px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#downloadBarcode {
    margin-top: 16px;
    padding: 8px 16px;
    background: #388e3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    display: inline-block;
}
#downloadBarcode:hover {
    background: #2e7031;
}
section {
    margin-bottom: 32px;
}
section h2 {
    margin-bottom: 0.5em;
    color: #1a237e;
}
section.similar-tools {
  text-align: center;
}
.similar-tools h2 {
  text-align: center;
}
.similar-tools .related-tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.similar-tools .related-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  padding: 1.2rem 1rem;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
  margin: 0 0.5rem 1rem 0.5rem;
  min-width: 180px;
  max-width: 240px;
}
.faq dt {
    font-weight: bold;
    margin-top: 1em;
}
.faq dd {
    margin-left: 0;
    margin-bottom: 0.5em;
}
.footer {
    background: #f7f7f7;
    padding: 24px 0 12px 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    font-size: 0.98em;
}
.footer-links, .footer-tools {
    margin-bottom: 8px;
}
.footer a {
    color: #1a237e;
    text-decoration: none;
    margin: 0 4px;
}
.footer a:hover {
    text-decoration: underline;
}
.footer-copy {
    color: #888;
    font-size: 0.95em;
}
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }
    .tool-main {
        padding: 20px 8px;
    }
    .barcode-generator-section {
        max-width: 100%;
    }
} 