/* MCP Security TTP Cards */
.ttp-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.ttp-category {
  background-color: white;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.ttp-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.ttp-category-header h3 {
  color: #1f4e79;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.ttp-count {
  background-color: #f8f9fa;
  color: #6c757d;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.ttp-description {
  color: #333333;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.ttp-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.ttp-link:hover {
  color: #1f4e79;
  text-decoration: underline;
}

/* View Options */
.view-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.view-option-card {
  background: white;
  border: 2px solid #e1e4e8;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.view-option-card h3 {
  color: #1f4e79;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.view-option-card p {
  color: #333333;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.current-view {
  background: #e8f5e8;
  color: #28a745;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.view-link {
  background: #1f4e79;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: background-color 0.2s;
}

.view-link:hover {
  background: #0066cc;
  text-decoration: none;
  color: white;
}

@media (max-width: 768px) {
  .ttp-categories {
    grid-template-columns: 1fr;
  }
  
  .view-options {
    grid-template-columns: 1fr;
  }
}