/* Resources Hub - Enterprise styling */
.resource-controls {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
}

.resource-controls label[for="resource-search"] {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

#resource-search {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.5rem;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

#resource-search:focus {
  outline: none;
  border-color: #f59e0b;
}

.resource-controls fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.resource-controls legend {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.resource-controls fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1rem;
  cursor: pointer;
}

#resource-count {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.resource-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.resource-card:hover {
  border-color: rgba(255,255,255,0.2);
}

.resource-card h2 {
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
}

.resource-card h2 a {
  color: inherit;
  text-decoration: none;
}

.resource-card h2 a:hover {
  color: #f59e0b;
}

.resource-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.resource-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.resource-card .badge {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.resource-card .actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.resource-card .actions .btn {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.resource-card .actions .btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
}

.resource-card .actions .btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

.resource-card.hidden {
  display: none;
}

/* Procurement strip */
.procurement-strip {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.procurement-strip p {
  margin: 0;
  color: rgba(255,255,255,0.8);
}

.procurement-strip a {
  color: #10b981;
  font-weight: 500;
}
