/*
=====================================
 VIEW ADS PAGE
=====================================
*/

.view-ads-page {
  width: 100%;
}

/*
=====================================
 BREED FILTER
=====================================
*/

.breed-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));

  gap: 12px;
}

.breed-grid a {
  display: block;

  text-align: center;

  padding: 14px;

  background: #0f1835;

  border-radius: 12px;

  color: white;

  text-decoration: none;

  font-size: 14px;

  transition: 0.2s;
}

.breed-grid a:hover {
  background: #dc2626;

  transform: translateY(-3px);
}

/*
=====================================
 SEARCH FORM
=====================================
*/

.ad-search-form {
  display: flex;

  gap: 10px;

  flex-wrap: wrap;
}

.ad-search-form input[type="text"] {
  flex: 1;

  min-width: 200px;

  padding: 12px;

  border-radius: 10px;

  border: none;

  background: #111933;

  color: white;
}

.ad-search-form button {
  padding: 12px 18px;

  border: none;

  border-radius: 10px;

  background: #dc2626;

  color: white;

  cursor: pointer;

  transition: 0.2s;
}

.ad-search-form button:hover {
  background: #b91c1c;
}

/*
=====================================
 STATS
=====================================
*/

.stat-box {
  background: #0f1835;

  padding: 20px;

  border-radius: 12px;

  text-align: center;
}

.stat-box h3 {
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 32px;

  font-weight: bold;
}

/*
=====================================
 ERRORS
=====================================
*/

.display {
  margin-top: 15px;

  color: #ef4444;

  font-size: 14px;
}

/*
=====================================
 MOBILE
=====================================
*/

@media (max-width: 768px) {
  .ad-search-form {
    flex-direction: column;
  }
}
