/* Pins Dashboard view */
.pins-toolbar {
  margin-bottom: 1.5em;
  padding: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.pins-toolbar form {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.pins-toolbar label {
  font-weight: 500;
  margin-right: 5px;
}

.pins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.pin-card {
  border: 1px solid #e3e6f0;
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pin-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.pin-card-header {
  border-bottom: 1px solid #f1f3f5;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.pin-card h4 {
  margin: 0;
  font-size: 1.15em;
  color: #2c3e50;
  font-weight: 600;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pin-card h4 a {
  text-decoration: none;
  color: #2980b9;
}

.pin-card h4 a:hover {
  text-decoration: underline;
}

.pin-card-meta {
  font-size: 0.9em;
  color: #6c757d;
  flex-grow: 1;
}

.pin-card-meta p {
  margin: 6px 0;
  display: flex;
  align-items: center;
}

.pin-card-meta strong {
  width: 80px;
  display: inline-block;
  color: #495057;
}

.pin-card-footer {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #e9ecef;
  text-align: right;
}

.project-group-title {
  margin-top: 2em;
  margin-bottom: 1em;
  padding-bottom: 8px;
  border-bottom: 2px solid #3498db;
  color: #2c3e50;
  font-size: 1.5em;
  font-weight: bold;
}
