body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #333;
}
.logo {
  height: 100px;
}
.logo-container {
  text-align: center;
  padding-top: 1.5rem;
}
.hero {
  text-align: center;
  padding: 2.5rem 1rem;
  background: linear-gradient(135deg, #f5fff5, #ffffff);
  border-bottom: 3px solid #2e7d32;
}
.hero h1 {
  color: #2e7d32;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.hero p {
  color: #555;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
input#searchInput {
  display: block;
  width: 90%;
  max-width: 500px;
  margin: 1rem auto;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem;
}
.card {
  background: #fff;
  border: 1px solid #ddd;
  border-left: 4px solid transparent;
  border-radius: 8px;
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.card h3 {
  margin: 0.3rem 0;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #333;
}
.card p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: #555;
}
.card .reg {
  font-weight: 600;
  color: #444;
}
.card .phone {
  font-weight: 500;
}
.phone a {
  text-decoration: none;
  color: #444;
}
.verified {
  border-left-color: #2e7d32;
}
.unverified,
.expired {
  border-left-color: #fbc02d;
}
.not-found {
  color: #b71c1c !important;
}
.badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.4rem 0;
}
.badge.verified {
  background: #2e7d32;
}
.badge.unverified {
  background: #ffcc00;
  color: #000;
}
.badge.expired {
  background: #ffcc00;
  color: #000;
}
.validity-note {
  font-size: 0.9rem;
  color: #555;
  margin-top: -0.25rem;
  margin-bottom: 0.75rem;
}
.note {
  font-size: 0.9rem;
  color: #555;
  background: #f9f9f9;
  padding: 0.75rem;
  border-left: 3px solid #2e7d32;
  border-radius: 6px;
  margin-top: 1rem;
}
.btn {
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin: 0.5rem 0.25rem;
  transition: background 0.2s ease;
}
.btn:hover {
  background: #256628;
}
.btn.report {
  background: #b71c1c;
}
.btn.report:hover {
  background: #9a1717;
}
footer {
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem;
  color: #777;
}
.profile {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 1rem auto;
  text-align: center;
}
.profile h2 {
  color: #2e7d32;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}
.profile p {
  color: #555;
}
.actions {
  text-align: center;
  margin: 2rem 0;
}
.back-link {
  display: inline-block;
  margin: 1rem 0;
  text-decoration: none;
  color: #2e7d32;
  font-weight: 500;
}
.back-link:hover {
  color: #256628;
}
.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  justify-content: center;
  align-items: center;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #e0e0e0;
  color: #000000;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.contact-btn:hover {
  background-color: #bdbdbd;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.contact-btn i {
  font-size: 1rem;
}
.no-contacts.note {
  font-size: 0.9rem;
  color: #666;
  background: #f9f9f9;
  padding: 0.5rem 0.75rem;
  border-radius: 0.4rem;
  border-left: 3px solid #ccc;
}
.view-link {
  display: inline-block;
  margin-top: 0.3rem;
  color: #2e7d32;
  font-weight: 600;
  text-decoration: none;
}
.view-link:hover {
  text-decoration: underline;
  color: #1b5e20;
}
.spinner {
  width: 30px;
  height: 30px;
  border: 4px solid #b71c1c;
  border-top: 4px solid #2e7d32;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
