body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9fafb;
  padding: 20px;
}

#update_listings {
  background-color: #2563eb; /* синий */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  margin-bottom: 20px;
}

#update_listings:hover {
  background-color: #1d4ed8;
}

#listings_table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background-color: white;
}

#listings_table th,
#listings_table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

#listings_table th {
  background-color: #f3f4f6;
  color: #374151;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

#listings_table tr:hover td {
  background-color: #f9fafb;
}

#listings_table td a {
  color: #3b82f6;
  text-decoration: none;
}

#listings_table td a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  #listings_table {
    font-size: 12px;
  }

  #update_listings {
    width: 100%;
  }
}
.actions {
  display: flex;
  gap: 12px; 
}

.actions form {
  margin: 0; 
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn.success {
  background-color: #4caf50;
  color: white;
}

.btn.failure {
  background-color: #f44336;
  color: white;
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  transform: scale(0.96);
}