.tender-cards {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}

.tender-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.tender-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.tender-card.active {
  border-left: 4px solid #28a745;
}

.tender-card.closed {
  opacity: 0.8;
  border-left: 4px solid #6c757d;
}

.tender-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.tender-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: bold;
  text-transform: uppercase;
}

.status-active {
  background: #d4edda;
  color: #155724;
}

.status-closed {
  background: #f8f9fa;
  color: #6c757d;
}

.tender-deadline {
  color: #dc3545;
  font-weight: bold;
  font-size: 0.9em;
}

.tender-card h3 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 1.3em;
}

.tender-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tender-card .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.2s;
}

.tender-card .btn:hover {
  background: #0056b3;
}

.tender-section {
  margin: 40px 0;
}

.tender-section h2 {
  color: #333;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

/* Responsywność */
@media (max-width: 768px) {
  .tender-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tender-card .btn {
    display: block;
    width: 100%;
    text-align: center;
  }
  
  .tender-card {
    padding: 20px;
  }
}