* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f7fb;
  color: #111827;
}

.container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.hero {
  padding: 100px 20px 70px;
  text-align: center;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 14px;
}

.subtitle {
  color: #6b7280;
  margin-bottom: 36px;
  font-size: 1.1rem;
}

.search-box {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.search-box input {
  width: 100%;
  max-width: 520px;
  padding: 16px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  font-size: 1rem;
}

.search-box button {
  padding: 16px 28px;
  border: none;
  border-radius: 14px;
  background: #111827;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.search-box button:hover {
  opacity: 0.92;
}

.result {
  margin-top: 40px;
  margin-bottom: 60px;
}

.badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: bold;
  background: #dcfce7;
  color: #166534;
}

.badge.invalid {
  background: #fee2e2;
  color: #991b1b;
}

.card {
  background: white;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
}

.row:last-child {
  border-bottom: none;
}

.label {
  color: #6b7280;
}

.hidden {
  display: none;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 50px 20px;
  color: #6b7280;
}

.info-section {
  margin-top: 70px;
  margin-bottom: 40px;
}

.info-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.info-section p {
  line-height: 1.8;
  color: #374151;
  margin-bottom: 18px;
}

.vat-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.vat-table th,
.vat-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}

.vat-table th {
  background: #f9fafb;
}

.vat-table tr:last-child td {
  border-bottom: none;
}

.info-section {
  margin-top: 70px;
  margin-bottom: 50px;
}

.info-section h2 {
  font-size: 2rem;
  margin-bottom: 22px;
}

.info-section p {
  line-height: 1.8;
  color: #374151;
  margin-bottom: 18px;
}

.steps-list,
.format-list {
  padding-left: 20px;
  color: #374151;
  line-height: 1.9;
}

.vat-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.vat-table th,
.vat-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}

.vat-table th {
  background: #f9fafb;
}

.vat-table tr:last-child td {
  border-bottom: none;
}

.faq-item {
  margin-bottom: 28px;
}

.faq-item h3 {
  margin-bottom: 10px;
}

.footer {
  margin-top: 80px;
  padding: 60px 20px;
  background: white;
  border-top: 1px solid #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.footer h3,
.footer h4 {
  margin-bottom: 14px;
}

.footer p,
.footer li {
  color: #6b7280;
  line-height: 1.8;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer a {
  color: #6b7280;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {

  .footer-grid {
    grid-template-columns: 1fr;
  }

}


.legal-page {
  padding-top: 80px;
  padding-bottom: 80px;
}

.legal-page h1 {
  font-size: 3rem;
  margin-bottom: 30px;
}

.legal-page h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-page p {
  line-height: 1.9;
  color: #374151;
  margin-bottom: 18px;
}