.external-links-modal-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.external-links-modal-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.external-links-modal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.external-links-modal-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.external-links-modal-close-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.external-links-modal-close-button:hover {
  background-color: #f3f4f6;
}

.external-links-modal-modal-body {
  padding: 24px;
}

.external-links-modal-links-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.external-links-modal-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #f9fafb;
}

.external-links-modal-link-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.external-links-modal-site-name {
  font-weight: 600;
  color: #111827;
  text-transform: capitalize;
}

.external-links-modal-external-id {
  font-size: 0.875rem;
  color: #6b7280;
}

.external-links-modal-link-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.external-links-modal-link-button:hover {
  background-color: #2563eb;
}

.external-links-modal-no-links {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
}

.external-links-modal-no-links p {
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .external-links-modal-modal-overlay {
    padding: 16px;
  }
  
  .external-links-modal-modal-header {
    padding: 20px;
  }
  
  .external-links-modal-modal-body {
    padding: 20px;
  }
  
  .external-links-modal-link-item {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .external-links-modal-link-button {
    justify-content: center;
  }
}
